20,284 Topics

Member Avatar for
Member Avatar for P.manidas

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 …

Member Avatar for G_Waddell
0
2K
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to backup my mysql database.

Member Avatar for joshl_1995
-1
361
Member Avatar for Kewne

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?

Member Avatar for Kewne
0
226
Member Avatar for ImZick

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 …

Member Avatar for deceptikon
0
146
Member Avatar for ImZick

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 …

Member Avatar for Reverend Jim
0
217
Member Avatar for t2nator

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 …

Member Avatar for TnTinMN
0
122
Member Avatar for Lethugs

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 …

Member Avatar for Lethugs
0
1K
Member Avatar for lorenzocalzaretti

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.

Member Avatar for tinstaafl
0
136
Member Avatar for RobRTaylor

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 …

Member Avatar for RobRTaylor
0
142
Member Avatar for sandeep.gade

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.

Member Avatar for Begginnerdev
0
177
Member Avatar for ImZick

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 …

Member Avatar for Begginnerdev
0
202
Member Avatar for paulablanca

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

Member Avatar for arun1123
0
4K
Member Avatar for monching

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 …

Member Avatar for monching
0
175
Member Avatar for Programmer629

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 …

Member Avatar for Programmer629
0
3K
Member Avatar for Zakkaria

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 …

Member Avatar for Ancient Dragon
1
327
Member Avatar for IsaacMessi10

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.

Member Avatar for IsaacMessi10
0
144
Member Avatar for killer88

Dim agre1, agre2, agre3 As Double agre1 = Form1.TextBox11.Text agre2 = Me.TextBox11.Text agre3 = ((agre1 + agre2) / 2) TextBox12.Text = agre3

Member Avatar for tinstaafl
0
1K
Member Avatar for Rahul47
Member Avatar for IsaacMessi10

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.

Member Avatar for IsaacMessi10
-1
99
Member Avatar for Galbatorix

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 …

Member Avatar for Khristophor
0
138
Member Avatar for willlotr

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. …

Member Avatar for G_Waddell
0
865
Member Avatar for toomutch

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 …

Member Avatar for toomutch
0
330
Member Avatar for kaizen202

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, …

0
85
Member Avatar for chdboy

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 …

Member Avatar for chdboy
0
3K
Member Avatar for IsaacMessi10
Member Avatar for deceptikon
0
268
Member Avatar for lorenzocalzaretti

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.

Member Avatar for tinstaafl
0
266
Member Avatar for Lobster1071

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 …

Member Avatar for Lobster1071
0
1K
Member Avatar for Ashenvale

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 …

Member Avatar for Ashenvale
0
622
Member Avatar for gujinni

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.

Member Avatar for adam_k
0
299
Member Avatar for killer88

The End.