i use SHDocVw to access current internet explorer and list the open websites and it works !but how can i access other browsers like mozilla or safari or ... to get open websites ?
In my project, have a module of getting the browser object or shell object of browsers. I got the Internet Explorer shell and dom objects.The main process to get browser object of all opened mozilla firefox and other browser except IE. The following code is to get access only all Internet Explorer objects, it works fine but require for Mozilla FireFox and other browsers
In VB.Net, how do I make a program to tap into the HTTP requests made by external web browsers? I don't want to edit or stop the headers, only 'read' them, i.e., access its contents. I'm speaking of something like Fiddler2, but I only want the 'reading' part. I also want to read the user-agent.
I am trying to find out some example or method to set the proxy directly to mozilla.The program which i am coding is simple.A textbox with proxy like 101.212.01.23:80 and a button to set proxy with one click.
I don't know at all how you would clear Mozilla Firefox's History in Visual Basic Code, I've Googled a lot, and I've seen questions similar to mine and they haven't ever been resolved.By the way I do know how to clear it, but not in Visual Basic code.
By History I mean: Cookies, URL history, Form data, etc.
i want to ask that what is the format of cookies last modified..Coookies of Mozilla are saved in[URL]..If we read it last accessed date of cookie is in format 1244272348453125.How to convert it to date..
I want to use Mozilla webbrowser component instead of the default IE webbrowser in my project. Recently, I downloaded the 'Mozilla ActiveX Control 1.7.12' and added it to my project but when I use the following AxMozillaBrowser1.Navigate [URL] I got the exception: 'Exception has been thrown by the target of an invocation.'
i have a dropdownlist which has a linq datasource ...and i have inserted 2 items "All Batch" and "Choose" from the codebehind manully...in case of mozilla firefox "Choose" is automatically selected as default in the dropdownlist but in case of IE6 the default selection in dropdownlist is blank but the items are there if we scroll the list.
I have a .NET login page. It works properly in Internet Explorer 7, but i want to make it compatible with Chrome, Mozilla and Safari.
The login code behind is:
Protected Sub btnLogin_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnLogin.Click {.................. ScriptManager.RegisterStartupScript(Me, Me.GetType(), "test", "login()", True) ........}
The ASPX page code is:
function login() { if(document.getElementById("ctl00_Sidebar_Contentplaceholder_Lo1_SaveFlag").value =="Y")
[code]....
This is not working. I tried to debug it, but in debug mode the cursor only steps through the code behind. I'm not able to enter the javascript login() function on the aspx page.
The web browser in vb.net is using IE or maybe its not even a web browser. Maybe its the primitive browser in windows that came before IE. Is it possible to change the browser that is used by the vb.net web browser (dragged from the toolbox)? Maybe through the add reference?
my code works fine in JavaScript but doesn't work correctly in Firefox or safari and wondering why. What I'm doing is I have a loop going through each element and depending on the variable inside a text box just want to alert something. Like i said earlier this code works fine in IE. Here is the code below:
Here is an example of text box:
<asp:TextBox ID="txtMac" runat="server" req="yes" errMessage="Mac"/> for (a = 0; a < theForm.elements.length; a++) { if (theForm.elements[a].type == "text" && theForm.elements[a].req == "yes") { alert("Made it here") } }
I'm using VB.net. I need to create an application that sits in between the browser and the actual internet. Basically, I'm creating an online game that will edit some webpages that are incoming so that they contain parts of the game (it's a kind of scavenger hunt). How would I create this?
Does anybody have any ideas for this? I've found nothing online. If you do know something about this, I prefer code examples and not just subjects. I tend to need big pushes in a direction to learn something new.
In our application, when you go to "Menu > Help...", it opens our help files in Internet Explorer, which is the desirable effect. However, we have the shortcut key "F1" set to open the help files as well. It still opens the help in Internet Explorer... but it also opens them up at the same time in the user's default web browser![code]...
I am able to create internet explorer instance by using SHDocVw.InternetExplorer, how to create instances for google chrome / mozilla fire fox / opera browsers.
I am making an antivirus program in VB 2008.Everything has gone well,but I am having trouble with web browser monitor.The following are the tasks of web browser monitor:
1 - Whenever the user tries to open a web page in any web browser,it must return the url and html code of the web page to the antivirus.In my program, i have the following function to check whether a given string contains virus codes
I have an application I made to monitor IP cameras. Right now I just have a button for each camera, so that when they want to swithc to that camera, all the user has to do is click the button to switch to that camera.What I would like to do is set it up so that I have multiple web browsers on the form, each one for a camera. However, the problem is that the actual video feed is in a small section of the web page, so the user would have to scroll to the right position for each web browser to be able to see the video feed.What I want to do is configure it so that when the page loads, it automatically scrolls to the right position so the user can see the camera feed for each camera (each in it's own independent browser) without having to adjust each browser.
Is there an easy way to get a list of the installed web browsers on the system (including the path to their respective .exe)? I have a web application which uses the Web Browser Control, but I would like to give the user the ability to view their web page in any of their other installed browsers.
i have a little company, where my employes work, wanted to know if they are not wasting time in my office, so i decided to make a little application to get history by all browsers, i tried and only could get from IE, but i need cross-browsers history at least minimum from Firefox + IE ?
Ashfaq Ahmed Web Programmer + Software Engineer of the world where nothing is impossible :)
I want to get the address of the browsers open(IE and Chrome) and test if the address is in a block list, if yes the browser is redirected to Access denied.html page..
I'm making a program that will allow people to enter a URL, click on a button and the URL will open in 6 different browsers. Now I can't figure out how to open a specific browser with a specific URL.
I know this though:
process.start(browserpath)
This will just open up the browser, but how can I open the browser with a specific URL?
So I wrote a program, which goes thru the authentication of a website, using a 'webbrowser' element within the program, however, when I want to open a page in an other browser e.g.: Firefox after I went thru with the Auth. in the application , it seems as there have been no authentication at all.
Do I need to set something with the cookies? Or how would firefox know that I am already logged on on another browser? all is in Visual Basic 2008.
I am trying to make a form that has 2 browsers in it. I want them both to be able to login to a site....say for example facebook with separate/different accounts and show the appropriate account info in the appropriate browser. I think it has to do with cookies, but am not sure how to set it up so that each browser uses a separate cookie to maintain info without mixing it up.