VS 2008 Detecting Existing Web-browsers Installed?
Apr 6, 2009
3 things , 1. how can i detect all the existing web browsers installed on the computer (IE , Mozilla ect'...) and put it in a combobox or something like that. 2. after i detect and select a browser , how do i launch that specific one? 3. how can i know which one is the default browser
should i see if the browser file exists ? ( IE7.exe, ect'....) or is there a more simple way ?
View 2 Replies
ADVERTISEMENT
Dec 15, 2009
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.
View 6 Replies
Mar 6, 2012
I currently have a property in my program which returns a true/false depending on if the program is "portable" or not. I need this to know if I should do a certain thing or not.
It checks if it is by checking if the registrykey the installer creates exists, here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MyProgram
(And under the Wow node if the OS is 64 bit)
The problem is, I am trying to get rid of the need for admin rights, and this is the last function that needs to be fixed. But I don't have a clue on how.
Why I want this property is because then I don't need two separate versions of my program (like a set property in My.Settings which I set before I build).
The only files that differ using the portable vs the installer is one file, but the reason why I don't want to base the result on the existence of that file is because I want to warn the user if it's not there (if the program is not in Portable mode), so he can reinstall the program.
how I can check if the program is installed by an installer, without using admin
View 1 Replies
May 13, 2009
I need to be able to detect which version of Excel I have installed in my machine from some .NET code I'm developing. I'm currently using Application.Version for that, but it doesn't give me information about Service Packs.
View 4 Replies
Jun 1, 2011
I have been trying for days now how to create a process to the user to easily create a connection to any installed data types they have installed. I have found an example right inside vb2008. I never use this because I code my own connections, but this would be real nice if I could include it or duplicate it.
View 1 Replies
Apr 14, 2011
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
[Code]...
View 10 Replies
Sep 10, 2009
I've thought long and hard on how to do this. Since I'm posting here, you see I haven't figured it out. I've found out how to login to a website with GetElementById, but I have another problem. I need to login with multiple web browsers. But when I login on the second, I can't because the session/cookie is already there. I thought usnig a proxy would work, but that just applies to both web browsers. Using the example below, would it be possible to apply this to only one web browser? Or make separate sessions for each web browser control?
[Code]...
View 2 Replies
Nov 24, 2009
how to detect when the "DEL" key has been pressed in a VB 2008 windows form?
View 5 Replies
Jan 13, 2010
I need to detect if any version of the .NET framework is installed as we are deploying a .NET 2.0 app via logon script (ie XCOPY deployment) to all PCs in our network. The .NET app will be set to start when a user logs in, so we need to determine if .NET 2.0 (or higher) is installed before we deploy the app otherwise the user will get an error each time they log in. Is there any sure fire way to detect .NET via vbscript or batch file? All of the results I have found on google don't seem to be that reliable.
I have recently written a program that detects installed programs in the same way that Add/Remove Programs does but the problem with this is that even Add/Remove Programs does not seem to show the .NET framework on all PCs that have got it installed (like my home PC for example, definitely has .NET 3.5 installed but its not in the Add/Remove Programs list).
View 9 Replies
May 9, 2009
I want to create an If End statement like so...
If (webBrowser is finished loading) then
do some stuff
End If
and it needs be within Private Sub tags so it can't be
Private Sub webbrowser1_documentcompleted
View 3 Replies
Sep 7, 2009
I need to know a way to detect if the mouse has been clicked anywhere on the screen. So as long the program I am making is open when the user clicks my program needs to do something. Please let me know as soon as possible if this is possible and how you do it.
View 5 Replies
Jan 12, 2010
I have a program that parses INI files (yes yes, I know, but I'm stuck with using them, not my own request), and it downloads external images (if the INI contains the path) to the program and cache's them.
Recently, I've run into a snag with the system. Most of the images use Imageshack for storage, but one of them has suddenly 404'd, and whenever I set it to the picturebox to the downloaded image, I get an out of memory error rather quickly (and the file itself is 1kb).
I guess I need to implement a checking system offline to find out if the image is actually an image or just a '404' text...but is there a way to not have to implement this clientside, and have it be checked when I download it?
[Code]...
View 1 Replies
Apr 7, 2009
how can i detect mouseclick outside the form (for example desktop)
View 5 Replies
Mar 17, 2011
I have been playing about with the WM_SYSCOMMAND Message and more specifically with the SC_SCREENSAVE parameter which is a cool way to pick up when the screen saver is activated as seen below:[code] What I can't seem to find is if there is a way to detect when the screen saver comes off.
View 4 Replies
Jun 14, 2012
I've come across involving a PictureBox.I am trying to create a quick Paint-like application, but I want something to happen in it. I want it so that when you draw or have drawn in a certain area of the PictureBox, you trigger events to happen (but they must only trigger once. This doesn't mean only one event can happen, it's just that each event can only happen once). How would this be possible to implement in my code I have now?[code]
View 5 Replies
Apr 11, 2010
While I print or preview a large bitmap, VB.NET show a small window with a cancel button.
I do I detect that the CANCEL button was pressed, so I can abort my PrintPage event before the current page is completely rendered?
View 5 Replies
Jul 27, 2011
Using .NET connector: [URL] A field is set in MySQL as:
decimal(6) zerofill not null
How can the "zerofill" flag be detected in VB?
View 1 Replies
Apr 1, 2009
I can detect the type of mouse cursor (normal, hand etc) inside the form but i need to detect it when the cursor is outside the form.
View 2 Replies
Nov 25, 2011
Im new to programming.I work for a research in Sri Lanka.In our research data is collected on windows mobile devices.I am the person who connects the devices(Known as JUNOs) and copy the data to the hard drive.But when Im not around others should copy the data.But they havent got IT knowledge.I want to create a simple software which detects the JUNOs when connected,show a message that a device is connected(Ex : JUNO1 is now connected),and then a button to copy and paste data to hard disk.(Ex: Press copy button to copy data)
View 4 Replies
Jan 21, 2010
I have a listview, and when you right click, it shows some things. I need to make it see if an item on the listview is selected. Is there a way to do this?
Like, this doesn't work, but in code it would be like
If listview1.HasItemSelected = true then'code here end if
View 6 Replies
May 22, 2011
Basically i want to send a created file over a local network via FTP. If the username/password/IP address is incorrect the application just crashes.
Is there anyway i can detect if the credentials are correct? etc.
Code I'm using to upload the created file is;
My.Computer.Network.UploadFile("C:lini.ftp", "ftp://" + ftpUser.Text + ":" + ftpPass.Text + "@" + ftpIP.Text + ":21/Usb0/launch.ini")
View 2 Replies
Sep 17, 2009
I would like the text in a button to display "hello" when it is first clicked, and "world" when it is clicked again. But I don't know how to write code to detect the second click.
==========================================================
Private Sub StartStopButton_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles StartStopButton.MouseClick
Button1.Text = "Hello"
[code]....
View 2 Replies
May 1, 2010
I've been using 'GetScrollInfo' to find the position of the scrollbar on a ListView and I can detect when it hits the bottom of the list. Is there anyway I can raise an event when the scrollbar changes? At the moment I have it working by using a timer but I would rather if possible create an event to fire my routine.
View 1 Replies
Nov 28, 2009
I recently installed vb express 2008 and with that download i also installed Sql server 2008. Earlier i have been working in MS Access so i have no experience in SQL server. My first problem is how to start sql server. I can see only following:
Start>All Programmes>MS SQL server 2008>Configuration Tools, Import and Export Data(32 bit)>SQL server configuration Manager,SQL server Error and Usage Reporting,SQL server Installation Centre. Moreover in Programme Files i have two folders:
1. MS SQL SERVER and
2. MS SQL SERVER COMPACT EDITION
how to start to create a database in SQL server with Vb express 2008.
View 2 Replies
Feb 27, 2010
I have a problem in detecting the 30 minutes interval in time scheduling like for example i have a combobox(starting_time) and combobox2(endtime) and I select there 9:30-10:00 it has 30 minutes I want to show a message box that I should be 1 hour.
View 12 Replies
Nov 11, 2010
I need to make a program in vb that takes a 1 page existing pdf that i specify and inserts that into another existing pdf that i specify.
View 4 Replies
Jul 8, 2011
I would like to know where the dataset designer is obtained for a vb.net 2008 appliocation I need to work on. Is this part of the initial install for visual studio.net 2008. If so, what part of the initial install will I find the dataset designer? Is this a plugin that needs to be downloaded? if so, what URL do I need to use to obtain the plugin?
[Code]...
View 2 Replies
Dec 2, 2009
I'd like to mention that getting a list of the installed programs via the registry is not a viable way to receive a full an accurate list. The two main areas where the programs in the registry are stored, are mainly MS programs. Some manufacturers put their keys here as well, but most don't. And since it's impossible to know where the manufacturer has stored the key, let alone the name of the key that would give the list and the uninstall capability, it's not ideal to use the registry.
That being said, I was told that there is a COM API that Microsoft has made and uses in the Windows OS and was hoping someone knew what that API is and how to maybe implement it in VB.
View 38 Replies
Aug 23, 2009
i want to make a webcam capture program but i want a msgbox to display if webcam is not found.
View 1 Replies
Apr 22, 2009
I'm trying to find a way to get all of the programs that are installed by accessing the information from the registry. I googled it and was able to find the following code
Private Function Getinstalledsoftware() As String
'Declare the string to hold the list:
Dim Software As String = Nothing
[code].....
View 8 Replies