20,284 Topics
| |
hi, I want to display data in to form(form contains textbox,combobox,datagrid) from database. | |
Hey guys, I want to be able to insert data into text boxes and when i press the button store to be able to store the data into the database. Does anyone know the code to do this? Below is the code I have used so far, I know its … | |
Hi Alls, I try to write into .doc file and success...but i need to know how to write into form that i already make in microsoft word?...it's mean i got one form(document) in microsoft word format...then my input from textbox box ,will save into SQL database. I need to print … | |
Public Sub SearchUser() Try conn = New MySqlConnection() conn.ConnectionString = "server=localhost; user id=root; database=eps" conn.Open() sqlquery = "SELECT username FROM pass WHERE username = '" & cmbUserName.Text & "'" Dim myCommand As New MySqlCommand() myCommand.Connection = conn myCommand.CommandText = sqlquery 'start query myAdapter.SelectCommand = myCommand Dim myData As MySqlDataReader myData … | |
Hi again my problem is i always make mistake in writing statement for update, here's the code [code=vb.net]Private Sub cmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "update Watches set WatchBrand='" & txtWatchBrand.Text & "',WatchModel='" & txtWatchModel.Text … | |
i am using [B]VB.NET 2003 [/B]and i need to read some data from a cvs file and store it into a two dimensional array.... i couldn't find an example anywhere.. pls help :'( | |
can anyone show me the diffrence ? im still confuse i read about vb and net at wikipedia but i just dont understand vb.net and vb . | |
I coded an application that has 12 questions. Each question has 3 option buttons on a group. By using if statements i get to calculate 4 different results. Each result goes on a textbox and i also have other textboxes for name, date, stuff like that. In total 14 textboxes. … | |
I want to clear the entire contents so that when a different selection is made on one of the checkboxes, only that data is displayed when the calculate button is depressed. Thanks in advance!! Here's my code: Public Class LoanCalc Private Sub butCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
Dear All, Our requirement is a cab has assigned to Pick and Drop the employee for each and every shifts for the selective date. So, we need to show how much distance a cab has travelled, then we need to show that cab has been assigned for Pick/Drop for all … | |
Hi to all, Programmers. :icon_smile: [B]i require a general syntax for checking if the [COLOR="Red"]SQL table[/COLOR] is empty or Contains records.[/B] if the table is empty i'm suppose to add initial counter (like 0001) and if table already contain records then i'm suppose to increment the counter by ONE. The … | |
[CODE] Dim DesinNum As DataColumn = New DataColumn With DesinNum .ColumnName = "DEsign#" .Expression = "ISNULL(usrini,'')+design+typcde" End With With Design_dt.Columns .Add(DesinNum) End With[/CODE] These are the results I'm getting usrini="J", Design=123,typcde=cst expression=j123cst usrini="J", Design=123,typcde="" expression="" I have this code to add a new colum in the datagrid. It seams to … | |
Hello! I have program that consists of multiple forms. Each of the forms share a common variable which I stored in the main form. But to access the variable from another form, I have to type something quite long like this: MainForm.CommonVar.Function(arg1, arg2, arg3, arg8) I use this many times … | |
I want to show contextMenu on Menu Item Right click..But probs is dat when i right click on menu Item,Context Menu is popping up..But menu disapper..I want that menu should not be disappered... See in Attachment [code] Private Sub MenuAddToFavorites_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MenuAddToFavorites.MouseDown If … | |
i want to know how to make online exam application using VB.NET & SQL SERVER questions should be displayed randomnly , also there is a time restriction for example ,30 min for 25 question and time should be visible to user. then after time over he will be not able … | |
hi every body I am new over here I have query that is it necessary to do a live project in Ty.bsc.it | |
Hi folks, I am trying to play mp3's in VB.net 2008 pro. I have a button that when clicked will play an mp3 in windows media player. The problem is I can find no coding for this in any of the books that I have. The other problem is that … | |
<A class=F11 id=moreFF4Link style="DISPLAY: inline" onclick="showMoreFF4('on');clickTrackSwbdAttr('BP:Attributes:Additional Info:Show More','Trattoria-Pizzeria-Roma Inc','Pizza Restaurants, Restaurant Management & Consultants')" href="javascript:void(0);"><BR>Show More ></A> This is the html of that page. I am looking forward to clicking on 'show more' I am using a instance of Ie to open this page, As this is supposed to back … | |
Hi all, I am developing an application in which I need to incorporate a checkbox field for each record from the database. But the checkbox is having threestate in which the third one is a null value which I cannot afford in the database. So I need to eliminate the … | |
Hello i got trouble to add data i got error saying: OleDbException was unhandled here's the code: [code=vb.net]Private Sub cmdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAdd.Click Dim com As New OleDbCommand com.Connection = con com.CommandText = "insert into Watches values(" & txtWatchId.Text & ",'" & txtWatchBrand.Text & … | |
hi how to create and open an excel file in vb.net when the button clicks.. | |
Hi members, I need yours feedback for the following program which I have designed through different website and tutorial helps. Its a word Guessing Game which I have design in vb.net using visual studio, extract the zip file and run it on your machine. Dont forget to send your feedback … | |
Hello to all. I am a B.S Information Technology student in Our Lady of Fatima University Philippines. I am now conducting a proposal for a school "student information system". this is for our subject "System Analysis and Design" i will use Visual Basic 2008 and (MySQL or MS Access). I … | |
My problem is that i want to develop a project in which there is front end (window form) in vb .net in which there are diffrent field for book entry name,author,image etc. all this data is stored in back end sql server 2005 there is drop down list of books … | |
Hi there, Being new to Vb.Net 2003, I need help to determine whether to Create new Record or Update an exisitng record in SQL SERVER table. In VB6 I used this logic to do that but in Vb.Net 2003, I am totally lost at it. Please Help me. Thanks. VB6 … | |
Hi, I'm having some trouble with SQL Compact Edition, it's popping up with this error when passing a string: "The token specified is too long. The maximum length is 128 characters. [Maximum size of token (if Known) = 128, Token (if known) =" The data type for the field that … | |
Hi. I have a VB .net application which retrieves large amount of data from the database. It can take upto 4 mins to retrieve the data. I would like to know if there is I can do at the application end to speed up the process. Caching ?? Paging ? … | |
I need to handle dates and times in a vb.net program. If there is a data type to handle that please let me know how to work with it. that class should have capability to compair, increase, decrease, add, substract and support to ms access date and time data type. | |
Hi all, I would like to be able to show all the websites visited on a machine. How would i go about doing this. Thanks |
The End.