In Javascript or Html hey i dont care how can i get it to run a program everytime the page is opened????
This is for a network webpage so i want it to run a prgram on the network drive?
Anyone help????
Printable View
In Javascript or Html hey i dont care how can i get it to run a program everytime the page is opened????
This is for a network webpage so i want it to run a prgram on the network drive?
Anyone help????
not possible, sorry...
Look into active x, thats about all you can do. It is not possible with html, javascript, asp, or whatever :(
really DOH.....
I want to open a .exe?
Thats not possible.
Dammmmnnn:mad:
no, at times i wish it was possible, but think about it, it is a major security issue
Even on internal websites.
now what am i to do grrrr thinking..........
thanks again
sail!:)
Perhaps you maybe able to help me!
If i take out most of the programs other functions.
1 major thing that i wanted it to do was look in a text file if there is stuff in it then display it if not dont!!
It'd be alright displayed as a message box!
Can u help me??
Can you use asp? because this would be really easy using the FSO? (File system object)
Never used it before but hey i'll learn anything!!
I'm still learning most of this stuff if your willing to be real basic for me?
ta
VB Code:
Dim strPath, FS, RS strPath = Server.MapPath("data.txt") Set FS = Server.CreateObject("Scripting.FileSystemObject") Set RS = FS.OpenTextFile(strPath,1,0,0) Response.Write RS.ReadAll RS.close Set RS = Nothing Set FS = Nothing
All right, here is a basic sample...it is pretty self-explanitory, especially if you have a VB background. this will open up your text file, and print it out wherever you put this code in the ASP page.
I am really tired now, but if you need more help tommarow i can help..
did you ever get it working?
yeah somewhat!
thanks heaps sail!:D
Any advice for an internal website like what stuff should be on it??
i'm not quite sure what you are talking about
internat website?
Intranet- on the network!
Using PWS! I'm designing(attempting) my companies internal website!
But i'm not too sure what to put on it!
well you could put each departments name in the menu and then you can get one person form each department and have then send you something that they would like to say about that particular department.
that is what we do on our intranet
yeah, thats pretty much what we have set up at our school
Hmm yeah we dont really have departments but i was going to split it up by project but there's just tooooo many!
Any other ideas!
Perhaps one of you may have some code for checking space on a mapped drive??
I.e How much free space is left??
Prefer javascript or html!
This would be fantastic since we commonly have server space problems.
thanks champs!
man, you give HTML and javascript too much credit!:D they can't do that stuff. i think i can do it in asp though...is that an option?
I understand those 2. A bit too hazy on ASP?
If you post some code for me i'll see if i can get it too work not doubting that it wouldnt work but i'm just a spastic that all.
thanks for your help again sail!