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 > june 2007 > threads for june 1 - 7, 2007

Filter by week: 1 2 3 4 5

Failure to get generic type SortedList in Type.GetType()
Posted by djpenton NO[at]SPAM gmail.com at 6/7/2007 10:07:12 PM
Hi All, Seems to be a specific failure with SortedList in getting type from name. Is this a problem with the .NET framework? When I run this line in the immediate window: Type.GetType(typeof(SortedList<double,double>).ToString(),true) I get Could not load type 'System.Collections.Generic...more >>

Regex replace where Search Value not between specific delimiters
Posted by Rory Becker at 6/7/2007 9:51:24 PM
Hi all. I have managed over the last few years to get by with relativly little regex knowledge. However I now have what seems like a simple problem which I simply cannot find a solution for. As stated Regular expressions are not my strong point. What I need is a way to replace a se...more >>

Email fonts
Posted by sharon at 6/7/2007 7:32:01 PM
I have selected the fonts that I want to use when composing and replying to emails but when I "create email" my chosen font isn't there. It defaults to Arial. Any help? ...more >>

Can you step into .NET framework calls when debugging?
Posted by David Cater at 6/7/2007 6:47:38 PM
I'm sure this is a question that a million people have asked, but I'm having trouble finding the answer. I want to be able to step through .NET framework code. Basically, I want to walk through the kind of code that Reflector exposes (http://www.aisto.com/roeder/dotnet/) at run-time. I can ...more >>

I want an "autosort" class
Posted by Jeff Johnson at 6/7/2007 4:22:37 PM
Unless a project particularly interests me, I'll try to see if someone else has created what I need rather than doing it myself. Such is the case now. I'm wondering if anyone has made a list/array class (preferrably a generic one) that holds IComparable[<T>] objects and automatically sorts the...more >>

What CLR/JIT version compiles my 1.1 IL code ?
Posted by genc ymeri at 6/7/2007 1:56:03 PM
Hello there, I have Framework 1.1 and 2.0 installed both in my PC. When my IE hosts/runs a .Net(C#) applet written in Framework 1.1, what version of my framework (CLRs/JIT)compiles the control in binary code, the 2.0 or 1.1 ? Genc Ymeri Sr. Software Engineer Chantilly, VA...more >>

Visual Studio 2005 & SQLite
Posted by Carlos Sosa Albert at 6/7/2007 10:56:24 AM
Hi guys, Is there any documentation on how to interact with VS2005 and a SQLite database? Thanks a lot! ...more >>

.NET Remoting works only once
Posted by eusebiu at 6/7/2007 4:48:55 AM
Hello... I am implementing .NET remoting with a WebService as client. All works fine the first time, but when I call again the method from WS that gets the remote object and calls a remote method, I don`t get into the method(I've put a breakpoint in it... and it stops only the first time...). ...more >>



gotdotnet replacement?
Posted by Leon_Amirreza at 6/7/2007 12:03:08 AM
Its been a while from the anouncement of gotdotnet (Sad, I loved the site!)? is there any replacement out there that has the same enviroment and quality especializing for .Net? ...more >>

.NET 2.0 - MS Updates
Posted by JoeM at 6/6/2007 5:50:46 PM
I noticed that .NET 1.x gets installed via MS Updates (Critical maybe?). But it appears that .NET 2.0 does not - we send out CD's to our customers containing autorun executables to demonstrate our solutions. We're finding that when sending new CD's out with apps created in VS2005 using NET 2...more >>

ASynch sockets race
Posted by paul moore at 6/6/2007 4:29:01 PM
I have a fully asynch socket server application. I find however that sometimes it locks up. The client sends me a packet before I have posted a BeginRead. My beginread then completes but I never get called back. Both sides end up waiting for each other. THe IAsyncResult return by BeginRea...more >>

How to do a "NET VIEW" command
Posted by Eric at 6/6/2007 2:17:03 PM
I'm looking for a solution to execute the DOS command "NET VIEW" in .NET 2.0. Are there any classes in .NET or can I use WMI? Or do I need to capture the DOS output? Thanks...more >>

Running Application Without .net Framwork
Posted by abhya at 6/6/2007 11:57:23 AM
I want to run the Application on CLient computers WITHOUT installing .net Framwork on their Computer. Is this Possible? Is not then does Microsoft Started doing any work to overcome this problem? Because Client wants just an .Exe file....! So that installation is Simple. There is Some inform...more >>

dynamic functions...
Posted by bcallister at 6/6/2007 9:05:04 AM
i need to be able to create a dynamic C# function on the fly on an existing type that exists within an assembly already loaded into memory. basically, the body of this dynamic function will be loaded from an external source (e.g. a file). how can i best accomplish this task? also, is the...more >>

Undeletable Desktop Icons
Posted by JR at 6/6/2007 7:12:01 AM
I restored my C drive from an external hard disk backup and now have four desktop icons that cannot be deleted. The error message states "Cannot read from source file or disk." I've not used VB before. How can I delete these four icons? Thanks in advance for your help....more >>

Keep a selection highlighted in a listView when it loses the focus
Posted by Guillaume Charhon at 6/6/2007 12:00:00 AM
Hi, I've created a ListView with some images. I can selected an image, but when the focus leaves the listView, the item doesn't appear highlighted. I've tried to change the property HideSelection to false, but it doesn't work. Thank you for your help....more >>

dynamic C# functions...
Posted by bcallister at 6/5/2007 10:16:01 PM
i need to be able to create a dynamic C# function on the fly on an existing type that exists within an assembly already loaded into memory. basically, the body of this dynamic function will be loaded from an external source (e.g. a file). how can i best accomplish this task? thanks for a...more >>

Regex Favorite parser
Posted by SushiSean at 6/5/2007 7:08:00 PM
I am creating some program which should get URL param from IE favorites files. And I need create correct Regex for this. Now I have this string WorkString = @"URL=http://www.test.com/homepage.asp?cool=rere%*&*#&(@&=sdfsdfsd%" Regex URLrequest = new Regex(@"\s*URL\s*=\s*(?<URL>[\w\W]*)\s*"...more >>

How to clone an object ?
Posted by Andrew at 6/5/2007 3:11:00 PM
Hello, friends, In c#.net, I need to clone an object passed into a method, private object generateCollection(object userInfo) { //I then need to generate a group of userInfo, //How can I clone this passed in object? //Do we have syntax something like this? //...more >>

Exchange 2003 API Pointers?
Posted by lucius at 6/5/2007 2:52:49 PM
Looking for all pointers, references, code sample for sending commands to Exchane 2003. I would like to send mail using MAPI, create/modify appointments, etc. I don't want an Outlook interface, but something that will talk to Exchange directly (impersonating any user I see fit). Thanks. ...more >>

Add an image to an imageList from a ressource
Posted by Guillaume Charhon at 6/5/2007 1:00:14 PM
Hi, I want to add an image in an imageList. I use the VS designer to create my imageList. When I try to add an image to it, VS open the Windows Explorer... and I want to use an image in my ressource file. I used the ressource designer to add the image... Thank you for your help....more >>

margins and bounds? [Printing]
Posted by giddy at 6/5/2007 12:57:06 PM
hi , i have a simple question. Do the margins and bounds for a page have to be considered together? As in , should i add up the two to get the *real* printable area? can i , or should i turn the margins off? by setting it to (0,0,0,0) because i'm printing things like reports and bills? ...more >>

About Certificates and digital signing
Posted by Beginner at 6/5/2007 9:42:02 AM
I am trying to make a digital signature for a Zip Package using the packaging facility provided in .NET 3.0 . But the problem is that i need a certificate to use it, can i use a personal certificate, just for test before buying a true certificate. If so can someone tell me how to get or make a...more >>

Dynamic compilation
Posted by alexis.meilland NO[at]SPAM gmail.com at 6/5/2007 7:02:59 AM
Hello. I have a big problem. In fact, I have a program coded in C#. In this one, I generate a vb.net assembly. Everything is ok. It works well. But now, my problem is the following. I want to export the .net object in1 created in the code I want to compile. Input is a class used in my c#...more >>

finding files in a directory
Posted by AVL at 6/5/2007 6:45:01 AM
hi, how to get the number of files in a directory...including the files in the subdirectories... is there any default method of Directory class.. please help out...more >>

help on regex
Posted by AVL at 6/5/2007 6:43:01 AM
i want a reg exp for the below format.. 1.0.00.0000 i tried as follows \d\.\d\.\d{2}\.\d{4} but it's accepting -ves numbers also(-1.0.00.0000) I want only +ve numbers in my input..how do i check it?...more >>

autoscaling of winforms
Posted by AVL at 6/5/2007 5:33:01 AM
hi, i'm a newbie to winforms.... i've designed few forms... but when the resolution is changed to lowest number.. i'm not able to see certain buttons on my form... how do i fix this issue...I've enabled AutoSacle to true on my winform do i need to set any properties on the winforms or contro...more >>

Problems with managed classes
Posted by ewpatton NO[at]SPAM gmail.com at 6/5/2007 5:15:32 AM
I've got two classes, ObjClass1 and ObjClass2. I need them to both know about one another but I can't include the header twice because of a "type redefinition" even though it's the same file. Ex: -----ObjClass1.h----- #ifndef __OBJCLASS1 #define __OBJCLASS1 #include "ObjClass2.h" publ...more >>

RijndaelManaged class
Posted by Vaibhav Goel at 6/5/2007 12:18:01 AM
When I run my application as a NonAdmin user(a user who is a part of the "Users" group), it throws an exception at a point in the code where RijndaelManaged class is instantiated. Exception thrown is "Requested registry access is not allowed". Any help wld be highly appreciated....more >>

IL code debugging?
Posted by spambox09 NO[at]SPAM gmail.com at 6/4/2007 10:16:20 PM
Is it possible to debug IL code using VS.SET? It would be very useful, when some error occurs in the module without source-code. ...more >>

Basic question about threading.
Posted by GeezerButler at 6/4/2007 5:28:45 PM
Hello all, I am completely new to threading and am sorry if this sounds stupid. I am developing a class which extends from ApplicationException class. Basically this class (MyException) captures local and instance variables and method parameters at the time of exception. This exception is the...more >>

WebDav Library for .NET?
Posted by lucius at 6/4/2007 3:18:23 PM
I have to work with a WebDAV server, and was wondering what .NET libraries or sample code exist to do so. Thanks. ...more >>

ClickOnce Outside form a restricted Web site
Posted by Michael D. Reed at 6/4/2007 3:14:00 PM
We have an application that we distribute internally, with in our domain. We would like to distribute it to a select group of users that will log into a Web site. I find very little information on using the ClickOnce technology when on needs to log into the publishing URL. Has any one tri...more >>

Can 2.0 Framework application reference 1.1 Framework DLL?
Posted by RJ at 6/4/2007 1:06:23 PM
I guess this gets into backward compatibility, but assuming only 2.0 Framework installed on the runtime platform. If the 1.1 code is compatible? The 1.1 library assembly contains datasets and datareaders. ...more >>

intercept form closing
Posted by Alexander Stetsenko at 6/4/2007 12:41:21 PM
Hi. What I need is to intercept MDI Parent form closing. As for now, MDI Parent form closing event is rased only after all child forms are closed. And I can't cancel this operation. If user had accidentaly clicked form X close button I want to ask him if hi realy want to close thw applic...more >>

Opening File with Unknown Extension C#
Posted by Abhi at 6/4/2007 12:29:59 PM
Hi, I want to open a File with unknown Extension using C#. What i want is i do System.Diagnostics.Process.Start("FileName"); Now if File is associated with any program then the File with open with that Application, this is working fine. My requirement says, if file extension is unknown or...more >>

3D border question
Posted by Quinn at 6/4/2007 12:08:08 PM
Some .Net controls have a 3D borders, but if windows XP Display "Appearance" setting is "Windows XP style", The 3D border changed to XP style. I also noticed VB 6 3D borders do not change. Is there a way to make 3D border display all the time no matter what windows settings you choose? Than...more >>

How do I Close XmlDataDocument?
Posted by John Walker at 6/4/2007 7:14:04 AM
Hi, I am using the following code to open an XML document: Dim datadoc As New System.Xml.XmlDataDocument datadoc.DataSet.ReadXml(New StreamReader(sFileName), XmlReadMode.InferSchema) When I am through using the XML file I want to rename it to another folder but it's locked. How do i close...more >>

Memory footprint across copies of app
Posted by Todd at 6/4/2007 6:41:02 AM
What is the memory footprint methods & properties of a windows app running on a server when the server spins up multiple instances of the application? In my envirionment, we have a Citrix server farm running .Net 2.0 windows apps. Does the framework allow for instances of the same applicatio...more >>

Is Dotnet Cross platform
Posted by Husam at 6/4/2007 5:17:01 AM
Hi EveryBody: As we know the java is cross paltform languge which means that any application done by Java can be used in any opreating system if the java run time JRT is installed in that OS. My Question is Can I installed the dotnet framework in any opreating system for example Liunx or...more >>

Add two times (or more) the same object in a tableLayoutPanel
Posted by Guillaume Charhon at 6/3/2007 8:54:27 PM
Hi, I want to add two times the same picture box in two differents cells of a TableLayoutPanel. How can I do ? I don't want to duplicate my picture picture box. Thanks !...more >>

Vista Home Premium - Microsoft .NET Framework 2.0 Configuration problem
Posted by NuttingCDEF at 6/3/2007 8:12:31 AM
I've just done a clean install of Vista Home Premium - then installed Visual Studio 2005 Express C# - and SP1 - and the Windows Update for it. But I can't get Microsoft .NET Framework 2.0 Configuration to run (from Control Panel \ Administrative Tools) - every time I open it #, it looks as th...more >>

How to upgrade code from Console::WriteLine() to Message box
Posted by Allen Maki at 6/2/2007 9:51:30 AM
/* Console::WriteLine() I am trying to use message box instead of Console::WriteLine() to upgrade my code from just using the console to using GUI. In the bottom 2 lines, #1 works, but I have hard time to make # 2 works. Can anybody give a hand here to make the information to be ...more >>

Debug this if you can.
Posted by GeezerButler at 6/2/2007 6:06:11 AM
I have a class A derived from interface B. I create object of A (using reflection) and then i try to cast the object A to type B, object objA = MyReflectionFunction("classA"); B objB = (B) objA; //Exception thrown here I get Invalid cast exception. Now the funnier part is that before/aft...more >>

two monitor application
Posted by rameshgoudd NO[at]SPAM gmail.com at 6/2/2007 4:36:45 AM
Hi, I am running my application in two minitors.In one monitor.............if it is idle for some time the screensaver wil come(I wrote the code for this using system dll functions) . Now my problem is that if i keep the mouse on monitor1 and i clicked on this monitor1..........this key pre...more >>

This source file has changed. It no longer matches the version...
Posted by Randy at 6/1/2007 4:33:18 PM
I'm using VS 2005 version 8.0.50727.762 SP .050727-7600. I have a c# ASP project. Lately, when I've been running the project in the IDE, I get a dialog which says... "This source file has changed. It no longer matches the version of the file used to build the application being debugged" I've...more >>

Eliminate VB express 2005
Posted by Marv at 6/1/2007 3:53:32 PM
Some time ago installed this software. Now I want to remove it but it does not show in Add/Remove and I have not been able to find an uninstall option. Is there some other means to remove it? Marv ...more >>

Include a DLL
Posted by Ferdinand Zaubzer at 6/1/2007 2:22:23 PM
Hello, I would like to include an existing DLL library in a projekt, that should be copied to the output when the poject is built. Whats the best practice to achieve that? Regards Ferdinand...more >>

ADOX with managed C++
Posted by EdisonCPP at 6/1/2007 1:49:02 PM
I'm trying to create an Access DB programmatically as I have before, but trying it managed now. I first imported ADOX 2.8, then reverted back to 2.7 when it didn't seem to work in 2.8. ADOX::Catalog^ catalog = gcnew ADOX::Catalog(); catalog->Create(ConnectionString); When I type catalog...more >>

Release is slower than debug... What's happening?
Posted by ThunderMusic at 6/1/2007 11:28:02 AM
Hi, I have a windows service that only loads a CSV file and import it's data using SqlBulkCopy in a newly created Sql Server 2005 table using 25000 rows batches. If I build the service in debug mode and run it, I get descent performances. If I build it in release mode, I would expect it to...more >>

Change framework language
Posted by Henrik Stidsen at 6/1/2007 11:19:43 AM
I need to change which language the .NET framework exception messages is displayed in. I'm using Windows Vista Business with danish as UI language. This means that the exception messages gets translated into danish = completely useless and often very hard to make sense of... Is there any wa...more >>

UserControl purpose question ...
Posted by Jamie Risk at 6/1/2007 10:24:04 AM
I'm implementing a Windows application in C# .Net 2.0. On many of the forms I need to have record navigation capabilities (forwards, backwards, first, last etc) which I chose a to do with a toolbar containg 7 buttons or so. 1. Rather than recreating the same toolbar (navBar) in the dozen ...more >>

LINQ code generation?
Posted by PJ6 at 6/1/2007 10:22:46 AM
I'm not clear on this - does LINQ just use a code generator to give the developer classes that represent stored procedures? If so, won't that in effect just create the same mess of support code that ADO creates for data binding? Paul ...more >>

Converting to DateTime
Posted by maflatoun NO[at]SPAM gmail.com at 6/1/2007 9:00:56 AM
Hi, I'm having a hard time parsing the following date/time that I get in an XML RPC call to a third party service provider. 12 Jun 2007 08:00 EST5EDT I like to assign it to DateTime and can't find anything on Google Thank you M. ...more >>


DevelopmentNow Blog