Label not definied
Label not definied
Label not definied
Label not definied
Label not definied
Label not definied Label not definied Label not definied Label not definied Label not definied Label not definied Label not definied Label not definied
Label not definied Label not definied
Label not definied
Go Back  Xtreme Visual Basic Talk > > > Label not definied


Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2011, 09:41 AM
whistller whistller is offline
Newcomer
 
Join Date: Oct 2011
Posts: 6
Default Label not definied


when I start program I get error "Label not definied" in GoTo Resend line
Code:
module:
 Public Declare Sub UrlMkSetSessionOption Lib "urlmon.dll" _
(ByVal dwOption As Long, ByRef pBuffer As Any, _
ByVal dwBufferLength As Long, ByVal dwReserved As Long)

Public Type INTERNET_PROXY_INFO
dwAccessType As Long
lpszProxy As String
lpszProxyBypass As String
End Type
Public Const INTERNET_OPEN_TYPE_PROXY = 3
Public Const INTERNET_OPTION_PROXY = 38

Public Declare Function InternetSetOption Lib "wininet.dll" Alias "InternetSetOptionA" _
(ByVal hInternet As Long, ByVal lOption As Long, ByRef sBuffer As Any, ByVal lBufferLength As Long) As Integer
Public Declare Function InternetSetOptionStr Lib "wininet.dll" Alias "InternetSetOptionA" _
(ByVal hInternet As Long, ByVal lOption As Long, ByVal sBuffer As String, ByVal lBufferLength As Long) As Integer


form:
Private Sub Command6_Click()
Dim ipi As INTERNET_PROXY_INFO
ipi.dwAccessType = INTERNET_OPEN_TYPE_PROXY
ipi.lpszProxy = "46.37.165.113:17890"
ipi.lpszProxyBypass = ""

gstrProxyUserName = "ggggg"
gstrProxyPassword = "hhhhhh"

iRetVal = InternetSetOption(hHttpOpenRequest, INTERNET_OPTION_PROXY_USERNAME, gstrProxyUserName, Len(gstrProxyUserName))
iRetVal = InternetSetOption(hHttpOpenRequest, INTERNET_OPTION_PROXY_PASSWORD, gstrProxyPassword, Len(gstrProxyPassword))
GoTo Resend <<-- error

Form1.WebBrowser1.Navigate "http://whatismyipaddress.com/"
how to define GoTo Resend line ?


End Sub
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Label not definied
Label not definied
Label not definied Label not definied
Label not definied
Label not definied
Label not definied Label not definied Label not definied Label not definied Label not definied Label not definied Label not definied
Label not definied
Label not definied
 
Label not definied
Label not definied
 
-->