Update Application On User PC?
Jun 12, 2011
I have an application X version 1.0 in Visual Basic 2008 and forwarded through setup installed on a user's PC. In this application was in these settings:
Imports System
Imports MySql.Data.MySqlClient
Now you have a link to webshop and uses HttpWebRequest. There fore I added the following settings :
Imports System.Net
Imports System.Text
Imports System.IO
[code]....
Now I have application X version 2.0, Build with Visual Basic 2008 My question is how can I get the application X version 2.0 application on the user PC so that these settings will be available? This application X version 1.0 is for several months in use!
View 9 Replies
ADVERTISEMENT
Aug 10, 2010
What is the difference between vb.net application and asp.net application? How can I publish an ASP.Net application with database residing in the server and user could update that through internet?
View 2 Replies
Aug 7, 2009
Is there a way to make an update for your program that the 'user' can update the app without re installing the whole program?
View 1 Replies
Aug 7, 2009
in vb.net i am trying to save application settings but for USER but i cannot find the user.config file
when does this file get created?
i searched my entire hardrive. i also searched the entire project.
View 2 Replies
Aug 30, 2010
How can i close my vb.net application when user shutsdown, restarts, log off or switches user?
View 6 Replies
Aug 26, 2009
I am designing a fairly small application to manage a waiting area for a clinical department. There will be a receptionist who books appointments and updates exisiting appointments to say that a patient has "Arrived". In seperate rooms will be nurses who call patients who have "Arrived" and update the appointment as "In Session" and finally as "Discharged". The appointments are viewed in a flexgrid with nurses across the top and time down the left, patient names are displayed at the relevant times and the cells are shaded a colour to represent the current appointment status ("Booked", "Arrived", "In Session" and "Discharged").
I am using SQL Server as the back-end and Visual Basic 6 (I know) as my front-end.I have been told that there will be 2 or 3 nurses plus the receptionist logged in to the system but I would like to cater for growth.My question is what is the best mechanism to use in order to reflect the status change made by one user on the screens of the other users currently logged in?
I have been thinking about using a timer to refresh the data at a set interval but I do not want to keep hitting the server excessively (although what is considered excessive? we would be talking about a call for data every 60 secs per user). Plus the server could be serving data for many other applications so this is another consideration.Alternatively I have been thinking about sending some kind of message via Winsock to the other users notifying them of data changes as they happen. I don't have a lot of experience with this and am concerned about clients not receiving messages and users seeing old data. It also seems strange to me that once the days appointments have been retrieved from the database that "in theory" a client could go the whole day without having to query the database again to pick up changes - kind of scary.Some information on the data:We would probably be looking at around 100 appointments per day We capture patient name, date of birth, date and time of appointment and appointment status.What is the standard approach / best practice for this kind of scenario?
View 6 Replies
Jun 13, 2010
How can I do it so every time the user loads my application it will automatically (without prompt, or user selecting) upload all the files in a folder i select beforehand and add them into ListBox1
View 16 Replies
Jul 18, 2011
I'm running an application under an account that is not the account logged-on to the PC.
Within the application I need check if the logged-on user is a member of the Administrators group. Below is the code I'm using. From what I've read, WindowsIdentity.GetCurrent() should return an object associated with the logged-on user. It doesn't, it returns the same information as the call to System.Threading.Thread.CurrentPrincipal. Which is the information associated to the ID running the application, not the logged-on user.
[Code]...
View 8 Replies
Jun 5, 2010
I am attempting to create an application in an attempt so it could be run as the user and preserve individual settings, by this what i am trying to achieve is when the application is installed, it is installed once but each user has their own settings saved within their own profile - a bit like Office applications. How could i start with this?
View 8 Replies
Jan 6, 2010
I have a few programs published via ClickOnce. These are highly specialized programs, and are only used by a relative handful of people, but the set of users is likely to change, and is spread over a fairly wide geographical area. The major advantage of ClickOnce....ok, for me, the ONLY advantage of ClickOnce, is that I can create updates and have them (mostly) installed when the end user runs the program. Over the brief time that I have used it, I have encountered these aggravations regarding ClickOnce:
1) The application can only be installed on a user by user basis (it can't be installed for all users at once). I understand why this is done for a general solution like ClickOnce, but it is certainly an aggravation.
2) Updates don't always appear to happen. Usually, the updates do happen when a person starts the program, but a fair number of times, the update isn't noticed, or recognized, or something. This causes the user to continue with the old version, which makes them think that I didn't fix the bug they had, which causes them to give me a raft of excrement, which results in me flipping them the bird. Much hilarity ensues (fortunately, I'm friendly with my entire user group, so this is a fairly accurate acconting of the sequence of events, except that I just laugh at them rather than replying in sign language).
3) Certificates expire in a year. Certificates are a great thing...for some situations. In my case, an alternative seems like it might be better.
4) Some settings in the manifest are so doggone hard to fix that I've nearly given up. I changed the URL that ClickOnce was supposed to go to for updates, and found it impossible to change the program to find the new location. It had to be there somewhere, and I found several candidates, but never could find the critical one.
Because of these issues, I have been tempted to write my own replacement. There are a few issues that I'd like some commentary on. For one thing, security is an issue that is hard to pin down. None of the data I am dealing with is worth a second thought. No cracking of that data would harm anybody or any thing. However, my first thought would be to have people install an app that would go to a web service to check for the existence of an updated version. If one was available, then the existing program files would be overwritten by the new files. If one was not available, then no overwrites would take place. Lastly, if the service couldn't connect, then no overwrites would take place (of course). If the files were compressed for transport, it would be kind of difficult to intercept and inject a different program into the transport stream, so the only weakness that I can see would be if somebody hacked the server that held the new version, and replaced it with something else. What am I missing here?Also, has anybody done anything like this, and if so, what else am I overlooking?
View 36 Replies
Sep 16, 2010
In my application I have a several type of user could be log in. My purpose is to have a restriction with other menu to show on or off. In php I used a session to handle that user id. In vb.net how can assign user id and retrieve anytime I need it in every user that has been logged in, so that I can check the user type and do some action.
View 8 Replies
Jul 12, 2011
Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.
View 1 Replies
Jul 5, 2011
what is the different writing code application vbnet 2005 application for single user and multiuser?
View 3 Replies
Nov 4, 2010
I have recently created an application where a lot of data is loaded into objects when the application starts up, and other data as it is required. For example if the user requests the catalogue page then it will load all the top level category data into objects of type Category. This will then stay there to be used by other users (who will therefore not have to load this data into objects) and can be altered by admin if they happen to login during the same application instance. I know this is not the most efficient solution, as pointed out below, but it works and the page load, at the moment, is not too long. It is very quick if most of the required data is already loaded into objects. It is also tailored to the business' needs - unlike other techniques such as Linq-to-SQL.
View 1 Replies
Apr 18, 2012
I am designing an Windows application in Vb.net. When ever I run the application it needs to check the current time and remind me some tasks which I have defined. In what way can I do this.
View 1 Replies
Oct 3, 2010
I added a few radio button and 1 Panel in to form project.
radiobutton click :
Dim uc1 As New UserControl1
Panel1.Controls.Clear()
[code]....
View 2 Replies
Aug 7, 2011
does anyonne have a sample on how to update a local users account using directoryservices. (Winnt://)
need to update the following:
AccountExpirationDate
userAccountControl
View 1 Replies
Jan 2, 2012
I have an application which need to interact with database and update it as required.Below i have 2 procedures AuthencateBufferLogin() - Used to impersonate the user (i.e., to work with other user, to perform some task
QueryDataBase() - Used to Query database i could able to copy files and create files as desired by using this Buffer login which has permissions in the destinated.
Note : permissions for other users were removed in these folders for security reasons
[Code]...
View 1 Replies
Dec 26, 2011
Update user input into database? Public Class Form4[code]...
View 3 Replies
Dec 8, 2009
I'm writing a program in which I'll receive data using serial port using Comport.DataReceived event which I've written in seperate class. Once I receive data from my comport I need to display that data in my listbox in the form. What is the best way to do this?? I don have much knowledge on using delegates. An
View 14 Replies
Feb 21, 2011
I am using asp.net membership and trying to update a users details but get the following error:
Error 2 Overload resolution failed because no accessible 'New' accepts this number of arguments.
Below is the full .vb code:
Partial Class FamilyAdmin_edit_user
Inherits System.Web.UI.Page
Private username As String
Dim user As MembershipUser
Private Sub Page_Load()
[Code] .....
Before I had:
Dim user As MembershipUser
And got the error:
Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:
System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 20: 'parameterless
constructor Line 21: Line 22: .....
View 1 Replies
Aug 25, 2009
I have created a form that contains a DataGridView with data from a SQL Database. After viewing, the user will want to update checkbox fields in a single column of the DataGridView This action needs to update the SQL Database. I have set the "ReadOnly" to false on all the columns of the form and placed an "Edit" button on the form which changes the ReadOnly Property to True on the Column where changes would be allowed. How do I then set the binding to update the Sql with the changes made by the user?
View 3 Replies
Apr 27, 2011
I'm trying to update a data user using vb.net2008 and sql server management studio express for my backend. the error says "must declare the scalar variable "@username" here's the code .[code]...
View 14 Replies
Feb 25, 2010
basically i am doing a golf scoring project in vb.net express 2008 and im trying to update a specific row in the table depending on the user i am updating. however it doesnt work and the error message that appears says that there is a syntax error in the update statement but i have no idea where the error is. msgbox(sql) shows that all of the variables are what they should be so i dont think its that.
Imports System.Data.OleDb
Imports System.Console
Imports System.Data
[code]....
View 11 Replies
Aug 27, 2009
Before performing an update, the application must search for that record in the database. Once it's found then it return to the Data access layer. Typicaly when i return rows i return them in a dataset. The i send it to the client to load on to the ListView Constrol or to textbooxes. therefore data was sent from the dataset object, therefore onces the user has made updates to the data, first i must update the dataset.
In the Data access layer i can write method that contains the command object for update DB and bind it with the current Dataset so that each time dataset updates it sychrinizes DB with it. Assume i have a method called update() in teh business layer that calls the updateDB in the DataAccess Layer, how can i call the Update() of the business layer each time the user updates the dataset?
View 1 Replies
Apr 13, 2012
If I create a user level application setting and bind it to a text box on a form, then type something in the textbox, the value is automatically saved and when the application is launched again the value appears in the textbox. This doesn't happen when I scope the setting as application.
Why are application scoped settings not saved automatically like user scoped settings are?
If this is by design, how can I manually save these settings and load them at runtime?
View 1 Replies
Apr 23, 2009
I am building a simple form wicht allows the user to update the data on it.I use this
Imports System
Imports System.Data
Imports System.Data.OleDb[code].....
View 8 Replies
Jul 5, 2010
I have repeater which shows a list of users and there roles. There is also a dropdown list to chnage there role see below
<td><asp:DropDownList ID="ddlChangeType" class="controlwidth100" runat="server" AutoPostBack="true" OnSelectedIndexChanged="change" /></td>
the change event works but what I need is the ID of the row so the user can be updated.
View 3 Replies
Oct 21, 2009
title is a bit vague. Is there any way I can tell if it's the user or the code that's altered a combobox? I want certain things to happen when a combobox is updated, but I don't want them to happen when the code is altering the combobox at runtime, only when the user selects something out of them. Unfortunately, if I use the 'Selectedindexchanged' option that triggers when I change the contents in code too. I've tried disabled the combobox while I update it, but that doesn't seem to work. Any way to detect user input only? My combobox is drop-down only by the way, so it's only if they select an option - they can't type anything.
View 10 Replies
Feb 17, 2009
how can i automatically update my value when a user changs the listbox item. At the moment i have a button click when the user changes the list box item and press the button the values get updated, everytime the listbox item get changed i have to repeat it click the button to update the value. I want something where automitically as soon as the listbox item selected the total value in the text box to change without clicking the button:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ComboBox1.SelectedItem = "Seafood" Then
TextBox1.Text = 3.5 * ComboBox2.SelectedItem
[code]....
View 6 Replies