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 > september 2006 > threads for september 15 - 21, 2006

Filter by week: 1 2 3 4 5

connecting asp.net with oracle9i
Posted by Jack at 9/21/2006 10:40:02 PM
Hello All, Can anyone here suggest me some idea for my following queries? 1) How do I connect asp.net with oracle9i? 2) How can I generate a report using Crystal Report with asp.net based on certain user conditions? Thanks in advance Jackfadd ...more >>

Problems when writing a SMTP client and talk with the hotmail
Posted by Ou at 9/21/2006 6:52:50 PM
Hi, First, I am not trying to talk to hotmail through the SMTP straightly. I am trying to write some codes to send emails through a SMTP server. I wrote a C++ version using pure socket programming and SMTP protocol, a VB version using CDO and a C# version using System.Net.Mail. Now all of ...more >>

Directory (LDAP) search error 0x8007203A
Posted by Harald at 9/21/2006 3:21:12 PM
Hi, I'm trying to read some data with C# in .NET 2.0. I'm using the Directory classes as follows: ... DirectoryEntry entry = new DirectoryEntry(); entry.Path = "LDAP://myServer.intern.myCompany.de:51000/ou=MyApplication,ou=srv,o=myCompany"; entry.Username = LDAP_APP_USER...more >>

RSA 1024 Bit Decryption with *.Pem Key
Posted by Ron at 9/21/2006 1:35:02 PM
Hi guys, We have created a key pair (privKey.pem, pubKey.pem) with OpenSSL as our partner requested (they use this format). They encrypted a string with our public key and then base64 encoded the string. We want to use Visual Studio.net 2003 to base64 decode the string, and then decrypt...more >>

searching byte arrays and RTFreaders
Posted by Andy at 9/21/2006 11:39:06 AM
Hi Does anyone know of a .net technique that can quickly find a particular byte value within a byte array and return its position, much as instr does for strings in VB.NET? I'm writing my own custom RTFreader by having my class inherit the ..NET System.IO.BinaryReader. My goal is to have ...more >>

Exclude a project from a multi-project solution build
Posted by B. at 9/21/2006 10:50:12 AM
I have a solution which has multi projects, how can I exclude one project from build when I click bulid or rebuild solution? Thanks. ...more >>

Is there a way we can send a feature request for Visual Studio?
Posted by ThunderMusic at 9/21/2006 10:11:55 AM
Hi, Is there a way we can send a feature request for Visual Studio? When using 'Refactor-->Encapsulate Field', I'd like to have an option for the references not to be updated anywhere in the project. It would be very useful for me (and probably others too) because I use this feature to gene...more >>

Debug CF2 on WCE4 with VS2005
Posted by Romain TAILLANDIER at 9/21/2006 9:14:04 AM
Hi group I have an 'old' device WCE 4.2. I have install .NET CF V2 on it. Using VS 2005, i can develop and deploy succesfully. BUT I can't debug. I have try to install System_SR_FR.CAB and System_SR_ENU.CAB, without any success. Any idea ? thank you for your help . ROM ...more >>



Automatic Resize of Panel
Posted by Istvan Loerincz at 9/21/2006 9:01:15 AM
Hello I have a public class ChartPanel : System.Windows.Forms.Panel and add with this.Controls.Add(...) Objects (usercontrols) to it How can I achieve that "ChartPanel" automatic resize, if objects are not visible any more (because of x,y). ChartPanel is embedded in ChartR...more >>

Using remoting features inside a .NET applet loaded in a tag object
Posted by Lambuz at 9/21/2006 6:41:16 AM
First of all, is it possible usign .NET remoting feature inside a .NET applet loaded into a tag object inside an HTML page ? <OBJECT id="myID" height="150" width="300" classid="http:applet.dll#test.applet"> </OBJECT> If not please can anyone explain why ? I think yes and so I'd written a ...more >>

Adding contraints and inheriting
Posted by Paul at 9/21/2006 1:04:54 AM
Hi All A simple question I hope I have a class public abstract class authenticatedBoundForm<T> : authenticatedPage, IControlPage I want to add contraints to T specifially the new() contraint. How can I do this without T being forced to inherit/implement authenticatedPage, IControlPa...more >>

GC problem with large object - .net 1.1
Posted by Rolf Welskes at 9/21/2006 12:00:00 AM
Hello, I have an applications witch works with bitmaps. Such bitmaps are in windows (forms) sizeable. Each time it is neccary to allocate new bitmap with any size-step, because the bitmap is generated. So there is the following situation under .net 1.1 If the window (bitmap) is sized for ...more >>

Intellisense in ASP.NET textbox
Posted by Samuel at 9/21/2006 12:00:00 AM
Hi, Do you know how to implement intellisense behaviour in ASP.NET textbox. Like in destination textbox at http://www.booking.com/ site? It shows cities from all over the world and it works extremely fast. I think it's some sort of partial callback? When I save page i have list only of cities...more >>

Install font from ClickOnce application
Posted by Thomas Taylor at 9/20/2006 4:47:01 PM
How can I distribute a TrueType font with my Windows Forms application using ClickOnce? Is there a direct/supported way to install via ClickOnce? I tried including the ttf files as resources and copying to the fonts folder on startup. This worked fine, but I can't manage to get them 'regi...more >>

Dynamically instance a class
Posted by APA at 9/20/2006 3:53:30 PM
I have a setting in my database where the user specifies a tax configuration (e.g. "UK/EU") and I have several tax classes that handle these different configurations. So what is the best way to instance the proper class based on what is in this configuration parameter. I could use a simple sw...more >>

.NET Framework 2.0
Posted by Soddy at 9/20/2006 12:39:02 PM
Hello! Say, I've installed the .NET Framework 2.0. When I've used the Norton WinDoctor feature, it is showing 'errors' concerning various (.exe) files in this Framework not finding the file 'msvcr80.dll'. Where did I go wrong here?? -- Thanks! Soddy...more >>

reflection for plug in
Posted by ScottP at 9/20/2006 12:33:16 PM
Hi all, I am trying to create a plug-in handler that discovers and enumerates my plug-ins at runtime. I've got it working, but I had to defensively trap and swallow a lot of exceptions. Is there a better way to discover if an executable is a valid assembly? Is there a better way to disco...more >>

Event handling (C# vs VB6.0)
Posted by sandeep.raukutam NO[at]SPAM gmail.com at 9/20/2006 5:29:44 AM
I have the following code in C# to "sink" an event with an event handler. Obj.OnCallEvent +=new CallEventHandler(obj_OnCallEvent); obj_OnCallEvent being the actual method and "obj.OnCallEvent" is the actual event. This events are provided by a 3rd party Dll. I have converted that dll i...more >>

Are named pipes quicker than just reading and writing to files?
Posted by illegal.prime NO[at]SPAM gmail.com at 9/19/2006 8:43:02 PM
Hi all, I've been looking into doing some interprocess communication and have been reading about named pipes. Everyone seems to indicate that if the processes are either on your local PC or at least on your local LAN AND your messages are reasonably small (under a kilobyte) - then named pipes a...more >>

Hang when new DirectoryEntry declared
Posted by Ian Cox at 9/19/2006 4:43:40 PM
I am using the System.DirectoryServices namespace in .net 2003. I have noticed some very strange behaviour related to the DirectoryEntry class. If I debug the following code with a break point on the Console.WriteLine line then there is a lengthy pause before the breakpoint is hit. If I remo...more >>

Async activities from class not derived from Control
Posted by Valerie Hough at 9/19/2006 2:25:47 PM
I want to create a utility class which is defined as follows: public Class MyDataReadingClass { .... } In that class I want to encapsulate all the logic for performing certain SQL Server queries and have the result set accessible from my parent, which will always be a System.Windows.Form ...more >>

Need a Depends tool.
Posted by Ken Varn at 9/19/2006 2:22:20 PM
Is there a tool that exists for .NET like the C++ Depends tool? I basically want to be able to determine what dependencies an assembly has on other assembly DLLs and/or unmanaged DLLs. -- ----------------------------------- Ken Varn Senior Software Engineer Diebold Inc. EmailID = var...more >>

Here is some as-is code for helping with System.Diagnostics.Process
Posted by hellosticky NO[at]SPAM gmail.com at 9/19/2006 1:45:28 PM
Thought I would throw this out there so that it could be Google'd. Deals with a common use of Process which is to encapsulate another process and grab its standard out and standard error, and so it uses the asynchronous operations that the Process class provides. Sorry for lack of commenting. Th...more >>

Async UI Calls Block on Dual-Core CPU, work fine on Single Core. Why?
Posted by costasz NO[at]SPAM gmail.com at 9/19/2006 1:06:06 PM
I am using the code from this MSDN article http://msdn2.microsoft.com/en-us/library/bz33kx67.aspx Everything worked great on my single core CPU laptop. I then tried to run the .exe on my Dual core Pentium-D at work. The UI becomes unresponsive while the background thread is running. When I g...more >>

Query Exchange 2003 for valid SMTP Address
Posted by Michael D. Ober at 9/19/2006 8:08:58 AM
I am writing an application that needs to email to specific users on our Exchange server and need to query it to see if the SMTP address I will be sending to exists. The application will be running on the same server as the Exchange Server. Environment is W2003 SP2 Exchange 2003 SP1. Allo...more >>

Remoting Internals
Posted by Peripatetic at 9/19/2006 8:05:02 AM
I am trying to find information on the internals of remoting. I want to find out things like: If I host remoting in a NT Service how does it manage the requests. Does is use the threadpool? How many concurrent request can be serviced by one host. etc. Pointers to document would be great....more >>

Dowload File
Posted by rony_16 at 9/19/2006 7:00:11 AM
Hi, I have problem with downloading a file using WebRequest and HttpWebResponse. Inorder to download this file i need to call to url that tells to prepare the file for download, and then i call to another url that downloads the file. I have a problem with that because: 1. i do not know when...more >>

MSBuild and VSTS 2005
Posted by Al Christoph at 9/19/2006 6:41:02 AM
Forgive me if this is the inappropriate forum to post this, but I found MSBuild.exe in the framework directory so it seems right to me:-) Also forgive me if this duplicates an existing post. I posted this issue the other day, and it seems to have disappeared. (I have way too many posts not ...more >>

bluetooth
Posted by sios at 9/19/2006 1:40:18 AM
ho necessit=E0 di rilevare tutti i dispositivi nelle vicinanze(palmari, cellulari etc), elencarli ed accedervi. avete suggerimenti? ...more >>

DirectX
Posted by Le Minh at 9/19/2006 1:15:02 AM
how we render a device into a picturebox control ?? ...more >>

vista?
Posted by brent at 9/19/2006 12:11:48 AM
I have a very basic question. If your going to start out with vista development is it a lot better to try to develop with Vista RC1 or is it almost or just as good to use XP with Framework 3 installed? Vista is slugish at this point and i want to do most of my development in a virtual machi...more >>

Announcement: NLog 1.0 has been released
Posted by Jaroslaw Kowalski at 9/19/2006 12:00:00 AM
NLog 1.0 has been released.! After 2 years of work, we're proud to announce the availability of NLog 1.0. NLog is a FREE logging library for .NET designed with simplicity and flexibility in mind. See http://www.nlog-project.org for more information about NLog. Source, binary packages and...more >>

How to determine when a process has finished initial loading
Posted by Notre Poubelle at 9/18/2006 9:44:01 PM
Hello, Is there a standard way of determining when a process has finished its initial loading, such that it is ready to accept commands? For example, I am starting Visual Studio (devenv.exe) from my own program. I would like to perform some actions (like open a file), when Visual Studio i...more >>

Long Lease Times a problem?
Posted by Jayme Pechan at 9/18/2006 9:03:17 PM
I'm very confused about whats wrong with doing long Renewal times for the ISponsor interface. Basically, I had been returning TimeSpan.FromSeconds(20) from my Renewal function and all was well. I then thought it might be a good idea to increase the lease time so I use less overhead. As a...more >>

Bug Log for Microsoft // Missing Enum Value in Framework
Posted by sloan at 9/18/2006 5:52:01 PM
Is there an official "bug report" location, to report a DotNet framework bug? I don't like to throw out the "bug in the framework" thing very often, but I think I've done the homework on this one. ... I've found an enum value that doesn't exist: public enum MessageQueueErrorCod...more >>

Server Access
Posted by Terry LaBrie at 9/18/2006 2:08:02 PM
I am replacing a VB6 batch program with NET 2003. The program is launched from a SQL Server via DTS, and the first thing the program does is read some information from a file (DAT/INI type) residing in the same folder as the exe. The VB6 programs works just fine, but the NET 2003 errors out ...more >>

Openning Access DB throuhg system.diagnostics.process.start
Posted by necroscepter NO[at]SPAM gmail.com at 9/18/2006 1:18:15 PM
I am trying to open a MS Access Front end through my windows form app. It opens fine when the file doesn't need a password. System.Diagnostics.Process.Start("C:\DBFrontEnds\Employee.mdb") Is there a way I can pass the password to Access in this case? I have looked into the startprocessInfo ...more >>

clr203r3 error
Posted by BizEd at 9/18/2006 11:22:14 AM
We keep getting a windows service error as follows.... EventType clr20r3, P1 pp13eakn2jq2lxxdjz04gyi0giktjvq4, P2 1.0.2385.25848, P3 44b6b961, P4 mscorlib, P5 2.0.0.0, P6 4333ab80, P7 32f8, P8 26d, P9 system.io.ioexception, P10 NIL. I have seen inquiries on this error on other posts, but nob...more >>

Socket weirdness
Posted by William Stacey [MVP] at 9/17/2006 7:41:02 PM
See some strange results on Send and peer with a closed Receive. Setup a test harness. Server accepts socket, then just does a Shutdown.Receive right away and waits. The client socket does both blocking Sends and BeginSends to see the difference in behavior. Results: 1) Using blocking ...more >>

Garbage collection
Posted by luigi.corrias NO[at]SPAM gmail.com at 9/17/2006 1:10:24 PM
If i dispose all object in my vb.net c# code what perfomances advantage i have? many thanks ...more >>

TypeConverter and Generic Lists
Posted by Kinlan at 9/17/2006 3:29:01 AM
Hi I am having a bit of difficulty with TypeConverters and Generic Lists and I was hoping that I could get a bit of advice. I have a type converter that is used to create the constructor code for my component. (It is an XNA a Game Component, but I don't think that that has anything to do wi...more >>

Variable length arrays in .NET 2.0?
Posted by Kevin Burton at 9/16/2006 11:32:01 AM
I have not kept up on the changes to .NET 2.0. Besides ArrayList are there any other array's or containers that can have an adjustble size? With Generics is there a container that I can Add items to of a known type and have the array or container adjust to hold it? Thank you. Kevin...more >>

Addrow to DataGridView
Posted by Taoge at 9/16/2006 12:16:04 AM
Hi, all I want to add a row to a bound datagridview, suppose I need copy some columns of a row from datagridview2 to datagridview1, the user select a row in datagridview2, click a button, and then copy some columns of the selected row to a new added row in datagridview1. Bur when I try to ...more >>

.NET class correspondent to I/O Completion Port functions
Posted by Hyun-jik Bae at 9/15/2006 11:52:09 PM
Is there any .NET class correspondent to I/O Completion Port functions (GetQueuedCompletionStatus, CreateIoCompletionPort or BindIoCompletionCallback)? Please reply. Thanks in advance. Hyun-jik Bae ...more >>

app.config
Posted by Rainer Weinhold at 9/15/2006 11:05:12 PM
Hi, I added an app.config via add/new Item to my C++ project. Now when I run the Project I cant acces the content via : String ^str=ConfigurationSettings::AppSettings->Get("connStr"); coz the compiler or who ever should it do does not create the MyApp.exe.config file. When I create this file...more >>

listing computer names on network?
Posted by ARTMIC at 9/15/2006 8:15:01 PM
Can anyone help me, How can i list the computers on the local area network? I need to know if a certain computer is turned on and available on the network. Thanks. ...more >>

UDP Hole Punching Demo
Posted by Hans Peter Gerdes at 9/15/2006 2:37:35 PM
Hi there, is there any UDP hole Punching Demo with the .Net Framework out there? Thanks for answer Hans Peter. ...more >>

Component/Control using threads how can I do........
Posted by ThunderMusic at 9/15/2006 2:27:44 PM
Hi, I want to develop a component or a control(no UI, just like a timer or something)... This component will have a thread running from it's constructor or from a start function until a stop function or the end of the application. What I want to know is the following : How can I know when th...more >>

GAC
Posted by Arne Garvander at 9/15/2006 2:17:02 PM
I have a website which calls web services on an application server. My website and web service use a common core dll. The core dll is currently installed in the gac. Is that a good idea? If my core DLL is signed, can it be installed anywhere on the computer? -- Arne Garvander (I program VB.N...more >>

syncronized class
Posted by gerry at 9/15/2006 2:14:03 PM
Is there any way to specify that all methods of a class should be synchronized other than applying the [MethodImpl(MethodImplOptions.Synchronized)] attribute for every method ? Gerry ...more >>

Detect if Workstation is locked
Posted by ThunderMusic at 9/15/2006 12:54:43 PM
Hi, I want to detect in my C# app (can use iterop) if the workstation is locked. I've seen on the web people saying it's impossible except by looking if the Screensaver process is running. There must be a clean way of doing it because MSN detects it and can change your status based on this. ...more >>

Reflection and variable selection? Late binding?
Posted by Ben R. at 9/15/2006 11:37:02 AM
Hi, I learned that for my.sttings, I can pull an entry by name, but can I use reflection to load a varaible? Example void dosomething(string variablename) // note: value passed in for variable name is "foo" int foo=1 int bar=2 messagebox.show(reflectionhere(variablename)); I want 1 ...more >>

IIS 6.0 Performance
Posted by Anbu at 9/15/2006 3:56:47 AM
Hi All, Sorry for cross posting the message. I'm having a problem with IIS 6.0 on performance. I'm having few web services on the same server with different URIs. When I send a message from one Web Service to another it takes ~40 secs to reach the next service. The delay occures only for ...more >>


DevelopmentNow Blog