|
-
April 13th, 2001, 07:34 AM
#1
VB script
On a asp page trying to create an rtf file from a database using VBscript. I would like to create the file only upon a button click.
Set fso = CreateObject("Scripting.FileSystemObject")
gives this error
Active X component can't create object.
This only occurs if it is inside <script></script> tags. It works if the file is created on page load and code is in <% %>.
Is there a way around this?
Any suggestions will be greatly appreciated, and I am reletively new to VB programming.
TIA
DJS
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|