Let User Back-up Their Data?
Apr 25, 2010
I am using VB.net 2003. I am working on a stand alone windows program that stores data in an Access database via ADO.net via MS jet 4.0 OLEDb. I have progress to the point that I would like to provide the end user the oportunity to back-up the data they have stored and re-install if they choose. I am envisioning a menu item for "maintenance" with sub-items for "back-up" and "restore". I can create the menu items, but I can not find any information on how the back-up should be done.
View 4 Replies
ADVERTISEMENT
Nov 10, 2009
Im trying to allow the user to drag the text back and forth from labels. The code I have below seems to just show the little circle with a slash through it, and I cant drag or drop the text?
Private Sub Label_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Label1.MouseDown, Label2.MouseDown, Label3.MouseDown
Dim lbl As Label = DirectCast(sender, Label)
[code]....
View 1 Replies
Oct 7, 2011
In asp.net 3.5, i am trying to send a user to a different https url to login, if the user is not logged in. I am kinda' restricting the user not to see the forum page in the current site (http://thisSite.com/forum.aspx), if the user is not logged in.I am not sure how to redirect the user back from the login page [url] back to the [url]
i tried placing response.redirect in my forum.aspx like this: response.redirect("https://somethirdpartysite.com"), but it's not behaving as expected.
View 1 Replies
Apr 25, 2010
I am using VB.net 2003. I am working on a stand alone windows program that stores data in an Access database via ADO.net via MS jet 4.0 OLEDb. I have progressed to the point that I would now like to provide the end user the oportunity to back-up the data they have stored and re-install if they choose. I am envisioning a menu item for "maintenance" with sub-items for "back-up" and "restore"
View 1 Replies
Nov 14, 2011
I have two issues I am trying to correct...First am trying to get my listbox1 to be the selected Comport used to do the send data and get data back.
My second issue is its requiring me to send two times to get my read data back as complete data and has odd shapes with the data I get back in front of and after the regular txt.
Beware, I am very new at this so please take it easy on me... Most help I did find was for older versions I only have the 2010 Visual studio Professional...
Public Class Form1
Sub GetSerialPortNames()
End Sub
[CODE]...
View 6 Replies
May 9, 2010
A function of my app is to encrypt a file with TripleDES. The problem is that when the app reads the data, encrypts it, and writes it back, the new data is appended. I need it to overwrite the original contents.Here is the code:
Dim
DES As
New
System.Security.Cryptography.TripleDESCryptoServiceProvider[code]............
View 2 Replies
Dec 14, 2011
I'm working with ASP.NET and VB.NET. I have a page which contains 5 user controls. the page itself does nothing, it just presents the user controls to the user.
The user controls work fine when I come on the page, or when I refresh, but when I go to another page, and press 'Back' only two of my user controls shows up, and they don't work like they're supposed to!
Short description of the controls:
2 controls which look if the user has to create something and shows an option to do so. (goes to the DB)
2 controls show an overview if needed (goes to the DB)1 control looks if the user is an admin (does not go to the DB, but looks in the securityContext)
[Code]...
View 2 Replies
Sep 17, 2009
I would like to make a method excute right before the user get back controle of the program. No matter what chain of events happens i would like to beable to have a method is always the last thing to excute. I plan on using the method to check the form and the data on it. I have no issues righting the method, I just don't know if their is a event or some other way to make sure it is always the last thing to excute. (Sorta like a validation method) Is their an easy way to do this?
View 5 Replies
Jul 27, 2011
I have a situation where I serialized data from a dataset to an xml file as a method of backup.I am trying to get the data deserialized back to the dataset.But for some reason, I cannot get the data to persist back to the DB.I don't receive any error messages either.The first chunk of code is the serialization code and the second chunk is the deserialization code.I can show that the deserialization back to the dataset is complete because this code in the 2nd block DataGridView2.DataSource = Movie_dbDataSet.movie_tb - displays the data in correct form all it is all there in the datagridview2.I call the update method but it does not get persisted back to the db.[code]
View 3 Replies
Nov 8, 2009
I am writting software for a touch screen (windows CE) as well as a desktop pc (windows XP)I have the software working for both, but the problem I am having is the Calendar.I need a Calendar for the current month, as well as allowing the user to go back to other months.I was going to use the control in vb.net called 'MonthCalendar' but when I add it to the form and make the control bigger (as in font) it adds to months when viewed on XP but when I copy the exe to the touch screen it only shows the 1 month like its ment to.Is there a better Calendar control I can use or does anyone know how to make it so that it only shows 1 month in the 'MonthCalendar' control?I am using VB.net 2008
View 1 Replies
Apr 22, 2010
I would like to try and implement a feature wherby once you have logged into an application (straightforward winforms application) and had your credetials verified the application would then force you to log on again if no activity had been detected in the application for a certain number of minutes. In essence I want to provide some extra security for those occasions when users get up and wander away from their machines for prolonged periods.
I have all the logic for logging into the application, it's just the checking for no activity over a given period and then forcing the user to log back in again that I'm not having much luck with.
View 2 Replies
Mar 17, 2009
I'm working on a multi user VB.Net windows application with back end as SQL Server 2008 Express. The SQL Server is installed on the intranet network drive. This is the connection string I will be using. Is this correct?
Data Source=.SQLEXPRESS;AttachDbFilename=Q:DatabasePrintDB.mdf;Integrate d Security=True;Connect Timeout=30;User Instance=True
View 3 Replies
Nov 5, 2010
I am writing an automation program for an associated research HYPOT tester and one of my current problems is trying to split the data i recieve back from the box.Currently i have two commands i use TD? and SALL? both do the same thing but return different data. TD? when sent to the box will return the test results and of course there is no auto return when test is complete so i have to either set some kinda of timer to get the data after the test is complete or just keep pinging the box tell the test returns with either a pass or fail.my problem is when i ping the box with TD? it returns
"M11,ACW,test results{pass|fail},1.50,10.00,10ms"
What I am trying to do is use a split command to split that line into strings based off "," as my dilimeter. Currently i am useing this set up
dim resultstring as string = main.serialport1.readexisting
dimresultarray as string = split(resultstring, ",",6)
txtTestResult.Text = resultarray(2)
for the most part is does return the test results but other times it will either error out saying that resultarray(2) is out side the index or it will display one of the other strings (acw or 1.50).Is there a more accurate way to do this.I am also printing the full string pulled from the buffer into a text doc as a data log.
View 15 Replies
Jun 15, 2012
Here's the function I'm a bit mystified by(Little rusty bitwise operators)
void two_one(unsigned char *in,int in_len,unsigned char *out)
{
unsigned char tmpc;
int i;
[CODE]...
I marked the two places that I don't quite understand. How to convert those pieces to Vb.Net.
Update: So this is what I came up with, but it's not quite giving me back the right data...Anything look wrong here?
Public Function TwoOne(ByVal inp As String) As String
Dim temp As New StringBuilder()
Dim tempc As Char
[code].......
View 2 Replies
Jul 8, 2009
I have an xbap application that connects to a webservice to run different stored procedure. The webmethod loads the data into a data table and returns it to my xbap application. My program gives the user the option to manipulate the data. What is the best option for saving the data back to the database?
View 6 Replies
May 17, 2012
I am having a problem with an application that displays data in datagridview depending on a selection from a combo box.The problem occurs when I want to write the data back to the database.
I get the following error:"Update unable to find TableMapping['Product'] or DataTable 'Product'."
Is this because the table in the dataset is filled in a private sub? If so how do I make it public?
Any ideas what is wrong. Code is as follows:
[Code]...
View 12 Replies
Mar 29, 2011
I'm currently working on a program that would take the binary data from my access database and convert it back into jpeg format so I can store the images in a folder. I'm really new to VB so right now I'm pretty much stumped.
Code:
Option Explicit On
Public Class Form1
Private cn As ADODB.Connection
[Code]....
View 9 Replies
Dec 3, 2010
I just need to edit one field on a datarow and save the changes back to the database. My database is SQL Compact 3.5
I tried many methods but change is not saved to database.
Me.taSet.Fill(Me.Dsset.tblQuestions)
Dsset.tblQuestions.Rows(1).BeginEdit()
Dsset.tblQuestions.Rows(1).Item("ExamID") = "EDITED"
Dsset.tblQuestions.Rows(1).AcceptChanges()
taSet.Update(Dsset.tblQuestions)
View 5 Replies
Mar 25, 2011
I have an existing WSDL which returns information to remote devices using SOAP. However, I'm writing a new app with Android which doesn't support SOAP so I can't use the existing WSDL and have had to code a new app which looks for a querystring from the Android app and returns the data in a JSON packet. I've coded the module which receives the data okay but I'm unsure how to send the data back in JSON forma
View 1 Replies
Sep 20, 2010
In a threadpooling situation is it possible for a modal form to be opened and data from that form to be passed back to the thread that opened it ?
View 1 Replies
Jul 31, 2011
VB.NET i have only one colum in back end database that is roll. .. Now i want to update a particular data .. the data types is integer.. i has a data like 12 and i ant to update it 13 how can i do..
[Code]...
View 1 Replies
Dec 17, 2010
I need to send data back to my Apache web server so it can be updated in it's MySQL database, I've looked at NuSOAP as it's written in PHP but man that's hard. I'm lost, is there a more simply way to send it back? even to call a webpage and send data into it?
View 4 Replies
May 23, 2011
Basically I have:
vb
Public WithEvents PingReply As System.Diagnostics.Process
Public Sub Ping()
Dim PingServer = New Diagnostics.ProcessStartInfo
[code]....
But the event never gets called?
View 1 Replies
Apr 20, 2012
I want to change the back color of a row in a data grid view while the program is running.
View 2 Replies
May 2, 2012
I have store the variable in
Dim Lastname, Surname, Middlename, age As String
and the data are saved in notepad. how can I put them back in their exact label.one of my lable is
lbl_surname.Text
View 1 Replies
Jan 13, 2009
Using 2008 VB.Net trying to do serial communications. I have a Scantron scanner I can send data to it, but I can not get read data back sent to my serial port. I have tried ReadLine, ReadByte, etc. but i'm not capturing anything, and I don't understand the DataReceived event. [Code]
View 15 Replies
Jul 29, 2009
I have three dropdown list boxes and a gridview. The gridview shows data based on what is entered in the dropdown list boxes. I have added a button that allows the user to insert a record into the database and then the page refreshes. The problem is that when the page refreshes the gridview goes back to whatever was initially in the dropdown list boxes when I first brought up the page. Is there a way to refresh and maintain the data in the list boxes so the gridview shows the same data? My code is below.
[Code]...
View 7 Replies
Apr 25, 2010
In WPF I have one window opening a second window that allows some data selections to occur on. Once the selections have been made I then want to submit/close the second/sub window and have the data pushed back to the opening/parent window.
I can push data into the sub window from the parent via public properties, but have not worked out how to get it back the other way.[code]...
View 2 Replies
Feb 8, 2012
What is the standard method for accessing back end data, which logon should you use? For example we have applications that require the user to login but then use an admin account to access the data from the backend.But there are also applications that require the user to login and use those credentials to access the backend data.We are in the process of creating an application that will require the user to login and would like to implement the more common method(standard practice) of accessing data.If there are alternatives those are also welcome.This will be made in ASP.Net 3.5 or higher and may include Windows Applications(VB.Net) as well.I dont want to have two sets of credentials. What I am asking is which credentials are normally used to access the Database. For example one one application may access 2 or more database's. Now would you use the same credentials they used to login to the application or would you use the admin account to access the data?Maybe this should be a seperate question but if I ended up using integrated security to access the database would the user be able to simply connect to the database using his AD account? Either through an ODBC connection and MS Access or equiv.
View 2 Replies
Aug 25, 2010
I am using an image button and on click of it i want to go to visited page.Now i am using - Response.Redirect(Request.UrlReferrer.ToString()),It is going to previous page, but when i am in a page of some user details where the link is looks like - users.aspx?userid=25 and i visit some other page and click back(image button) i want to see the same userdetail page. How to track that.
View 2 Replies