VS 2008 - Write A Script/program To Automate The Uninstall Process
Jul 26, 2011
We are currently changing our Antivirus program which involves uninstalling our current one first. That isn't a problem but we have several laptop users not in the building who might have a problem uninstalling programs.
It should be possible to write a script/program to automate the uninstall process I guess, but don't know where to start. Can someone point me in the right direction?
View 7 Replies
ADVERTISEMENT
Oct 13, 2009
i am trying to write a little program that checks for a process and kills is.here is the
Dim p As Process = Process.GetProcessesByName("Cheat Engine")(0)
p.CloseMainWindow()[code]...
My problem is it�s woking ,yes if the programm ,,Cheat Engine" is running the process is getting killed.But if the program is not running my program crashes.
View 5 Replies
Feb 14, 2011
I want to excute the uninstall command with VB.NET, but want to wait until the uninstall process finished like Control Panel, the Shell command seem not realize it.[code]...
View 6 Replies
Aug 27, 2009
I would like to make a program that will automate a couple things on a webpage. Here is the things I would like to automate:
[Code]...
View 2 Replies
Jan 4, 2010
I have been attempting to automate a process in a webbrowser control. When I attempt to fill out the form and submit, I get a false negative response (meaning all the data in the fields are correct but I am getting an incorrect response back from what I should be getting). I have determined that this problem is due to the fact that when I manually type out the data in the input fields a javascript is being fired. I know that you are able to invoke the javascript, but as I have no real knowledge about javascript and the script is rather complex I am stuck.
A temporary solution for me has been to use SendKeys, but this is no real solution at all. If the window loses focus, the entire process goes out the window. I cannot just use the .SetAttribute or .InnerText methods for the elements in the window.
I'm not sure if any of you are familiar with WatiN but I have used it recently while looking for other means to do what I need to do here. Watin works, but instead of allowing me to use an embedded browser object it shells new browser windows. Anyhow, with WatiN I am able to minimize or hide the browser window and the code will still execute. This leads me to believe that there is a way to simulate keypress events in a browser window while making sure that the specific element is the active element.
I have searched all over the internet for this (but am sure I overlooked a few things in frustration) and have yet to find a solution that works for me.
View 5 Replies
Jan 2, 2010
Is there any software to automate the process of creating vb.net windows softwares or asp.net websites. As i am new i want it to be created automatically. Or can anyone create the project for me? I will give the details and upload the files (if Present). I got this thought when i asked the following question:
My boss has given me a task to create an asp.net website. The website should take some data through text fields, combobox, etc.. and then generate a report and graph. Before they used to store the information in an excel sheet and then generate a report and graph. He showed me the excel sheet and the reports and chart (in pdf). I don't know how to do it.
View 2 Replies
Jul 2, 2009
I have a data bound DataGridView. The final column of this is for the last change date to see how new the data is. I also have a hidden label on my form that has the current system time and date. I am wondering how do I take the date that is on the label and insert it into the column for the last change date on the datagridview when ever a new row is added. This way it automates the process of putting the exact time that row was added.
View 15 Replies
Jun 23, 2011
Have a VB.net application that installs initially from CD and then when the user gets into the internet the application updates. In order to better support problems with this application is has been suggested in the past to uninstall it and do a fresh re-install. However, in investigation it was determined that the uninstall does not consider all installed objects and does not uninstall the CD install.Can the uninstall functionality be modified to catch the other instances of this application and also uninstall them?
View 11 Replies
Feb 2, 2009
I am trying to automate a process I do with a bank with vb.net. Basically I need to open a website and navigate through it (Automatically through the program obviously), enter a batch ID and enter a file path and name. For some reason when I get to the part where I need to enter the file name and path, it simply will not populate the text. I have attached a word document with screenshots and code. The only difference I can see, is that in the bank website's code the the input type for the file text is "FILE" rather than "TEXT" as it is for the batch id...
View 3 Replies
Jan 25, 2012
I'm looking for any references on the best way to perform an unattended uninstall of a product using VB.NET. The product was installed using Windows Installer and the product name is Dell Kace Agent. I would like to perform the uninstall within the VB.NET code.Here's a VBScript that uninstalls a product using WMIC. This could be converted to VB.NET fairly easily, but is there a better way to perform a uninstall within VB.NET code than querying WMIC? I would rather not use WMIC to perform the uninstall maybe get the uninstall string from the registry?
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\" _
[code].....
View 3 Replies
Dec 14, 2010
How can i add a program to the add/uninstall program list? using vb.net
View 2 Replies
May 1, 2009
I've taken MS 4994A (Intro to VB.net), and am studying for 4995A (Advanced Intro to VB.net)Previous experience with VB6 and C++ tells me that the way to do it would be to create a program that will accept a list of computer names and check the registry one-by-one (I'm open to suggestions, though, of course). If it finds the program we're wanting to remove, it will remove it, then automagically install .net 2.0 and the .net version of the programs that were just removed.
View 1 Replies
Jun 12, 2011
If there is any way to uninstall program or uninstall program from add/remove using vb.net codes?
View 4 Replies
Jan 27, 2010
how to add the Uninstall option in the Start--> Programs, during setup and deployment of an application?
View 4 Replies
Jan 7, 2006
When I try to make a new workbook from excel it doesn't work and returning the following error[code]...
View 6 Replies
Oct 16, 2010
I am trying to create a standalone tool that has a subject and body which will then send an email through outlook automatically without the user needing to do it through outlook.
It is to be used in a company with networked systems running 2000 outlook.
View 15 Replies
Jun 15, 2009
how i can write a program to create a shortcut in the startup folder of a different program. So i have one program on my computer that should run at startup, i just need another program to create a shortcut to it, and then copy this shortcut into the startup folder.
View 20 Replies
Aug 14, 2009
I am new to vb 2008, but I know how to automate some html elements. The issuse that I running into is that I cannot get my webbrowser1 to auto-click the "Gmail" button at the top left of the page or the "Show me my account" button on the righthand side of the webpage. Here is the webpage that I'm trying to auto click: url...Can someone please view the html source and give a code sample to click either button so that the page can then go on to the following page?
View 7 Replies
Jan 5, 2010
I am trying to launch a program using System.Diagnostics.Process.Start("C:Program FilesFrets on FireFretsOnFire.exe") but the program always fails - the program generates an error log - so its obviously trying to start - ive included the log text but i doubt it will be useful.
Traceback (most recent call last):
File "FretsOnFire.py", line 45, in <module>
File "GameEngine.pyo", line 23, in <module>
Yet it runs fine when double clicked? why i can launch it from explorer but not from my code
View 3 Replies
Aug 24, 2009
I want to be able to disable Alt+F4 and the X button. I was able to do that, but it disabled Close() too. I want my app to be able to terminate its own process. How would I do that?
View 2 Replies
Nov 18, 2008
I have VB6 and i want to install VB.NET 2008 without uninstall VB6. Is possilbe? Can i works correctly both?
View 1 Replies
Aug 18, 2009
Using this example how would I go about updating an XML file using this example[code]...
View 5 Replies
Apr 29, 2009
I'm in the process of developing a construction estimating program with vb 2008. Most of the programming I'm able to work myself through, but the problem and question that I have is I would like to incorporate a part of the program where I can import pdf, jpegs, tiffs of blueprints and have the ability to then set the scale, take area and length calculations, and basically do quantity takeoffs.
View 8 Replies
Dec 27, 2009
I want to be able to read and write the process memory of Firefox for a game on facebook(It's kind of like cheating only you can't cheat, nothing stays permanent.) this is just for fun. The game is called happy fish aquarium and you raise fish in the game and it's just really addicting. I found a program that reads process memory and lets me change certain values in happy fish aquarium so I can make my fish tank look different or whatever. But if I reload the page it will of course go back to the original state because the fish tank's memory is held online. The point is, I just want to make a program that can read the process memory from Firefox from a certain range and bytes. like 4 bytes and a range of 00400000 to 7FFFFFFF. Does anyone know how I can achieve this? Please note, this is not for cheating purposes in any way whatsoever, it's simply for visual fun(visual meaning only I can see it). What I want to do is the same as using the add-on firebug in firefox to change the html on a webpage.
View 10 Replies
Jul 7, 2011
Is it possible to run a external program/process example notepad in thread of you vb application?
View 2 Replies
Apr 4, 2011
I use Project Setting in visual studio 2008 and everything works correctly and save my information when the application is closed. However the information it lost when the application is Uninstalled. The information is not available with my new install.how to keep Project Settings through uninstall and installs!
View 4 Replies
May 26, 2009
I've created a program that creates a registry value when it is run, and when this program is uninstalled I need it to remove this registry value if it exists. So I wrote a little command line VB.NET program that simply checks for the reg value and removes it if it exists and I added this to the Uninstall section of the Custom Actions tab in the Visual Studio deployment project that I created for this app.
I know that the command line app works because if I run it myself manually it deletes the registry value, but when I uninstall my application it does not remove the registry value so obviously this command line app is not being executed.
View 1 Replies
Feb 21, 2011
I have a program that starts another program after setting the regkeys basically the program continually syncs the calandar of outlook and another application.I set the regkeys than launch the c:sync.exe app. I have tried a simple process.start and launching the process as a thread and they both do the same thing: The other process starts and works as it should but my main program goes "White screen" or "not responding" until the process.start has exited.
I want the process.start to run in the background so if users click in my main app it responds and truly that they can access the context menu of my main app from the taskbar while the process.start is running.
View 5 Replies
Mar 9, 2010
I looked all over the forum posts here and didn't see the answer to a question concerning iframes within the webbrowser control (there were similar issues however). The forum has a classifieds section that allows members to post threads daily. I have a message that I like to send once every day to a forum and decided that it would be best to achieve this programmatically. However, I noticed in the visual basic 2008 webbrowser control, that it doesn't seem to automate the iFrames within the browser using the htmlelementcollection codes.
[Code]...
View 8 Replies
Apr 4, 2010
what are the codes in Visual Basic 2008 to auto post to forums using either the webbrowser control or HTTPWebRequest method. The forum that I'm trying to automate is www.blackhatworld.com (just an example site). basically, show me how to automate the login and post a new thread with only a click of a button.
View 1 Replies