I need some help with a winform to web page control...

R

rperreta

Someone please help me... I created this Windows Control Library Project and
add some controls to the form. I compiled it to the dll and add the following
line of code to a webpage:

<object id=Uploader height=400 width=400
classid=http:uploadmanager.dll#docuploader.usercontrol1 />

I copied the DLL to the root of the website. Should I change the
application type from Class Library to something else? Is the <obj> tag
wrong?

-rjp
 
S

Steve C. Orr [MVP, MCSD]

That looks like the right syntax to me. What controls did you drop onto
your user control? Do you have any code in the user control?
Are you getting any error message or does the control simply not appear. If
it doesn't appear the first thing I would suspect is some kind of
permissions issue. Maybe you have some code or controls that are violating
permissions...
Maybe you should simplify things and try with just a blank user control and
see if you can get that to show up.

Here's more info:
http://SteveOrr.net/articles/WinformControls.aspx
 
R

rperreta

What permissions should be set on iis? I have the control working internally
on my dev machine only. When I try clients machines it just shows the img
icon with the window size. Any idea?

-rjp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,129
Messages
2,570,770
Members
47,329
Latest member
FidelRauch

Latest Threads

Top