Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 2005

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

how do C#.NET load VC++Project exe
Posted by Tarandeep Singh at 9/30/2005 6:42:22 PM
I am able to load exe of .Net Framework by LoadFrom() function through C#.NET but when load VC++7.2 Project EXE ,it gives error format does'nt match ...more >>


why Assembly.LoadFrom() function does'nt load VC++ Project exe file
Posted by Tarandeep Singh at 9/30/2005 5:23:08 PM
Hello all I am facing one problem while loading VC++ EXe file through Assembly.LoadFrom() Function, It gives Error - The format of the file 'totest.exe'(VC++) is invalid please give me solution for it ...more >>

Probem in launching new process from a c# .net windows service.
Posted by Nicky at 9/30/2005 3:46:01 PM
hi, all I am using .net framwork v1.1.4322 and get an error in the following test: I have a c# console application, basically, it is empty: static void main(string[] args) { System.Console.WriteLine("Started..."); System.Threading.Thread.Sleep(60*1000); // Sleep one minute and then ...more >>

Documents on .NET framework
Posted by Trainee at 9/30/2005 12:46:35 PM
hi i wud like to know which book for learning .NET framework and also suggest sites where i could learn about its latest updates????this would be useful for me in the long run.... ...more >>

ERROR: Application has generated an exception that could not be ha
Posted by John Steen at 9/30/2005 10:51:01 AM
I'm not a developer, so please bear with me on this. We have several Win2k Pro machines with .NET Framework 1.1 SP1 (KB886903) installed. A Ghost image was taken from one PC and applied to all the others. Our developer created a .NET app that works on the original PC, but not on the oth...more >>

A solution to "WaitAll for multiple handles on an STA thread is not supported."
Posted by isbat1 NO[at]SPAM yahoo.com at 9/30/2005 10:43:21 AM
Seems like a lot of people have trouble with this error. Here's my solution. I give it to the future. Because I love you. private void WaitAll(WaitHandle[] waitHandles) { if (Thread.CurrentThread.ApartmentState == ApartmentState.STA) { // WaitAll for multiple handles on an STA thread ...more >>

IPAddress
Posted by Mark Cooper at 9/30/2005 9:45:02 AM
Hi Is there a class with a method in the .NET Framework that will verify if a string is in the correct dotted format to be an IPAddress. Similar to inet_addr nnn.nnn.nnn.nnn Thank You Mark ...more >>

sample databases?
Posted by Chris Baldwin at 9/30/2005 9:43:34 AM
Hello, I'm in search of a sample database (along the lines of Northwind or AdventureWorks... but not) that I can use in product demos. Preferably free, but if you know of one that's also for sale that would be great too. Any ideas where I can find something like this? Thanks in advance...more >>



How to compare objects
Posted by Andreiwid at 9/30/2005 5:21:02 AM
Hi guys! I've a function that returns a System.Data.SqlClient.SqlException or System.Int32 depending on the function's result. If occurs an error it returns SQLException; if executes with no problem, it returns the @@IDENTITY of the row which is an Int32 type. Now I need to compare the t...more >>

How does FileSystemWatcher work?
Posted by Pete at 9/30/2005 3:57:32 AM
Does anyone know how this class works "under the covers"? I want this exact functionality, but do not have the luxury of writing in .net. I need to access the api functions directly. TIA, Pete ...more >>

Printer settings
Posted by Miro at 9/30/2005 3:38:05 AM
Hello! I would like to change the default printer setting: Orientation, to landscape. I would like to open some file: Process.Start(document.htm) (or som Office-file) ....and when the user chooses the print-command from the associated program (IE, Word, Excel ...) it uses the landscape ...more >>

programatically how to set the steps involved in enabling the ASP.
Posted by Dur at 9/30/2005 2:28:02 AM
Hi all, I am facing one problem while generating the entries in the EventLog in ASP.NET. That error is " registry access is not allowed". So i found some code in the google regarding registry access. So i followed it and finally working well. I set those permissions manually(Not progr...more >>

.NET Framework Ignores Regional Settings on WinXP
Posted by mirzas at 9/30/2005 12:45:04 AM
Hi, The changes I make on my regional settings are not applied to .NET Culture is allways en-US and never changes no matter what the system settings are. I installed my OS and Dev. tools with default US settings since I never needed any other regional settings. Now I need to change the...more >>

reduce thumbnal size
Posted by guoqi zheng at 9/29/2005 11:46:13 PM
I have an Internal image gallery site. When user upload an image, system will create a thumbnail automatically. This thumbnail is 100 X 100. I though it should be very small in terms of size, however this 100 x 100 thumbnail is about 22 kb file size, which I think it is really too big. I sa...more >>

BLOB Error
Posted by wdewebserver at 9/29/2005 7:59:13 PM
Hi Can someone explain why I get an error saving a document with pictures as a BLOB? I can save Word, Text, RTF, CSV files that don't have any pictures embedded without any problems. Any clues or suggestions will be highly appreciated. ...more >>

Manifest Resources: format
Posted by sotn at 9/29/2005 6:48:01 PM
Hi, I would like to know if there is any information in the .NET specifics about the resources pointed at by the ManifestResource tables. I mean some resources are given directly by the offset in the table, but if the name of the resource ends with ".resources" the offset points to a sort o...more >>

Resources files
Posted by Frank Xia at 9/29/2005 2:27:02 PM
I have a Windows application running well. Today, after I changed something on one form, when I start run I recevied an error message "Unable to open resources files in location". I checked location there were not requested files there. Where are they gone? It is on my local drive. What could ...more >>

ClickOnce Deployment Manifest Issues
Posted by Dany C. at 9/29/2005 1:21:02 PM
Our application is built with VS2005 Beta 2. We uses ClickOnce to deploy the application. Here is the issues we have experienced on some client machine. When we click the install button from the publish page, the deployement manifest is open in the browser instead of lauching the application m...more >>

System.Web.Mail Vs. System.Net.Mail
Posted by Jonatan Nilsson (BlackMan890) at 9/29/2005 12:19:01 PM
I have a simple question which i am not fully understanding. In the new event of adding the System.Net.Mail many people were happy with the changes, except me. When i use the new reference, i cant athenticate with smtp e-mail server. I know how to do it in System.Web.Mail but i havent noti...more >>

Error during start of Windows Service...
Posted by Tom at 9/29/2005 10:23:34 AM
Got another question on my Windows Service which I coded in VB.NET. During the OnStart event (when the service is started) I set up a database connection that my service uses. Let's say something occurs during the middle of this - or any other error - which would cause my service to NOT start u...more >>

Windows Service and shutdown/restart of server...
Posted by Tom at 9/29/2005 6:47:05 AM
I've written a Windows Service using VB.NET, which does a connection to a database and then runs a timer to periodically process some data. It is running pretty well; However, I have noticed one issue: Whenever the workstation/server is shut down/restarted the database connection is staying o...more >>

Socket.BeginSend and EndSend causes thread count to runaway
Posted by Ravi Ambros Wallau at 9/28/2005 7:22:39 PM
Hi: My company has developed an application that, in a very basic explanation, send files throught a socket to a known server, using a protocol that is implemented in a full assynchronous manner. Saying full assynchronous means that file I/O is assyncronous (using the method BeginRea...more >>

Supported OS
Posted by Bradley at 9/28/2005 3:21:51 PM
When I installed the VS.Net with .Net Framework 2.0, I was informed that I must have XP with SP 2. Is this a requirement of the framework or of VS.Net? Will I be able to install and run developed applications using XP SP1? TIA Brad ...more >>

Beginning C# Q
Posted by Cody at 9/28/2005 3:00:05 PM
I am just starting to learn C#. I would like to write a basic username and password as the entry into my program. I have already created a userform and I would like to find a tutorial or something along those lines that will show me how to properly store usernames and passwords as well as ve...more >>

is there any way to clear the buffer of a System.IO.StreamWriter so that it does not do a flush when it is closed in the finaly block?
Posted by Daniel at 9/28/2005 2:04:15 PM
is there any way to clear the buffer of a System.IO.StreamWriter so that it does not do a flush when it is closed in the finaly block? ...more >>

strong names revisited
Posted by z f at 9/28/2005 2:02:28 PM
Hi, i have a dot-net assembly that is strong named. a third party developer is referencing my assembly and deploy his application with my DLL to clients. i want my DLL to automatically check for updates. but as far as i know - if i update a strong named DLL and the version is changed, othe...more >>

app.exe - Common Language Runtime Debugging Services
Posted by raj at 9/28/2005 9:06:05 AM
hi, I am getting below error message when we do some action at runtime. This happening only in few computers. ================================================= app.exe - Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Proces...more >>

Stupid Variable Declaration Question
Posted by John Walker at 9/28/2005 6:56:07 AM
Stupid question: In VB.NET how do you group similar variables together? For example, I have these two fields: Dim EmployeeFirstName As String Dim EmployeeLastName As String Can't first and last name be grouped together in an employee 'group' like this: Dim Employee FirstName As Stri...more >>

Antivirus Software
Posted by Kenneth H. Young at 9/28/2005 6:50:02 AM
What is the best way in VB to determine if an antiviral software package is installed on a computer and what product it is? ...more >>

DictionaryBase: enumeration out of order
Posted by Nick at 9/28/2005 6:10:04 AM
I implemented a collection inheriting from DictionaryBase. I noticed that, adding instances via Add method, when I enumerate the elements stored they are returned in a different order compared to input. I attach an example like that published on MSDN. Why this strange behaviour? How can I to ...more >>

.NET framework and Terminal Server
Posted by fossmo NO[at]SPAM gmail.com at 9/28/2005 5:34:38 AM
Hi, Can somwone tell me how .net framework will behave when I'm running a ..net application in TS? Will .net framework load for every user/prosess? If so, is it possible to share the .net framework between users/prosesses? How much memory will a user/prosess use when you run the .net appli...more >>

Threads that do not end
Posted by Ricardo at 9/28/2005 5:33:06 AM
I'm developing an application that makes a lot of assyncronous things. I always use the methods BeginXXX and EndXXX when they are available or BeginInvoke and EndInvoke when they are not available. I never use the Thread.Start() method. What happens is that the number of threads shown in Task...more >>

Window Service Description Question
Posted by MasterBlaster at 9/28/2005 4:23:10 AM
I wrote my first window service and when I go into the services section on the server to see it there is no description of the service and I'm wondering where in my service code can I put the description show it shows up. Thanks...more >>

Strange behaviour of .net framework
Posted by Peter Schmitz at 9/28/2005 4:01:03 AM
Hi, I've got the following problem: My application consists of a windows form (all vb.net) and several panels placed on it. Each of this panels has a *.png or *.jpeg file as a background. Now, depending on user interaction, several of these panels may be invisible or visible. Unfortunat...more >>

ConnectionString Error
Posted by wdewebserver at 9/27/2005 8:01:34 PM
Hi All I am buffled by someone not being able to connect to a SQL 2000 instance using C#. The connection string is as follows, <add key="ConfigString" value="Persist Security Info=False;Integrated Security=SSPI;database=SQLApp;server=SAM-NUB10\INSTANCE1"></add> The Server name is SAM-NUB1...more >>

Write to Windows Event Log
Posted by -Steve- at 9/27/2005 1:47:51 PM
I have code that calls System.Diagnostics.EventLog.WriteEntry to write exceptions to the windows app event log. However by default you have to be an admin to write to the application event log. Is the best way to enable this to give write permissions to C:\WINDOWS\system32\config\AppEvent....more >>

displaying a pdf file in a .net page
Posted by sanjeet1 NO[at]SPAM hotmail.com at 9/27/2005 12:14:49 PM
I have a default page and image page. The default page calls a web service, passs three parameers are retreives the URL for the pdf documnt sitting in my images folder. Once I get the URL I need to display the pdfdocument on the images page. Any idea how this is done? How would I do that i...more >>

need help on readers and writes.......
Posted by Naveen koul at 9/27/2005 6:02:02 AM
Sir, I have got a series of float values coming and i want to store these values into a file in such a way that when one value is written in the file then it goes to next line and writes other line.(like using of \n ; how can i do it.i tried to use stream reader but it write file in UT8 ty...more >>

Memory usage bug...
Posted by Nick Z. at 9/27/2005 3:41:21 AM
When I profile my application the profiler tells me that there is roughly 4MB of memory used throughout the lifetime, which seems reasonable. However, when I start the task manager the said memory usage is 20MB right after starting the program and 80MB after running it. However, if you star...more >>

Smart Client - Where should errors be logged?
Posted by Harsh Thakur at 9/27/2005 1:00:41 AM
Hi, We are about to implement error logging in our .NET Smart Client application. We will be logging to the Event Log (for both client and server) and to a database table (for server side). We are using the MS EMAB (Exception Management Application Block). We wanted to understand what would...more >>

How do I get parameter values?
Posted by Tiberiu Covaci at 9/27/2005 12:00:00 AM
If I have the following code : private void A (Type1 param1, Type2 param2 ....){ B(); } private void B(){ .... } How can I find out the values for the param1, param2 ... inside B method, without sending them to B? Is there any posibility to achieve that? Tahnks, Tibi. ...more >>

How to detect system architecture
Posted by Daniel Bello Urizarri at 9/27/2005 12:00:00 AM
Hello: I need to link with some external native library from a managed program written in c#. I want my program to run in any cpu, so I need to link to the appropriate external dll. Is there any way to know it? Note:: Using (IntPtr.Size == 8) I cant not know If Im in an Itanium64...more >>

get RegistryKey's parent?
Posted by Arthur Dent at 9/26/2005 7:37:44 PM
Hi all, im wondering if theres any way to get the parent of a RegistryKey? Using the Microsoft.Win32.RegistryKey class? I am using the Application.UserAppDataRegistry object. I want to then get the parent key of this key. The reason for this is that the key returned by UserAppDataRegistry is...more >>

Dynamic Event raising. How?
Posted by Tiberiu Covaci at 9/26/2005 7:14:39 PM
Hi all, I'm trying to be "smart" and have some kind of dynamic event invocation. I have differfent events, all of them raised by my application. Because I do not want to wait for some answers I call BeginInvoke and send EndInvoke as a parameter for my callback method. Now. What I want to...more >>

Detect network nodes
Posted by Andrew Shwiff at 9/26/2005 5:44:50 PM
Hello, All! Upcoming project requires periodically checking to see what nodes exist on the network, particularly those that are *wireless* connections. Thought this might be possible using the System.Management class, in combination with the operating system class Win32_SystemNetw...more >>

reading xsd files with imports
Posted by Jeremy Chapman at 9/26/2005 4:41:49 PM
I want to read an xsd file programatically, iterate through all the xsd elements and output some information to the user. This xsd file contains several import statements as well. How do I read this xsd? ...more >>

Retrieve the property name - How To?
Posted by Antonio Paglia at 9/26/2005 4:35:49 PM
Imaginate you have one method that accept some arguments like: 1- a control 2- un Type (MyType) 3- el nombre de una Propiedad "PropertyName" Example: .Add(Me.txtCustomerID, GetType(Customer), "CustomerID") Inside this method, I use reflection tu scan a...more >>

Having Trouble with File TimeStamp Conversion
Posted by Joseph Geretz at 9/26/2005 11:13:45 AM
I'm transferring a file from server to workstation, using Web Service Extensions and DIME. Along with the file, which travels as a DIME attachment, I'm also sending along metadata information about the file as it exists on the server. The metadata also travels as a DIME attachment in XML for...more >>

install sdk 2.0 beta
Posted by van at 9/26/2005 11:03:02 AM
I have installed .net framework 2.0 then I installed sdk .net framework 2.0 beta and it keep come back with .net framework 2.0 has not been installed. I checked the add/remove program and it was there. Help... van. ...more >>

ExecutionEngineException ...
Posted by TT (Tom Tempelaere) at 9/26/2005 9:21:03 AM
Hi people, What should I do with an ExecutionEngineException? It suddenly appeared in my code but documentation sais that it could be thrown from anywhere... Thanks, -- Tom Tempelaere....more >>


DevelopmentNow Blog