vb6

Does the VB6 IDE run on Windows 7 64-bit?

We're approaching a point of replacing several of our developer PCs and would like to move up to 64-bit to maximize the hardware/life of the PCs but we also need to support several legacy VB6 applications. That said, Microsoft says it's not supported, but that doesn't necessarily mean it doesn't work. However, support's not important o...

Problem using SQLDMO/Vb6 against SQL Server 2008

I have a client, that uses SQLDMO for a portion of a custom application that was written against SQL Server 2000, and they recently upgraded to SQL Server 2008. The majority of the app still runs fine (doesn't use SQLDMO), but the admin functions which rely on SQLDMO stopped working. I installed the SQL2005 backward compatibility pack,...

MS Access Tables with MSFlexgrid

How to display two tables in single msflexgrid control in vb6 ...

change label text from a VB6 binary (not source code)

Hi, we have a VB6 binary executable that comes with no source code. And we need to change the label text for that VB6 application from "AAA" to "BBB". Is there any way or tools that can do that? The closest tool I can find right now is microsoft UISpy, it can read all the other elements but not the label. I hope there is a tool that c...

how to show moving character in my vb form

I am making an application in which I want to show moving character like any cartoon, say donald duck, which can guide user and provide help. how can I do this? Is it possible in vb? Thanks in advance. ...

creating a custom odbc driver for application

Ok, i have a simple database engine (its a proprietary product written in vb6) for one of my applications... i'd like to create an ODBC driver for it so i can use some of my other applications (which require a database) with my database engine rather than microsoft sql (which they are currently using).... Does anyone have any heads up ...

Time is updating when a form is not even running

A co-worker of mine had downloaded a vb example project a while back to see how to make a call or two, he discovered it today again, and noticed that while sitting in the IDE the time/date is updating automatically when the entire project is not even running. How does this work, we looked around for code but can't find anything giving i...

how to insert data field in a table is empty

Hi. I am making an application in VB as frontend; backend is Oracle . I want autogenerated ID on click of "New" button. It works well if data is present in the table, but shows error if the table is empty. What i need to insert so that it work when I am using the appliction for the first time? My button code is as follows: Private Sub ...

VBA IDE Color Scheme Add-In

Does anyone know of a VBA add-in that would provide more options for the IDE color scheme? It's pretty limited. Thanks for the help. ...

How to detect a Paste operation in a textbox?

I want to detect when the user pasted something into the textbox. I want to detect it whether the user used the mouse or keyboard. This is vb6 ...

Use different locale for the Format function?

In a VB6 application I have to build a file which contains a decimal number which must always be written in US format: 1,499.99 But the Format function takes the system settings into account and on a German system this result would be produced: (Using the format string #,##0.00) 1.499,99 Can I force the Format function to use diffe...

Static code analysis for VB6 and classic ASP

I'm looking for a static code analysis tool that will determine if I have orphaned functions in my VB6 code. The problem I'm running into is we make calls to the VB6 code from classic asp. Is there a tool that will look at both the classic asp and VB6 and determine if there are any orphaned functions? ...

Unexpected Event Behavior When Using VB6 with COM Interop (C#)

We are using a COM Interop (C#) to allow for a VB6 application to send data to a server. Once the server receives the data, the managed code will raise a DataSent event. This event is only fired after a correlation ID is returned to the original caller. About 1% of the time, we've encountered VB6 executing the raised event before fin...

How can I play DVD files using wmp.dll?

I need help with my VB6 app. I have a form with a reference to wmp.dll (Windows Media Player 9 ocx). I can play many file extensions like Mpg mpeg , avi, qt and others, but I want to play dvd files. I'm using the following code:. wmp.url = "D:\VIDEO_TS\VTS_01_0.VOB" This command work in all files, but not for DVD files. I've also tr...

Centralized error handling in VB6.

I have the following method that all the error handlers call: Public Function ToError(strClass As String, strMethod As String) As String On Error GoTo errHandle ToError = "Err " & Err.Number & _ ", Src: " & Err.Source & _ ", Dsc: " & Err.Description & _ ", Proje...

Facing problem in VB6.0 Activex Controls design.

Hi, This is dharmaraju, I am facing some problem in Activex Controls design. Kindly help me to resolve the issue. Problem Description: I have created a property mentioned below for a textbox. Public Property Let DataControl_Value(ByVal Value As Variant) Public Property Get DataControl_Value() As Variant This property is editable at d...

Fastest way to access VB6 String in C#

I am using COM Interop. I have a call in VB6 which returns a string of roughly 13000 chars. If I execute the call in pure VB6 it takes about 800ms to execute. If I execute it via c# and COM Interop it takes about 8 seconds. I'm assuming the delay is caused by marshaling. If I am correct about marshaling, I'd be grateful if someone coul...

Writing to file VB6 without new line?

I have some strings I want to write to a file in VB6, I can write it fine but every time I do it adds a new line automatically after each write command. Is there a function or a way to just write to the file without the automatic new line? Thanks. ...

VB6 to SQL SERVER

hi, am new in SQL programming.. and am using SQL 2000. my main problem is to connect the server to another PC running a VB6. pls help me. ...

What Are Collections Implemented As In VB6?

So a collection in VB6 keeps track of a key for each object, and you can look up the object by its key. Does that mean collections are implemented as some sort of hashtable under the hood? I realize you can have multiple items with the same key in a collection, hence the SOME SORT. Anybody know what type data structure a VB6 collect...