tagged [vb6]

Why VB6.0 form displays as C# form?

Why VB6.0 form displays as C# form? I have a COM DLL which has a form. This DLL is consumed by a C# application. I have enabled Visual Styles for my C# application. I don't want the Visual Styles be a...

28 Nov at 14:47

Equivalent C# statement for this VB6 operation creating problems

Equivalent C# statement for this VB6 operation creating problems I have this code line in VB: The parameters in the statement above are being passed the values below: On executing the statement above,...

VB6 IDE cannot load MSCOMCTL.OCX after update KB 2687323

VB6 IDE cannot load MSCOMCTL.OCX after update KB 2687323 After windows update installed security update [KB2687323](http://support.microsoft.com/kb/2687323), my VB6 project fails to load. Displayed er...

21 Aug at 22:40

Load class from registry using COM works with ToolsVersion="2.0" but failes with ToolsVersion="4.0"

Load class from registry using COM works with ToolsVersion="2.0" but failes with ToolsVersion="4.0" I have a c# project which use an internal vb project as COM. When I converted the project to VS 2010...

Why is C# null translated as Empty in VB6, instead of Nothing

Why is C# null translated as Empty in VB6, instead of Nothing I have a C# application that reference a VB6 dll. When I pass null from C# into VB6 dll function, the null is translated as value Empty (v...

15 Jan at 09:22

C# equivalent of VB6's GetObject

C# equivalent of VB6's GetObject The following VB6 code connects to some third party software and forces a login with the admin username and password: I am wanting to do the same task in C# but as a v...

22 Sep at 15:44

How do I register a .NET COM DLL with Regsvr32?

How do I register a .NET COM DLL with Regsvr32? I have a VB6 application that uses a COM DLL. The DLL is written in C#. In the C# project properties I have checked the "`Register for COM interop`" opt...

2 Jan at 14:28

User Defined Type (UDT) as parameter in public Sub in class module (VB6)

User Defined Type (UDT) as parameter in public Sub in class module (VB6) I've tried to solve this problem, but can't find any solution. I have a UDT defined in a normal module, and wanted to use it as...

24 Feb at 17:27

What's wrong with output parameters?

What's wrong with output parameters? Both in SQL and C#, I've never really liked output parameters. I never passed parameters ByRef in VB6, either. Something about counting on side effects to get some...

12 Mar at 19:33

Progress Bar and File Copying Problem?

Progress Bar and File Copying Problem? Using VB 6 In my Project, when I copy the file from one folder to another folder, at the time I want to show the progress bar like copying…., Once the file was c...

19 Aug at 13:32

How do I resolve "Run-time error '429': ActiveX component can't create object"?

How do I resolve "Run-time error '429': ActiveX component can't create object"? My company has a VB6 application using Crystal Reports 7 which a client has asked to be installed on Windows 7 32 bit. I...

22 Nov at 11:56

In VB6, how do I call a COM object requiring a pointer to an object?

In VB6, how do I call a COM object requiring a pointer to an object? I'm having trouble with a .NET Assembly that is com visible, and calling certain methods from VB6. What I have found is that if the...

4 Jun at 22:33

Reg Free Com with VB6 on Windows 7

Reg Free Com with VB6 on Windows 7 I have some .NET code I use from VB6 code. I have always developed this on an XP machine by creating a VB6.exe.manifest file that listed the dependent .NET assemblie...

3 Sep at 15:31

Managed Reg-Free COM Server Won't Activate

Managed Reg-Free COM Server Won't Activate I started with a very sophisticated system of clients and servers with COM references and other things, and I've cut down and down until I realized I can't e...

25 Nov at 21:31

Compile a DLL in C/C++, then call it from another program

Compile a DLL in C/C++, then call it from another program I want to make a simple, simple DLL which exports one or two functions, then try to call it from another program... Everywhere I've looked so ...

26 Apr at 11:56

Regfree COM event fails from other thread

Regfree COM event fails from other thread I have a COM visible .NET class which exposes events and is used from VB6. For the last couple of days I have been trying to get this to work with regfree COM...

28 Apr at 12:58