Results 1 to 8 of 8

Thread: Making my own guestbook with an Activex

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2006
    Location
    Paris
    Posts
    301

    Question Making my own guestbook with an Activex

    Hi
    (I know VB6 but I am a total newbie about activex)

    I have a small site on freewebs and since I'm not satisfied with their tools I want to make my own stuff using activex.

    I want to make an activex that for example that creates a simple txt file on my freewebs account (I cound use it as a guestbook).

    What about the password protection ? How does the activex "enter" my site with all the permissions ?
    Thanks

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Making my own guestbook with an Activex

    The activex file would be compiled as part of your program, which would run on the server. I don't think you can do that.

    Depending on what kind of server environment they give you, you want to write your guestbook in VBScript, javascript, perl or some other language designed for use on a web server. There are at least hundreds of examples of source code for guestbooks on the web - the problem is finding the right one for you, and in a language you can understand so you can modify it to your needs.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2006
    Location
    Paris
    Posts
    301

    Re: Making my own guestbook with an Activex

    I'd choose VBscript since it's close to VB6 what I don't uderstand is how it bypasses the user/password thing when it writes the files.

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Making my own guestbook with an Activex

    What you choose depends on what's available on the server, not which language you prefer. The server would have to support VBScript (probably be a Windows server) to run VBScript. The guestbook is running on your site, it's part of the site, so it doesn't have to "enter" your site any more than any other html file on your site does.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2006
    Location
    Paris
    Posts
    301

    Re: Making my own guestbook with an Activex

    So if I make an activex that creates a file, the file will be created automatically in my account ?
    I don't know it is a windows server, I use freewebs :

    www.freewebs.com/horazio

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2006
    Location
    Paris
    Posts
    301

    Re: Making my own guestbook with an Activex

    I uploaded a CAB file with a simple Activex written in VB6...it's not working! I asked the tech guys from freewebs but they seem to be clueless...
    I don't understand...it works on my PC but it doesn't work from my website !!!

    www.freewebs.com/horazio/prova.htm

    it's just an "hello world" activex,extremely simple

  7. #7
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Making my own guestbook with an Activex

    Is your web server (their computer) running Windows? Linux? Something else?

    If it's running Windows, do you have execute permission? Did you register the ActiveX file? (A CAB file is useless in this case.)

    Maybe it's time to either set up your own web server (you can have your web page on their computer do a fast redirect to your computer), or get web hosting from people who have at least half a clue.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  8. #8
    Fanatic Member
    Join Date
    Aug 2003
    Posts
    601

    Re: Making my own guestbook with an Activex

    I believe you need a certificate to run activex's on the web. www.verisign.com cost about 400$/year.

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