Taskbar-Icon of form in .NET-ActiveX-DLL

Fazzyer

Member
Joined
Jul 29, 2005
Messages
16
Programming Experience
5-10
Hi,

once again I've come across a problem.

I have a COM-DLL (ActiveX-DLL) written in VB.Net (.Net 2.0), that includes a form. This DLL is called by a VBScript out of another application and the form is shown.

VB.NET:
' VBScript
Set objMyDLL = CreateObject("MyDLL.MyClass")
objMyDLL.ShowMyForm()

No problem so far, but: the form's icon in the taskbar isn't the same as in the form's titlebar. In the taskbar, the default VBScript-Icon (a little red/yellow/blue-box where something comes out?) is shown.

Does anyone know how to change this?

Thanx in advantage,

- Fazzyer
 
It displays the application icon, and the application that executes the script is wscript.exe. I see there exist tools that can change icons in compiled exe/dll files, I think that is the only option.
 
Back
Top