|
-
Dec 21st, 2001, 06:25 AM
#1
Thread Starter
Lively Member
HTML Questions
How can I make a program open when my site is loaded
and how do you make Message and input boxes in html?
-
Dec 21st, 2001, 06:53 AM
#2
Hyperactive Member
Please be more clear with your requests for help!
What application do you wish to open ??
I'm not sure what you meant with the second request but I think one of these is what you meant
Code:
<script>
var name = prompt("whats your name son ?");
alert("welcome to my world " + name);
</script>
Code:
<form name="theform" method ="" action="">
<input type="text" name="atxtbox" value="enter text here">
<textarea cols="20" rows="5" name="amultilinetxtbox"></textarea>
</form>
-
Dec 21st, 2001, 06:59 AM
#3
Thread Starter
Lively Member
thanx for that, the first answer was what I was after but I'm not sure about the second, I want to open an exe file that is on my sever, does that help?
-
Dec 21st, 2001, 07:11 AM
#4
Hyperactive Member
as i don't know what server your running i'll give you a general example. You simply run a shell* command and put the path to the exe.
*you'll need a server side programmming language/technology to do this perl, python, asp, php.
The shell command will be well documented for whatever language you choose.
point: if you run a exe on the server it is doing that. The user wont see the results in the web browser unless you send data back from the exe
-
Dec 21st, 2001, 07:16 AM
#5
Thread Starter
Lively Member
Sorry but that flew right past me, this is the first time I have tried using HTML coz Front Page wont do it for me.
-
Dec 21st, 2001, 08:47 AM
#6
Hyperactive Member
what exe do you want to open ???
-
Dec 21st, 2001, 12:31 PM
#7
Originally posted by magoochris
Sorry but that flew right past me, this is the first time I have tried using HTML coz Front Page wont do it for me.
relying on a WYSIWYG program. not good. but you have dealt with html before if you know how to run FP. but I haven't seen a program yet that will run serverside language like frontpage. don't get me wrong, there are some out there, but they, how can I put this, SUCK!!! 
now, what Progrssive was telling you was that you need to run cgi or php or asp (serverside languages) to run that exe file you have. he also said that the user will not see the output of that exe unless you send (again with serverside language) the results to the browser.
sounds like you better learn a little serverside code if you want to run that exe file of yours.
oh almost forgot. you better own that server of yours because most HOST's will not allow you to run exe on there server. so much of a security risk. then again if you do own that serer then how in the world did you get it going without knowning what html is? just curious, not intended to be insulting
-
Jan 3rd, 2002, 08:34 AM
#8
Addicted Member
Originally posted by magoochris
Sorry but that flew right past me, this is the first time I have tried using HTML coz Front Page wont do it for me.
FrontPage is the devil, learn yourself some HTML boy! Can do that with vbscript, btw
-
Jan 5th, 2002, 07:44 AM
#9
Thread Starter
Lively Member
I would gladly like to know where I can find something to teach me HTML and serverside languages!!! and scoutt, It isn't realy MY host, my dads work owns it, and the program I am trying to open is a visual basic Program that has some grafix on it then just close it down, like an animation.........
-
Jan 5th, 2002, 12:38 PM
#10
Addicted Member
Originally posted by magoochris
I would gladly like to know where I can find something to teach me HTML and serverside languages!!! and scoutt, It isn't realy MY host, my dads work owns it, and the program I am trying to open is a visual basic Program that has some grafix on it then just close it down, like an animation.........
You'll run up against limitations trying to run a vb program that normally presents graphics to the user. The CGI interface (The server side) has no facility allowing you to project GUI graphics directly to the browser.
Here's what will happen: You will succesfully manage to get this program to run, but, you won't see any effect of it at the browser, but if you happen to look at the server, voila, there's your GUI program sitting there waiting for input--input it will never receive because your actual users are miles away sitting in front of a blank browser.
The sad truth is you'll have to rewrite the entire VB program as a web application in order to do what you are trying to do.
There are some tricks you can do, however, to make the rewriting process a lot more efficient. It requries three things:
. Source code to the VB application in question
. Convert the vb application to activeX
. Require your users to use (IE) Internet Explorer
You could conceivably get your program running in a day or two. Of course it's not ideal but it's your easiest route, I think.
cudabean
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
|