ASP.NET Windows Form

I have written a UserControl in VB.NET and I want to host it in Internet Explorer.  I have used the method that is all over the internet which says you do it something like this:

<OBJECT id="Invoice" height="652" width="832" classid="http://www.whitetech.net/InvoiceCreatorWeb/InvoiceDBControl.dll#InvoiceDBControl.Control" name="Invoice" VIEWASTEXT>
</OBJECT>

Where InvoiceDBControl is the namespace and Control is the class.  When I do this, however, I just get a screen with a window that has the same icon as when an image is loading, but that is it.  I have tried to do it by checking "Register for COM Interop".  Then before the class I add a GUID like this <ComClass("3EFA4B90-889C-41ce-8D46-B28AD5BDAE09")>.  After which I change my asp to look like this:

<OBJECT id="Invoice" codeBase="InvoiceDBControl.dll" height="652" width="832" classid="CLSID:3EFA4B90-889C-41ce-8D46-B28AD5BDAE09" name="MyGraffitiWa" VIEWASTEXT>
</OBJECT>

This works, however, if I try to use it on a different computer or even occasionally on this one (which I completely don't understand) I get the error. "Windows has blocked this software because it can't verify the publisher." Then it says the publisher is unknown.  How can I make this work?  How can I make the publisher (me) know to the program?  Thanks in advance.
johnywhiteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

johnywhiteAuthor Commented:
On the second object name is also "Invoice" not "MyGraffitiWa".  I accidentally put that there from a suggestion someone else gave me.
0
james-ct16Commented:
hi
what you need to do is sign the dll, this supplies the author and publisher information, a quick google of msdn turns up this which may not be a bad starting point

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconAssigningAssemblyStrongName.asp

however when i had to do this before back i used information at verisign. this may also be a good starting point http://www.verisign.com/support/signing/authenticode/index.html

certainly more info than at the msdn one


hope that is of some help

james
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
johnywhiteAuthor Commented:
The first option didn't work, and the second costs too much.  Is there another option that I could do for less or even free?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.