What is the code in VB2008 so that when you open up a form for the first time, the system prompts you with a Dialog (windows style) that asks you where the database is located? How do you make changes in the database permanent? [code]I tried updating code but as soon as I exit, I go back to square one?
The Quiz is timed. Its result is in "m:s" format. How to make this result permanent, i.e. when the game is restarted the results would still be there?[cod]e...
I have a product upgrade system that is somewhat primitive, but will work for my needs. Basically, it consist of a form with 2 labels, 1 textbox, and a button.The first step is to purchase an upgrade key in which the user will purchase through a source such as paypal. Basically, in my example the key for testing is "upgrade". After that, the form does some changes and forces the user to type the generated GUID and shows a msgbox saying that the update is saved. What I want to happen is allow such and such elements to be permanently visible for the user after they update successfully and that the update remembers that the user has upgraded.Summarizing, I basically want to make it where once the whole upgrade process is complete, the user can permanently show the extra upgraded features and that the upgrade is remembered.[code]
I have a product upgrade system that is somewhat primitive, but will work for my needs.asically, it consist of a form with 2 labels, 1 textbox, and a button.The first step is to purchase an upgrade key in which the user will purchase through a source such as paypal.Basically, in my example the key for testing is "upgrade". After that, the form does some changes and forces the user to type the generated GUID and shows a msgbox saying that the update is saved. What I want to happen is allow such and such elements to be permanently visible for the user after they update successfully and that the update remembers that the user has upgraded.
I know how to get a user control into the toolbox, but is there a way to get it to be part of vb.NET's startup as a permanent control? In other words, if I start vb.NET and begin a new project, it would be nice that the custom control is already available without having to load its dll each time I start a new project.
I have a label, a button and a textbox.I want to add to the label the value of the textbox label.text = button but permanent so when I close and reopen the application the value still be in the label.For example I open the App and add a value in the textbox like 123 and hit the button, now the label = 123.
Close and reopen the App and Label still = 123 .
Note: The value is a secrete key (label visible = false) so I cannot place the value in a txt or xml.
Window Application in vb : I have a tab control (Tab 1 for temporary address & Tab 2 permanent address) and a checkbox. After entering the Temporary address. User will switch to Tab 2 (Permanent address Tab) there if both Temporary & Permanent Addresses are same then simply he can click Checkbox. As soon as the Checkbox is clicked I want the texboxes available in Tab 2 to be filled with data available in the corresponding textboxes in Tab 1. And should be visible to the user.
I'm making a windows form application using vb.net and have an options page where I need to allow users to enter a few settings, these need to be stored somewhere on the machine so that they can be found again if the program closes
sir, i have no idea how the code will look, but i want it to assign a value after reading from a text file and then store it for further use even if the text file is not there, but without using any external storage like registry, disk, ram. It should store the value in itself and do like this:-
dim variable1, variable2 as string if file.exists("text.txt") read the text
This program is very difficult for me, but I must get threw it or I cannot finish... What I am doing is making a Database of foreign Languages with the spelling of the words and the pronounciation inside the database... The USER enters a paragraph of words into the translator textbox and pushed translate. The program has a DATABANK of words with the phonetic spellings and matches the word, then translates to phonetics. The problem is that new words keep appearing inside the language. So I incorporated a Database of 2 fields
i need to make a database application that can write/retrieve cells/datasets from/to a database i buyed a book in there was an example of how to create a database application while debugging i had the "Object reference not set to an instance of an object." error and it highlighted this code
objDataRow = objDataSet.Tables("KlantenTable").NewRow now the problem is here i declare something later in the code i write to it objDataSet.Tables("KlantenDataTable").Rows.Add(objDataRow)
1. First off, how do I make my path to my database relative? The path is currently absolute and is: Data Source=J:/College/AS_DSFinalDatabase1.accdb
2. Second of all, where do I save my database in the project? I want it to be included in like project folders...kind of like the App_Data folder in ASP.Net.
3. I'm recieving an error whenever I try to populate more than 1 DataGridView upon form load for some reason...I've tried 5 different ways of writing the code, and I get the same error...there's no error description, so does anyone know what the issue is? Here's the error:
my project needs to store data online, and since i have no experience with databases ( aside from .txt base ones ) i wanted to know if it is possible ( and secure ) to save a database online and allow the program to write data to it and to read data of it. if this is possible could any body hint me in the right wa
I am working with MS Visual Basic 2008 Express Edition and MS Access 2007. I have managed to populate a temporary table with data from a text file containing eight fields. I have applied the namespace System.Data.OleDb What I want to do now is: 1) to order the data by a specific field (let's say Fld4); 2) delete duplicate records; 3) append the sorted data to a main table; 4) write the data from the temporary table to a new text file and save to a folder; 5) clear the contents of the temporary table
I ave a contact form (VS 2010 / VB / .net4), and when the client fills out the form, I get an email -- which I like, but..For instance, here's an e-mail I got:[code]This is just a lead-generating company, so we're gonna get a lot of emails and we're gonna want them organized.It was suggested by Jon P that I use a database to gather all these emails I'm getting, instead of MS Excel (which I wouldn't know how to do anyway). So I downloaded SQL Server Express. So now what do I do? Can someone please tell me what I have to add to the code, specifically, or what I have to do, so I can gather these emails in an organized manner? [code]
does any one now how i can make my database come up in a wmi view so for examples if i clicked on a server name it will bring the server details up in a WMI view please and i am using VB.net 2008.
i have to populate data from mysql table into an array. I have a table which stores the x-coordinate and y-coordinate of a node. I got to retrieve all the x and y's into an array. I am having difficulty doin that as i am now
Below is the code i've been trying: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
I wanted to make a Login that never use Database and able to create Username and Password.So far I know there is possible to do it but I dunno how because I saw a guy use NOTEPAD to store Username and Password. His program can register new username and password and login with new username and password. He is using VB + visual studio 2010 to create the program.
I have tried the following, however, after running the command and when goto how Table Data the new row is not added. What am I missing?
Dim myConnection As SqlConnection myConnection = New SqlConnection("Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|Database1.mdf;Integrated Security=True;