vb6

Disable Images, ActiveX Etc in VB6 WebBrowser control using DLCTL_NO_

Like the title says, i want to disable images, and ActiveX Controls in the vb6 webbrowser control using DLCTL_NO_RUNACTIVEXCTLS and DLCTL_NO_DLACTIVEXCTLS Microsoft talk about it here: http://msdn.microsoft.com/en-us/library/aa741313.aspx But i dont see any way to access IDispatch::Invoke from the vb6 application. Any help would be gr...

Examining MS Access Database Keys using VB6

how to check how many primary key, composite key in existing table using Visual basic 6.0 and ms access as a database? ...

VB 6.0: How can I see XML variables in Immediate Window

I am debugging a VB 6.0 program that is using XML methods, etc... so I wish to be able to see how these XML variables in my program look like when I am debugging it ... How can I do that? ...

Migrate Vb to Vb.net

Hai Friends I having the project in Vb i want to migrate that project in the vb.net.any tool available pls inform me.i have tried a lot.i have not installed the visual basic.with the help of remote server i am running that project. ...

Connection: Keep-Alive and PHP sessions not working

We have a VB application that needs to run an specific flow on a PHP page. This application was correctly catching the PHPSESSID cookie and using it for all subsequent requests. However, PHP wasn't able to restore any changes made on $_SESSION variable. The variable was changed, saved, and on the next request it was restored as an emp...

VB.Net Sending byte array from client to server

Hi guys, I am new to VB.net and struggling to get out of VB6's way of sending data, I am doing this to send a byte array from my client to server, please advice if this is the right way, thanks: The sending portion: Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click ...

What concerns should I have when instantiating a .NET component in a VB6 application?

I just read through a 2002 article on MSDN called Calling a .NET Component from a COM Component to get a basic understanding of calling .NET objects from VB6 code. However, I still wondering what else I might be concerned about when referencing .NET objects from VB6 and if there's anything newer information than what was available when ...

Equivalent in vb.net's MaskedTextBox to cliptext property in vb6's Masked Edit control

I find this property useful but cannot find a direct replacement for it in vb.net. Is there one? Thanks ...

VB6 with a .NET Library

Hello, I have an application written in VB6, and I need to use a library written in .NET. Is there any way to use the library on my application? Thanks ...

VB6: Question about version numbers of dependent OCXs

Is it important for a VB6 app to refer to certain OCX versions? I have noticed that if I put my VB6 app code through the IDE on one machine then the form files will refer to different version of some OCXs than if I use another machine. What is the rule of thumb with this? Is it safe to assume that most of these old OCX versions will b...

CommonAppData in vb6

Basically the same as this question, but for VB6. A customer's application "AppName" has its configuration files stored in CommonAppData. Under Windows XP that is C:\Documents and Settings\All Users\Application Data\AppName Under Windows Vista that is C:\ProgramData\AppName How do I get the correct foldername ...

Remote DLL Registration without access to HKEY_CLASSES_ROOT

We have a legacy VB6 application that updates itself on startup by pulling down the latest files and registering the COM components. This works for both local (regsvr32) ActiveX COM Components and remote (clireg32) ActiveX COM components registered in COM+ on another machine. New requirements are preventing us from writing to HKEY_LOAC...

How to speed up 'cold start' of .NET component called from VB6 app

I have a VB6 app which brings up a form by invoking a .NET DLL, but the problem is that this form takes almost 5 seconds to appear when the menu item is first selected in the VB6 app is selected. How can I speed this up? It is only slow for the first time, thereafter it is at an acceptable speed, like it is a native VB6 form. I'm t...

Does the API call ExitProcess() work OK in VB6 if you follow the MS caveats?

Microsoft indicates that VB6 doesn't support ExitProcess (to exit and return a value). However, it indicates that this call can fail under certain circumstances (if a thread hasn't been completed, etc.) so I'm wondering whether this call will work OK (consistently :-) as long as you obey the caveats in the article. I could go a step ...

DLL Export C/C++ 6.00 function invoked by VB6

Hi all, I have been attemptng to create a DLL with C/C++ that can be accessed by VB6, and that's right I get error "453 Can't find DLL entry point myFunctionName in myDllName.dll" upon calling the function from a VB6 app. After searching the Web, including this site, I see that I am not alone, and I have tried the various solutions post...

Choosing an alternative ( visual basic) high level programming language

I used to be visual basic 6 programmer, i was pleased with visual basic : it is high level language that do stuff fast,easy to learn, easy to do stuff in,you can drag and drop stuff to the form and write your code,it is simply amazing.however microsoft buried VB6 and pointed us to VB.NET which is so different that it is not the old VB an...

MSChart in VB6 - Axis Formatting

I'm putting together a graph with the MSChart control for VB6. Is there a way to adjust the location of the points on the X axis so that the first data point in the series sits against the Y axis? By default it floats in a space between the origin and the first gridline. ...

Picture changing in vb6

I was trying this script from a pdf file.I got stuck where the target image should change to exploding image if clicked but the target image does not change from the standing image.Please Help! Option Explicit Dim fiPlayersScore As Integer Dim fiNumberofMisses As Integer Dim fbTargetHit As Boolean Private Sub Form_Load() Randomize imgT...

Interop Forms Toolkit DLL and "Class does not support Automation or does not support expected interface" error

I have a .NET WinForms application that I've converted into a COM dll using the Interop Forms Toolkit 2.1. Thet setup project for the application has both my tlb as well as the Microsoft.InteropFormTools.tlb file set to Register as vsdrpCOM. The prerequisites for the project are to ensure that Windows Installer 3.1, .NET Framework 3.5 SP...

Releasing .NET objects from VB6 code

On .NET Rocks! Show 561, Carl and Richard talked about releasing unmanaged objects instantiated in managed code. If you have to release a COM object that's instantiated in managed .NET code, you have to call System.Runtime.InteropServices.Marshall.ReleaseComObject. Is there anything similar you have to do (or should do) when releasing ...