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 > december 2004 > threads for december 8 - 14, 2004

Filter by week: 1 2 3 4 5

Print from server side code in ASP.net?
Posted by Luis Esteban Valencia at 12/14/2004 2:21:03 PM
Print from server side code in ASP.net? is that possible I think without using Javascript. Can u tell me a tutorial bout this: I saw somewhere usiing the printdocumento bject -- LUIS ESTEBAN VALENCIA MICROSOFT DCE 3. MIEMBRO ACTIVO DE ALIANZADEV ...more >>

Using Trace class
Posted by Oleg Ogurok at 12/14/2004 1:11:08 PM
Hi all, I have a .NET object exposed to a COM (VB6) application. When the application calls the .NET methods, I'd like to use Trace.WriteLineIf() to log trace info into an event log. Usually with ASP.NET application, one can control the TraceLevel of a TraceSwitch in web.config, and for Wi...more >>

Memory
Posted by Andrew at 12/14/2004 10:27:03 AM
I have a C# .NET Console application which, in spite of garbage collection and the fact that I'm pretty sure I have no lingering references, slowly takes more and more memory as it runs (as shown in the task manager) until it slows to a crawl. Can anyone suggest a good profiler that I might...more >>

Forms authentication
Posted by Mirko Slavko at 12/14/2004 9:30:11 AM
Hi, Is it possible to let say share formsauthentication between two different ASP.NET applications? I have two different ASP.NET applications having their own mechanisms of forms authentication. I would like to connect these two authentications so when user is logged to one application it does...more >>

Develop on an as400 machine using .NET? Is it posssible?
Posted by Luis Esteban Valencia at 12/14/2004 9:01:35 AM
Develop on an as400 machine using .NET? Is it posssible? Is there any third party provider that has RPG .NET?? -- LUIS ESTEBAN VALENCIA MICROSOFT DCE 3. MIEMBRO ACTIVO DE ALIANZADEV ...more >>

Unexpected interaction of ValueType, Reflection and ref parameter
Posted by Robert Matheson at 12/14/2004 1:55:02 AM
I posted a question yesterday under the Subject "How can I copy a value type dynamically without knowing the type". Unfortunately, I did not tie the problem down to a real code example. After further investigation, though, I have managed to create a real example of the problem. My original ...more >>

Cloning
Posted by AVL at 12/14/2004 1:27:01 AM
Hi, I've a query in cloning. How cloning is different from creating a new instance of an object.? I suppose cloning also creates a new object and copies the exisitng object's data. Where and when should use cloning????//...more >>

Sessions variables in vb.net
Posted by Cedric FABIOUX at 12/14/2004 1:03:02 AM
Hello, Where can I declare my application and session variables? I havn't found the way to do this in VB except by declaring them "Public shared" in a class with no constructor. Where is this done in most VB.net projects? thank you for helping ...more >>



Generics in VB.Net?
Posted by Robby at 12/14/2004 12:03:39 AM
In C++ I can write template classes and in C# they have generic classes that are something like C++ template classes. Is there currently a why to write them in VB? MS is adding C++ type functionality like operator overloading to VB in version 2.0 of the .Net Framework. Will there be a way...more >>

Threads, lock, many readers, one exclusive writer
Posted by timasmith NO[at]SPAM hotmail.com at 12/13/2004 8:20:52 PM
Hi, I am so far familiar with the C# lock keyword, which I understand prevents any other thread from entering the portion of code which is locked, assuming you are locking the same object instance. I have a cache of data which initially I locked when I write to it, and I locked the same obj...more >>

Dynamically loading controls -> loosing type
Posted by Peter Zuber at 12/13/2004 7:17:39 PM
Hi NG We want to load controls dynamically and create them on a WinForm. Doing so, we seem to loose type information. The scenario is as follows: The class MANCombobBox inherits from ComboBox and implements the interface IReportDataSource. This works: Control c = new MANComboBox(); //MANCo...more >>

Unable to Validate Data
Posted by news at 12/13/2004 6:33:53 PM
In .Net I get this error a lot but not always - "Unable to Validate Data" It is a viewstate error. Any ideas? Trevor ...more >>

Visual Studio ASP NET Project is rebuilding all the times
Posted by Miso at 12/13/2004 4:54:27 PM
Hello, what can be the cause of building my ASP.NET project when it has apparently no reason - if there are no code changes, and I have choosen "Start without debugging" menu. I have done investigation in all possible projects files and directories, but no clue. Other projects behave cor...more >>

http header Proxy-Connection not set to Keep-Alive by setting HttpWebRequest.KeepAlive to true
Posted by Tim Regan at 12/13/2004 4:07:59 PM
Hi All, I'm trying to track down why my application built on HttpWebRequest and HttpWebResponse fails to successfully log onto and access some web resourses, while IE does so without problem. The sequence of requests and responses culminates in a page for IE but in an exception for my appli...more >>

Stepping through application while debugging is incredibly slow
Posted by alex.agran NO[at]SPAM ppmamerica.com at 12/13/2004 2:22:37 PM
I have a ASP.NET application that I'm trying to step through. Each line of code takes about 3 seconds to execute as I step over it while debugging. It doesn't matter if it's a method call or a simple variable declaration, it's incredibly slow. My watch window is empty. The variables in my loc...more >>

Single instance application using remoting errors
Posted by Legend UK at 12/13/2004 12:46:36 PM
Hi, I am experiencing an issue with remoting trying to implement a single instance app behaviour required for our application. I am using the MS best practice recommended solution of using Remoting and Mutexes to provide this behaviour. In simple terms this is the process: 1. The applicat...more >>

simple intercommunication (application intercommunication)
Posted by Stevie_mac at 12/13/2004 11:48:13 AM
Hi, I'm after a simple way of sending a message to a previous instance of my small helper application that processes some command line instructions. The app can be configured to remain open (for debugging purposes) & this is where my problem arises. I can find the other (running) instance & cl...more >>

Determine type of application at runtime
Posted by Andrew at 12/13/2004 9:57:01 AM
I have a library which I may use with either a console app or an asp.net web app. Does anyone have a suggestion on how that library could determine the type of running application at runtime? Thanks AJ...more >>

string pool
Posted by Vladimir Knezevic at 12/13/2004 8:49:07 AM
Hi! Is there a string pool in .NET like in Java? Is there any difference between == and Equals() for string? If I do the following: string s1 = "hello"; string s2 = "hello"; Will s2 reference the same object as s1? Thanks....more >>

Fully trust digitally signed assemblies
Posted by BilalD at 12/13/2004 8:29:03 AM
Hello all, Im posting this question to this forum as well hoping to find an answer. I had previously posted to the .net security forum but have not gotten a response yet. Here is the problem. I have an isolated network where I am not connected to the web. I'm using some digitally signed ...more >>

String.Replace to replace \ (slash)
Posted by David C at 12/13/2004 7:47:55 AM
I have tried newstring = oldstring.Replace(Convert.ToChar(92), ' '); newstring = oldstring.Replace("\\", " "); Neither of which works. I am tring to take out all \ (slashes). Please help. ...more >>

How can I copy a value type dynamically without knowing the type.
Posted by Robert Matheson at 12/13/2004 5:43:02 AM
I need to be able to dynamically create a new copy of a value type without knowing the type at compile time. i.e. I need to be able to write a method such as: ValueType MyMethod(ValueType data) { return copy-of-data; } which returns a new ValueTyp...more >>

run windows forms from localIntranet_zone
Posted by Miro at 12/13/2004 3:59:02 AM
Hello! I have a windows forms application developed in VS.NET 2003 (C#) that I want to install on the intranet. I've created a strong_name.snk file, compiled it with the app, installed it on the server and on the client machine, I added the child code group under LocalIntranet_Zone, for tha...more >>

Localization of Exception messages
Posted by Etienne Fortin at 12/12/2004 7:23:02 PM
I have an hard time figuring out how to deal with localization and Exception messages. I have some options: 1) Standardize on english. 2) Pass an "Error Number" to my exceptions, which would ultimately translate to something localized if the app ever wants to display it (by calling the Me...more >>

Installing a windows service 'manually'
Posted by Henrik Heimbuerger at 12/12/2004 5:31:42 PM
Hi! I created a windows service and was able to install and deinstall it with the 'installutil.exe' utility. Is there any possibility to install it directly from my application? The documentation only says that it *should* not be done but neither why it shouldn't be done nor how it is possi...more >>

HttpWebRequest not sending cookies
Posted by dumbledad NO[at]SPAM gmail.com at 12/12/2004 4:51:24 PM
Hi All, I'm having problems with HttpWebRequest, HttpWebResponse, and cookies. I copy over the cookies from the server's HTTP response using the following code: if (response.Cookies.Count > 0) { request.CookieContainer.Add(response.Cookies); } And I can see that the cookies are co...more >>

Creating an object depending on a value of a parameter
Posted by Chamith at 12/11/2004 4:39:35 PM
Hi all, I have a method which takes a string parameter. It takes a type name as a string. Inside the method, i want to create an instance of the type which is mentioned in the string parameter. Please help me providing with some example code. Thanks, Chamith ...more >>

Assembly.Load() with strong name but no version!
Posted by edge at 12/11/2004 9:49:54 AM
Is there any way to Assembly.Load() dynamically the DLLs of my project, with their strong names, but without the need to specify a version? I just want the public/private key to exist as a measure of safety for their authenticity. I don't want to narrow down the valid DLLs to only those that sha...more >>

SmtpMail error when sending mail
Posted by hoz at 12/11/2004 12:20:45 AM
Hi , I have a form which is i lost my password . When user enters mail address , the system send a mail to user mail address. But it gives an Relay Error . How can the system send mail ? ...more >>

FileSystemWatcher not firing changed event
Posted by Tony at 12/10/2004 11:43:33 PM
I have setup a FileSystemWatcher to fire an event when the specified file is modified. But the event never fires for some reason and the file is being modified. I have pasted the setup code below. I must be doing something wrong (I have verified the file names and path as being correct). ...more >>

Avoiding deadlock caused by Invoke
Posted by Mark at 12/10/2004 5:55:24 PM
I’ll try to explain my situation as clearly as possible… J I have a UI form that fires a worker thread. The worker thread regularly updates the UI via an Invoke (naturally). So far so good. The UI form also has a button that can abort the thread. What I’m trying to achieve is for the UI...more >>

System.Xml - Controlling linebreak/indentation on child/inline ele
Posted by hating .net xml at 12/10/2004 5:21:01 PM
I'm going insane fighting against the xml reader/writer. I have xml that should look like this: <source><g>varname</g> some text <g>varname</g> <g>varname></source> This is a simplified version, but the point is that all spaces in the <source> element are significant. My problem is two-fol...more >>

Calling a service from a windows client
Posted by Gravy at 12/10/2004 4:39:06 PM
Hi I'll try and keep this short! When calling a web service async. I can use the Beginxxx method on the generated proxy. But if me 'service' was not a web service but something else, is it better to create a new Thread for the call or use the threadpool; baring in mind that the service call...more >>

Software written in .Net
Posted by Patrick at 12/10/2004 9:55:04 AM
If software is written in .Net technology, is it possible for that application to operate on a Mac. I know no one with a Mac, can't test it, and don't know where to turn. Does anyone have any advice? If I am being to vague let me know I will elaborate a bit more. Please help?...more >>

REQ:how do you disable Windows Messenger
Posted by Chilly B. Willy at 12/10/2004 7:54:49 AM
I'd like to totally disable windows messenger. Is there any way of doing this. I tried to just delete the folder but that was a very bad move. ...more >>

Enter Key and PostBack?
Posted by mterzich at 12/10/2004 2:09:01 AM
I noticed that I get a PostBack in my LoadPage() method whenever a user hits the Enter Key in a TextBox in a browser window. Why do I get the Postback? Can you identify that the Enter Key and which TextBox caused the PostBack? If not is there some way (except for javascript) to get an event in...more >>

Clipboard Class
Posted by Mr Tired. at 12/10/2004 12:57:01 AM
We are using clipboard across the length and breadth of our app. What is the class that is used for clipboard in .Net? ...more >>

is there any way to get to a unique build verion of an assembly at runtime? e.g. a version that is unique to the time that the assembly was built?
Posted by Daniel at 12/9/2004 7:05:32 PM
is there any way to get to a unique build verion of an assembly at runtime? e.g. a version that is unique to the time that the assembly was built? ...more >>

My Pictures and Setup Project
Posted by Charles A. Lackman at 12/9/2004 6:35:28 PM
Hello, How do I place pictures in the My Pictures Folder from a Setup Project? I do not see anything that resembles this directory inside Custom Folders within the Setup Project. Thanks, Chuck ...more >>

Saving event logs
Posted by Ken Mulh at 12/9/2004 2:07:29 PM
Is there any way through .net to save off the application event log to a file short of looping through each entry and saving it? I need the "Save As" functionality provided in event viewer in my application....more >>

Am I creating the correct signature to wrap this unmanaged functio
Posted by M K at 12/9/2004 1:59:05 PM
The function signature in the unmanaged DLL is as follows. KPDCStatus KPDCIteratorFind(KPDCIteratorRef inIteratorRef, const char *inName, KPDCOpaqueRef *outFoundItemRef); The types are: KPDCStatus = int KPDCIteratorRef, KPDCOpaqueRef = void* I am wrapping it so: Declare Auto Function KI...more >>

Programatically retrieving the "Startup Type" for Windows Services
Posted by EricB at 12/9/2004 1:55:01 PM
How can I programmatically retrieve the "Startup Type" for a Windows Service? Thanks, Eric...more >>

Visual Studio Functionality
Posted by Webgal at 12/9/2004 1:39:18 PM
We're having a bit of a quandary at my office and this seems to be the perfect place to get the answer and perhaps some clarification. Currently, the "official" architecture for my organization is J2EE. It is my understanding that the .NET framework serves essentially the same purpose and ...more >>

Can you spawn a new browser window from ASP.NET code?
Posted by mterzich at 12/9/2004 12:09:01 PM
Can you spawn a new browser window from a web application or does it have to be done from the HTML code in the browser?...more >>

problem moving console appliation to send email to server
Posted by Howard at 12/9/2004 11:16:48 AM
I created a console application using .net to email information out on a monthly basis. My problem is this. It works from my pc and anyone else with the visual studio .net, but not from the web server. Was i supposed to do anything else other than build my solution and copy my exe to that...more >>

Framework 1.0 and 1.1
Posted by Sam at 12/9/2004 9:54:29 AM
May I know differences between framework 1.0 and framework 1.1, please? Any reference webiste which I could refer, please? ...more >>

Monitor class not working as specified
Posted by ivan.benc NO[at]SPAM etk.ericsson.se at 12/9/2004 9:42:40 AM
Hi! I have trouble with the Monitor class. I did some troubleshooting and finally figured out the problem. The thing is, the Monitor class simple does not work as specified. Better said, if used by the framework through lock( obj ) statements it works fine, however if used through Monitor.E...more >>

Determine if assembly has a strong name
Posted by Mike Goatly at 12/9/2004 9:09:11 AM
Hi, I'm loading an assembly from disk (Assembly.LoadFrom) and would like to find some way of determining if the assembly was signed. Ideally I would then like to be able to compare a key file with the assembly and find out if the given key was the one it was signed with. Thanks in advan...more >>

IntPtr to a boolean in VB?
Posted by M K at 12/9/2004 8:59:16 AM
Wrapping an unmanaged DLL I've got this declaration: '------------------------------------------Set Attribute Value Declare Auto Function KSetAttributeValue Lib "DCSPro4SLR.dll"_ Alias "KPDCSetAttributeValue" (ByVal inRef As IntPtr, ByVal inAttrID As Integer,_ ByVal inType As KPDCDataTypes, ...more >>

Version of Dll in GAC
Posted by Nelson Xu at 12/9/2004 5:58:04 AM
Hi All, I have a .net assembly installed to the GAC. My question is that do I have to change the version nunmber from AssemblyInfo.vb(I use VB.NET) every time I make some changes for this DLL ? It seems like if I don't change the version number from AssemblyInfo.vb, the new changes will ...more >>

Should a (string) Null have a TypeOf = Boolean
Posted by David GB at 12/9/2004 5:31:07 AM
I pass a parameter to a subroutine, and in the subroutine, I check its 'typeof' If the parameter is a string, but NULL, the Typeof comes up as Boolean, not String. Is this expected behaviour, or has something corrupted itself in my project? VB.Net, Visual Studio 2003 -- David Gordon-Br...more >>

Unsafe code: Converting "byte *" to "[] byte"
Posted by _BNC at 12/9/2004 4:59:08 AM
I've converted "[] byte" to "byte *" at times, using 'unsafe' and fixed { .... }, but the reverse does not seem to work. In this case, a C++ DLL returns a byte * and a length. What is the best way to convert these to straight C#-compatible straight "[] byte" arrays? PS: The C++ DLL is a...more >>

Application Icon
Posted by Dick at 12/9/2004 4:49:03 AM
In a VB.net project's property pages you can set the application's icon using <ProjectName> Property Pages -> Common Properties -> Build -> Application Icon. This allows you to choose any icon that is already within the project (or you can add a new icon to the project from an existing file an...more >>

C# and VB.NET
Posted by Tampa .NET Koder at 12/9/2004 3:49:03 AM
Why does C# seem to get more "play" in the .NET world? Don't both of these languages compile to the same IL language. I know both languages has its own little features; but when I look at job postings I get concerned when I see verbage like "C# is a Must". I program mostly in VB.NET; but I ...more >>

XmlTextWriter and Extended ASCII
Posted by qwertie79 at 12/9/2004 2:34:19 AM
I am using XmlTextWriter to extract data into the database. The problem is that I cannot get XmlTextWriter to support the extended ASCII. Everytime it runs across an extended ASCII character, the XmlTextWriter will translate it into '?'. Is there a way to get around this or am I doing somethin...more >>

XmlTextWriter and Extended ASCII
Posted by qwertie79 at 12/9/2004 2:33:40 AM
I am using XmlTextWriter to extract data into XML. The problem is that I cannot get XmlTextWriter to support the extended ASCII. Everytime it runs across an extended ASCII character, the XmlTextWriter will translate it into '?'. Is there a way to get around this or am I doing something wrong? ...more >>

app.config Globalization??
Posted by eval NO[at]SPAM eval.com at 12/8/2004 11:12:00 PM
Hi all, is there any way to tell the program to execute under any given CultureInfo setting, using the app.config file? Similar to the asp.net web.config setting <globalization> tag, but for WIndows Forms???? I know how to set the CUltureInfo of the current thread, but have no idea on ho...more >>

COM+ application is in an unstable state
Posted by MR at 12/8/2004 10:44:39 PM
(apologies for the multiple post) We developed a component that uses enterprise services. the component seems to run fine. we don't see any memory leaks. it seems that after running for a period of time (several hours), and after several thousands of calls (maybe even tens of thousands of calls)...more >>

Is my application running from a console?
Posted by Eric Falsken at 12/8/2004 5:30:16 PM
Is there a way to tell if my application is running from a command line (console) or if it is running in a windowed environment (double-clicked)? I want to send errors to a popup if it's windowed, or to the console if it's command-line. -- Eric Falsken Lead Software Engineer Massie R...more >>

CompoundFile support in .NET framework 2.0
Posted by Sijmen at 12/8/2004 4:55:06 PM
Hi, The following links talk about .NET Compound Files in the .NET Framework System.IO.CompoundFile namespace: http://msdn.microsoft.com/longhorn/?pull=/library/en-us/dnlong/html/avalon-edocs.asp#edocs_topic7 http://www.winfx247.com/247reference/namespaces.aspx I have just loaded the Visu...more >>

Terminating a thread from the main thread
Posted by Charles A. Lackman at 12/8/2004 4:33:40 PM
Hello, I have created a thread that writes data from a memorystream to the harddrive. If the user, during the write decides to cancel the operation, I call Abort on the thread. i.e. Private Sub WriteToDiskButton_Click MyThread= New Threading.Thread(AddressOf WriteToDisk) MyThread.Sta...more >>

Configuration Management Application Block multiple hashtables
Posted by gwenda at 12/8/2004 4:09:02 PM
Hi, I'm using the CMAB and I'm trying to have more then one section of hashtable in the config file. The way I do it, I get a validation error: "The same table (XmlSerializableHashtable) cannot be the child table in two nested relations". Under the configsection I have a config elemnt for e...more >>

COM+ application is in an unstable state
Posted by M. Raab at 12/8/2004 3:38:42 PM
We developed a component that uses enterprise services. the component seems to run fine. we don't see any memory leaks. it seems that after running for a period of time (several hours), and after several thousands of calls (maybe even tens of thousands of calls) the application that calls the co...more >>

Object serialization and NetworkStream - extraneous characters in output
Posted by jwallison at 12/8/2004 3:32:44 PM
TcpClient client = new TcpClient(AddressFamily.InterNetwork); client.SendTimeout = mSvcConfig.Data.SvcTimeout; // 1000 client.Connect( mSvcConfig.Data.SvcAddress, mSvcConfig.Data.SvcPort); //"localhost", 7024 NetworkStream stream = client.GetStream(); XmlSerializer outserializer = new Xm...more >>

RollBack
Posted by wdewebserver at 12/8/2004 1:02:05 PM
Hi What is the best RollBack stratergy when you have the following scenario? 1. Task A executes first. 2. Task B depend on Task A completing successfully. 3. Task C also depend on Task A completing successfully. 4. Task D depend on both B and C successully completing. If Task D aborts, I w...more >>

BDE
Posted by Hovhannes Asatryan at 12/8/2004 12:59:14 PM
Hi all. Can anyone tell me from where I can download datprovider BDE for NET Thanks ...more >>

In VB 'PInvoke cannot return varients' message wrapping C++ librar
Posted by M K at 12/8/2004 12:01:05 PM
I am trying to wrap an unmanaged DLL. The function I am currently trying to wrap is defined as this: KPDCStatus KPDCAllocCameraIterator( KPDCLibMgrRef inManagerRef, KPDCCameraIterRef *outRef); The types they are defined this way: typedef void* KPDCOpaqueRef; typedef KPDCOpaqueRef...more >>

Excel Conversion
Posted by Ken Donhowe at 12/8/2004 11:29:02 AM
I currently have a prototype application that uses Excel spreadsheets that are used as data entry forms to load a MS Access database. I would like to know how to perform the following: 1. Create a process that would save the Excel spreadsheet data in a XML format that would then be read by a m...more >>

Launch a doc file with Process.Start(my.doc), need to know when the file is closed.
Posted by Tony at 12/8/2004 10:56:36 AM
I'm storing documents and images in a client database. I want to be able to launch a document or image into the proper application that can view or modify the object. I do this by copying the object from the database to the temp directory then calling Process.Start(filename) which launches ...more >>

Error 1704 .Net Framework Install Currently Suspended
Posted by CMan at 12/8/2004 10:54:04 AM
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework SDK (English) is currently suspended. You must undo the changes made by that installation to conti...more >>

Help! Error: Type 'DirectoryEnty' is not defined.
Posted by Rich Rekos at 12/8/2004 10:37:05 AM
I'm new to .Net and would like to start using .aspx pages to work w/ Active Directory instead of classic asp. I get this error when trying to run my page: Type 'DirectoryEnty' is not defined. Can anyone tell me what is wrong? My code below: <%@Page Explicit="True" Language="VB" Debug=...more >>

Streaming with System.IO and System.Net
Posted by Charles A. Lackman at 12/8/2004 10:33:43 AM
Hello, I have an app that has a process bar on it and it sends and retrieves data back and forth to a web page using WebRequest and WebResponse. The stream is received from the web page and written into a memorystream then written to a file on the hard drive. When the app's start button i...more >>

Return Value from a Stored Procedure using DAAB
Posted by Matt at 12/8/2004 9:27:15 AM
I'm using a Microsoft Data Access Application Block to run a stored procedure in Oracle that returns a value, and am confused. Most of the overloaded methods of ExecuteNonQuery specifically say they can't deal with Output or Return values. Can do I use a DAAB to return a value from a stored...more >>

C# Memory Leak
Posted by Sonia at 12/8/2004 3:14:44 AM
Hi, I have the question: If to use static method and allocate new object in it will this new object be collected by GC? For Example: static void SomeMethod() { object someObj = new Object(); } Thanks Sonia ...more >>

Type is not defined: 'SQLDataSetCommand'
Posted by j at 12/8/2004 2:09:01 AM
<%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SQL" %> Sub SubmitBtn_Click(Sender As Object, E As EventArgs) Dim DS As DataSet Dim MyConnection As SQLConnection Dim MyCommand As SQLDataSetCommand MyConnection = New SQLConnection("server=localhost;uid=sa;pwd=;database=p...more >>


DevelopmentNow Blog