Is there an API call for Crystal Reports 8.5 that will generate a TTX schema file from a VB6 ADODB.Recordset at runtime, much in the same way you can generate an XSD from a DataSet in .NET? I could roll my own, and I think I probably will have to, but I don't want to reinvent the wheel because I missed something obvious.
...
As I had feared some of our old VB6 projects are not playing nice with Windows 7. Some of our customers have already upgraded and our one product is returning this error every time you run the executable:
The procedure entry point_except_handler4_common could not be located in the dynamic link library msvcrt.dll
First thing I tried was...
I am using a RedRat3 for a project, but I have hit a snag. Basically what I want to do is construct a simple application that can receive a signal from a remote control, and then store the data somewhere. Then, if I press the same button again, the application will recognize the signal from that button as a unique button, so it can disti...
I have implemented a COM server in C#, that has a vb6 client.
When going to fire my events, the handlers are always null--it appears that the vb6 app never subscribes to my events.
The vb6 application is an existing 3rd party app, and appears to give no error messages.
Normal methods work just fine from COM client -> server.
Is there...
How can I read an XLS file from VB6? I don't want to use ADO or Automation.
ADO isn't going to work for my particular XLS files, because it guesses the data types of the columns from the data in the first few rows.
Automation is out, because Excel may not be installed on the machine.
I'm hoping for recommendations based on experie...
I realize that VB.NET and ASP.NET are the successors of their seemingly obsolete classic counterparts, but I have noticed that some job descriptions still list VB6 and classic ASP as requirements. This may be because they want people who can convert code from classic to .NET, but I'm not really sure. Would classic VB and ASP be helpful...
I have several VB6 ActiveX server exe files which need to be registered on install before they can be used.
I have tried using Heat to extract the information but it only generates a file element.
These files can be registered by calling them with the /regserver switch and unregister by calling them with the /unregserver switch. I unde...
I'd love to dive into kernel hooking - but my problem is that I don't like C/C++. But I've over 10 years experience in VB6 programming and would call my self as an expert in this language. So my question is if it was possible to use a tiny C kernel mode driver - which could be controlled by VB from the user mode via the DeviceIoControl A...
I'm a small developer in VB6 and VB.net, and use for bugtracking a simple Excel. Seemed to me that I didnt need anything more.
I've wanted to add links to the code. Then:
How can I do it for vb6 and for vs.net?
Is this reasonable? Should I change to a (free) bugtracking tool? Do they have this functionality?
...
I know I can receive messages with the code below in c#, how do I send to vb6, and receive in vb6, and send from vb6?
[System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Demand, Name = "FullTrust")]
protected override void WndProc(ref Message m)
{
int _iWParam = (int)m.WParam;
...
I am trying to loop through all controls in a form:
For Each ctrl in Me.Controls
in order enable/disable the control based on some conditions.
But there is a control on the form that gives an error when I try to access it. What kind of control does that, and how do I find it?
...
Hi all,
I'm writing an application that is able to be connected to multiple types of database (eg: SQL Server, Oracle, MySQL, etc). It's an international-targeted application, so I ideally want to be able to do this without needing to rely on string literals if possible. At the moment, I'm checking the driver name and using a case state...
How to use append query in vb6 with access db having a password? The following is giving an error.
dim s as string
s="insert into patientprofile(crno) select patientprofile.crno from 'd:\liverrecord.mdb' & 'Jet OLEDB:Database Password=liver'"
...
Suppose i merge two identical access tables with append query then how can i link it up with other tables? since the primary key will be alloted fresh then how will the other related tables take up this primary key as its foreign key?
...
iI there any way to add a GUI component to an application which is already running?
I.E. Add an extra tab into a third party GUI?
I have a third party application where I need to add an extra tab into the tabbed interface (or even a button to link to a new form).
I can see the UI components in UISpy and Spy++ but Can't see a way to al...
How do you get any file's last modified date using VB6?
...
Using VB6
I want to compare the system date, if the exe should not work after 02/11/2009
vb6 code
Dim dte As Date
dte = DateValue(Now)
'MsgBox DateValue(Now)
If dte > DateValue("01/11/2009") Then
Unload Me
End If
But if the user change the system date, it will work, my exe should not work after 10 days. How to set.
Need VB6 CODE He...
I have a need to create a wrapper for a DLL, loading and unloading it as needed (for those interested in the background of this question, see http://stackoverflow.com/questions/1662075/how-to-work-around-memory-leaking-3rd-party-dll-no-source-code-accessed-by-tomc) . I'm doing it in Visual Basic 6, and the loading and unloading with the ...
I have a project with graphs that can be printed. When you click the print button, a Print Preview form loads with:
Public Sub print()
printPreview.Show
End Sub
Everything works fine on my development machine both when I run it in debug mode and when I install our distributed installation package.
For some reason though, everyone...
I need to construct a VB6.0 ocx that will be used as a plugin for some external VB6.0 applications
This ocx contains several sub procedures that are supposed to work as event-handlers for some of the external events (External to ocx).
The problem is, the users who use this ocx will only call one of my ocx sub procedures once and only ...