Creating An Auto-Updating Application?
Jan 4, 2006
I have read through the following page: [URL]
Now I have my application and an installer project, which can install my application. how to make my application auto-update (from my web server) like a smart client. I've looked into ClickOnce, but it does not appear to be suitable as I cannot do any custom installation steps. My application needs to create folders and copy other files from the CD to the hard drive, which I don't believe ClickOnce supports. On the other hand, the Windows Installer does not natively support any sort of auto-updating. So what do I do?
I have read that it is possible to combine both technologies, but all my research into this has turned up nothing of use.
I've looked into the Updater Application Block (Version 2.0), but I'm not sure if this is what I'm looking for? I'm using Visual Basic 2005 and I'm not sure if the Updater Application Block supports .NET v2.0. In fact, when I tried to install the Enterprise Library, it said I need .NET v1.1??? Even if this is a possible path, I'm really quite lost when reading through the documentation as nothing seems to point towards practical examples, especially in Visual Basic.
I've also had a look at the System.Deployment.ApplicationDeployment class, but it seems as though this only works with ClickOnce applications. However, since I can't seems to use ClickOnce in my situation, this does not seem like a viable option. Is it possible to use System.Deployment.ApplicationDeployment outside of a ClickOnce application?
I'm really quite lost as to how other people produce custom installing applications that have auto-updating features. Virtually every modern piece of software does it, but I cannot seem to find anything on the web that points me in the right direction of how to achieve this with Visual Basic 2005.
View 11 Replies
ADVERTISEMENT
Jun 12, 2010
i was playing around with the visual basic 2008's project settings. I have 2 goals in mind
[Code]....
View 3 Replies
Sep 26, 2009
I'm looking for a way for copying a VS application files via HTTP and TCP? I mean I have published my application and now I am trying to find something like ClickOnce application that copies my updated files from my website to the clients' centers through HTTP and then locally to end users through FTP. I need to a source code or something like that.
View 2 Replies
Feb 24, 2012
I am currently facing an heavy struggle with architecturing my VB.Net app.To simplify, i'm using entries from XAML comboboxs, which all trigger OnChange the same routine which manages which Function(s) to use depending on which combobox triggered.The problem i'm facing is for example i have Function(ByVal A As String, ByVal B As Integer, ByVal C as Double, etc...), and it works if the routine calls explicitly for this function's result. But then if another combobox makes for example the variable B to change, then i have to add another "If sender= Then" check for this combobox and recall expicitly the function above (since B is one of its parameters)..In the end, my routine is loooooong like 24 checks with at least 4x duplicates of same functions..is there a simple way to make a Function autoexecute when one of its parameters change without having to be called explicitly by another routine ? (Like Excel formulas do when one of its references change)
View 12 Replies
Dec 17, 2011
I have a windows desktop application that I'm converting part of it to a windows service application. The win service pulls data out of one database and passes it to a central location via web services. I've got the windows service working, however I'm unsure how to add auto update abilities to it.
The windows service itself is basically an empty shell that fires off the data pulling, which resides in a dll that installs with the service. My original idea was to have the windows service do a version check and if needed download the new dll and overwrite the old one. The problem is the copy can't happen if the service is running (or paused). Herein lies the problem. If I have the service stop itself then of course it's stopped so no more code execution. The other problem would be how to restart it.
I'm trying to create something that is hands/worry free for my clients that way when I change/update the data pulling win service application they don't have to mess with it. I'm up to 300 clients now and I really need a solution that doesn't involve any user interaction.
EDIT: After more digging it's looking like this is a near impossible task. Another option would be to have a second service, one that just looks for updates and that second service can stop the first, update it, then restart it.
View 2 Replies
Feb 26, 2012
I wonder if it's possible to prevent Visual Studio (2010) from automatically updating code when I change control names? [code]...
View 8 Replies
Jun 21, 2010
I am using vb to make a hospital system which works with a access database. i am having an issue with the updating function to the database, this time round instead of hard codding the connection i used the connection/data source wizard, in microsoft visual studio 2008 and there fore most of the code has been auto generated for me, which includes the insert, delete and update funtions from what i can find and what i have read vb is ment to also auto generate this which it is not. the funny thing is that i can close the program down and reload it (as long as i haven't opened the database) and my changes are still there but if i go and open the database and it hasn't changed. also i can change the database through the use of the Dataset connections in the datasource tab but not int he program the code ive found and believe that is meant to update the database
This is running off a couple of buttons i also have a update query but have know way of accessing it
Me.Validate()
Me.TblPatientDetailsBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.PatientInfoDataSet)
View 1 Replies
Nov 5, 2009
I want to create a autorun program that doesn't need a autorun.inf file. Is there any way to do this?
View 3 Replies
Feb 27, 2010
how can i create and update mdb [ access ] files in visual basic 2008..and also if i have a dll library how can i get all of its syntax for using it in visual basic?
View 2 Replies
Oct 4, 2010
I want to create hypothetically infinite array lists each that can hold hypothetically infinite items. The name of the array list is "arraycalc". How can I perform a procedure that will create a new array list called "arraycalc1"... the next time after that the procedure is run and a new array list called "arraycalc2"...and so on and so forth.
View 6 Replies
Sep 18, 2009
I am trying to get vb 2008 to send an automated Email to a specified Email address with a new password code. Unfortunately one of the final few lines of code creates an error when run and I'm not sure why.I am using a googlemail account to send the email and I'm using the smtp port number for gmail so I don't know whether that will be a problem as I didn't know where to find one for googlemail (got the gmail one off a tutorial).
View 1 Replies
May 8, 2010
how to create a Auto repeated Mouse movement.I wanna create a Form, with a button "start 01" and "start 02",so if I click on "start 01" button, and i open my other applications, and once I hit the F1 button (on my keyboard) the mouse will auto move from point A to B, and it will keep on repeat until I hit the F12 button, then it will stop auto moving.and if I click on the "start 02" button, and II open my other applications, and once I hit F1 button (on my keyboard) the mouse will now move from D to E, and it will keep on repeating it until I hit the F12 button, then it will stop auto moving.
View 8 Replies
Jun 10, 2011
I'm currently housing a ListView on a single form, and then adding buttons to this ListView via code-behind. Everything works wonderfully except the fact that when there are too many items added to the list it doesn't create a vertical scroll bar? I can simply add as many buttons as I want to it without it creating one? Here's the code that adds the button to the list: [Code]
View 2 Replies
Aug 30, 2009
I want to create an application similar to "Windows Live Writer"(that is for blogs) but this one is for forums..This application is solely for my personal use only.I would like to have a facility where I have 2 text boxes--> One for username and one for Password along with a submit button.On clicking Submit I need a msgbox to display whether Login Succeeded or Failed, and depending he should be directed to create a new post in any particular section of that forum..Consider for now,the forum I am trying to do this is, vbforums.com..Its just like OFFLINE creating and then posting..I have already created forms,BBCode Editor, GUI for this purpose and want to start with Communication coding.I tried using Http request but based on its response I dont know how to distinguish between valid user and invalid user.
View 2 Replies
Mar 23, 2009
My idea is that i want to create a auto-shutdown app that will allow me to auto-shutdown after downloads have completed using IE6. Third part download managers have these built in for example however i would like to make one for IE download dialog. Any ideas on how do start. Detect when a download is active, set time, autoshutdown etc.
View 3 Replies
Feb 12, 2010
I'm writing VB code in Visual Basic 2008 Express and can't seem to figure out how to create a new instance of Excel with VB code. The most common answer appears to be setting an object variable to 'Excel.Application', but that gives an error (Type 'Excel.Application' is not defined).
View 1 Replies
May 24, 2011
Im trying to create a diary system that on click event of the built in calander in vb.net opens the current diary entry for that day. i am using the my.settings variables to store the entrys the problems i am having is how to create a my.settings variable automaticly if one dosnt exist for that date (will be using the date of the clicked day as the name e.g. 10/5/2011)
So basicly i want the user to be able to click through the dates on the calander and the entry be displayed in a text box next to it, blank if nothing is there and the user can edit/save them after just need the code to auto create and i guess how to search the my.settings im quite new to using this storage, i normally use text files. the pic shows the program so far, it has one diary entry but it has no relation to the date. the label is linked to the calander also , displaying the selected date.
View 2 Replies
Aug 11, 2011
im trying to create a diary system that on click event of the built in calander in vb.net opens the current diary entry for that day.i am using the my.settings variables to store the entrysthe problems i am having is how to create a my.settings variable automaticly if one dosnt exist for that date (will be using the date of the clicked day as the name e.g. 10/5/2011)so basicly i want the user to be able to click through the dates on the calander and the entry be displayed in a text box next to it, blank if nothing is there and the user can edit/save them afterjust need the code to auto create and i guess how to search the my.settingsim quite new to using this storage, i normally use text files.the pic shows the program so far, it has one diary entry but it has no relation to the date.
View 2 Replies
Jul 18, 2012
Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.
Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?
View 3 Replies
May 4, 2011
i have published my website...its a dynamic site..so i have database connectivity..now i want to make an application in VB to update my database using my application..i mean i do not want to login to the site and update my database rather update it using my application..i want to connect my application to the database of the published site and update it from anywhere i want using the application...is it possible??
How can i do it??Please point me to the right direction...its urgent.
View 3 Replies
Aug 20, 2011
've written a desktop application in VB.net which gets data from numerous serial devices and graphs it in a windows form. What I'd like to do enable remote users to view this data remotely from a web browser.
So, is it possible to add a webpage to a desktop application which could be dynamically updated from from my windows app or do I have to rewrite the entire application in asp, flex or silverlight so it can be viewed remotely via a web browser?I'm not familiar with asp flex or silverlight and have only developed desktop apps using vb.net 2010 on win7 and XP.
View 5 Replies
Oct 23, 2009
I have a windows Forms app that displays data as it scans.Once you alt-tab or remove "focus" from the app and doing something else (open word) it stops updating. In otherwords it looks like the app has locked up.But it will finish the scanning as normal.But any updates from the scans being shown on the app window are not shown, that is until the app is finished and catches up.
[Code]...
View 8 Replies
Jun 15, 2010
For school i have made an application in VB (Express 2010, .net v4) and when i try to run it at school it says that the .net framework needs to be updated.
IS there anyway of not updating the framework but still allowing the application to run?
View 4 Replies
Aug 10, 2010
I need to calculate in hours how much time has elapsed from when a record was created to the current time. The hard part is I need to exclude weekend times from this. I have been working on this for quite a while and I am just lost. Here is what I have so far.
[code]...
What algorithm in VB.NET would best suit this calculation?
View 3 Replies
Jun 21, 2011
I have a problem when updating an entity (User) in my application.
The entity is located in session when the user has been logged. So I made it:
Dim u as User = (From x in ctx.Users).First()
Session("user") = u
[code]...
I got the follow error:
An object with a key that matches the key of the supplied object could not be found in the ObjectState Manager.Verify that the key values of the supplied object match the key values of the object to which changes must be applied.
View 2 Replies
Dec 5, 2011
I have an application, where i want users to be update the folder content (i.e., files or folders with in it) through a vb application rather than directly.In my scenario i will create a separate user with full permission in the particular path to do this task.
View 1 Replies
Jun 3, 2011
I've added the necessary registry key to have my app run when windows loads:Hkey_Local_MachineSoftwareMicrosoftWindowsCurrentVersionRunMyProgram = c:MyDirMyProgram.exe..I've also tryed adding it to the ProgramsStartUp folder.My app still won't load when windows does. Other apps do, and I was wondering what might be preventing my app, and only my app, to not load. Is it Security? Trust Level? or what?
View 3 Replies
Feb 1, 2010
I've made an application and i would like to auto update it via my website.the only problem, its that i checked most of the tutorial on youtube, but none of them work correctly. I mean, when i press check, its check the Product Version but its appear me 1.0.0.0 but my application version is like 1.1.1.1...
Heres my code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim read As String = ProductVersion
Button1.Enabled = False
[code]...
View 8 Replies
Jan 26, 2012
First of all, I hope my intention is not missconcept.I would like to add an update from the internet mechanism for my newly VB.NET application.The idea is simple. That is, I ZIP all of the binary that need to be changed, upload it in my own hosting site, and download it using my Update Application, extract and overwrite the existing binary.
It works, quite well. But the problem is, the size of the binary itself is quite big (around 36MB). I am thinking of patches. That is, can we upload only the patch file, it surely make the download small isn't?
View 2 Replies
Apr 22, 2012
I'm wondering, is there a way to update databases of a windows application that is distributed on several computers all at the same time? is it done by using sql server? because I'm developing an examination system that will be distributed on several computers for students to take exams and I'm just wondering if an admin updates a questions database will the changes be applied to all other computers as well or should it be done manually? sorry if I sound stupid but I can't seem to understand this part of my work, I was thinking about switching to a web app since it seems easier, but again this data updating issue is giving me hard time. by the way I might link the application to an internal network, will this have anything to do with updating the databases?
View 1 Replies