I have a VB6 app that processes for a very, very long time. Killing it directly is not feasible, so I would like to set some sort of flag in the VB6 app. If in my C# app I decide to shut it down, I would like to toggle this flag to let the VB6 app know that a shutdown has been requested. Now, I also need something that is named because t...
Hi,
I am using VB6 and the webbrowser control to navigate to to webpages. I want to save the pages I visit in regular intervals without any manual intervention.
I know how to parse HTML using DOM. But also need to save the pages without dispaling any dialog box.
Is this possible? Will appreciate some help.
Thanks.
Tawfiq.
...
Hi ,I would like to know if there are some in built functions for the scenario that is described below :
The input is the path of a parent folder. Wat the function must do is , it should list out all the .zip files inside that parent folder.The parent folder can contain any number of subfolders, and the same applies to the subfolders to...
Is there any IsDouble() function in VB6? If I'm not mistaken, Double data type in VB6 is equivalent to float in SQL Server 2000.
Your advice would be much appreciated.
...
I have recently edited a fellow student's data collection software to my specifications. The program works fine when I run within Visual Basic 6, however ideally I would like to compile the program into an .exe file so I can run it from any PC. However, when I select the option to turn it into an exe, I get the following error while its ...
Does anyone know VB6 equivalent for SQL 2K float data type? Thanks
...
I've installed the latest VB6 patches and I'm trying to set up a listview to allow column reordering. I've tried both setting the property AllowColumnReorder to True in the visual editor, as well as calling AllowColumnReorder=true in the form load procedure.
Yet, I still cannot move the columns when running the application.
Would ther...
I have a client that is running a custom VB 6 application they wrote on Vista. The application installs and runs fine on Vista. However, on one Vista PC the applcation loads and runs very slow. I had IT run a process moniter trace and I'm seeing a ton of "FAST IO DISALLOWED" results as well as other problems. What can cause "FAST IO DISA...
I have some code with various "On Error Goto" error handlers in a few places to handle some broken third party hardware. I was getting an overflow error (read from the Err variable) in a routine that doesn't have an error trap but is called by a routine that does. I always thought error traps were only valid in the routine they were de...
I have a VB6 application that is giving an error 5, "Invalid procedure call or argument" when the program attempts to set the Printer object to a specific printer from the Printers collection. The printer in question is some sort of copier/printer running through a print server. The error doesn't occur when setting the Printer object to ...
What tools are available to attribute memory consumptions in VB6 application to it's multiple components?
I can get the memory consumed by the entire application by watching various counters (Private Bytes, Working Set etc.), for example, in Process Explorer. I want to go level deeper than that and understand how much memory is consumed ...
I have created a .NET assembly that is exposed to COM according to the exceptional article Build and Deploy a .NET COM Assembly by Phil Wilson.
And everything works fine in the sense that the .NET assembly is properly registered for COM, and compiled COM code can call it without any trouble.
The only odd thing is that developing agains...
So, I'm trying to use soap to communicate with a webservice and getting errors. What is frustrating about this particular issue is that it works perfectly fine with my local copy of the webservice (yes, I tried turning off my firewall) and used to work fine with a previous version of the webservice and client. I suspect I could (though...
I'm looking for the simplest way to test if a file is writeable, and if it is read-only to change its access permissions to make it writeable.
Any suggestions or pointers in the right direction are welcome!
...
Hello,
I need to encrypt a byte array in VB6 and decrypt it in C# (NET 2.0). And viceversa (C# to VB6).
In C# I used RijndaelManaged class. In VB6 I used free pieces of from Internet. The best seems to be http://www.frez.co.uk/freecode.htm#rijndael
But the two implementations generate different outputs starting from the same input :(
...
I have vb6 / com+ application which was working fine for weeks until earlier today. According to everyone with access nothing was done to the server. When I try to call the com+ component on the server, I get the following error:
Error Code -2147024809 One or more arguments are invalid.
If I switch to hit a different com+ server ever...
As antiquated and painful as it is - I work at a company that continues to actively use VB6 for a large project. In fact, 18 months ago we came up against the 32k identifier limit.
Not willing to give up on the large code base and rewrite everything in .NET we broke our application into a main executable and several supporting DLL fil...
I'm using Package & Deployment Wizard to package a VB6 project. However, I recently have added a third party library that depends on a directory of XML data files. These files are split into sub directorys and some of the sub directories contain files with the same name as files in other sub directories but they are different files. I ca...
We have a large vb6 application, and as we need to change/fix things, we are moving sections to .net, targeting the framework 2.0. We have moved a bunch of classes to a .net dll, and they are set up properly to be exposed to com.
Here's the problem: MainAppVB6.exe instantiates DOTNET_COM.ComClass. It passes this to a method in a diff...
If I just want to do a quick measurement of how long a particular function is taking, what can I call to get an accurate timing? Given that the VB6 timing functions aren't high precision, are there Windows API functions you call instead?
In what other ways do you measure application performance? Are there any third-party tools that you ...