-
WShrboyce
AskWoody LoungerI believe I had the same problem and eventually just gave up (before I knew about the lounge!) and used all asp to handle the collection and confirmation pages.
I will be interested in the solution if one is found as I often build sites I turn over to the customer to maintain and if FrontPage can really do this right it would be easier for them.
hrboyce
-
WShrboyce
AskWoody LoungerWithout having Word installed on the web server to call using it as some sort of an object server (?!?!?!) I doubt you will able to accomplish your goal.
If you are willing to get that far into the weeds then may I suggest a book titled Instant ASP Components by Osborne/McGraw-Hill. It has a chapter that describes how to call MS-Wword in ASP and insert elements from an HTML form into the document, save it, and send it to the user. It probably could be modified to suit your purpose but I am really not quailfied to say for sure. I will say this, I believe Word2k isn’t really suited for this purpose since it would be single threaded thus limiting the number of concurrent web users who could create such a document. Also loading and unloading the word ‘engine’ on the server could be cumbersome as well.
I also don’t think a search and replace on the web server for an embeded saved directory in the word file will work either. I believe there is a checksum placed on the document when it is saved which would probably make word think the document has been corrupted when it was loaded by the user, but now I am really guessing on what might happen. You might want to try the word forum for some help on this, they may be able to help more.
hr
-
WShrboyce
AskWoody LoungerRob…
There is always a local user. Usually on a server it is the admin who is logged in on the server at the time. This user probably isn’t going to be listed in a user table so it may only appear to be broke..Users accessing the MDB file via a share or UNC on the file server are still going to have their own Login ID when they access the MDB file over the network. In that case the posted code will work.
If the users are accessing the file from a web server then all the user rules change depending on how the web server is set up. If that is the case I will try to explain the best I can in a subsequent post.
One more thought, it may be that your users don’t have enough permissions on the file server. They need to have read, write, and delete because each time they access the MDB file using MS-Access an LDB file gets created. When they close MS-Access if no other users are using the MDB file then the LDB file will get deleted. If they can’t delete things can get strange.
Maybe one of the MVPs can explain what happens better.
-
WShrboyce
AskWoody LoungerI posted in the VB/VBA form and got this answer from Andrew Cronnolly, it seems to work in 98 haven’t tried in any NT versions yet, hope it helps.
Public Declare Function GetUserName Lib “advapi32.dll” _
Alias “GetUserNameA” (ByVal lpBuffer As String, nSize As Long) As LongFunction GetUser() As String
Dim lpBuff As String * 255
Dim ret As Long, UserName As String
ret = GetUserName(lpBuff, 255)
GetUser = Left(lpBuff, InStr(lpBuff, Chr(0)) – 1)
End Function
-
WShrboyce
AskWoody LoungerWhile the toolbar won’t be there you should always be able to get a file save as menu when word opens in the browser. I believe that users who have loaded the recent security patches for outlook and outlook express that have come down lately will always get prompted to save the file (one of woody’s complaints I think).
You might also want to try saving the file as rtf. It will still load in word, also word pad (if the file is not to complicated) and a number of other word processors if the user doesn’t have Word.
Some users may trust it more as there can be no macro virus in an rtf
-
WShrboyce
AskWoody LoungerUsing the information in jscher2000 post with GenericDB you need to change the line in YOUR asp file that starts with:
Session(“dbconn”)= Provider=Microsoft.Jet.OLEDB.4.0; Data Source=e:intranet_rootwwwroottestfpdbmydb.mdb”
In my source that is all on one line! GenericDB works great but has all the limitations of using Access on a web site because of the jet engine. I believe lines three and four in his connection string are only required if Access security is turned on in the database. Otherwise the default is used.
The key is the full path on the ISP’s server for the Data Source. If they won’t provide it for some reason the path can be retrieved using the server object I think. If turns out to be a problem post back and I will look it up.
You will also have to set the right permissions on the directory where the database resides so I would recommend that is be in its own directory. It will need read write and DELETE because a yourfilename.LDB file will get created and in certain circumstances that I haven’t nailed down yet, if this file isn’t deleted errors that say the file is locked by another user occur and the only way to cure it is to stop and start IIS, something ISPs really hate.
More than you wanted to know I am sure, hope it helps
-
WShrboyce
AskWoody LoungerI thought about that, its an easy solution, but win98 and win95 users won’t have an username environment variable.
For anybody reading this that has a pure NT environment environ(“USERNAME”) works but USERNAME must be caps.
Still Looking
-
WShrboyce
AskWoody LoungerAs with most questions there is no one right answer but let me take a stab at helping.
First you need to know if the service (ISP) supports ACTIVE SERVER PAGES (ASP). If it is an NT/IIS server there is a good possibility. Some Unix boxed support ASP but not many. Support for FrontPage server extensions by itself is not a guarantee of support for ASP.
Once that is out of the way and you have verified that ASP is available the simplest way for someone to create a series of forms like you described would be to get a copy of GENERIC DB from http://www.learnasp.com/links/genericdb.asp
Your post doesn’t indicate if more than one table is involved so additional help is difficult. The ASP script contained in GenericDB is fully functional and can be a great learning tool, but not for a novice ASP programmer. I would suggest a Beginning ASP book published by WROX to help get you started if GenericDB doesn’t do the trick (sorry woody but I dont know of a book of yours that covers ASP).
The connection string you mentioned is paramount to getting Access to provide data to any form or for that matter probably your results page so the connection may be defined and working in those pages somewhere.
Hope this helps
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Test post
by
Susan Bradley
3 hours, 18 minutes ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
2 hours, 23 minutes ago -
SSD shuts down on its own
by
CWBillow
4 hours, 45 minutes ago -
OneDrive File Sharing Changes
by
David Clark
7 hours, 11 minutes ago -
OneDrive File Sharing Changes
by
David Clark
9 hours, 15 minutes ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
4 hours, 2 minutes ago -
Today is world backup day
by
Alex5723
52 minutes ago -
Windows .exe on Mint
by
Slowpoke47
10 hours, 47 minutes ago -
Reviewing your licensing options
by
Susan Bradley
2 hours, 19 minutes ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
5 hours, 51 minutes ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
1 hour, 8 minutes ago -
Making sense of Settings in Windows 11
by
Simon Bisson
3 hours, 13 minutes ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
7 hours, 4 minutes ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
4 hours, 51 minutes ago -
YouTube Ad Blocker Blocker
by
bbearren
5 hours, 2 minutes ago -
Obscure historical facts about Windows
by
Cybertooth
6 hours, 40 minutes ago -
Microsoft Backup
by
Linda2019
40 minutes ago -
What is the best notepad++ version for W7?
by
Picky
5 hours, 54 minutes ago -
What are right steps to move MS 365 Office+OneDrive files from PC to iMac?
by
glnz
1 day, 15 hours ago -
How to move existing MS 365 Office with OneDrive files from PC to new iMac
by
glnz
1 day, 15 hours ago -
How to move MS 365 files (some on OneDrive) from PC to iMac
by
glnz
2 days, 10 hours ago -
Microsoft adding Quick Machine Recovery to Windows 11
by
Alex5723
2 days, 10 hours ago -
Microsoft vs Passwords
by
Alex5723
1 day, 18 hours ago -
Windows 11 Insider Preview build 26200.5516 released to DEV
by
joep517
2 days, 14 hours ago -
Windows 11 Insider Preview build 26120.3653 (24H2) released to BETA
by
joep517
2 days, 14 hours ago -
Two March KB5053606 updates?
by
Adam
2 days, 7 hours ago -
MS Edge Not Updating to v134.0.3124.95 (rel. 27-Mar-2025)
by
lmacri
2 days, 8 hours ago -
Intel® Graphics/Sound Driver updates for 7th-10th Gen Intel® Core™ Processor
by
Alex5723
2 days, 11 hours ago -
Is there a comprehensve way to tranfer ALL current Edge Settings into a new Edge
by
Tex265
2 days, 9 hours ago -
Transferring ALL info/settings from current Firefox to new computer Firefox
by
Tex265
2 days, 9 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.