Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet framework > november 2007 > threads for november 8 - 14, 2007

Filter by week: 1 2 3 4 5

How to show the message box (.net 2.0) in culture specific?
Posted by Gangadhar Kotu at 11/14/2007 10:08:06 PM
Hi, Here are the things we have already tested. Installed WinXP MUI pack also, but still showing the text in English only. Could you please help me in this regards to get the text of MessageBox in other locale. Regards Gangadhar Kotu...more >>

Downloadin Webpages
Posted by barry at 11/14/2007 7:19:51 PM
Hi On a web page, there is a dropdown list, when you select a country from the dropdown list, info for that country is displayed, can i programmatically simulate this behaviour. can someone give the code for such a download. TIA Barry ...more >>

How to make string align by string.Format() in CJK?
Posted by Dancefire at 11/14/2007 4:49:48 PM
Hi, string.Format("{0,-20} : {1,-10}", a,b); The above code will output string left aligned, 20 or 10 for string a and b. It true for English, but not for any CJK language. If a or b are CJK string, it will never aligned. The reason is that for Chinese (or Japanese, Korean), each characte...more >>

FileInfo.MoveTo failure modes
Posted by planb@newsreaders.com at 11/14/2007 3:59:17 PM
Hello, I'm looking for documentation on how FileInfo.MoveTo acts when it fails -- in particular I want to know if it's possible to end up with the file in both locations. I've searched MSDN and used google, but apparently my search skills aren't up to the task... -- J. Moreno ...more >>

Default value of any type
Posted by GeezerButler at 11/14/2007 11:12:03 AM
For any given type i want to know its default value. There is a neat keyword called default for doing this like object x = default(DateTime); but I have an instance of Type (called someType) and something like this cant work object x = default(someType); Is there any nice way of doing th...more >>

System.Net.Socket question
Posted by Steven Van Eyck at 11/14/2007 9:13:55 AM
Hi there I've been trying to implement an ACTIVE FTP mode in my class. Read tons of great articles about the difference of Active and Passive modes, in particular this one, which I find very good http://slacksite.com/other/ftp.html, but it seems that many have tried to actually implement...more >>

Thread.CurrentPrincipal.Identity.Name
Posted by Ken at 11/14/2007 9:03:11 AM
I'm testing on web application (.net 1.1 using C#). when I tested the application on local machine (IIS5.0,XP professinal), it return value for Thread.CurrentPrincipal.Identity.Name However, When I tested the same application on the server (IIS6.0, 2003 Server), it return nothing for Thread.C...more >>

Office 2007 License keys
Posted by Lyle at 11/14/2007 5:00:00 AM
I bought Office Student/Home 2007 with 3 license keys and installed it onto my new Acer Laptop, this notebook was faulty so I returned it to Acer and they replaced it, so I aain installed Office and yes you have guessed it, it failed so I now have a Gateway Laptop which functions brilliantly B...more >>



Attributes for Intellisence in Visual Studio
Posted by Motley at 11/13/2007 2:20:18 PM
I would like the objects/methods/properties I create to show informational text in Visual Studio's Intellisense. For example, when a method shows up in Intellisense, you see it's signature, but you will often see a description of what the method does under its signature. I assume there is an a...more >>

Reading PDA serial number or ID
Posted by NormD at 11/13/2007 1:37:02 PM
Assuming such a thing exists, I'm looking for a way - ideally a Framework function - that would read the serial number or machine ID or system GUID or some unique identifier of the a PDA (Pocket PC or other PDA with the Compact Fraamework) connected to the desktop. Since "Windows" is installe...more >>

Serializing Partial Classes (Datasets)
Posted by MarcG at 11/13/2007 1:35:02 PM
I have a dataset called Checklists created with the dataset designer giving me Checklists.designer.cs It has a [Serializable()] attribute, i.e., [Serializable()] public partial class Checklists { .... } In another file, ChecklistsExt.cs I have public partial class Checklists{ publ...more >>

compressed emails now dissappeared
Posted by denny at 11/13/2007 10:49:01 AM
outlook express compressed my emails and now I cant find any from the last 2 months I really need to locate some of them Please can any tell me where have they gone or how to restore them and why has it done this -- denny...more >>

Missing DLL: Microsoft.ManagementConsole
Posted by ssg31415926 at 11/13/2007 9:48:19 AM
I've installed MMC 3.0 onto my XP machine. When I start mmc.exe and do Help > About Microsoft Management Console I get the new Help > About screen which shows: Microsoft (R) Management Console 3.0 Version 5.1 (Build 2600.xpsp_sp2_gdr.070227-2254 : Service Pack 2) etc. and yet there doesn'...more >>

Office Mac 2004 Update 11.3.9
Posted by harryb at 11/12/2007 7:33:00 PM
Like to keep Office as up to date as possible and have downloaded and installed this update. States has been installed, however Word etc. still report version as 11.3.8. Should it not read 11.3.9 if installation was successful?...more >>

[ClikOnce]Why ClickOnce needs the Framework 3.5 on Vstudio 2008 Beta 2 ?
Posted by Oriane at 11/12/2007 6:08:39 PM
Hi there, I deploy my WPF application with Visual Studio 2008 and ClickOnce. My application runs with the ;Net 3.0 framework, but during the installation steps, the .Net 3.5 component is required... Do you know why ? Could VStudio 2008 need this component ? Oriane ...more >>

syntax question in dealing with .Net api
Posted by trillich@gmail.com at 11/12/2007 6:06:47 PM
hi -- not sure where the best place would be to post this; please point me elsewhere if there's another list more apropos... we've got two apps, one in java, one in .Net, and we're trying to put some glue together to transfer data back and forth between them: - reading data FROM the .Net app...more >>

Print server
Posted by BB at 11/12/2007 2:51:58 PM
Hi to all ! For list of all papersize forms of default printer I'm using: Dim i As Integer, cFormName as String Dim oDoc As New System.Drawing.Printing.PrintDocument() For i = 0 To oDoc.PrinterSettings.PaperSizes.Count - 1 cFormName = oDoc.PrinterSettings.PaperSizes(i).PaperName Next ...more >>

Directory.CreateDirectory() issue
Posted by Ken at 11/12/2007 12:38:01 PM
I'm currently working on framework 1.1 webapplication using C#. When I test the application located in my local machine, it works fine to "Directory.CreateDirectory()". However, I test the application use in server machine, it doesn't work. it make security log like below. Anyone has a idea fo...more >>

wpf - how to use one resource definition in many places as identical objects
Posted by Rolf Welskes at 11/11/2007 5:52:30 PM
Hello, because there are no managed news group for window presentation foundation and one has told me I can use this, here my problem: I have one resource-definition, for example in an own xaml file, a large number of objects defined as resources. Now I need these resources (objects) in...more >>

Question about Strong Naming (signing), public keys and tampering?
Posted by at 11/11/2007 11:40:29 AM
Dear subscribers I have a question related to strong naming (signing) of assemblies to avoid tampering. The reason for this question is that I'll like to investigate the means to protect sensitive data in an application. For starters, one thing that I don't fully understand, is there anything...more >>

Is there any problem to use anonymous methods under multi-thread?
Posted by Dancefire at 11/11/2007 10:49:30 AM
Hi, I tried the code below: for(int i = 0; i < 10; ++i) { int a = i; Thread task = new Thread(delegate() { Console.WriteLine(string.Format("Thread start: a = {0}, i = {1}", a, i)); }); task.Start(); } And the output is Thread start: a = 0, i = 2 Thread ...more >>

User defined Serialization for LINQ to SQL generated classes
Posted by Benjamin Kalytta at 11/11/2007 5:19:44 AM
Hello there, is there a way to override predefined Serializer for LINQ to SQL class objects? MSLinqToSQLGenerator generates classes for accessing Database. I want to create a Webservice which should be able to do certain Operation on Database and should serialize certain objects. Serialize...more >>

xp shuts down unexpectedly
Posted by JAN at 11/10/2007 6:35:01 PM
I have had this problem for some time now and cant seem to fix it, cpu temp ok, and windows just shuts down without warning and randomly. Last shutdown brought up a blue screen with this. A problem has been detected & windows has been shut down to prevent damage to your computer. If th...more >>

Can't find reflected field for inherited event.
Posted by OmegaSquared at 11/9/2007 4:46:02 PM
In a VB application I have been using reflection to temporarily detach events during serialization (a technique suggested by Andrea Zanetti & Riccardo Munisso http://www.devx.com/vb2themax/Article/19835/1763/page/3). The technique involves using Reflection.EventInfo to get the list of events,...more >>

Allow Click-Once app run by Non-Admin user to log in event log
Posted by SHEBERT at 11/9/2007 2:16:03 PM
We create a new eventlog for our inhouse apps, and we all our clickonce (C#) apps are writting in the event log, if the user is a local ADMIN. but for non-admin users, our apps are unable to write to any event log. how to allow a click once apps to write in an event log for non-admin user? ...more >>

Q: Looking for a good web services/.net tutorial book
Posted by at 11/9/2007 5:18:18 AM
I am interested in write a client-server application in C# using web services and ASP.NET. I am looking for a good book containing a tutorial on how to do this. I want a C# front-end, not a browser front- end. I have extensive experience with Java fat clients and the tomcat server (author of...more >>

Is there any predefined delegate with no argument?
Posted by Dancefire at 11/8/2007 11:08:05 PM
Hi, I am looking for a predefined delegate which in form: delegate void NoArgument(); It's quite useful than other delegate with argument, I found MethodInvoker in WinForms, which defined in such form, but I don't want to add WinForm reference all the time, since my code nothing relative...more >>

.NET Seriously Broken
Posted by eBob.com at 11/8/2007 9:27:52 PM
I have a disastrous .NET problem after trying to install some fixes yesterday. Now everything I try to do in VS.Net results in a problem. Previous built ..exe's fail. Programs which used to build without errors now get errors. In some cases I can't even open the form designer - I get "res...more >>

Remoting - how to access server data?
Posted by r norman at 11/8/2007 4:53:43 PM
I am converting a C++ MFC client-server application to C# dotNet and I would like to switch my TCP/IP messages to use dotNet remoting concepts. I can successfully implement many remoting samples, for example from Wrox Press Professional C#. However all of these find have trivial objects that a...more >>

Tool for clickonce maifest and application signature validation
Posted by Jediah L at 11/8/2007 3:43:59 PM
Is there a tool (command line or otherwise) that can be used to validate the signature of a ClickOnce manifest or application file? Thanks in advance! Jediah L. ...more >>

is System.IO.Ports.SerialPort supported in 64bit?
Posted by Bandu at 11/8/2007 2:15:19 PM
Hi, is System.IO.Ports.SerialPort supported in 64bit? I'm writing C# application and its worked fine with 32 bit. But in 64-bit, System.IO.Ports.SerialPort never fire up the Event Handler (e.g. PinChangedEvent ). Please, Help? Regards, Bandu ...more >>

Reusing Threads
Posted by Richard MSL at 11/8/2007 9:16:13 AM
I have an application with a C# menu, that calls individual C programs, by starting a thread for each call. This way the program is in one thread, and the menu is in another thread, until they exit the program and that thread ends. The problem is the static data in the program, such as data...more >>


DevelopmentNow Blog