Make Change In Database?
Jul 21, 2010I have this code to search my databas
[code]...
I have this code to search my databas
[code]...
I want to maintain a FLAG in Which there is two values of FLAG
1) yes and 2) no
i want that when a form is load a Flag value is yes and The form is close the flag value is no in my back end Database
It is same like sing in person on any web site.
But my Problem is that how can i maintain it any how the my computer is turn off .
i store a database on single computer that is server.but i also want a code for on same computer
Basically I have 10 .png images.They contain a walk cycle I need to make some kind of loop inside a timer to make them change.
View 2 RepliesCan someone please help me create a very very simplistic sample page as the chat page included is too coomplete. something as simple as detecting a change in the database and displaying the word "change" on screen in realtime for any client connected.and I tried creating a global.asax file into which I added in the line mentioned in the link above, but it does not seem to like the word "Setup" in the line [code]
View 2 Replieswhats wrong with my code?if i change the item from the combo box..the textbox not change or has an error?
conn = New MySqlConnection()
conn.ConnectionString = "server=localhost; user id=root; password=12345; database=gigzta; allow zero datetime=no"
strsql = "SELECT accNo FROM accinfo WHERE (completename LIKE '%" & ComboBox2.Text & "%')"[code].....
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
[Code]...
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)
[Code]....
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:
I have a masterpage in which I have a Loginname control. I have a link in masterpage which redirects to register.aspx which contains createuserwizard as follows.[code]I have home.aspx page in which I login as administrator with username ram and loginname changes to ram. As admin I have to create another user. So I create a new user using create user wizard (register.aspx). After creating the user the loginname changes from ram to username of the new user. That I dont want. ram must exist. It means loginname must be ram itself. What customization do I have to make to make login name not change?
View 1 RepliesActually i was done in coding the change but when i subtract the tendered and total.. the answer in change was zero...What is the proper coding in this? [code]Please use code tags when posting your code. Code tags are used like so =>
View 2 RepliesMy character moves with the keyboard arrows but he keeps facing the screen, my question is:How can i make the character change direction (by using different sprite positions), like when I press the right keyboard arrow my character faces right and when I walk right my character's legs move?
View 1 RepliesI Made a web browser, ho do i make my browser's text box to change to the web browsers URL Location. for example if i am on [URL]..i want its text to be changed to this.I Tried this but it do not work!
ToolStripMenuItem5.Text = (WebBrowser1.Location)or ToolStripMenuItem5.Text = (WebBrowser1.Url)What do i make wrong!
How can i make a picture go with rhythm of the music in VB08?
View 7 RepliesI need to change the border of richtextbox and make it like a textbox. How can i do it?
View 1 RepliesHow would I change this code to make the factory dynamic. I believe I was close with remoting. I don't want any hardcoding of the factory, nor do I want to have to recompile. The database drives it.
Dim genericRule As Rule
Dim factoryObject As String
factoryObject = _dal.GetFactoryObject(ruleId)
[code]....
How could i make it so the user can change the background on a form like he/she can choice from a list of backgrounds or add there own image as a background? also how could i make it so a button or a drop down button launches a form in the project itself?
View 7 RepliesSomeone on here sent me to this video tut on how to make a progress bar change colors using xp style. So I watched t and came up witht his but why does this work? The function part I dont understand completely. I have a idea roughly but still trying to understand why it works.[code]
View 3 RepliesHow can i make a button change action at each click?[code]...
View 7 RepliesI'm trying to make a button that can change webbrowser1 Size so it gets maximized.
How can i do this?
I want to make a check box change color when it is checked. In looking for answers it appears there used to be a fill color option in the properties, now in there is just back color and fore color. I am using VB 2008 Express.
View 2 Repliesi want to know how to make a program in VB.NET that change a icon for a file ...Like a simple Icon Changer And, do i need a stub for this ?
View 16 Repliesmake a window change instead of a whole new form coming up(EX: when I press the next button, the layout of the page changes, but no extra forms)Well, If it is not worth it, it is not fun - you say programmers are boring but i say they are worth it.
View 2 RepliesI know that sounds strange but I came across this website today that uses this ability and I've been going nuts trying to figure out how they do it.
The website is [URL]
Also here is a screenshot of the options I am speaking of
There is a combolistbox that has a list of topics.
Depending on what topic you choose will determine what checklistbox option will appear in the check list box.
What are they doing there to create that option? I was thinking that maybe they created 20 checkedlistboxes and then if the selection of the combolistbox is "THIS" then they set the getfocus to that checkedlistbox but that didn't quite work for me.
OK I have a problem, the issue is: i have my project using one MDI and other normal forms. I have set my other forms to open inside the MDI. like
form1.MDIParent = me form1.show() but if I resize the MDI form1 does not change to accomodate in the new size!???
I would like to make the user of my program able to change the hotkeys to what ever he wants..I tried to use the following code in a module and on MainForm load event RegisterHotKeys Sub will be executed..[code]
View 1 RepliesHow can you make a function/sub change the inputvalue?
As example:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim testval As Integer = 1
[Code]....
heey guys, befoure I explain the problem. I know some vb coding so you can just give me some codes and I can add it to the program. ok,
I want to make a html file with "tags" to make a music database,
<html>
<Song_Database>
<Song Number="1" Name="Memories" Artist="David guetta" Category="Pop">
</Song>
</Song_Database>
</html>
I have a combobox linked to a table Checklist (ID, Checklistname, and several multivalued fields). I want to have my subform display data from different tables based on my combobox selection "checklistname". All the tables are imported Excel files with the same fields and field types (ie. Discrepancy, reference, reference paragraph, category). How do I get my subform to requery based on the combobox selection? Or is there another method when working with "outside tables"? Import good/bad? Make new table? I have about 20 tables, if importing but only need particular data to save/store in my main table, and I need to know which table it came from.
View 2 RepliesI have a picture box in a visual basic 2008 express edition windows form and i want the picture to have an outline colour on mouse over
View 2 RepliesI have created a menu using a treeview to launch forms when the user clicks on a node. To complete the look-and-feel, I have set up the nodes to look like hyperlinks. I'd like to have the cursor change to a hand (like the one you see when you hover over a link) when the user hovers over a node, however so far I've only been able to have the cursor change on hovering inside the treeview, as opposed to over a node. As far as I can tell, a TreeNode doesn't have events such as MouseEnter, so I can't have them handle the events themselves.
I am attempting to use this function to loop through the nodes and check the Bounds property of the TreeNode against the Point property of the cursor, but so far the If block always evaluates to false, meaning that the cursor never changes.[code]...