473,326 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Viewing COMDLG32 from an ASP page issues

We have an ASP page that generates a report. We have
included a button on the page that allows the user to
save the report as a .csv file. The button makes use of
the Microsoft Common Dialog Control to display a "Save
As." dialog. This works perfectly. However once I send
the code to the client it seems to only work on some of
their machines and not others. Within the object
definition on the ASP page I've added the codebase
attribute and if the control is not present on the client
machine the user is prompted and the control is
downloaded from Microsoft. The ActiveX control however
does not appear to run. I've tried to replicate this
problem on my machine by changing the IE security
settings and I receive a message that informs me that my
setting don't allow ActiveX controls to run etc. On the
client site there is no message and all the ActiveX
security settings are set to "allow". I've tried removing
and re-registering the control but it seems to make no
difference. The control is definitely being downloaded
and registered by the codebase attribute but that seems
to be where it stops.

Thanks
Jul 19 '05 #1
2 1646
This is a client side issue. I suggest posting in an ActiveX group or an IE
group. ASP has no use of the common dialog control, since it's a
server-side technology that is interfaceless.

Ray at work

"Mike R" <MR@MR.com> wrote in message
news:13****************************@phx.gbl...
We have an ASP page that generates a report. We have
included a button on the page that allows the user to
save the report as a .csv file. The button makes use of
the Microsoft Common Dialog Control to display a "Save
As." dialog. This works perfectly. However once I send
the code to the client it seems to only work on some of
their machines and not others. Within the object
definition on the ASP page I've added the codebase
attribute and if the control is not present on the client
machine the user is prompted and the control is
downloaded from Microsoft. The ActiveX control however
does not appear to run. I've tried to replicate this
problem on my machine by changing the IE security
settings and I receive a message that informs me that my
setting don't allow ActiveX controls to run etc. On the
client site there is no message and all the ActiveX
security settings are set to "allow". I've tried removing
and re-registering the control but it seems to make no
difference. The control is definitely being downloaded
and registered by the codebase attribute but that seems
to be where it stops.

Thanks

Jul 19 '05 #2
Hi

Right if you look in the Temporary Internet Files for a page that starts
something like this ?Error and the CLSID of your control it will tell you
what went wrong. That can show where the install went wrong

HTH

Niall
"Mike R" <MR@MR.com> wrote in message
news:13****************************@phx.gbl...
We have an ASP page that generates a report. We have
included a button on the page that allows the user to
save the report as a .csv file. The button makes use of
the Microsoft Common Dialog Control to display a "Save
As." dialog. This works perfectly. However once I send
the code to the client it seems to only work on some of
their machines and not others. Within the object
definition on the ASP page I've added the codebase
attribute and if the control is not present on the client
machine the user is prompted and the control is
downloaded from Microsoft. The ActiveX control however
does not appear to run. I've tried to replicate this
problem on my machine by changing the IE security
settings and I receive a message that informs me that my
setting don't allow ActiveX controls to run etc. On the
client site there is no message and all the ActiveX
security settings are set to "allow". I've tried removing
and re-registering the control but it seems to make no
difference. The control is definitely being downloaded
and registered by the codebase attribute but that seems
to be where it stops.

Thanks

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Matthew Hanna | last post by:
Is there any code out there to replace the Open File dialog in the common controls? Or, I would like to just make sure that the Explorer item in the context menu doesn't appear when the user right...
3
by: yogesh | last post by:
How to store the java applet emebedded in a web page for offline viewing? I saved the web page but it got saved without the applet.and also I searched for the corressponding .class file for the...
14
by: Brian Maupin | last post by:
I have a refreshing webcam shot on my site and I was wondering if there was a way I could display how many people are currently viewing it? Thanks in advance.
6
by: - jes | last post by:
Greetings. Using CSS, a programmer can set the color for an href link and a different color for a VISITED href link. Anyone know where this "list" of visited links is stored? Is it...
2
by: swbaz | last post by:
What is an effect way to prevent users from viewing a webpage directly by typing in its URL? For example: If a default page is set up as a login screen with user name and password. The user...
1
by: Gary | last post by:
Is it possible to have a "floating" area designated to show an enlarged image of a thumbnail? Right now I'm using a script to enlarge the image, where it's at, onmouseover, but when it enlarges,...
3
by: Brooke | last post by:
How can I prevent a user from viewing the html code on a web page? e.g. right click->view source
10
by: NH | last post by:
I have a girdview with paging enabled. How can I add a message in the footer to say "Viewing records 1-15 of 45" etc Thanks
3
by: Kerem Gümrükcü | last post by:
Hi, does anybody have ready-to-go PInvoke Signatures and/or Prototypes for the FindText Function from comdlg32.dll? C# would be great, any other DotNet Code would also be very helpfull. ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.