I am converting an InstallShield project to a WiX based Installer. I have a number of VB6 projects whose binaries need to be registered.
The InstallShield project actually marks these as self-registering files. From what I have read this seems to be a "Bad Thing" in the Windows Installer world.
My question is, what should I be doing t...
I'm changing some crufty old printing code to use the Visual Basic Print Dialog Control to pass printer information to a CrystalReport object. It works great except for one thing - the page selection box is consistently disabled no matter what flags I pass the object. Here is my code:
Public Enum PrintDialogFlags
NoFlag = 0
Di...
One of the standard and (somewhat) supported answers was to use Support.IconToIPicture from the Microsoft.VisualBasic.Compatibility assembly. However, in .NET 4.0, "This API is now obsolete".
Yes, there are various solutions out there, but I would think that if Microsoft was obsoleting this method, there would be another "supported" al...
What vb6 UI automated testing tools are available?
Additionally, would you rate the tools listed from 1-10, where ten means that its the most amazing tool ever and one means that its almost not worth listing.
...
I know how to look up a hostname from an IPv4 in VB using the GetHostByAddr Windows API call (this works great). However, that function does not allow one to specify the DNS server to use. Sometimes the default company DNS servers are fine, but other times I need to specify an external DNS server for lookups, and I don't think doing a sh...
I am getting the error "invalid procedure call or arguments" at the step computeHash().
Any help highly appreciated.
Private Sub Form_Load()
Dim rngcsp As New RNGCryptoServiceProvider '= new RNGCryptoServiceProvider()
Dim u8 As Encoding
'u8 = Encoding.UTF8
Dim minSaltSize As Integer
Dim maxSaltSize As Integer
Dim saltSize As Inte...
Do you know some tutorials (preferably a website or a blog) in Visual Basic 6 (not Visual Basic .NET) for data access or CRUD? The caliber and depth that I'm looking for is similar to this site:
Data Access Tutorials for ASP.NET
http://www.asp.net/learn/data-access/
Although the above site is for web applications, I am looking for a ...
Why is VB6 still in use? I am confused because Visual Basic 2008 .Net exists and why don't programmers use VB 2008 .NET instead?
I have observed lately that many recently released viruses use VB6 as well.
...
I'm having an issue referencing public procedures of User Controls that I've created within a VB6 project.
A simple example (exe), I have a form with a button and a user control:
Option Explicit
Private Sub Command1_Click()
UserControl1.updateMessage ("TIME NOW: " & DateTime.Time)
End Sub
The User Control code is as follows:
Op...
Hello,
I'm writing a C# application that has to consume a C++ api provided by my customer. The library works fine when it's referenced by a vb6 application, but when I reference it in my c# application and try to call the same methods, i get a different (wrong) behaviour. The methods I'm calling take a couple of string arguments. Provid...
basically i can't add Inet control in vb6 via drag and click from the general toolbar....where is it ?
...
Basically I have a form that goes full screen automatically. But while Inet runs, this doesn't happen. After Inet finishes, app goes to full screen.
Private Declare Function SetWindowPos Lib "user32" _
(ByVal hwnd As Long, ByVal hWndInsertAfter As Long, _
ByVal x As Long, ByVal Y As Long, ByVal cx As Lo...
I would like to monitor a process every second until it displays an expected "error" message.
how can i monitor something.exe and get notification via "screen scraping" the error message from something.exe all from my vb6 program ? is it possible to terminate or click the "okay" button from vb6 ?
is this sort of thing better suited for...
basically vb6 launches a process but the problem is closing it when it finishes.
shell "something.exe"
when the external program displays msgbox saying "finished", it can be closed. however when it displays the msgbox, the process is still running in taskmgr.
how to detect the msgbox and killing the program ?
...
using vb6 is it possible to click buttons and forms on another running process programmatically ?
...
Can anybody help me to create function that will accept for parameter xml string and return a formatted string as response that after can
Example:
<cars>
<ford>
<model>fiesta</model>
<model>focus</model>
</ford>
<renault>
<model>twingo</model>
<model>clio</model>
</renault>
</cars...
I just had a very long tech support call because a customer didn't have a Mic on their laptop. (Stupid me: they said they'd used the mic earlier and I have never heard of a laptop not having a Mic).
I'm wondering if there is a way to detect whether there is a Microphone (recording capability) on Windows XP, Vista, 7.
(I've got error ha...
hi all,
does someone know a vb6-project/activeX component which allows loading + displaying a wav file, let it play showing the cursor position?
thanks
...
I'm trying to update a vb6 DLL and redeploy a .NET service, but I'm getting the following error:
System.Runtime.InteropServices.COMException
(0x80040154): Retrieving the COM class
factory for component with CLSID
{D01BF589-BC04-4119-8168-AE6180BBD021}
failed due to the following error:
80040154.
The steps I'm taking in de...
I have a VB6 program running on Windows 7. It is copying a large number of files and sometimes FileCopy fails with an access violation (between every 60 and 500 files).
I cannot reproduce it using a single file, only during such mass-copying operations this problem happens.
It makes no difference, if source/target are on hard disks, n...