|
-
Mar 26th, 2007, 07:07 PM
#1
Thread Starter
New Member
VB Question
Please help, I just got VB a few days ago. However, I've gone through the in-built tutorial, and I've created my custom web-browser. I have been able to add in buttons that work and perform right, such as working forward and back buttons, refresh and stop loading buttons also work.
However, what I cannot get done is get my status bar that I put in to actually show how far the page has loaded up. I can also not get my drop down menus to work, such as a file, edit, view, etc. Also, is it possible to set a homepage and add bookmarks, etc. to a VB made web browser?
Thanks,
~Warbirds
-
Mar 26th, 2007, 07:24 PM
#2
Re: VB Question
Welcome to the Forums.
Which VB language are you using? VB.NET or Classic VB (VB 6)?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 27th, 2007, 01:49 AM
#3
Thread Starter
New Member
-
Mar 27th, 2007, 11:00 AM
#4
-
Mar 27th, 2007, 02:25 PM
#5
Thread Starter
New Member
Re: VB Question
Well, SI. You could've at least helped with my problem instead of just saying you moved it...
-
Mar 27th, 2007, 02:28 PM
#6
Re: VB Question
No I couldn't - I don't use VB.Net! The best I could do is let the relevant people see your question.
-
Mar 27th, 2007, 02:31 PM
#7
Re: VB Question
Welcome to the forums.
You should limit yourself to 1 question per thread, and use thread titles that describes the problem more.
Progress question:
The WebBrowser control has a ProgressChanged event you should check out.
In the ProgressChanged subroutine you can use e.CurrentProgress and e.MaximumProgress to get the information you want.
You need to be more specific about your menu problem. What isnt working?
And for your final question; yes it is possible. Using either a database, or by creating a class to contain all information you need and serializing it to an XML file when it needs to be saved, and deserializing the XML file when it needs to be loaded. Search http://www.msdn.com for serialization
-
Mar 27th, 2007, 02:33 PM
#8
Re: VB Question
 Originally Posted by Warbirds
Well, SI. You could've at least helped with my problem instead of just saying you moved it...
As you can see, Si is a moderator (a super moderator even!) so thats his job.
-
Mar 27th, 2007, 03:09 PM
#9
Thread Starter
New Member
Re: VB Question
Arg. Thanks for the help, Atheist, and sorry, SI. 
I didn't make multiple threads because I don't want to spam. And about the menus, I click the button for a drop down menu, put it on the top left, and type in file, but I don't know how to add options under it, or even make them perform functions. Also, when I test it, the text vanishes from the parent box.
-
Mar 27th, 2007, 03:15 PM
#10
Re: VB Question
Ah, its alright to make as many threads as you want, as long as they dont contain the same question
In designview, just click the menu to make it popup, then just click it to add new subitems. It should say "Type here".
-
Mar 27th, 2007, 03:24 PM
#11
Thread Starter
New Member
Re: VB Question
Damn, the tips you gave me for making the progress bar won't work, or at least, I can't get the code in right. And I don't know how to actually make the drop down menu buttons do what they are supposed to.
-
Mar 27th, 2007, 03:31 PM
#12
Re: VB Question
Well if you have a progressbar, just do this in the ProgressChanged subroutine:
VB Code:
ProgressBar1.Maximum = e.MaximumProgress
ProgressBar1.Value = e.CurrentProgress
-
Mar 27th, 2007, 03:36 PM
#13
Thread Starter
New Member
-
Mar 27th, 2007, 03:40 PM
#14
Thread Starter
New Member
Re: VB Question
Not to double post, but when I put that in, this is what happened:
-
Mar 27th, 2007, 04:03 PM
#15
Re: VB Question
Yeah thats because you didnt put it in the WebBrowsers ProgressChanged subroutine
-
Mar 28th, 2007, 09:13 AM
#16
Thread Starter
New Member
Re: VB Question
Atheist can you perhaps make a pic of what it should look like? I cannot get it to work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|