20,284 Topics
| |
Dear sir/Madam, In my codes CmdDisplay button display only first record from the table and button2 add the all name (Ename field) to combobox1 from the table. How can i show FirstRecord, PreviousRecord, NextRecord and LastRecord using OleDbCommand and OleDBdataReader. Please guide me. [CODE] Dim cn As OleDbConnection Dim cmd … | |
Hello Community, I was wondering if there is a way to backup my mysql database. | |
is it going to be possible to have a connection if I create a J2ME (netbeans) as client and vb.net (2010) as the server? | |
Hi everyone i have a connection to my sheet like this Dim da As New OleDbDataAdapter("Select * from [EBU 2 LOB$]", con) but i want to use this Dim Sheet1_EBU as string = "EBU 2 LOB$" so that the code will be something like this i think? Dim da As … | |
Hello need help i have a listview and a textbox I have this code ListView_LOB.Focus() For i = 0 To ListView_LOB.Items.Count - 1 If ListView_LOB.Items(i).SubItems(1).Text = TextBox1.Text Then ListView_LOB.Items(i).Selected = True End If Next it will highlight the item in Listview it seen in textbox1 for example "Erick" but if … | |
In my program I have two child forms, one contains a richtextbox, and the other a webbrowser. When I type into the the text box it displays it in the webbrowser. The problem I am having is that after every key I press I have to click on the richtextbox … | |
Hi, im using crystal report on my project. It working very well but I just want o make it more flexible. I have textobjects with of course text in it. They are not bound since they are just additional information on my report. How can i make those textobject editable … | |
Hi everybody, I'd like to know if there is a way to zoom a page in the webkitbrowser control in vb net. Thanks in advance. | |
Is anything wrong with this code? I ask because in the past, I included the text file with the installer. In an attempt to simplify the installer, I decided to make the app generate the text file and put it where it needs to go. Here's the code (simplified) First … | |
i want to develop 1 application its just like hotel managment type, but i want to connect with tally for releted entries. so please suggest me from where to start. | |
Hi guys i have this code which insert the data in the textbox Dim FilePath As String = "C:\Users\ezekiels\Desktop\New Folder\EBU 6.mdb" Dim conn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & FilePath & "") conn.Open() Dim myadapter As New OleDbDataAdapter("SELECT * FROM Table_EBU6", conn) Dim dtset As New DataSet myadapter.Fill(dtset) myadapter.Dispose() Dim table … | |
I have a datagridview and I want to pass some of its value to another datagridview after selecting the values and clicking a command button. Is there any possible ways for me to do it? Thanks! God Bless. :D | |
Hi there, I have problem with my DropDownBox, my datasource is from MySQL database. My problem is this, I have already stored data in my database let's say 12 rows, but when I am trying to fetch it on to dropdownbox, only 11 data will be the item values of … | |
hey guys! i've been getting better at vb.net and i am very familiar with it now. im not an expert but i know some more vb.net now. anyway, i have some code here: 'Show status txtboxStatus.Text = "Playing Loading Sound" 'Play recording Me.BackgroundWorker1.RunWorkerAsync() End Sub 'This method is executed in … | |
Hi need to make a progrma that requires a login system using text files, i dont want code to just know and allow acceess to one login but several logins. i also want the code to allow me to then enable an edit function when logged in as an administrator … | |
I'm working on a web browser and I need to know how to store history & bookmarks permanently as currently after the browser is closed all data is lossed. Should I put it on a DB? Suggestions? PS: They are currently being saved on a ListBox. | |
Dim agre1, agre2, agre3 As Double agre1 = Form1.TextBox11.Text agre2 = Me.TextBox11.Text agre3 = ((agre1 + agre2) / 2) TextBox12.Text = agre3 | |
| How Can one Export Crystal Report to Word File ? |
Hwy guys how can one draw custom tabs. I found a link : http://www.codeproject.com/Articles/12538/Y-et-A-nother-TabControl-A-Custom-Tab-Control-With but I didnt quite understand the code. | |
Hi, I have an error with this function at runtime Private Sub adultPay() sql = "SELECT adultRate FROM roomType WHERE roomType = " & rumType.ToString & "" connectDatabase() Using da As New OleDb.OleDbDataAdapter(sql, con) Using ds As New DataSet Try da.Fill(ds, "AdultRate") 'error here Dim adultRate As String = ds.Tables("AdultRate").Rows(0).Item(0).ToString … | |
This is for those of you wanting to know how to generate random numbers. I will explain how to generate a random number from 1 to 100 in a text box. Step 1: Create a textbox and name it txtrandom. Step 2: Create a command button and name it cmdrandom. … | |
Hi All, I am trying to store a link to a document in a mysql database using VB.NET. I open a file browser for the user to select the file, and if I output the returned filename to a messagebox it looks fine, but when I write that filename string … | |
I have hosted my custom combobox (ComboBoxEx) on datagridview by following the steps in http://msdn.microsoft.com/en-us/library/7tas5c80.aspx. 1. I have created DataGridVIewComboExColumn derrived from DataGridViewColumn 2. Custom cell named "DataGridVIewComboExCell" is created from DataGridViewCell 3. Finally my custom edit control "ComboExEditCtrl" (derived from ComboBoxEx and implements IDataGridViewEditingControl) is created. 4. In ComboExEditCtrl, … | |
I'm trying to get values from DataGridView to the another form in textboxes and in Picturebox ,data in textboxes are there ok, but when I try to get a picture in a picturebox from DB it gives me this error. Buffer cannot be null Parameter name :buffer and here is … | |
How do you get the URL of a Web Page in VB.NET ? Thanks in advance. | |
Hi everybody, I'd like to know if there is a way to retrieve the id of a youtube video when it plays in a youtube xl page because on youtube xl the url is always "http://youtube.com/xl/" on any video. Thank you in advance. | |
OK, I've exhausted my searching, so if someone can point me to a link with a good example, that would be super. I'm simply trying populate a combobox with data from an Access table (it's a simple contact list with Name and Number). Every example I find and try, I … | |
Hi everyone! I'm new to using VB and apparently I'm having a problem with the value being displayed in a textbox Here's the thing: Private Sub btnRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRemove.Click If DGV2.SelectedRows.Count = 0 Then Exit Sub End If DGV2.Rows.Remove(DGV2.SelectedRows(0)) Dim Sum As Decimal … | |
hi there. I have a problem in making my amortization. I just only want to know how to change data grid view's command text with where conditions. this what i've got: LoanSampleDBDataSetTableAdapters.loan1TableAdapter.commandText = "Select * from Employees where ID =" & n1 Then error occurs. | |
is this code correct? Dim newform As New Form2 newform.Show() Me.Close() |
The End.