Answer Questions
User77 Migrate VB6.0 .NET 2005
We have started to migrate our VB 6.0 application to .NET 2005, here in spain the spanish version of Visual Studio 2005 profesional edition will be abailable next january. I have donloaded the Visual Basic Express Edition 2005 trial from microsoft.com in english version, i run de upgrade wizard and i have started to make the typical changes in the code to finish the upgrade work. Now my question is if this work will be valid when i buy the spani ...Show All
srgibson Urgent: MSI forms Memory Leak: Major Issue
Hey guys, We have, a windows form application in VB.NET. The way this application is structured is, there’s a MasterForm which contains a Main menu and acts as the mdi parent to around 20 windows forms. We have a BaseForm with some controls on it inherited by 20 other forms. The problem we are facing is, as we work on the application, as new instances of the forms are created, the memory used by the application keep on increasing (Memory leak ...Show All
alindblad Need some huuuuge help, please!
Hi, If you have an SQL Database and in it 2 tabels,and on the main form you put both tabels, Clients and Reservations, with all their columns and I want to see every client with its reservation, how do you make all the connextions to work Besides binding every textbox that will be on that form with one of the 2 tabels, I have to write some code to work Thank you Regards, Ok, but if I want to put there only the reservation table ...Show All
RodMcLeay Dataset Merge Duplicates
I gotta be doing something wrong: i'm Using the SqlClient namespace I need to detect changes in a SQL SERVER 2000 database.table I am, initially, setting a DataSet with the table (ds as Dataset) Then, at specified intervals, i'm setting another (different) dataSet with the Live data with the same SQL connection, and SQL query as the initial (dsLive as Dataset). I then MERGE the newly created dataset with the saved, "cached" dataset: ds.Merge(d ...Show All
bradbury9 MS-RFID forum
Hi, Currently I am working on MS-RFID project. Can anybody let me the details about discussion forum for MS-RFID Thanks in advance Bhaskar It seems that there is not forum for Microsoft RFID Forum. I am also looking for some fresh news (looking to google I only find old news (years 2005, 2004). Do you have some good links ...Show All
Phoenix71 Remove table from xml file after a condition is true
Hi, Im trying to remove a table form an xml file. I keep getting an error in the console which says: Cannot find table 0. Made a dataSet: DataSet xmlFile = new DataSet (); xmlFile.ReadXml( "test.xml" ); Im iterating though the xml file like this: foreach ( DataRow dateRow in xmlFile.Tables[0].Rows) Im declaring the date as string and putting them in an array like this: string date = dateRow[ & ...Show All
JKay throwing SoapException returns HTML to client
I'm testing a Web Service written using C# in Visual Studio 2005 and running in IIS 5.1. When it throws a SoapException, HTML gets returned to the client rather than a SOAP message. If the Web Service processing is successful, a SOAP message gets returned. But when I throw a SoapException (and set the actor, message, detail, etc.), HTML is returned. Any ideas how I can get a SOAP message returned when I throw a SoapException Thanks. ...Show All
mw2005 ThreadPool and Webclient.UploadValues
I have an app that listens on a multicast socket for some data then wraps that data in some XML and POSTs it to a web server for storage (the response from the web server contains no useful info so I ignore it). Early on I noticed that using Webclient.UploadValues was taking a fair amount of time and I was missing some of the multicast data coming in. I then tried using a ThreadPool to spawn off a separate thread that created it's own Webclient ...Show All
AidyC Scada and HMI
Hi all, Is there classes in the .Net framework for Scada and HMI development for industry and automation . Regards... Hi, You would need to use 3rd party add-ons for the .NET. http://www.KineticaRT.co.uk . Regards, Vikram For OPC Technosoftware has some excellent .NET libraries: http://www.technosoftware.ch/en/NET-p-1-c-71.html Ask away! Thanks, Do you know some information or link about OPC ...Show All
LukeCastles Questions about web services in 2K5
1). Is there anyway to do this in VS 2K5 In 2K3 all we had to do is instanciate a variable of the web service type and edit the "URL" property. Can't seem to find a way to do that in 2K5. 2). Is there an example of exploring the list of available web services from a URL I'd like to be able to have the user enter a URL and then be able to select a web service from the available list. The proxy's Url property ...Show All
Chris Karcher access permission probelms. HELP ME!!!
I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connec ...Show All
Adam Smith TCP - Connection
Hi! Is there a possibility to check, if someone listens to TCP-Connections Greets reg3x You coud use Netstat Or you could use System.Net.NetoworkInformation namespace Here is a code sample using System; using System.Net; using System.Net.NetworkInformation; using System.IO; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static void Main( string ...Show All
Rodrigo Kassab WMI Performance Counters
How would I go about monitoring the CPU% of a process (possibly multiple instances) by name (i.e. foo.exe), and reacting to a condition where the CPU% exceeds a certain threshold I am looking into the WMI performance counter classes for some insight, as well as the "cooked" counters. Ideally, I'd like to maintain a moving average of CPU% of a process, such that I can react if a process has been exceeding a threshold for N seconds. This would al ...Show All
Harrie Nak C# Finalizer for .Net Framework class System.Security.Principal.WindowsIdentity
Ok, first I'll not bark at the obvious poor choice made to not support a 'delete' statement to force finalizing an object; rather I'll assume your approach is correct... According to everything I've read, If you allocate unmanaged resources within an object one should support the System.IDisposable interface and free resources there. This post is to point out that in the Framework 1.1 the class System.Security.Principal.WindowsIdentity allocates ...Show All
Byapti Datatable ReadXML
When I try to use DataTable.ReadXML the datatable does not have the data present in the XML file. The XML file was generate by a Datatable.WriteXML What could be the reason ...Show All
