I don't like to build myprogram to a click-onceapplication becauseI lose the .exe and I don't know how to edit it after building it. So unless someone this, here is my main question:I was thinking about updating a .txt file that have uploaded somewhere that has the current available version. Can I use streamreader for an online file? And if so, if the available version is updated, how can I edit the code and everything to updatethe file?
As most programers will want after spending a long time on a program is to implement program updates, so have i.
What i want is a nice simple way of doing the following check if file exists as "www.mydomain.com/program/install.exe" if true, download and launch install.exe on completion, un intstall current vertion ( if possible )
I am making a calculator application that's in beta and will check for updates every so often. What I'm asking is if its possible to make a program check for updates.
Alright, when I open my program I want it to check for updates and if there is an update I want it to download. So far I have a text file saying the most recent version and then it downloads that file and compares it to the current file version. If the current file version < recent version then it will download the file. :O Can someone help me with the code? :3 I have a hosting server with direct download links.
I'm unsure of how realistic it is for this to work but I know a lot is possible in vb. I have an application called WindowsPRO available from my filesharewebsit This application is intended for those in school to easily be able to do several daily tasks such as calculate and use notepad within one window. I have been working on this application in part with the help of MSDN.Back OT, currently when I click the "Check for updates" I use process.start to open my website. Not very complicated is it. What I want to do is open a form in whichchecks for the update from my site. Whenever I upload a file, I'll upload it as a .zip onto my site and always name it like: "Application name v1.0" or whatever the version number is. That is the only thing that changes.
When the user presses the check for updates, I want to checkhe site in background for a "higher" version number. If my application is v1.2, I want it to check for anything higher than 1.2. So if I have on the site 1.2.2, or 1.3, I want it to check for the highest number version and download it.My question simply is, how do I check for a "higher version" from a website?
how to check if a field( a cell within a database for talk sake date of birth) has been edited in the past then flag it now this field may not be change for a year but how do i keep a record of that and the flag it if it is change.
I have a program with commercial uses. Currently I have email out updates. I would prefer that when the program loads, it searches for updates either from the web or I was toying with the idea of creating a file host server. I want the program to search for updates without opening a web browser, however (giving anyone power to email out a free download link). I think of the way Digsby opens, checking for updates, or gimp. This is what I want.
I have created a backup script which my organization uses to back up a specific set of data weekly, to a server, by clicking and running the app.I am always updating it/ improving it and instead of redistributing to the select employees there has to be a way to code in a "check for updates" type of thing.
I was wondering how to make my created app check with that server to see if i am running the latest version.
How do i incorporate a "version" in my app, or would it just be a naming convention thing? and how do i check for updates? Would a button being selected to check updates be preferable? or is there a way to auto detect it?
I can get the program to easily, upon startup, look for updates and then install them. I want to have a button that the user can click that will check/install updates.
I'm trying to make my app check for updates by reading a text file and comparing it to a 'currentversion' setting in my application (or if checking the executable file version is easy, that would be good).
Here are the basic steps: -Read text file hosted on [URL]..-Check if the version number (eg '1.1') is higher than the number in the 'currentversion' setting or the executable file version (whichever is easier).
-If the text file version number is the same, change form background colour to green, if it is higher, change the background colour to red.
I remember seeing a tutorial a while ago about making your application check online for updates..I did this a year or two ago but have since lost my example. Can someone explain how you do this or supply me with a link if you know a good tutorial?
Okay so i made a small code that my application can check for updates onstart time. The problem is that it freeze up the application. How can i make it work faster.
1). Whats a server? are they web based or locally on a pc?
2). I've made a program and want to make updates for it and put them on the web for download, Do i need a server to do this?
3). How do i make updates work on visual basic 2008, i mean ive made a program and i want to put it on the internet but i also want to bring out updates, apparently i can use visual basic to automatically download updates and install them. What do i need to do this? where can the updates be downloaded from on the internet? will a file share like rapidshare work?
I have an existing xml document with music playlist information, which is read into a GridView control in Visual Basic. I am now wanting to save any updates in the GridView to that xml document.[code]...
Tried searching and found some related issues but none exactly like I was having I iterate thorugh a DGV and write to one of the fields of the row. After it writes this field, I do an update() command.
When windows starts, my app starts. Whenever my app is running, it hides the desktop, taskbar, etc... When a button is clicked in my application ("Start program"), then my application will set its visible property at false and another application will start.
Everything seems to work perfect except I need a way for my application to set its visible property back to true, but only once the other application that was started earlier, is closed (no longer running.)
My thought was that I could use a timer to check for the applications state every so many seconds:[code...]
I have 2 concerns with this:
1. A timer checking this every few seconds will invoke unneeded stress on a computer since they are running for sometimes very long periods of time.
2. There is a better way to accomplish this that doesnt rely on a timer.
I am creating a program that will check if a program is running, by checking its window title (NOT THE FILENAME, ITS WINDOW TITLE) and seeing if it is currently running. So far I was only able to check if the program was running by its filename
I'm making a program in VB to check if a certain program is running, and if not, to start it up, because I'm hardly ever at my computer and sometimes the program that is being checked for existence tends to close down often, so I need something that will check for the existence of the program in question, and start it if it's not running
I have a program that 10-20 people use throughout the day. Because things are rapidly fluctuating I occasionally have to take the database offline, or restart the server for other reasons. I'd like to have a better way to make sure no one is currently in the program than walking to each person and asking them.
I don't want to re-invent the wheel if something like this already exists.
The thoughts I had were:
Create a database "history" entry each time users open or close the program to see who is currently using the system. Use WCF to have the clients "tell" the server that they are connected every X seconds.
I want to copy a file but I do not what to copy it if it is being written to so, I want to see if a file is in use. I have tried 2 different code snippets
1) This one works if my file is open with MSWord (anything that creates a temp file while writing to it.[code]...
I'm using VB.Net 2005 Pro and want to be able to check if a particular program is installed. I've seen lots of ideas about checking files in the program files folder or scanning the registry for keywords but none of these seem particularly foolproof. Is there a way to get a definitive answer to if an app is installed?
I'm working on a status monitoring program for my company and we need to be able to know if a process on a remote machine is hanging due to not responding (that I can do) or if it's thrown an unhandled exception. I've tried a number of things from checking the CPU usage of the process to checking if the process has gone idle. Nothing has really been reliable. Is there anyway to do this? All the programs we'll be monitoring are running on either .NET 3.5 or 4.0.
I'm launching an Access ADE, using Tony Toews auto FE program. The AutoFE programs will, if newer version available, copy the latest version of the ADE from the server, then launch it. My code looks like:
Dim stAutoFE As String = "V:Appsautofestartmdb.exe /cmd /inifile: " & """" & "V:AppsAutoFESSP.ini" & """" Shell(stAutoFE, AppWinStyle.Hide, True) System.Threading.Thread.Sleep(1000) ' Time delay
[code]....
I had to put the Sleep delay in, otherwise the GetObject would open the ADE a second time.But I don't know how long the copy from the server will take, so I need to remove that Sleep line and check that the ADE has opened.