microsoft.public.dotnet.faqs Archive - June 2002
Post a message to this list
Messages
Page: 1
Is there a max # of recs the OdbcDataReader can hold? (2 replies)
microsoft.public.dotnet.faqs
I have an OdbcDataReader that should contain over 15000 records when I execute: dr cmd.ExecuteReader() The above command completes without issue. However if I do the following: Do While dr.Read() 'with no other code in the loop loop As soon as it gets to record 6080 this error is returned: An unhandled exception of type 'Microsoft.Data.Odbc.OdbcException' occurred in microsoft.data.odbc.dll Additi...
Calling ASP.NET pages from other version of ASP pages in IIS 5 (6 replies)
microsoft.public.dotnet.faqs
Hi, Can IIS 5 support both ASP pages developed from VI 6 and ASP.NET within the same website? One redirect to another ? We current have an web app. developed in VI 6, and want to add a new module developed using ASP.NET. Is this possible ? Thanks Jean
Alternatives to XmlTextReader.Close()? (2 replies)
microsoft.public.dotnet.faqs
Hi. If I have a method that accepts a Stream object and inside, I enclose it inside an XmlTextReader object, like so: XmlTextReader reader new XmlTextReader( stream ); When I'm done with the reader, I don't want to call reader.Close() as it would also close the Stream object, which I don't want to happen. If I do not call reader.Close(), will I not be freeing up any resources that the XmlTextReade...
Activate, Show, or What? (3 replies)
microsoft.public.dotnet.faqs
Can someone please tell me what code to use to bring up another form I have made when the button is pushed on my current form (I hope this makes sense). I have been trying to find the answer on my own but have had no luck. I've got the Beginning Visual Basic .Net book and have read it but..... is there maybe another book I should get that has codes? I've looked in dynamic Help, and couldn't find i...
Exceptions (4 replies)
microsoft.public.dotnet.faqs
Hi. This is a bunch of questions regarding exceptions in .NET. 1. Can I trust the documentation in that if there are no exceptions listed for a particular method, then it will indeed not throw any exception? And that if some are listed, it will throw those and only those exceptions? 2. What about critical/non recoverable exceptions like OutofMemoryException, StackOverflowException, and ExecutionEn...
XML data exchnage. (3 replies)
microsoft.public.dotnet.faqs
Hi Guys, I know my question is FAQ, but that's the name of this newsgroup. I'm old C freak, so some of those new things scare me a bit. ;o) Basically I want my components interact with the help of XML, i.e. exchange some data blocks that are formatted as XML. So I need something to 1)format, 2)send), 3)receive and 4)parse the data. Can you please point me to .NET classes that could do such a job? ...
Moving from ASP -> ASP.NET (3 replies)
microsoft.public.dotnet.faqs
Hi, im moving to ASP.NET from classical ASP, and i have my first doubt: in ASP i declares variables, components, etc. thats are common to all ASP page using a #include directive. Now, im replacing all the #include thats generate HTML code to Web Controls, but i dont know where put the code thats i need in all the ASP.NET pages (thats is only server side code such as identifyng user, get their her ...
Creating a splash screen (4 replies)
microsoft.public.dotnet.faqs
How do you create an effective splash screen? In particular I'm using C# with the Compact Framework, but the basics of a splash screen should apply to a portable or client app. I've tried all sorts of different configurations and none are working well. The bottom line is that you have to call Application.Run(FormName1) and once you do that you cannot close FormName1. So that means that FormName1 h...
timer question (2 replies)
microsoft.public.dotnet.faqs
on searching for pause related help, this is the best I could find: (VB.NET) Dim PauseTime, Start, Finish, TotalTime If (MsgBox("Press Yes to pause for 5 seconds", 4)) vbYes Then PauseTime 5 ' Set duration. Start Timer ' Set start time. Do While Timer Start PauseTime DoEvents ' Yield to other processes. Loop Finish Timer ' Set end time. TotalTime Finish Start ' Calculate total time. MsgBox "Paused...
ANN - nogoop .NET Component Inspector - released (13 replies)
microsoft.public.dotnet.faqs
nogoop software is pleased to announce the availability of the released version of the .NET Component Inspector. The Component Inspector allows you to inspect and execute any .NET code (application, class, or component). It includes the following: o Event Logging View the events generated as a result of the execution of any object. Examine the all event information related including the stack trac...
howto order in listview please any known where are any sample thanks w/t (3 replies)
microsoft.public.dotnet.faqs
.
A Delegate can keep objects in memory! any comments? (2 replies)
microsoft.public.dotnet.faqs
Hi Try the code below in a console application. When b.ReleaseEvent(a) is not commented, then b remains in memory. This raises the following problem: What happens if I have an object that has events and these are used in some UserControl or WinForm When I unload the control or close the form and the object stays in memory, I wil have to explicitly remove the event delegates. When writing C applica...
Could not find installable ISAM (3 replies)
microsoft.public.dotnet.faqs
I've got a problem (ok I've got loads, but this is a particular one). I am having to change my site from DSN less to a DSN connection. However, I am now getting the error message Could not find installable ISAM. I have read the Microsoft article but I don't know which file is causing the problem. I am simply trying to connect to an Access 2000 database. No commands. Just connect then disconnect. I...
Shared EXE assemblies? (4 replies)
microsoft.public.dotnet.faqs
I am 99.999% sure the answer to the following question is no, but I cannot find a definitive answer in MSDN. Can you have a shared assembly that is an EXE file and not a DLL? I do see references to EXE files in the GAC, but when I try to use one of these, through Add Reference, a DLL appears in the list instead. Thanks, Vance
Need A Sample Of A DataGrid That Implements Add And Delete (2 replies)
microsoft.public.dotnet.faqs
Hi Everyone: Please help. (I am tired of reinventing the wheel, especially when I KNOW it is round.) I need a sample of a DataGrid that implements Add and Delete for in place editing. A link and/or some code would be great. The samples that I have found show how to do Edit/Update/Cancel and Select, but not Add or Delete. (VB.NET is best for me, but CSchlep will do.) g Thanks a mil. Mark.
Socket still in memory (3 replies)
microsoft.public.dotnet.faqs
Hi, I use the TcpClient.But when after i call Close or set nothing to TcpClient for example, the connection seems still holding in memory.My external socket server still detect active client even the connection is close.My external socket server listener ONLY will detect client is disconnected when the TcpClient Application exit.Why??? TQ
Binding the results of a query to a listbox (8 replies)
microsoft.public.dotnet.faqs
Hi All, I'm looking to fill a listbox with the results of a query. Any help would be greatly appreciated. Dwayne K. Johnson dwayne.k.johnson@lmco.com
Export Crystal Reports using C# (3 replies)
microsoft.public.dotnet.faqs
Hi, Where can I find information, of how export Crystal Report with C# ? Thanks Dani
Asymmetric encryption questions (7 replies)
microsoft.public.dotnet.faqs
Hi, I want to use public, private key encryption so after looking at the help I am going to use RSACryptoProvider, I see that if I want to serialize out the public, private keys I use the method 'ExportParameters' that returns the RSAParameters object which can be serialized as XML. Does this contain all the information required to recreate an RSACryptoProvider? Does this contain both the public a...
interoperability between C# and unmanaged C++ dll (2 replies)
microsoft.public.dotnet.faqs
Hi, 1. I am attempting call WIN32 api from C#. I used DllImport(() function. I dont know how to handle the return structure like.. DllImport("mgmtapi.dll"); public static extern IntPtr SnmpMgrOpen( string agentAddress, string community, int retry,int timeout); but the actual return type from the Win32 API is pointer to the Struct of LPSNMP MGR SESSION. even I have defied similar structure in C# i ...
Ensuring only a single instance of a process on a machine (9 replies)
microsoft.public.dotnet.faqs
Can anybody tell me how I can ensure that ONLY 1 copy of a program is ever running on a machine at a given time? There must be something I can check at startup to determine if a copy is already running but I cannot figure out what that something is. DAve
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com