20,899 Topics

Member Avatar for
Member Avatar for Rahul47

Hello people, I need to do this: I have Form1 having textbox1. I want to display text entered into textbox1 into Label1 of Form2. Suggestions Welcomed. Thanks

Member Avatar for azareth
0
351
Member Avatar for swaroop.striker
Member Avatar for shama.shirva
0
3K
Member Avatar for ScarWars9

Hello, I have been fiddling around with this and no luck so far. So I am hoping someone can help me. I am making a time clock application. When you add an employee it creates a new directory using their name along with a .txt file used to store their …

Member Avatar for ScarWars9
0
188
Member Avatar for radeon09
Member Avatar for LOI_SE

I'm writing a VB.NET software application in which I want to plot some placemarks on a google map which is in a webbrowser control in the application. weburl = applicationpath & "/googlemaps.html" WebBrowser1.Navigate(weburl) To accomplish this I call a javascript function from VB.net in this button event: Private Sub Button1_Click_1(ByVal …

Member Avatar for TnTinMN
1
1K
Member Avatar for SQLpower

Hello guys, I am still encountering a problem regarding my combobox. I am trying to populate it from my MySQL table but I am unable to so far.... Dim connectionstring As String Dim dbCon As MySqlConnection Dim strQuery As String = "" Dim SQLCmd As MySqlCommand Dim DR As MySqlDataReader …

Member Avatar for TnTinMN
0
223
Member Avatar for khair.ullah

how to code vb.net connection string support to all computers? normally we are puting connction string like this. con = New SqlConnection ("Server=REHAN-PC \SQLEXPRESS;Initial Catalog=library;Integrated Security=true") con.Open() but the thing is when we are going to put this application to another computer we have a trouble. Now what to do? …

Member Avatar for Reverend Jim
0
296
Member Avatar for jill.valentine.5015
Member Avatar for Begginnerdev
0
36
Member Avatar for kenomote

Hey guys ineed help on how to install or which is first to install using VS 2008 and MS SQL server & and IDE server management tool for MSSQL 2005

Member Avatar for jeffreyk16
0
231
Member Avatar for nilesh7136

Hello,,, Im trying open flash file on button click event, but its didn't open, when i write Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click AxShockwaveFlash1.Movie = "D:\My Project\Practice Projects\SWF-File_As_SplashScreen\SWF-File_As_SplashScreen\Resources\back_blue.swf" AxShockwaveFlash1.Play() End Sub then its properly work and play,, but i build this app and published …

Member Avatar for nilesh7136
0
260
Member Avatar for pedders

I want to access some data in an Access MDB but I want to make sure that nothing can be accidentally altered. I have tried: conn = New OleDbConnection(Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Test.MDB;Mode=adModeRead;") I've also used conn = New OleDbConnection(Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Test.MDB;Mode=Read;") I then run a quick UPDATE WHERE query and it still alters …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for quiggles

I would like to write a little program that is a little floating window, that can be viewed on both the "Metro" screen and on the desktop, is this possible? I would like to be able to have an option screen, where I can turn its visibility off and on …

Member Avatar for deceptikon
0
102
Member Avatar for Mr.M

How can I check if the user is not using a computer for upto 5 minutes if he is not using a computer for 5 minute then perform a task or display something. Let say you were using a computer then you stop for maybe 5 minutes then the system …

Member Avatar for Begginnerdev
0
332
Member Avatar for chdboy

I have problem updating specific record(s) selected to edit from a DataGridView into textboxes ,where the data can be edited and then update to the database. Now my update statement must have a where clause ,but it's not working,right now the code I'm about to post does updated record(s),but not …

Member Avatar for chdboy
0
183
Member Avatar for Minko

Hello, Here is my code so far: TempCommand.CommandText = "SELECT Lenscode FROM Products WHERE (Lenscode LIKE '%@Input%')" TempCommand.Parameters.AddWithValue("@Input", "5") When using a datareader this does not work. but when the code is like this it works: TempCommand.CommandText = "SELECT Lenscode FROM Products WHERE (Lenscode LIKE '%5%')" So my question is …

Member Avatar for G_Waddell
0
131
Member Avatar for Dili1234

I want to filter data from a billno to crystal report this the coding i used Dim connectionstring As String = Module1.connectionString Dim sqlconn As New SqlConnection(connectionstring) Public sqlDataset As New DataSet Dim myCommand1 As SqlCommand Dim myCommand2 As SqlCommand Public dr As SqlDataReader Dim myConnection As SqlConnection Dim nxtmajor …

Member Avatar for Lethugs
0
211
Member Avatar for rgilmore

Here is the goal. I have a document that I want to search through word by word based on an array of keywords. I.E... Dim keywords() = {"each", "it", "and", "I"} Dim i As Integer For Each key As String In keywords Do Until i = Procedure.LastIndexOf(key) Search = Procedure.IndexOf(key) …

Member Avatar for Begginnerdev
0
138
Member Avatar for khevz.sandaan

can anyone help me with this simple problem.. I want to embed program into the my vb form.. is it possible? its kinda like in the picture.

Member Avatar for deceptikon
0
549
Member Avatar for bryann

Hi i am trying to write the contents of textboxes to a spreadsheet. The code i have does work but at the moment i have to specify what cells to write to. What i would like is for the text to get written to a different row each time but …

Member Avatar for bryann
0
1K
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
366
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
233
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
152
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
221
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
125
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
138
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
145
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
184
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
205
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
178
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
335
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
147
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
102
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
141
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
880
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
334
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
87
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
301
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
268
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
635
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
300
Member Avatar for killer88
Member Avatar for achinthaadd

im junir for vb 2010, im tring to make small program, which when select picture in opendialog,( give path of image into text box(txtGrupAddNewArtWrokUploadImage.Text) ) copy to folder(ArtWork) which in application installed folder. i try to filecopy command using give target path like"c:\temp\image.jpg" command is working but when i chenge …

Member Avatar for achinthaadd
0
284

The End.