Jump to content


Photo

I need help with visual basic


  • Please log in to reply
3 replies to this topic

#1 jimar

jimar

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 13 May 2006 - 08:45 AM

im creating a web browser and learning VB but i need to know how to make the back and forward buttons not be available when theres nothing to goto and i also need to know how to make new window links open a new page in the browser instead of opening internet explorer so if anyone can help i wud be most grateful

Edited by jimar, 13 May 2006 - 08:46 AM.


#2 SatanicPenguins

SatanicPenguins

    P2L Jedi

  • Members
  • PipPipPip
  • 541 posts
  • Gender:Male
  • Interests:Photoshop, Web Design, Graphic Design, Internet.

Posted 14 May 2006 - 10:15 AM

Well on the first q, Command1.enabled = false. That will disable Command1 and grey it out. just reverse it with true to make it usable again. and not sure on the second one i never messed with browsers in vb sorry :google:

p.s. if you are using shdocvw.dll (Webbrowser1) it opened a link in a seperate window in my vb with default options, maybe i misunderstood the question.

Edited by esem, 14 May 2006 - 10:20 AM.


#3 jimar

jimar

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 14 May 2006 - 03:07 PM

cheers thts helped me alot

#4 NGPixel

NGPixel

    Senior Programmer

  • P2L Staff
  • PipPipPipPip
  • 1,410 posts
  • Gender:Male
  • Location:Montreal, Canada
  • Interests:Web Design : Coding : Animation

Posted 16 May 2006 - 09:56 PM

Normally, there's a sample Web Browser project where you can see how the web broswer component works... or you can always download some examples from VB code samples websites...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users