sry its long, questions in the last sentance if u wanna jump to it. i just decided that i would include everything that led up to the problem
i made a gif video that i wanted to put into a program, and i couldnt figure out how to get it into VB6. finally i found out that the Microsoft Internet Control would play the gif file if i located it with "webbrowser1.na vigate" for example, so i did this. i decided it was working fine and the way i wanted it to, so i tryed to put this form into my actual program, but when i clicked on add form, from file and browsed for the form, when i tried to open it, it said error, then it closed and finished adding the form. after i linked my program to the form i just added with the videos, i tried to play the program to see if it worked, but when i did, it said error again, and said that the reason was because it couldnt find some .dll file of which the webbrowser control needed to run, then when i closed the error, it closed my program. from here i tried to get it to work with just the one form by itself again, and the same error came up when i tried to load the webbrowser control, so that wouldnt even load. then i tried to load the control in a completely new program, and once again it wouldnt load. i did some reading up about the webbrowser control, and found out that in order for it to properly work, the user must have a working version of internet explorer, and of course i did, as that was what i was using to find this information. SO, i closed internet explorer and used mozilla firefox to go to microsoft's website and redownload IE7. the download started and removed my version if internet explorer, restarted my computer and finished the installation, rebooted again and said it was now working. so i went back to VB6 and tried to use the webbrowser control again, and it actually loaded, BUT...
relating to my actual question, the webbrowser control now doesnt have a .navigate option, why is this??help would be greatly apreaciated.
4 4182 Dököll 2,364
Recognized Expert Top Contributor
... the webbrowser control now doesnt have a .navigate option, why is this??help would be greatly apreaciated.
Hello, dennijr!
I run IE7 and I have no problems. .Navigate stays in place. Here's a bit of code I stumbled upon recently, runs fine here: -
-
Private Sub Form_Load()
-
Dim loc As String
-
Dim Source As String
-
loc = App.Path & "\image.gif"
-
Picture1.Visible = False
-
Picture1.AutoSize = True
-
Picture1.Picture = LoadPicture(loc)
-
Animation.Width = Picture1.Width
-
Animation.Height = Picture1.Height
-
Source = "about:" & "<html>" & "<body leftMargin=0 topMargin=0 marginheight=0 marginwidth=0 scroll=no>" & "<img src=""" & loc & """></img></body></html>"
-
Animation.Navigate Source
-
End Sub
-
-
Do you know if your IE frame is corrupted? You may consider adding your code to forum for a closer look.
Sorry for your troubles!
Dököll
Thanks Much
3 things tho, first, what component do i use to get "animation.widt h"etc, and im not sure if IE corrupted or not, i think it might have been, but then i reinstaled it, so it should be working now, atleast it can find the correct file source now, im wondering if its maybe vb webbrowser control thats become corupted. theres definately nothing wrong with the code, theres basicly no code to mess up when it's its own solitary program, its just that my webbrowser control's navigate option doesnt exist anymore... that i can find...
hahaha, nevermind, its me thats corrupted...i just realized that when i tried to bring the information over, it transferd all of my webbrowsers to pictureboxes, but it still called them "webbrowser 1". its really dum, cause it didnt just make the one the pic box, it made all of my saves pic boxes... =S
Dököll 2,364
Recognized Expert Top Contributor
hahaha, nevermind, its me thats corrupted...i just realized that when i tried to bring the information over, it transferd all of my webbrowsers to pictureboxes, but it still called them "webbrowser 1". its really dum, cause it didnt just make the one the pic box, it made all of my saves pic boxes... =S
Happens to the best of us:-)
I use the Paint application (Start - All Programs -Accessories - Paint)
If you hover on a pic file and look to your bottom right you'll see the coords there. Also, on your menu - Image - Attributes, give it to ya...Good luck with the project!
Good of you to tell us what happened, it's nice...
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Shane Story |
last post by:
I am trying to add the Microsoft Web Browseractive X control to a vb.net
form.
I always get an error on the EndInit line.
Parts of the errors says:
"Unknown error"
"First Chance exception"
|
by: Alex Clark |
last post by:
Greetings,
(.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs).
I've decided to take advantage of the layout characteristics of HTML
documents to simplify my printing tasks, but of course it's thrown up a
whole host of new issues...
I'm generating a multi page printable document in HTML from my app, and
displaying it in a...
|
by: Prosperz |
last post by:
Hi,
I would like to make thumbnails of web page by capture content of a
WebBrowser. By example, capture http://www.google.com.
I used WebBrowser control with Framework 2.0.
I try this :
*************************************************
|
by: L. Chernov |
last post by:
Hello,
I am trying to work with .Net 2005 WebBrowser object,
and put it on a "Windows control library" (embedded in a user control class)
and then I
am executing it from an ASP.Net webform(with IE6) with the following object
tag:
<OBJECT id="ModPkiObj" height="550" width="800"...
|
by: =?Utf-8?B?bGpsZXZlbmQy?= |
last post by:
I am having problems interacting with flash objects (i.e., Adobe Flash Player
9) in web pages when using a System.Windows.Forms.WebBrowser control. The
flash objects always seem to display correctly, but when I click on a link
within the flash object the WebBrowser often fails to navigate to the new
page. If I use IE6 (from outside by app)...
| |
by: Ron Adam |
last post by:
Is anyone else having problems with the webbrowser module?
Python 2.5.1c1 (release25-maint, Apr 12 2007, 21:00:25)
on linux2
Type "help", "copyright", "credits" or "license" for more information.
True
It opens firefox as expected, but the url is ...
|
by: Antonio Ceballos |
last post by:
Hello,
I am trying to open a URL on a new browser or new tab from an HTML page
created from a python cgi script. On Apache in my localhost, it works, both
with Internet Explorer and Firefox. However, when I upload the script to a
remote server, it does not. A 500 Internal Server Error is displayed on the
browser.
The (simplified) piece...
|
by: jwmaiden |
last post by:
Have an application that opens up a webbrowser control to display data in an Excel spreadsheet (using VB.NET in VS 2005). No problem with opening the spreadsheet or displaying the data, but I'm having problems with repeating the process. I want to create an Excel spreadsheet, add some data to it, and display the results in a webbrowser control. I...
|
by: kimiraikkonen |
last post by:
Hi,
Just to test, i placed a simple webbrowser to login a site, this site
has no problems and has same error with IE6 SP2 but it's suppressed as
well and no problem with Firefox browser, but using webbrowser it
shows scripting errors:
There are a lot more sites that encounters scripting problems though
they work just fine in Firefox, a...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |