Page 1 of 1 1
Topic Options
#113220 - 2004-02-03 07:46 PM Internet Explorer's Navigate method
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
I am trying to access a web page but not show the entire URL in the Address Bar.
This works:
Code:

$Computer = "Computer"
$IE = CreateObject("internetexplorer.application")
$IE.Navigate("http://ebiz.sbc.com/dlssms/SMS/findmachine.cfm?workstation=" + $Computer)
$IE.Visible = -1
$IE = 0



I was looking at Internet Explorer's Navigate method at http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/reference/methods/navigate.asp?frame=true. I think I can use the Post section, but it is not working? How do you make this work?
Code:

$Computer = "Computer"
$IE = CreateObject("internetexplorer.application")
$IE.Visible = -1
$IE.Navigate("http://ebiz.sbc.com/dlssms/SMS/findmachine.cfm","","","?workstation=" + $Computer,"")
$IE = 0



Thanks
_________________________
Kelly

Top
#113221 - 2004-02-03 08:22 PM Re: Internet Explorer's Navigate method
ShaneEP Moderator Online   content
MM club member
*****

Registered: 2002-11-29
Posts: 2100
Loc: Tulsa, OK
Does it need the ? if it is passed as a separate parameter? Maybe try something like...

Code:
$Computer = "Computer"

$IE = CreateObject("internetexplorer.application")
$IE.Visible = -1
$IE.Navigate("http://ebiz.sbc.com/dlssms/SMS/findmachine.cfm","","","workstation="+$Computer,"")
$IE = 0


Top
#113222 - 2004-02-03 08:26 PM Re: Internet Explorer's Navigate method
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
Nope I have tried that. I was hoping someone else had done this before. If all else fails I can hide all the bars.
_________________________
Kelly

Top
#113223 - 2004-02-04 03:18 PM Re: Internet Explorer's Navigate method
Stevie Offline
Starting to like KiXtart
*****

Registered: 2002-01-09
Posts: 199
When you POST form data it needs to be specifically formatted. http://support.microsoft.com/default.aspx?scid=kb;EN-US;167658 This is a VB sample.
_________________________
Stevie

Top
#113224 - 2004-02-05 05:07 PM Re: Internet Explorer's Navigate method
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
Thanks. I have been side tracked with SMS 2003 stuff. I will look at that later.
_________________________
Kelly

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 353 anonymous users online.
Newest Members
Praveer, Ollero, rayyo, Foxlicht, DonChild
17742 Registered Users

Generated in 0.032 seconds in which 0.012 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org