Results 1 to 6 of 6

Thread: call to html / asp pages from outside an activex dll

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2000
    Location
    Wolverhampton
    Posts
    20

    Exclamation

    Ello,

    I have just really started to learn active x dll programming with vb6. All the examples i am leaning from discuss how to do all kinds of things with vb and active x, what they do not tell you (if of course it is possible) is how to send html from previously generated files, which are not housed in the active x control. let me try and explain what i mean.

    I have / am writing a user registration system using vb and asp. all the web pages the users see are sent by the active x control from with in the active x control, what i want to know is instead of sending the html from with the control can the control call the html file from else where on the server, and use it in exactley the same way as it does by sending the html from within the control.

    This to me seems logical, i mean, what if you wanted to up date your page, surley you do not have to re code you active x control, re compile it and then send it back to the web server.

    Please, i hope you can help, and i hope i have not confused you with my mindless banter.

    Ben.

  2. #2
    Addicted Member Xenonic_Rob's Avatar
    Join Date
    Jun 2000
    Location
    England, UK
    Posts
    213
    I don't think I really understand what you are saying...
    Perhaps though, it would be easier to do this User Reg thing using ASP and databases?

    I'm probably talking complete rubbish, because i didn't really understand what you were talking about, but surely a user registration-powered website would be better done in ASP with the info in databases?

    Rob Wright
    E-mail: [email protected]
    Website: http://www.xenonic.com
    The First Member of Honeybee's Club
    Favourite words: Zugzwang and Empiric

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Dec 2000
    Location
    Wolverhampton
    Posts
    20
    Cheers for the reply,

    i do not think you know what i mean. i was really talking about active x in general, i dont really belive that all html pages have to be coded into the dll file its self, i mean how would you be able to update your webpage, is there not a way that html pages can be called upon, so no html files a directley coded into the html and then streamed out the the client browser.

    Sorry if i am confusing you again.

    Ben

  4. #4
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    266
    First of all it is difficult to understand ur requirement. Anyway I hope I am correct. I guess ur requirement is that the activex dll should not generate the HTML script. Instead the HTML script will be stored as a text file and then the activex dll will parse that and send it to the web browser.
    Well if this is the case I don't understand why u would like to do this. You r basically downsizing the User interface functionality of ur activex dll. The best option for ur case would be to use XML. The user interface layer of ur activex dll will generate the XML. You can then apply the XSL to the XML thereby separating the content and user interface. Here the user interface is not hard coded but is in the XSL which is stored separatelt and can be modified any time. Hope this gives u some ideas.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Dec 2000
    Location
    Wolverhampton
    Posts
    20
    YES YES YES, that sounds exactley like what i want to do, but can you give me an idea of how to do it, a little code, or even a place of where i can find information on how to do it. Sorry about all these questions but i am new to this game.

    Ben.

  6. #6
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    266
    Dear Defranko,
    Well franko thats all I have dealt into. I have not used XML myself. Maybe these web resources should help you out.
    All the best.
    http://msdn.microsoft.com/xml/default.asp
    http://msdn.microsoft.com/library/pe...99/asp99b5.htm
    http://support.microsoft.com/support.../Q272/2/69.ASP

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