ActiveX and Clsid Problem
ActiveX and Clsid Problem
ActiveX and Clsid Problem
ActiveX and Clsid Problem
ActiveX and Clsid Problem
ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem
ActiveX and Clsid Problem ActiveX and Clsid Problem
ActiveX and Clsid Problem
Go Back  Xtreme Visual Basic Talk > > > ActiveX and Clsid Problem


Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2010, 07:54 AM
kurkcu kurkcu is offline
Newcomer
 
Join Date: Aug 2010
Posts: 1
Default ActiveX and Clsid Problem


Hi,

I have an classlibrary and usercontrol in it

Code

----

Imports System.Runtime.InteropServices
<Guid("5DF83611-3DAB-46FF-9BF7-2901F1AE63B2")> _
Public Class UserControl1

Private Sub UserControl1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

End Sub

End Class

----

And a Aspx Page

HTML

---

<body >
<form id="form1" runat="server">
<div>

<object id="myControl1" name="myControl1" classid="mydll.dll#myddl.UserControl1"
width="250" height="200">
</object>
<object id="Object1" name="myControl2"
classid="CLSID:5DF83611-3DAB-46FF-9BF7-2901F1AE63B2" codebase="mydll.dll"
width="250" height="200">
</object>

</div>

</form>
</body>

----

Question :

First Object works fine and displays button.

Second object doesn't appear. Only X.

I've get guid /Classid from assemblyinfo.

When i create cab file it doesn't display either. I think same reason.

Regards.
Reply With Quote
Reply

Tags
activex, clsid


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
ActiveX and Clsid Problem
ActiveX and Clsid Problem
ActiveX and Clsid Problem ActiveX and Clsid Problem
ActiveX and Clsid Problem
ActiveX and Clsid Problem
ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem ActiveX and Clsid Problem
ActiveX and Clsid Problem
ActiveX and Clsid Problem
 
ActiveX and Clsid Problem
ActiveX and Clsid Problem
 
-->