vb6

How to control firefox from vb6

Is there a way to control from VB6 a Firefox instance? There's a corporate application. This application has a form, I need to catch the Firefox Session, then execute a script in Javascript that injects a function that makes a Post to that session. I could do it in IE, but I was wondering if there was a way to do it for FireFox. ...

detect series items of listbox vb6

Hello, I want to detect series items of a listbox and move them to another listbox suppose list items are book01 book02 book03 book04 book05 apple mango pen ball packet1 packet2 packet3 here two series packet and book. A timer will auto detect list1 series items and move to list2 book and packet series ...

Is it possible to create an app in VB6 that read/writes to a database hosted on a web server?

I was just wondering if it's possible to create an app that interacts with a database hosted on a web server... or is it only possible using VB.NET? Also if it is possible, is there any good documentation or tutorials I could reference? ...

How to pass strings By Ref from VB.NET to VB6 OCX?

Hi. I need to pass 2 strings from VB.NET to an OCX written for VB6. VS2008 put a wrapper on the OCX, but while the routine is called, the string parameters are not correctly received. I do not know why but I am guessing that it is because, as I understand it, in VB6 parameters are passed By Ref as a default while in VB.NET, parameters ...

Display a label in system tray

How do I display a label in the system tray ? I need to read the xl file created by my bandwidth meter and always display the MBs used in the system tray.Also is it possible to create a form that is semi transparent, It should be visible over any open windows, not hidden behind ? ...

Number of years between two dates

I am trying to do a fairly trivial task however my experience is in .net not in vb6. Given two strings (say "10/17/94" and "10/17/95" for this example) I want to return a string expression X years //Date_Due and Date_Time_Performed are strings in the mm/dd/yy format Duration = (Year(CDate(Date_Due)) - Year(CDate(Date_Time_Performed))) ...

Is there a way to serve up a Python dictionary to a compatible type in Visual Basic 6 using win32com?

Is there a way to serve up a Python dictionary to a compatible type in Visual Basic 6 using win32com? ...

Development Environment For VBP FIles

I come from a C# background but we have an app that is written a long time ago and is a vbp project file What development enviroment will open that file - I know cls and frm files are class and form files but have never used vbp projects ...

is it possible to convert exe file to VB Project?

i lost my VB6 Project source files accidentally. but i have the executable files. is it possible to convert the exe files to VB Projects? is there any opensource/free decompiler available? ...

Semi Transparent Form using VB6

Is it possible to create a form that is semi transparent, It should be visible over any open windows, not hidden behind ? Please guide! ...

Testing Active X DLL - runtime error 91 object variable or With block variable not set

I created a skeleton Active X DLL with its Instancing property set to MultiUse and only one function which does nothing but pop up a message box saying that it has been called. Then I created a test program and added the DLL to its References. I added code to declare a variable of the DLL's Classmodule, to create a new object and to ca...

Generating interop wrapper classes throws error

When generating interop wrapper classes in visual studio 10 the tool throws the following error: Interopform wrapper class generator: Error creating interopForm Wrapper Classes for Project xxx Error list is empty where can I start to search for the source of the Error? ...

Why won't this VB 6 code open the serial port?

Dim MSComm1 As MSComm on error goto cant_open_com1 MSComm1.CommPort = 1 MSComm1.Settings = "9600,N,8,1" MSComm1.DTREnable = True MSComm1.Handshaking = comRTS MSComm1.InBufferSize = 12 + 1 ' +1 for the CR MSComm1.RThreshold = MSComm1.InBufferSize MSComm1.RTSEnable = True MSComm1.InputLen = 0 ' read entire input buffer MSComm1.InputMode...

How to export constant strings from .Net to COM?

I have a .NET DLL which I call from a VB6 project. Until now, I've had a public static class with a bunch of public const String STRING_NAME = "STRING VALUE"; When I needed to use one of them from VB6, I directly wrote inline the literal value in the code. Now I'd like to replace those literals with the .NET constants. I have t...

VB6 + componentone developed application in Windows7

This is trouble shooting question. Our application's development environment is VS2005 C/C++, VB6 based GUI. we use also componentone for ActiveX control(vsflexgrid8). application performed well in Windows XP, but in Windows 7, there is some problem in GUI. rebuilded almost all C/C++ code and VB6 code in Windows 7 our build system ...

Check if drive is writable windows API function

Hello is there any windows API function that would return if drive is writable. Sometimes drive is visible under drives but when trying to programaticly write to it, it gives you a msg box error wich freezes the application until user presses the ok button. Is there any built in function that would check if drive is writable without the...

VB6: what is likely cause of Overflow error when using strings?

In VB6, what is the likely cause of an Overflow error? I am using strings when it occurs. Is it RAM, or hard-drive space? Or is it something internal to VB6? ...

Writing own Split function for earlier version of VB. How to handle multiple delimiters in a row?

The following Split function found at support.microsoft.com does not create array values corresponding to consecutive delimiters. eg. the string "hello|world||today" would generate the array: arr[0] = "hello", arr[1] = "world", arr[2] = "today" instead of the more correct: arr[0] = "hello", arr[1] = "world", arr[2] = "", arr[3] = "tod...

Accessing contents of VB6 Data Grid from AutiIt script

I'm using an AutoIt script to access data from a application developed in Visual Basic 6. Data in all controls can be accessed using Control*() functions. However, Data Grid and Data List controls (their class names: DataGridWndClass and DataListWndClass) don't respond to ControlListView() function. What is the way to access their con...

how to ftp in vb 6.0?

Hi, I would like to know how to transfer a file from local machine to server using ftp in VB 6.0. Please provide any guidelines or links you think will be useful as I haven't tried this before. ...