Quantcast
Channel: VBForums - COM and ActiveX
Browsing all 62 articles
Browse latest View live

Hook to madVR COM interface

Hi everyone, madVR offers an mvrInterfaces.h to access it's settings. I could use this interface (a .net version of it) and it's working ok. exemple to activate "Luma Shapen" : Code: madVR = New...

View Article


Building Class Library works until i get 429 error then never works again

This is my first attempt at crossing the lines between VBA and VB.Net. I code in both individually a lot. I am creating a simple class library that deserializes XML into List<T> with nested...

View Article


Using RegAsm.exe in Visual Basic 6

Hi, I am using a C# library, which I need to do Regasm.exe to create tlb and register it. My project is in Visual Basic 6, and I use Wise Install 1.5 to make the installer for my project. I have spend...

View Article

Do I need a Licensed edition

I am a newbe to Visual Basic. I have downloaded a VB6 Enterprise edition on my computer and am trying to write programs to use the serial port output using MSComm.OCX. I receive this error message:...

View Article

[RESOLVED] Do I need a Licensed edition

I am a newbe to Visual Basic. I have downloaded a VB6 Enterprise edition on my computer and am trying to write programs to use the serial port output using MSComm.OCX. I receive this error message:...

View Article


ActiveX Exe Throwing Type Mismatch 13 Error

Greetings, I have an ActiveX exe component that is getting called by a stand alone exe, both were developed in VB 6.0. The component is throwing a "type mismatch" 13 error. Here is an excerpt of the...

View Article

Using COM from VB6 IDE under Windows 10 has changed

I write applications in VB6 that connect to running Windows applications using COM. The Windows applications are high end microwave circuit design programs with published COM API's. I connect to a...

View Article

Can a Winforms interop UserControl merge its menus with a VB6 container...

I am trying to migrate a VB6 UserControl to managed code. The original control has a set of standard menus (File, Help, etc) which are merged in to the menu bar of its container form (an ordinary VB6...

View Article


MSWINSCK does not work with wireless network

I am using VB5 (still works great for me!) with MSWINSCK.OCX (March 2004 version). It works fine with a cable connection to the router, but will not work with just a wireless connection to the same...

View Article


Image may be NSFW.
Clik here to view.

MSCOMCTL.OCX not loading properly in VB6 on Windows 7

Hi, new user with a question - this looked like the most appropriate board to post this on, so please bear with me if it should have been somewhere else (the VB6 & earlier board didn't feel like...

View Article

DllRegisterServer failed with error code 0x80004005

I'm fairly new to Windows 10 and I'm trying to register a dll for the first time. When I go to the Cmd prompt and enter regsvr32 C:\My.dll I get the error shown in the Title of this question. I am an...

View Article

COM port number keeps changing

I have a soft modem that I access through a vb program. The following code snippet Code: Dim sp1 as String For Each sp1 In My.Computer.Ports.SerialPortNames     Debug.Print(sp1) Next finds 1 port,...

View Article

Where can I get the documentation for msscript.ocx?

The ActiveX control called Microsoft Script Control appears to be undocumented. Nothing about it on the MS documentation website (that used to be called MSDN). Somebody else was looking for it here...

View Article


[newbie] Bunch of questions about COM

Hello, I have several newbie questions about COM: What is an interface?Is a new GUID generated every time a COM object is recompiled, so as to tell versions apart?For backward compatibility, must each...

View Article

VS2005, what is special?

A senior told me if we develop an ActiveX, we should use ATL in VS2005. After completion of coding, we can use VS2022 for compiling. But I forgot the reason in details. Is it related with compatible...

View Article


How to add dwmapi.h in VS2005?

I want to draw modern shadow for a Dropdown Topmost window, but I don't know how to add this header file in VS2005 for my ATL project. Where is this Header file and how to add it? Code: #include...

View Article

[RESOLVED] How to add dwmapi.h in VS2005?

I want to draw modern shadow for a Dropdown Topmost window, but I don't know how to add this header file in VS2005 for my ATL project. Where is this Header file and how to add it? Code: #include...

View Article


[RESOLVED] error C3867 in my call

Usage: Quote: Code: void NotificationParentWindowDestroyed_HandleDestroyedCallback(HWND hWnd); NotificationParentWindowDestroyed* MyCallback; void...

View Article

[RESOLVED] WIA Tree

I'm putting this in the COM forum but usage is VB Classic. If in error please move. I'm confused over what I'm getting. 1) In VB I set a reference to Microsoft Windows Image Acquisition 2) In my VB...

View Article

Does unregistering a TypeLib also unregister its Classes and Interfaces?

If I use the API function UnRegisterTypeLib to unregister a TypeLib, that removes all its TypeLib entries in the registry. But what about the Interfaces and Classes that had also been put into the...

View Article
Browsing all 62 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>