Results 1 to 4 of 4

Thread: How do I make a standard exe web-accessible ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2002
    Posts
    15

    Question How do I make a standard exe web-accessible ?

    I have a standard exe project consisting of 4 standard forms. i want to make this project web-accessible. First I thought of rewriting the code in VB Script but then its too much work. One of my friends suggested that I can make use of activex controls. So I made activex controls by copy pasting the code ( one activex control for each form) Now the problem is how do I deploy it ? I read a tutorial somewhere and managed to get the first form to open in a webpage...the problem is when a button click for opening the next form is clicked and it fails to find the next control.
    Please help ...tell me how should I go about porting my standard exe to make it web accessible. Should I use one user control per standard exe for or put all the stuff of my 4 activex forms into one activex control and modify the code ? Any other bright suggestions welcome too..
    BTW I'm a beginner at Activex so please KISS ( Keep It Simple Smarty !!)


    Thanks in advance !!

  2. #2
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    Use Citrix Metaframe Server if you have got enough money !

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2002
    Posts
    15
    Thanks !! If I had money I wouldn't be coding !!
    Anyway, got it working .....used simple frames...i.e. put the contents of each form on a frame in the activex control.....one frame for each for...made some minor changes to remove variable name dependencies and altering commands like form1.show to frame1.visible=true etc....it works fine..except for the "END" command to close the application and "Unload" command which don't seem to work in the control. Added the control to a web-page.
    Now please tell me how to make it web accesible ? The html page works fine on my desktop but when I uploaded the page and the .ocx file to the server and accessed the page it would say "Cannot find server" .....what am I doing wrong ? Changed my IE settings to accept activex controls etc..doesn't seem to work.
    Please help !!

  4. #4
    Lively Member
    Join Date
    Aug 2002
    Posts
    126
    hi,
    if u don't care about IU, u can just move the code to DLL and use SOAP to make it web accessible.
    if u moving the project to ActiveX Control u should care that the ocx will get down to the user machine (i.e. running under Internet Explorer process).
    u can also use WebClass. WebClass is a VB option (called IIS Application) to create web projects from VB environment.
    look in MSDN for WebClass for more info.

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