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 > march 2006

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Opening new browser from .NET
Posted by Ashhad Syed at 3/31/2006 6:02:01 PM
Hello I am new to VS2003 .NET development and therefore have a really simple question: How do you open a new browser from within the code (I am using VB)? I know you can use Respose.Redirect command to go to a different form in the same browser. ALso if the application tries to open a...more >>


Any Good .NET Framework 2.0 Documentation
Posted by John Keers at 3/31/2006 4:40:50 PM
Hi, I'm a .NET developer and I want to learn and understand what is happening "under the hood" of the .NET Framework 2.0 to improve my applications and transfer knowledge to my colleagues. The CLR, Garbage collection etc etc.... Does anyone know of any good papers or documentation I can do...more >>

code encryption (dotfuscation)
Posted by z f at 3/31/2006 3:44:32 PM
which is the best reasonable price tool for code encryption / dotfuscation? I found that the dotfuscator community edition only rename method names but does not encrypt actual implementation. If someone can share from their experience it will very help. thanks. ...more >>

REMOTE process
Posted by John Cosmas at 3/31/2006 3:32:49 PM
I need to fire or launch an application whose EXE/Path I know on a remote box on my network. My existing PROCESS code does not seem to do this despite the use of the .DOMAIN property where I pass the machine name. Please help. ...more >>

Help with ADSI in NET 2.0
Posted by John Cosmas at 3/31/2006 3:31:19 PM
I'm trying to migrate my existing ADSI code from VBA into NET 2.0. Does anyone have any ideas on what I should start using? I'm trying to check the status of my IIS server accross the network, which I as able to do successfully in VBA. I also read where you could use ADO and the special p...more >>

Sending an email using System.Net.Mail or System.Web.Mail
Posted by sanjeev NO[at]SPAM securlinx.com at 3/31/2006 3:12:16 PM
I am attempting to send an email from a C# app and get the following error - [System.Web.HttpException] = {"The server rejected one or more recipient addresses. The server response was: 554 Relay rejected for policy reasons.\r\n"} I can only send emails to addresses within my domain. What d...more >>

app.config files and MMC snap-in
Posted by richlm at 3/31/2006 2:12:13 PM
I'm developing a snap-in for MMC 3.0 using .Net framework 2.0 and the new MMC class library. I need to store some configuration settings, ideally in a .config file associated with my snap-in dll. A couple of possible solutions: 1. Deploy an mmc.exe.config to %windir%\System32 - not really...more >>

How to signal process
Posted by William Stacey [MVP] at 3/31/2006 1:58:29 PM
How can you signal Ctrl-C to a managed process (i.e. process is hosting cmd.exe)? TIA -- William Stacey [MVP] ...more >>



Page Event order in VS 2005
Posted by Matt Colegrove at 3/31/2006 1:43:02 PM
Can someone direct me to documentation on the order of Page Events for VS 2005?...more >>

Socket Listen for single connection
Posted by yofnik NO[at]SPAM comcast.net at 3/31/2006 1:18:46 PM
I am writing an application that simulates a TCP device that only accepts one connection at a time. For my application, I would like connection requests to fail if one already exists. So far I have the following code: IPAddress ip = Dns.Resolve("localhost").AddressList[0]; Socket s = ne...more >>

E:\My Documents\Visual Studio Projects\MyProject\Install\install.vdproj 'msado15.dll' should be excluded because its source file 'C:\Program Files\Com
Posted by milan.letic NO[at]SPAM gmail.com at 3/31/2006 11:36:24 AM
I added reference to "Microsoft ActiveX Data Objects 2.8 Library" to my project. I was experimenting something. Now I run compilation and get error like in title. I'd like to remove this reference, but I cannot find it in References. Where to look, how to remove it? ...more >>

Returning an Enum From A Remote Service?
Posted by David White at 3/31/2006 11:28:10 AM
I have a C# client and a C# remote service. I want to return an enum from the service to the client. I have defined the enum in a shared DLL referenced by both client and server which also contains the shared interface. But when the code runs (on .Net 2 on XP anyway), it fails with an exceptio...more >>

client / server design advice
Posted by yofnik NO[at]SPAM comcast.net at 3/31/2006 7:43:52 AM
I need to write a client application that polls a smart device for its data on a regular basis. The device only accepts one TCP connection at a time on a single port. The device is a peice of hardware that just returns its data when it receives a request. I have no control over the design of the...more >>

Binary representation of a double?
Posted by vecozo NO[at]SPAM online.nospam at 3/31/2006 6:21:02 AM
Hello, We are writing an application in C# that finds roots of a function up to machine precision. Therefore I have to compare the number of significant bits in two double variables (the upper- and lowerbound of the interval containing the root). Currently I am struggling with the binary re...more >>

How to change settings in the default AppDomain?
Posted by GiGi at 3/31/2006 4:22:18 AM
I want to know if it is possible to change the "ApplicationName" property of default AppDomain. All the property of AppDomain.CurrentDomain are read only. Thanks for the reply in advance. ...more >>

is it possible to define the order in which winform user controls load?
Posted by Greg at 3/31/2006 1:51:22 AM
I have one control that absolutely must load before any other controls, due to some initialisation code within it. Is there a way of getting this control to load first? Moving the code from the load event to the constructor isn't an option to get around this issue. Any suggestions would be ver...more >>

Alternative to HttpWebRequest for posting
Posted by Bais at 3/31/2006 12:23:02 AM
Are there any alternatives to HttpWebRequest for posting? I think using the HttpWebRequest for the "multipart/form" will require quite an amount of code. I would rather like something similar to: HttpWebPost post = new HttpWebPost("http://somehere.over.the/rainbow"); post.setEncodingType(Enc...more >>

WebRequest and Range Header
Posted by Steve b. at 3/31/2006 12:00:00 AM
Hi, I'm building an application that can download resources using HTTP. In order to enable resuming broken download, I'd like to send to the server some Http Headers : string uriString = "http://server/app/resource.ext"; WebRequest req = WebRequest.Create( uriString ); req.Hea...more >>

A question about DLL
Posted by tony at 3/31/2006 12:00:00 AM
Hello!! I'm using VS 2003 and C# and some dll. These dll are of type class library and windows control. Im I right if I say that there is a problems by having several dll project especially windows control in the same solution as the project that create the exe file. One problem that I h...more >>

From VB.NET to Word 2003
Posted by Pieter Coucke at 3/31/2006 12:00:00 AM
Hi, With my VB.NET 2003 application I want to generate reports in Word 2003. I should be able to: - use eventually some template (with the header of the company etc) and ad my info to the document - be able to add an image - be able to add and fill tables But all of this should have a fl...more >>

Possible bug with SerialPort Parity.None and/or ParityReplace
Posted by David Creel at 3/30/2006 6:51:02 PM
I am developing some firmware that needs to send binary data to a .NET app via rs232. I have created a test .NET app that uses the SerialPort class to read the data, however it is erroneously doing a replacement on the value 0xFF to be 0x3F (the default ParityReplace character). I am specifi...more >>

Problems with nested datagrid
Posted by Vili at 3/30/2006 6:46:12 PM
Hi all I am having problems with asp.net 1.1 and nested datagrid. I have a datagrid (dgDetail) nested inside a datagrid (dgMaster). How can I make all the row editable in dgDetail? So that when I choose edit (on dgMaster) it would show edititem of all rows in dgDetail and update all on ...more >>

not able to read an XSD file
Posted by Pooja at 3/30/2006 1:57:04 PM
Hi, I have an xsd file. I'm trying to read it into a dataset or even any other collection will do. But the problem is it is not getting read. Also, it is not throwing any error. Kindly help me on the same. Thanks, Pooja ...more >>

Application Always compiles
Posted by Praveen Pandey at 3/30/2006 11:41:48 AM
Hello: When I make modifications to my code and build, VS2003 will compile the entire solution, which is what it is suppose to do, GREAT!!!. However, if i have not modified the code and select Build->Build Solution menu item, it build the entire solution again. how do I stop VS2003 from doin...more >>

Windows Control In Browser and NET Framework 2.0
Posted by brianelopez NO[at]SPAM gmail.com at 3/30/2006 9:06:21 AM
OK. Simple, Simple, Simple I have a windows form control embedded in an html page. This control runs over an intranet and is used to transfer files from the client intranet PC to an intranet server. No GAC involvement at all. A few months ago this control worked great with few problems. As ...more >>

Monitoring / detecting assembly calls
Posted by Eric at 3/30/2006 9:05:02 AM
Greetings, I was just assigned to a project where I have to use existing .NET 1.1 and 2.0 assemblies, but there is no documentation for them. I have an idea of what each exposed method does, but I do not have a clue as to how the parameters are formatted. For example, one parameter is: ...more >>

Accessing Bitmap Bits
Posted by bern11 at 3/30/2006 6:54:58 AM
What is the best way to access the bits in a bitmap loaded into an image control (I'm converting a color image to greyscale). I have a method which works, but it seems kindof cludgy. Here is what I did: HBITMAP hSrcBmp; // GDI Bitmap Handle BITMAP SrcBmp; // GDI Bitmap int iStatus, ...more >>

HttpWebRequest.GetResponse()
Posted by MrMikeInNH NO[at]SPAM gmail.com at 3/30/2006 6:38:31 AM
Hi all, I am curious that if I create an HttpWebRequest object and set the Method of it to "HEAD", when I call GetResponse() do I get the whole document sent from the responding server or do I just get the Headers of the document I requested? Would this also mean, that I don't actually downlo...more >>

start/open windows explorer from code
Posted by mikemeamail NO[at]SPAM net2000.ch at 3/30/2006 5:27:23 AM
Hi, I wish i could start the windows explorer control directly from the code but i was not able to find the right way to do it. Could anybody help me please ? Thanks a lot, Mike ...more >>

proxy server and aspx
Posted by Juan Segura at 3/30/2006 4:27:02 AM
Hello: I'm developing a proxy server in C#-VS2005. It works fine in standard htm and asp pages. When I request an aspx page the client Explorer waits for a very long time waiting the response, however the proxy server was send to it. It’s like the client waits for more data. There is ...more >>

Current Working Directory of a process
Posted by Blitr at 3/29/2006 9:08:08 PM
Hi. I'm writing an application in C# that runs a "cmd.exe" in another process. I need to get the working directory of the process without having to resort to issueing "echo %CD%" to the cmd process. Can anyone help me? I'm going nuts trying to find a way to do this. Cheers, /Blitr ...more >>

Team Foundation Server
Posted by Heinz23 at 3/29/2006 5:59:25 PM
Hi all, in several posts I read that the Team Foundation Server is already available ( http://msdn.microsoft.com/vstudio/teamsystem/team/tfs_released/ ) but in our SELECT-Account we could not find it :-( So is the TFS already available and which license is necessary? Thanks! ...more >>

remoting non blocking socket exception
Posted by rickyjonesus at 3/29/2006 2:06:02 PM
When attempting to make a call across application domains using .net remoting I receive the error remoting non blocking socket exception. Are there any solutions or ideas to fix this problem. Thanks...more >>

.NET service running as NetworkService - Access Denied?
Posted by Bob at 3/29/2006 1:45:39 PM
XP SP2, .NET 2.0. If I create a new/blank .NET service project, add the installer component, build and install the service... as soon as I "net start myservice" I get Access Denied. If I change NetworkService to LocalSystem or something else, everything works fine. Why am I getting Acce...more >>

Oracle connection with .Net Framework 2.0
Posted by Laresuco at 3/29/2006 1:43:41 PM
Does anybondy know how to create a connection with Oracle in Visual Studio 2005 (C#). I used the System.Data.OracleClient (VS 20003), but according to the MSDN this namespace works only with the framework 1.1. Thaks for the help... Atte Ing. Rene Lares Infotecnologia Corporativa S.C. Q...more >>

How to impersonate remote user ? Can this be done?
Posted by guxu NO[at]SPAM hotmail.com at 3/29/2006 1:37:53 PM
I was wondering if this can be done or not to impersonate a user on a remote machine to access certain directories on that machine? If the answer yes, how? Thanks. ...more >>

Windows service problem with FTPWebRequest
Posted by Frederik Wehlin at 3/29/2006 7:49:02 AM
I've created an application that upload files to a ftp-server. Everything works like a charm when doing this from a windows form. But when I try the exact same thing from a Windows service I get an exception when calling the GetRequestStream on the FTPWebRequest object i.e when trying to open ...more >>

Need to upgrade to Framework 2.0 but continue to develop in Frame
Posted by Flyguy at 3/29/2006 6:21:02 AM
I am developing with Framework 1.1 but I have a new application that requires me to have Framework 2.0 installed on my computer. How can I continue to develop in Framework 1.1 if I have 2.0 installed?...more >>

WebException
Posted by Arne Garvander at 3/29/2006 6:10:02 AM
What 'period of time' are we talking about for a WebException in .net 2.0? System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or est...more >>

Slow performance after Conversion C# application to VS 2005
Posted by Jack at 3/29/2006 3:46:57 AM
I have a C# Console application written in Visual Studio 2003 processing a lot of data. The application is therefor using .Net 1.1 and runs normally 28 minutes. After converting the project to a Visual Studio 2005 project (same if I rebuild a new project adding the existing class files) the same...more >>

Regex question
Posted by Gustav at 3/29/2006 2:36:02 AM
Hi! I want to create a regex (using C#) that split a String where a +: or ' character is found except if the specified character is preceeded by a ?. The ? act as a do not split here sign. Can anyone give me a hint how to create this regex. regards / gustav...more >>

ActiveX in .net service
Posted by Gancy at 3/29/2006 2:27:59 AM
Hi, I have .net service written in C#. This srevice uses a third party ActiveX for SNMP services. This ActiveX listens on port 162 and fires an event for ever SNMP response received. My program works fine on a Windows Forms appliction. However, SNMP response events are not fired from .Net...more >>

How to pause the timer created from System.Threading.Timer class
Posted by Dhruvesh Brahmbhatt at 3/29/2006 1:05:02 AM
Hi, I have one problem in pausing the timer which i have created from System.Threading.Timer class. // I can create a timer that waits one second, then invokes every second by below code Timer timer = new Timer(timerDelegate, s,1000, 1000); // I can also shorten the period. Wait ...more >>

"Strong name validation failed for assembly xxx"
Posted by Randolph Neall at 3/28/2006 11:37:35 PM
After converting to VS 2005 an assembly that used to run in a certain directory just fine does not do so any longer. Loading it results in the error "strong name validation failed for assembly xxx." It happens that this assembly is not strongly named, and it runs without error in other directori...more >>

pinvoke GetDiskFreeSpaceEx with UNC
Posted by Rogas69 at 3/28/2006 5:06:49 PM
Hi all, I am using VS 2005, .Net 2.0., Windows XP Pro SP2 I encountered a problem for which I couldn't find answer in google. I want to get colume size information - total, free and available. I am using GetDiskFreeSpaceEx API function to do this. So far, so good. Specification says that t...more >>

How to import Imports ROOT.CIMV2.Win32
Posted by moondaddy at 3/28/2006 2:25:04 PM
I have a c# 2.0 class and am supposed to use: using ROOT.CIMV2.Win32; However, I can't figure out what I need to reference so I can use ROOT.CIMV2.Win32. Can someoen please advise? -- moondaddy@nospam.nospam ...more >>

:-(
Posted by Nick Hounsome at 3/28/2006 10:31:40 AM
It wasn't available! It's starting to look like we wont be going. You can imagine how I feel about that. ...more >>

Thread constructor - maxStackSize argument?
Posted by TMcM at 3/28/2006 9:07:04 AM
Framework 2.0 There is a constructor for the System.Threading.Thread class that takes a ThreadStart object and an int as construction arguments. The ThreadStart object is the delegate to the thread entry point obviously, but what is the maxStackSize integer value used for? I can see that it...more >>

FileLogTraceListener in asp.net 2.0 project
Posted by Carlo Folini at 3/28/2006 7:53:37 AM
Hi, I'm setting up tracing for a c# asp.net 2.0 web app. I saw an interesting TraceListener called FileLogTraceListener that resides in the Microsoft.VisualBasic.Logging namespace. Is there some drawback on using this VisualBasic class? I found similar functionality in a trace listener f...more >>

NET Framework Permission Request Viewer in .NET2
Posted by Filippo Bettinaglio at 3/28/2006 7:05:22 AM
PermView.exe - .NET Framework Permission Request Viewer. Why PermView.exe is not included any more in the .NET2 Framework? Is there a correspondent utility for .net2 assemblies? Many Thanks, Filippo ...more >>


DevelopmentNow Blog