Click here to Skip to main content
15,913,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralVB.Net exam questions Pin
boro1224-Jun-03 6:54
boro1224-Jun-03 6:54 
Generalhtml2text Pin
avexman24-Jun-03 4:17
avexman24-Jun-03 4:17 
GeneralSaving an image into a database from a dataset Pin
Regardt24-Jun-03 2:07
Regardt24-Jun-03 2:07 
GeneralRe: Saving an image into a database from a dataset Pin
Matt Casto24-Jun-03 3:35
Matt Casto24-Jun-03 3:35 
GeneralRe: Saving an image into a database from a dataset Pin
RZLR26-Jun-03 0:06
RZLR26-Jun-03 0:06 
GeneralRe: A DataGrid with Excel-like behaviour Pin
maxfava1-Jul-03 1:12
maxfava1-Jul-03 1:12 
Generalusing the internet transfer control Pin
kimrune24-Jun-03 1:41
kimrune24-Jun-03 1:41 
GeneralRe: using the internet transfer control Pin
AirGuitarist25-Jun-03 19:39
AirGuitarist25-Jun-03 19:39 
You can add the internet transfer control by adding a reference to the msinet.ocx activex component. First, right click on the project name in solution explorer, and go to Add Reference -> COM -> Browse. Browse for MSINET.OCX, it should be in your system directory (usually c:\windows\system32 for winXP). .NET will automatically reference the object and create a managed wrapper class for it (in the form of AxCLASSNAME). You can then add this component into your project.

There are however, drawbacks to this. Wrapping an ActiveX control in .NET increases overhead. There are a few solutions built into .NET that come to mind.

1) The easiest solution uses the System.Net namespace and the HttpWebRequest and HttpWebResponse classes. You can use these classes to retrieve whatever document you wish using the HTTP protocol. For more information, see the HttpWebResponse class by navigating your VS.NET help to the following: ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemnethttpwebresponseclasstopic.htm

2) The second solutions gives you far more control by using sockets directly. By using the System.Net.Socket class, you can create to a remote host (port 80 is usually HTTP port), and the form a GET request using the HTTP protocol. This solution is not recommended because .NET has already built classes to handle http requests (solution #1). This class can be used for custom protocols.

- Joe
QuestionUsing a loop to create multiple controls at runtime? Pin
Jm6k23-Jun-03 11:51
Jm6k23-Jun-03 11:51 
AnswerRe: Using a loop to create multiple controls at runtime? Pin
dynamic23-Jun-03 12:01
dynamic23-Jun-03 12:01 
GeneralThanks Pin
Jm6k23-Jun-03 12:53
Jm6k23-Jun-03 12:53 
QuestionImplements DataTable - how to get started? Pin
Duncan Edwards Jones23-Jun-03 11:11
professionalDuncan Edwards Jones23-Jun-03 11:11 
Generalassembly run time errors Pin
ibiteu223-Jun-03 11:00
ibiteu223-Jun-03 11:00 
GeneralGAC problems,, PLEASE HELP!! Pin
ibiteu223-Jun-03 6:08
ibiteu223-Jun-03 6:08 
GeneralRe: GAC problems,, PLEASE HELP!! Pin
Ray Cassick23-Jun-03 6:20
Ray Cassick23-Jun-03 6:20 
GeneralRe: GAC problems,, PLEASE HELP!! Pin
ibiteu223-Jun-03 6:40
ibiteu223-Jun-03 6:40 
GeneralRe: GAC problems,, PLEASE HELP!! Pin
Ray Cassick23-Jun-03 7:09
Ray Cassick23-Jun-03 7:09 
GeneralRe: GAC problems,, PLEASE HELP!! Pin
ibiteu223-Jun-03 7:23
ibiteu223-Jun-03 7:23 
GeneralRe: GAC problems,, PLEASE HELP!! Pin
Ray Cassick23-Jun-03 7:35
Ray Cassick23-Jun-03 7:35 
Generalassociate icon w/program app Pin
shirleyLo23-Jun-03 3:15
shirleyLo23-Jun-03 3:15 
GeneralRe: associate icon w/program app Pin
Nick Seng23-Jun-03 16:34
Nick Seng23-Jun-03 16:34 
GeneralRe: associate icon w/program app Pin
shirleyLo24-Jun-03 7:46
shirleyLo24-Jun-03 7:46 
GeneralConnecting an XML listener to a VB interface Pin
yeeck23-Jun-03 1:18
yeeck23-Jun-03 1:18 
GeneralReusing values or inputs Pin
ivanji22-Jun-03 17:28
ivanji22-Jun-03 17:28 
GeneralCounting points Pin
oliver_twistor22-Jun-03 9:27
oliver_twistor22-Jun-03 9:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.