Dwarfthower,
You have been a great help. I tried the Javascript option, but it still doesn't want to work. I was thinking, however, that if I used the computer name to get the path instead of the drive letter (remember this is an intranet) to locate the text file, that would work.
I tried...
Dwarfthower-
Thanks, that does make more sense. I am getting an error when I run it though. THe error is "Object Expected" and it refers to the line:
var fs = CreateObject("Scripting.FileSystemObject");
Also, how do I call that funciton within another function (see my...
I've tried and it doesn't seem to work. I'm really new at all this, can you help with the syntax?
<script language="VBSCRIPT">
function GetPath
dim fs
set fs = CreateObject("Scripting.FileSystemObject")
GetPath = fs.GetAbsolutePathName("..\..")...
Dwarfthower-
Is there any way around that? I am using this for a company intranet, and it is going to live on a shared drive. The biggest problem (and I don't work in IT so I can't fix it) is that not everyone's share drive is mapped to the same letter. Therefore, I can't make the path...
Dwarfthower,
I tried to use your solution, but I am getting an error. It says that it cannot find the file (the counter.txt) and it is in the same folder as the page. Is there anything I need to change (other than removing the C:\ before counter.txt)? THanks.
pc
Thanks for all the great responses. I found another option that was just as easy:
in he <HEAD>
<SCRIPT LANGUAGE="JavaScript">
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value...
I need something a little stronger than that (I didn't even need to enter "mypassword" to get access). Something like that, but maybe a little tighter. I know this is a dumb question, so I really appreciate any answer. Thanks a bunch.
pc
I am looking for very, very basic HTML username/password protection. The information that is being "protected" is really not that sensitive, I just want to make sure that the right users access the right pages. I know that more sophisticated security is available, but really I am only...
That works great. The only problem is I am having trouble if figuring out how to get the user back to the main page (say its url is just main.htm). Here is the script I have, can you tell me where and how to enter the redirect link? I know this is probably pretty basic, but I am very new with...
I am using an Data Access page created using MS Access to access data in a database (that's alot of Accesses). I'd like to utilize a message box to alert users that they have saved changes to the database before they leave the page. Access uses javascript to save the data. I know how to create a...
Is there any way to lock the formatting of a spreadsheet so that the column widths and row heights cannot be altered? I want to do this without locking content editing capabilities. Thanks.
I have a database that houses daily data that is entered everyday for the previous day (for example yesterday's data will be entered today, and today's data will be entered tomorrow). The problem I have is that I need to query the previous days data to pull a field for calculations today. In...
I have an intranet site that is actually an hta. When it is openedit is small. How can I make it so that when it is opened it is full screen size.
Thanks.
dwong,
don't know if this is late, but if you want to get rid of those pesky active x control messages, and this is an internal use only site, then make it an hta file. hta is basically an html file but works like an application. becuase it is an application you don't need the permissions to...
Another option would be to change your alerts for new mail to not include the envelop in System Tray alert. Then restart Outlook and re-select that option if you like. That may work bfore you reinstall Outlook.
I'm not sure where that option is because I don't have Outlook at work, but I would...
Geoff-
I am using it in a Worksheet, so the Data --> Validation is probably the easiest solution, right?
The real trick is that the data that is being validated (or selected) will then be used to poluate an SQL query (I don't know if that affects anything or not).
THe first list is about 8...
Does anyone know how to make combo boxes dependent on one another? In other words, the values in box two would be dependent on what the user selected in box one.
Any thoughts, either using VB or the Excel provided macros/dialogue boxes, would be greatly appreciated. Thanks.
pc
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.