20,284 Topics
| |
[code]SearchString = "SELECT * FROM Breakdown WHERE BFrom = " & txtFrom.Text ' & " AND BTo = " & txtTo.Text Dim Con As New OleDbConnection(BCalc_ConnectionString) Dim Search As New OleDbCommand(SelectSearchString, Con)[/code] I want to stop users from being able to save a duplicate record in my Access database. I … | |
I need to implement a search function button to my project where you click an input button which asks you to input a ID number then displays the details of that record in a form. Thanks. | |
Each time I start debugging my application in VB.net, I encounter this error. I couldn't go through the application any further. "The application failed to initialize properly (0xc0000005). Click on OK to terminate the application." :sad: What seems to be the problem? | |
How can i actually detect the time as shown below? If the user select the data from the database between 2008/06/05 12:00:00 and 2008/06/06 12:00:00 and the database type is varchar? I can select that particular data out, but i need to further categorize it according to hours, like this: … | |
This is my vB.NET assignment and i have no idea what it requires. I have not done this practical before b'cause the lecturer has not taught us about the joining the SQL in VB.NET and I'm seriously dont know how to do this......so i need help and pls do help … | |
Hey, I'm looking for someone to design a really simple VB program for me. It's for a psychology project I am trying to complete, but it has been taking me forever to develop since I have ben having to learn VB from scratch on my own. I am willing to … | |
I'm trying to load a registry hive (C:\Users\test\NtUser.dat) but I get error 1314. This is something to do with permissions. I'm using RegLoadKey. I converted this [url]http://support.microsoft.com/kb/297060[/url] example to vb.net, but as I said I get the error 1314 on RegLoadKey part. The other apis to change the permissions all … | |
My first vb.net post...:) What I've got: On a form, I have 'Add New Tab' button, a 'Select Picture' button and a TabControl. On the first Tab I have a textbox1and a picturebox1, when the user uses the 'Select picture' button (which calls opentdialog) I load the picture into the … | |
Hey frnds, I create DLL as follows- Public Class Class1 Public Function add(ByVal x As Integer, ByVal y As Integer) add = x + y End Function End Class [b] Calling DLL[/b] Imports ClassLibrary1 Module Module1 Sub Main() Dim sum As Integer Dim obj As New Class1 sum = obj.add(10, … | |
Hi experts, I want to manipulate a line of string in a text file and save the text file as another name. For example: text file name: 110.txt text file contains a string of number: 110 I want to search for that string "110" and increment +1 to 111 and … | |
Hai All, i have just completed a course in learning VB.net and would like to do a small project using VB.net. It would be of great help if anyone could suggest a project. -Ganesh | |
Plz help required, Can somebody give me the code in vb.net to compare two text files and display the difference between them. | |
Get Specific data from datagrid. i mean when i select row on datagrid, program will return value in that row. Any Help will appreciated. thx | |
I have a headache over this one. what i am trying to do is take the text from a multi-line textbox and put it into one line so i can put that into a file for another program to read one line at a time. is there some way to … | |
i found my file in vb 4/5 and i want to convert them into vb.net. How i can convert my vb project in vb version 4 / 5 to vb.net? or i must to use convertion tools? | |
hi to all, pleas bear with me co'z I am a newbie with this environment. I have a microsoft access database and I already have tableadapter. I have already a forms that the operator input the name with the text box then searh with my database. After it successfully searched … | |
Hi any one get me the coding of Record navigation in VB.NET? | |
Hello all in daniweb, I am a newbie here. I am very happy to have joined a community that devotes a good part of its time and resources to software and associated activities. This is a nice platform for an aspirant in the computer industry to know and get known; … | |
Hi, I wonder if anyone could help me, I am just starting out in the world of VB.net and I have a couple of tasks that I am having a bit of trouble with. This will probably be very simple to all of you experienced users: see below: 1. Using … | |
I have two questsions. The first being is it possible in VB to have a user input information during the file setup and have that information be used in the source code, then compiled, and then used after the setup is complete? Say I want to have the user input … | |
hi, Private Sub AutoNumberNo() try Dim strsql As String strsql = "SELECT MAX(Serial_No)+1 FROM Cutting" Dim com As New SqlCommand(strsql, objconnection) txtsrno.Text = com.ExecuteScalar() ' result will appear in textbox txtsrno Catch sqlex As SqlException MessageBox.Show(sqlex.Message) End Try End sub i try this code but i get following error 1) … | |
Having some trouble adding children to tree view. All of the parent nodes are created correctly, but it wont add more than 1 child to each parent like it should. It just adds 1 to each parent. Thanks in advance. [code] For J = 1 To WorkOrdersDataSet.BatchTable.Rows.Count() rootnode = workqtree.Nodes.Add(CStr(BatchTableTableAdapter.BatchID(J))) … | |
Hi cud anyone tell me how to pass values to html table from datatable.i am using vb.net and framework 1.1 thanks in advance | |
Hows it going everyone. Right now I am trying to read data from a text file into a datatable, and display the datatable in a new form. I am trying to use a string array to store the variables before adding them to the table. Everything compiles etc correctly, but … | |
Hi , i am writing a program concerning college administration .I have to creat a delete botton but i dont know how to start my coding .I know there is two type of delete methods such as kill and mycomputerfilesystem.deletefile(m-fielpath).Can anyone help meout how to write the complet delete code … | |
hi, Please mail me vb.net autogenerating number code. regards, Prasad P. Satam Mumbai | |
i have a problem now... ihave to make a application that consist theory.... the theory consist text, pic and math equation i don't know how to put pic and math equation into textbox plz...help me | |
Hi, im doing a software that uses diferent tables, and im trying to implement a save button but it doesnt save anything. This is the code. Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Try Dim XCmd As New OleDb.OleDbCommandBuilder(DA) 'DS.AcceptChanges() DS.GetChanges() DA.Update(DS) MessageBox.Show("Saved", "ESP MESSAGES", … | |
Hi I am one of a small but dynamic team of .Net application development. Over a period of 2 years we were able to create a foundation framework for all of our applications. While this framework has increased our speed of development, we are now facing a problem with deployment. … | |
hello, I had a database(ms access) about 120000 entries in 2 fields (in the same table) it was not in sorted form, but the data is inter realated by rows, can you gave me a code snippet to search a word from a database (ie if there is any functions … |
The End.