|
-
Oct 6th, 2009, 03:29 PM
#1
Thread Starter
Fanatic Member
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.
-
Oct 7th, 2009, 06:14 AM
#2
Re: General question on architecture
I can't think of a single reason to use both.
What does your OCX use?
-
Oct 7th, 2009, 06:27 PM
#3
Thread Starter
Fanatic Member
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,
-
Oct 7th, 2009, 06:30 PM
#4
Re: General question on architecture
Per this msdn page:
 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.
-
Oct 7th, 2009, 07:01 PM
#5
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|