I am trying to launch IE. There are 2 different address depending on the environment you are in. I am getting an error "File not found"
Here is what I have for the code:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">Shell "C:\program files\internet explorer\IEXPLORE.EXE" & (WebAddress), vbMaximizedFocus</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">The WebAddress is passing the correct address, but I am not sure why it doesn't like this statement. I'm sure it is something really easy.
Thanks in advance!
[ 07-31-2006, 08:23 AM: Message edited by: xxwhocaresxx ]
You just need to remove the brackets from WebAddress and include a space separator to stop it running into the IEXPLORE.EXE part
Shell "C:\program files\internet explorer\IEXPLORE.EXE" & " " & WebAddress, vbMaximizedFocus
[ 07-31-2006, 09:39 AM: Message edited by: Bobbo ]
Thanks Bobbo. I knew it was something simple. I'm still trying to get the hang of this TP thing.
Try this, it will work...
Shell("c:\Program Files\Internet Explorer\iexplore.exe www.rediff.com", vbMaximizedFocus)...