Results 1 to 10 of 10

Thread: HTML Questions

  1. #1

    Thread Starter
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81

    Post 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?

  2. #2
    Hyperactive Member progressive's Avatar
    Join Date
    Sep 2001
    Location
    Manchester, UK
    Posts
    404
    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>

  3. #3

    Thread Starter
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81
    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?

  4. #4
    Hyperactive Member progressive's Avatar
    Join Date
    Sep 2001
    Location
    Manchester, UK
    Posts
    404
    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

  5. #5

    Thread Starter
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81
    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.

  6. #6
    Hyperactive Member progressive's Avatar
    Join Date
    Sep 2001
    Location
    Manchester, UK
    Posts
    404
    what exe do you want to open ???

  7. #7
    scoutt
    Guest
    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

  8. #8
    Addicted Member goudabuddha's Avatar
    Join Date
    Jun 2001
    Location
    Somewhere cheesy
    Posts
    203
    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

  9. #9

    Thread Starter
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81
    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.........

  10. #10
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    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
  •  



Click Here to Expand Forum to Full Width