Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / May 2006

Tip: Looking for answers? Try searching our database.

Host .Net Windows Control in IE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Lee - 03 May 2006 05:26 GMT
Hi,

I created an windows user control NetWinControl.dll using VS 2005 C#  - only
one button and button click event with MessageBox.Show("hello") - just this
simple.

<object id="netcontrol1"
classid="WebNetWinControl.dll#NetWinControl.UserControl1" height="30"
style="width: 106px" >
</object>

Strangely enough, what I saw on the page is not the button but something
looks like a multi-line text box with scrollbar. I tested this control in
windows form and it works fine.

Could someone tell me what I did wrong or what steps I missed?

Thanks!
John
"Peter Huang" [MSFT] - 03 May 2006 07:28 GMT
Hi,

Here is a walk though for your reference.
http://www.15seconds.com/issue/030610.htm

If you still have any concern, please feel free to post here.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.