Results 1 to 5 of 5

Thread: General question on architecture

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Wisconsin
    Posts
    788

    General question on architecture

    Is there any reason to use both an Inet control and winsock in a program? It seems to me, in my limited knowledge of the two, that one would use one or the other. I have a legacy ocx control control that sends data back and forth from the client to a server program.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: General question on architecture

    I can't think of a single reason to use both.

    What does your OCX use?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Wisconsin
    Posts
    788

    Re: General question on architecture

    Right now the guy who developed it about 10 years ago is using both. I plan on upgrading this control to .Net eventually but I need to understand the code in this .ocx better before I move on.

    What exactly should the Inet control be used for? I see that it can transfer data,etc.. but what is its orignal purpose?

    Thanks,

  4. #4
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: General question on architecture

    Per this msdn page:
    Quote Originally Posted by msdn
    The Internet Transfer control implements two widely-used Internet protocols: the HyperText Transfer Protocol (HTTP) and the File Transfer Protocol (FTP). Using the Internet Transfer control, you can connect to any site that uses one of these protocols, and retrieve files using either the OpenURL or Execute method.

    Possible Uses:

    To add an FTP browser to any application.

    To create an application that automatically downloads files from a public FTP site.

    To parse a World Wide Web site for graphics references and download the graphics only.

    To present a custom display of dynamic data retrieved from a Web page.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Wisconsin
    Posts
    788

    Re: General question on architecture

    So judging by that, it would not be used to transfer say a request from a database. Like 'SELECT * From Customers'.

    Another question.
    How would someone be able to debug or run an ocx in Visual Studio?

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