Click here to Skip to main content
15,929,795 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRandom Access File (VB) Pin
R. Thomas31-Oct-03 1:31
R. Thomas31-Oct-03 1:31 
GeneralRe: Random Access File (VB) Pin
Dave Kreskowiak31-Oct-03 7:07
mveDave Kreskowiak31-Oct-03 7:07 
GeneralFinding IP Address Pin
dotnetminer30-Oct-03 20:27
dotnetminer30-Oct-03 20:27 
GeneralRe: Finding IP Address Pin
Dave Kreskowiak31-Oct-03 7:16
mveDave Kreskowiak31-Oct-03 7:16 
GeneralRetrieve a list of online users on a domain Pin
mwinther30-Oct-03 12:30
mwinther30-Oct-03 12:30 
GeneralRe: Retrieve a list of online users on a domain Pin
Anonymous30-Oct-03 16:25
Anonymous30-Oct-03 16:25 
GeneralRetrieve URL from Web Browser Pin
Angad Singh30-Oct-03 1:10
Angad Singh30-Oct-03 1:10 
GeneralRe: Retrieve URL from Web Browser Pin
Heath Stewart30-Oct-03 3:26
protectorHeath Stewart30-Oct-03 3:26 
It's different for every web browser because they are architected differently. For IE, you can either host the WebBrowser control and use the LocationURL property. To do it from an outside process, you'll have to search the running Windows classes for the correct class, search it's child windows for the address bar, and read the text out of it (or get an instance of the IWebBrowser2 interface from the app, but this can be more difficult).

For Mozilla/Netscape, there's different ways. You could use the same approach from an outside application as I outlined above, but the Windows classes would be different for both the browser and the address bar. Same goes for Opera and the other browsers.

There is no single way of doing this for all browsers.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Retrieve URL from Web Browser Pin
Mike Ellison30-Oct-03 6:25
Mike Ellison30-Oct-03 6:25 
GeneralListView to XML File Pin
Brad Fackrell29-Oct-03 1:38
Brad Fackrell29-Oct-03 1:38 
GeneralSSL in ASP.NET Pin
MySmallfish28-Oct-03 13:10
MySmallfish28-Oct-03 13:10 
GeneralRe: SSL in ASP.NET Pin
Heath Stewart30-Oct-03 3:35
protectorHeath Stewart30-Oct-03 3:35 
GeneralRe: SSL in ASP.NET Pin
MySmallfish30-Oct-03 7:03
MySmallfish30-Oct-03 7:03 
GeneralRe: SSL in ASP.NET Pin
Heath Stewart30-Oct-03 8:54
protectorHeath Stewart30-Oct-03 8:54 
QuestionCreating forms dynamically in VB??? Pin
NearyM28-Oct-03 10:12
NearyM28-Oct-03 10:12 
AnswerRe: Creating forms dynamically in VB??? Pin
Itanium28-Oct-03 18:27
Itanium28-Oct-03 18:27 
GeneralRe: Creating forms dynamically in VB??? Pin
Edbert P28-Oct-03 19:28
Edbert P28-Oct-03 19:28 
GeneralRe: Creating forms dynamically in VB??? Pin
NearyM28-Oct-03 23:38
NearyM28-Oct-03 23:38 
GeneralSystem Events Pin
mikasa28-Oct-03 8:01
mikasa28-Oct-03 8:01 
GeneralRe: System Events Pin
Anonymous30-Oct-03 16:50
Anonymous30-Oct-03 16:50 
GeneralRe: System Events Pin
mikasa31-Oct-03 2:22
mikasa31-Oct-03 2:22 
GeneralSerialization Pin
dotnetminer27-Oct-03 21:03
dotnetminer27-Oct-03 21:03 
GeneralFloatign Toolba & Lines Flickering Pin
Itanium27-Oct-03 20:39
Itanium27-Oct-03 20:39 
GeneralDatagrid using VB.NET (web vs. windows) Pin
holdesb27-Oct-03 5:12
holdesb27-Oct-03 5:12 
GeneralMobile Web Calendar Control Pin
mathenjie27-Oct-03 2:28
mathenjie27-Oct-03 2:28 

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.