|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Obtaining the Current URL From IE and NetScapeI am new developer in Vb.Net And I found a code that Obtained the URL of IE Or Netscape. Unfortunatlly this Code is Applies to: VB4-32, VB5, VB6 And I want to use it for Vb.NEt When I plug it in my development enviromet I found Alot of errors. So Can Any one Help me And Adjust this code and make it applicable for Vb.Net The form Should be Like the following: Drop a command button (Command1) two labels (Label1, Label2) onto a form, setting the autosize property of the labels True. The third label in the illustration above is the result of preparing the graphic as a composite image to demonstrate both NS modes. Add the following code to the form: The Code IS : Option Explicit Private Sub Command1_Click() On Error GoTo command_error With Label1 .Caption = "" .AutoSize = True .LinkTopic = "IExplore|WWW_GetWindowInfo" .LinkItem = "0xffffffff" .LinkMode = 2 .LinkRequest End With DoEvents With Label2 .Caption = "" .AutoSize = True .LinkTopic = "Netscape|WWW_GetWindowInfo" .LinkItem = "0xffffffff" .LinkMode = 2 .LinkRequest End With Exit Sub command_error: 'try the next step on error Resume Next End Sub Any help will be appreciated regard's Husam Hi
Your code is indeed very effective for IE, but it is not working properly in the netscape browser.can u help me with code that will run on the netscape browser.In my current project it is needed. regards suhasis my email id is suhasis.sar***@webspiders.com ****please help me If you can
Why so much trouble with ellipses?
Seeking examples of screen scraping.... Setting MaxLength to <VBFixedString(x)>? Another Dataset question GDI Question How Can I prevent a new row in datagrid But permit to edit existing cell ? Pasting from the clipboard HELP PLEASE !! DataGrid Questions VB.NET & Various Versions Of Outlook Retrieving a webpage source HTM and checking for a string thereinL? |
|||||||||||||||||||||||