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 / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Write To Floppy Drive From Web Site

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew Hayes - 26 Mar 2008 04:19 GMT
In our old ASP web site we have an ActiveX control written in VB6 that writes
a structured file to the users floppy disk drive.

Now that we are updating the site to ASP.NET, I want to rewrite the ActiveX
control in C#.NET.

I created a solution with a ASP.NET Web App project and a Windows Control
Library project containing a simple user control with a button on it.

The control assembly is signed, and I have the <object> tag to include the
control on the default.aspx page. This works fine on my own PC. When I open
the url I see the ActiveX control with the button. Of course, I have to
"click to activate activex control", which is fine, and once done I can click
the button to create the file.

However, on other users PC's, they don't see the control. Just a box with a
small icon in it. They are not prompted or otherwise informed of how to get
it to work.

What I would really like is for it to behave the way that other ActiveX
controls do, in that it would show the information bar in IE7, giving the
option to download the activeX control, and then show the install dialog.

Do I need to do anything special with the Windows Control Library project to
get it to work that way?
Alexey Smirnov - 26 Mar 2008 08:49 GMT
On Mar 26, 4:19 am, Andrew Hayes
<AndrewHa...@discussions.microsoft.com> wrote:
> In our old ASP web site we have an ActiveX control written in VB6 that writes
> a structured file to the users floppy disk drive.
[quoted text clipped - 21 lines]
> Do I need to do anything special with the Windows Control Library project to
> get it to work that way?

I think your users might need to add your website to the Trusted Sites
list in the Internet Explorer browser.
Andrew Hayes - 26 Mar 2008 10:25 GMT
Thanks for the reply Alexey, but our site already exists in their trusted
zone. So far I've only got it to appear within our office if the site shows
up as Local Intranet.

What I have noticed is that if I go to the Windows Update site on my virtual
PC, which shows up as belonging to the Internet zone, it still pops up the
Information Bar dialog, "Did you notice the Information Bar?", and the bar
says that "This website wants to run the following add-on: 'Microsoft Update'
from 'Microsoft Corporation'."

I'm looking for similiar functionality. Does this mean I have to build my
Windows User Control as an Internet Explorer add-on?

Rate this thread:







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.