I have a VB6 application that needs to be installed on Windows Vista as a Standard User. Using Visual Studio 2005 I have created a setup project that will place the application in a standard user safe place or folder. I also have a dll that I want to install and register to the users application data folder. Once my windows installer ...
Hi all,
I have the following (simple) VB6 code:
Dim xmlDoc As MSXML2.DOMDocument30
Set xmlDoc = New MSXML2.DOMDocument30
Dim xmlRequest As MSXML2.XMLHTTP40
Set xmlRequest = New MSXML2.XMLHTTP40
xmlRequest.open "GET", "http://myserver.com/Service.svc/models/20080101", False
xmlRequest.setRequestHeader "Accept-Encoding:", "gzip/deflate...
hi guys,
i have an editor like app in vb6, and i'm looking for a richedit which can support tamil input using win xp tamil ime input. it's weird but i can key in chinese, japanese, english, arabic, french using the richtextbox but somehow tamil will just appears as ?? when i key it in using the ime. however if i do a copy and paste from...
To be more specific:
We have a web service (written in .Net) which utilizes a large number of COM dlls for core business logic (written in VB6). Assume for now that these are sealed libraries.
Unfortunately, many of these COM libraries implement their own error handling or validation messages; if we pass in data which isn't complete, ...
I'm working with a very old program that uses sound.drv to make some simple sounds (like the old Quickbasic sound driver, or the even more ancient Commodore64 synthesizer)
Anyway... I"m trying to find out if there is a 32 bit equivalent library. Googled on it, but no joy.
Here's an example of the of the declarations
Declare Function ...
In our application (a document management system) we are supposed to be notified of screen changes (or notify the other program of screen changes) in order to keep the two applications looking at the same data, one being the order fulfillment app, the other the document viewer of the original fax. The fulfillment app is written in vb6 a...
I have a legacy COM-component with an interface declaring a property like this (IDL notation):
interface IPasswordCallback : IUnknown {
[propget] HRESULT Password( [in] VARIANT_BOOL ownerNeeded, [in, out]
VARIANT_BOOL* isResultValid, [out, retval] BSTR* password );
}
This interface is implemented in a calling application w...
This is somewhat related to a similar post, but that post was Visual Studio 6 in general and a lot of the suggestions didn't apply to VB6.
Suggest or vote for tools/tips. Please one tool/tip per post so that everyone can vote on them individually. Include a brief description of what the tools do.
...
Given the following C# class:
namespace ComTest
{
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
[Guid("A1D11BE5-40A1-4566-A1CA-418ABC76017C")]
public interface IThing
{
[DispId(1)]
void SetValue( object input );
[DispId(2)]
object Value {get; set;}
}
[ComVisible(true)]
publ...
Some years ago I used to program in VB6, I really liked it because it was very simply and fast, when VB.net came out, I abandoned it because they changed a lot of things.
I wonder if after all this years there's a new language or IDE that helps programming in an easier and faster way than VB6.
I'm not very interested in academic/personal...
This is in VB6 (may also apply to VB.net)
CheckBoxes can have three states (Checked, Unchecked, Greyed).
But I'm using them to set boolean variables (MuteSound, etc.) This is definitely a value that has only two states. Unfortunately, the Checked and Unchecked don't correspond to a True/False value.
So, I can't have:
bMuteSound=Chk...
Can a VB6 program that does not contain the keyword 'New' have memory leaks?
If so, please provide an example.
...
One of the cool things about VB6 is that if you add a line numbers to your code is that the ERL function will return it if an error occurs.
I use MZ-Tools for VB6 to add line numbers to the entire project, which is really cool, however, it's a pain to work with code that is numbered. So I typically remove the lines while I work on it.
...
I am creating an installation package for a VB6 application using Visual Studio Installer from the Visual Studio Installer Enterprise Tools v6.0. My issue is that Installer is adding a strange item under depdendencies, named simply "3". The "Sourcefile" and "Target" properties for this item are also shown as just "3". The "ComponentId" p...
I currently have a VB6 program that essential reads data from an excel worksheet and spits it out into a MSFlexGrid.
Below is the excel sheet data that is read in. Data is filled into the occurence column for the left half of the table.
The VB6 Application then read this data into a multi dimensional array which is then fed into a M...
Is there such a thing as a VB 6.0 decompiler?
If so are there any free products that do this?
...
I asked a question a while ago about which local DB was right for my situation. I needed to access the DB from both .NET code and VB6. The overwhelming response was SQLite. However, I decided to pass on SQLite, because the only OLE DB provider for it charges royalties for every deployed copy of my software. It also requires an activa...
I have an application that I want to (eventually) convert to ASP.NET MVC. I want to do an all out service upgrade (to ASP.NET) but want to use current asp stuff to run the current functionality so I can upgrade small pieces while making incremental upgrades to the new framework. This site is heavily dependent on a VB6 DLL that is not v...
My company has tons of legacy applications that are written in VB6.
We are in transitions from moving VB6 applications to .NET (3.5 specifically).
What would be the best strategy for moving form VB6 to .NET?
NOTE: Below update should go to "Project Management" and has nothing to do with the main question.
[UPDATE]: Thank you for...
The control needs to behave like a Spider/Gantt control, but with a small difference, i need vertical lines on the x axis.
...