VS 2010 Auto-delete Chrome History On Startup?
Jun 30, 2011
where Google Chrome history is stored? I would like to make a console application that runs on startup that empties the file. I doubt it is plain text, most likely xml, so I would like a few code snippets as I have never worked with xml before.
View 10 Replies
ADVERTISEMENT
Oct 20, 2010
here is what I'm trying to do (partly in pseudo code):
Public Sub KillProcess(ByRef strProcessToKill As String)
Dim proc() As Process = Process.GetProcesses
For i As Integer = 0 To proc.GetUpperBound(0)
If proc(i).ProcessName = strProcessToKill Then
proc(i).Kill()
End If
[Code]...
The killprocess part works fine. However, if I try a "For Each App As Process In Process.GetProcessesByName("chrome"") approach and have several chrome windows open then it will display the question 5 times if there are 5 chrome processes open.
View 4 Replies
Oct 30, 2009
I am currently working on a Web browser and I want to make a button to delete the browsing history. I found the file URLHIST.TLB but I cant Register it.
View 2 Replies
Aug 13, 2009
what a good code to delete my "Webbrowser1" cookies (not my IE7 cookies !) I would also like this program to delete the Webbrowser1 History & Temporary Files as well, but mainly the cookies. I would like for this program to either delete cookies by a simple click of a button or to set a timer that can erase the cookies every few minutes. Also, if it could show the current cookies before being deleted.
View 5 Replies
Jul 12, 2009
I have a checkbox "Run at startup"
Private Sub chkStartup_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkStartup.CheckedChanged
If chkStartup.Checked = True Then
Dim AppPath As String = "C:Documents and SettingsSamMy DocumentsVisual Studio 2008ProjectsImageShack vb.netImageShackAPIWrapperClientobjReleaseWebRequest.exe"
[Code] .....
Works great but, what happens when I want to release it? How can I get the application to auto find its apppath??? So I dont have to write C: .....
View 3 Replies
Aug 22, 2011
Is there a way to delete my running appliction ?I've tried it with:
Kill(Application.ExecutablePath)without success.
If this ain't possible is there a way to delete the file at the next startup of the computer?
View 1 Replies
Aug 2, 2011
Has anyone got some source code or advice on getting my app to be able to list all autorun items i.e. from HKLM/Software/Microsoft/CurrentVersion/Run (and other locations) and the start menu start up group - same sort of info as say msconfig or autoruns
View 8 Replies
Mar 25, 2010
I'm using visual basic 2008 and really need help in this question ...
-I'm creating a web browser : how to stop adding pages to Internet Explorer History...
-And auto save/open Listbox (so i could use my own browsing history)
View 5 Replies
May 24, 2012
i am currently new to visual studio and am working on a small project for an it database. I am using a dataset connected to SQL2008, what i am struggling with is i would like a save button to check to see if any changes were made before the form is saved and then if any are detected then send it back to another sql table called "LogDetail" as a history, i hope that makes sence? I have two tables called "NewDetail" and "LogDetail".
View 1 Replies
Jun 8, 2011
I'm creating a small tool for our team that performs backups of our servers. The plan is to put the tool in a central location so that anyone can use it.I'd like to store, somewhere, the date of the last backup for each server. I was wondering if I could use an application settings (with Application scope) for this? Is this bad practice? If so, what's the best practice? XML? text file? registry?
View 6 Replies
Apr 29, 2012
I have a listbox that keep creating empty items due to appending text from a textbox that reads a text file. Could I have it just remove any empty items on startup?
View 1 Replies
Oct 18, 2010
I am having Syntax Error problem with the Insert and Update statement on using VB and Access that is having an AutoNumber that works also as Primary Key, the below is my code for it. I can do the insert if there is no Auto Number but if it does have, my code is not working. For my delete, when i RUN the below code, it wipes out all my my data inside my
Update
Dim strsql2
As String = ("update visa_block set(@utilized, @balance) where @id")
[code].....
View 1 Replies
Nov 16, 2006
how I can develop an Auto update for my application? I know how to download the new file but how can I delete the current file and replace it with the new at the moment that the old file is running?
View 10 Replies
Mar 16, 2011
I'm trying to delete a number of records in a table from the last and forward. My idea is to use sql like this: delete top " & variable & " * from table where ID = something It gives me a general sytax error. Is it at all possible? Fuga. Edit: I also have the order by statement there. I just forgot to put it in the question.
View 5 Replies
Jan 21, 2011
I'm currently making a Web Browser, and I was wondering how I can save History after I close the program/form and clicking on the site I visited last and navigate to the link with a single click?
View 2 Replies
Jun 20, 2010
I can hide my startup form (or make it appear hidden) on startup. I can start my app on windows startup--through registry values--if the user checks a checkbox.
But if the app starts up on windows startup, I want the form to be hidden, so the program can just keep working without bothering anyone. If it starts up because the user started it, I want the form to be showing, because the user probably wants to change some settings or something.
View 8 Replies
Mar 25, 2011
I'm working with an Treeview and i'm new at it and i have 2 questions.
1. How can i save the treeview items, to settings (my.settings.history)
2. How can i save the treeview items as an TXT or XML file or another exception.
View 13 Replies
Feb 9, 2011
I have a form in Visual Basic, and the size of the form is: 211, 49. And when the form Loads, It loads to the top / left of the screen. the form has no border. How can I get my form to load top / right of the screen.
I Have tried changing the properties, Start Position to Manual, And then changed Location 0,0. but what if someone has a different size screen than mine.
View 4 Replies
Apr 2, 2012
I developed an application in Visual Basic 2010 Express which has two features:
1) It is portable and uses some .dlls which must be in the same folder
2) Requires Administrator in order to run
I want my application to run on windows startup. So i created the registry string value and made some tests that gave me the following results:
1) Windows XP -> Runs on startup without any errors
2) Windows 7 Starter -> It simply ignores my application
3) Windows 7 Premium -> The run confirmation box from unknown publisher appeared and when i selected to run, AVG gave a virus warning
4) Windows 8 Consumer Preview -> It simply ignores my application
View 3 Replies
Feb 15, 2011
today i tried to run visual studio 2010 but the program crashes at startup. here is the detail:
[Code]...
i have search over the internet it seems there is not much information about this kind of error. i tried reinstalling vs 2010 but it doesn't work either. yesterday i installed microsoft office 2010, does it have anything to do with visual studio? another thing that i have to mention is that i had visual studio 2008 installed too, when i opened that it says something like " invalid licence ". so uninstalled it but it didn't solved the problem. so can someone say what the hell is the problem about ?
View 3 Replies
Aug 12, 2011
I'm trying to make a program that will open a first-run form when the program is run for the first time. I'm planning on just using a setting in My.Settings.VariableName to keep track of the boolean value. My problem is that I cannot figure out how to choose what Form to open.
My first instict would be to use a Sub Main() as my program instance, and then choose and open forms from there, but I can't find a way of doing it. and Many a post suggest not doing it.
Second I tried using ApplicationEvents Myapplication_Startup, but this makes the form pop up before my splash screen, and doesn't stop my main form from showing.
View 2 Replies
Mar 4, 2010
How to make an Application to startup at the system startup? and How to enable and disable?
View 6 Replies
Jan 26, 2011
The version of Microsoft Visual Basic 2010 Express Edition that I downloaded never started up the whole time. It always shows it's Splash Screen and then shows a error message that says Cannot Create Window and it never continued. I need to work on the new technology, VE powered by Microsoft Visual Basic, and VisualPower powered by Microsoft Visual Basic .NET. I need help on this. Please help!!!! Only Microsoft Office 2003 on Windows XP Service Pack 3. Installed with a few MB left.
View 1 Replies
Jan 14, 2012
I haven't used VB in decades and I'm restarting with what I thought would be a simple program. I have two fields on a little form, both of which display a date (dd/mm/yyyy). Field1 is an entry field except on load where is contains a date calculated from field2 (which is 'now' upon application load). Field1 is 'now' + 10 days. This is the default state.
Once loaded (with the data described above), the user can input only in field1. Field2, an inactive field used only for display, is field1 - 10 days. After 15 seconds, fields 1 and 2 revert to their default states as described in the first paragraph. I'm getting all messed up with the 'on load' state. I'll start playing with the timer once I get the initial stuff done.
View 6 Replies
Dec 16, 2011
I'm checking if the application needs to update before the user starts the software. But, they have to enter a few items of data and then press enter. When they do, if an update is available, the application closes, my update app runs and then the new version is opened. I want to just update when the application is loading, so they don't have to waste time entering data if the application is just going to close anyway. But when I run the block of code to check for updates, I get an SqlException.
[Code]...
View 5 Replies
Jul 14, 2011
I want to get the all URLs of any open browser using vb.net desktop application...[URL]
View 5 Replies
Apr 6, 2012
I'm using vb.net. How can i import bookmarks from Google Chrome?
View 3 Replies
May 3, 2012
I'm newbie and learn in vb.net 2010
i ve plan to create simple browser using vb.net[code]...
View 1 Replies
Oct 30, 2009
I have files stored encrypted on disk in an unnamed, unordered state. when the files are downloaded by the user, the client is redirected to a download handlers (.ashx) the data is loaded into a stream, decrypted and sent to the client. Now this has worked fine until recently,
It works fine on all browsers except chrome where the file is downloaded as a .gz file and is unreadable?
I have stripped out the stream fetching and cryptography parts for brevity (keep in mind this works perfectly on IE, Firefox etc)
Private Function StreamFile(ByVal context As System.Web.HttpContext) As Boolean
context.Response.Clear()
context.Response.ClearHeaders()
[Code]....
Note that the filename is codekiwi.txt and the contents are some simple plain text, the file gets saved as codekiwi.txt.gz and contains gibberish.
View 1 Replies
Feb 11, 2012
Is there any way to embed chrome inside .NET application?
At the moment I am using Internet Explorer in my VB applications[code]...
View 4 Replies