Hi,

this is a code for open a web link :
VB Code:
  1. Option Explicit
  2.  
  3. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
  4.  
  5. Const SW_NORMAL = 1
  6.  
  7. Private Sub Command1_Click()
  8. Dim X
  9. X = ShellExecute(Me.hwnd, "Open", "[COLOR=Red]PAGE A[/COLOR]", &O0, &O0, SW_NORMAL)
  10. End Sub

After "PAGE A" i would like to open in the same window, PAGE B.

I need to have a reference (<href>) to go at PAGE B, that way i need to go to PAGE A first.

any ideas?.