20,285 Topics

Member Avatar for
Member Avatar for HibaPro

hi everybody, i wish everything is okey? my question is how i can the value of textbox show on colums in datagridview , my textbox read data from DB ?? thx before...

Member Avatar for Begginnerdev
0
280
Member Avatar for fordna1

Hi, I am displaying the values in Datagrid using VB.Net , SQL, i places add button below the grid , i want to add a new row when i click that button, i tried but didnt work can you assist?

Member Avatar for fordna1
0
545
Member Avatar for guilherme.carvalho.9250

Hello to everyone, Im a beginner in vb.net and currently Im developing a "reminder" program, the user inserts a task that he as to do, the date and the time to be remimbered! Im saving the task in a txt file like this, "Make dinner,Reminder,24-07-2012 18:31:00", but line by line, …

Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for MuddHizb

I am using VB2008 fr my project , I am having an error while inserting data in the sales form The error is;:__ "Number of query values and destination fields are not the same". Here is my code-: Dim sql As String sql = "insert into sales (SalesId ,PropertyNo, SellerNo, …

Member Avatar for MuddHizb
0
176
Member Avatar for santhini

Private Sub DataGridView1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridView1.SelectionChanged Dim con As New SqlClient.SqlConnection("data source=GOLDA2\GOLDA;initial catalog=school;Integrated Security=True") Dim sql As String = "Select * from fees where particulars=" & "'DataGridView1.Rows(0).Cells(1).Value'" & "" Dim dataadapter As New SqlDataAdapter(sql, con) Dim ds As New DataSet() con.Open() dataadapter.Fill(ds, "fees") con.Close() …

Member Avatar for hericles
0
441
Member Avatar for HibaPro
Member Avatar for vincent5487

This Is my Question : Using loop statement, write a VB .NET program that prompts an integer in the range of 1 to 10 (both inclusive) from the user in an input box, and prints a multiplication table of the integer entered. For example, when the user enters 8, your …

Member Avatar for hericles
0
759
Member Avatar for vincent5487

Hey guys, when i doing my VB, i get stuck on the try catch end try...i dono where should i put the try catch end try for the question..this is my question Using loop statement, write a VB .NET program that prompts TWENTY (20) integers in the range of 1 …

Member Avatar for vincent5487
0
175
Member Avatar for TheQuestor

I am trying to read through a text file and pull out bits of information I need. I have it 1/2 working but need to figure out how to loop through it to get the other 1/2 Sample log file '-------------------------------------------------------------------------------------------------------------- [01:32:18.281] [@Flos'tok] [@Flos'tok] [Force Valor {875503313485824}] [ApplyEffect {836045448945477}: Force …

Member Avatar for Reverend Jim
0
171
Member Avatar for HibaPro

i use the properites IsIdentity in my sql server table, when i use the datagridview its show a negative value , my question is how to set the value to positive value ???

Member Avatar for Pgmer
0
96
Member Avatar for jezguitarist30

I just want to know what WMI class should I use to get the Name,Socket,BrandName,Manufacturer and Total Size of my Memory.

Member Avatar for jezguitarist30
0
123
Member Avatar for HibaPro

I have a textbox and 3 comboboxes in my form, what i need from this is when the user enter a value in text box (I checked if the value exist on my database or not) i need other query to returned and fill my 3 comboxes in all record …

Member Avatar for Pgmer
0
268
Member Avatar for tizzi09

I have created a table in my access and i have inserted values in it. I also created a login page on my vb.net form in which i want a matcching field in the table to serve as my UserId and Password to allow user access the next form. I …

Member Avatar for jezguitarist30
0
241
Member Avatar for DarkPyros

hey, guys, was wondering if i could get some help with this school assingmnet. no, im not asking for code. more like guidance and clarification. the following is the assignment itself: *You are required to create a Visual Basic application for the Roytec Examinations Department. The program must accept student …

Member Avatar for DarkPyros
0
205
Member Avatar for M.Waqas Aslam

hello ! i am working on a simple parental lock application . i want to know all the websites visited by the user , i mean , for example now i am visiting daniweb.com , is there is any way to get the name of daniweb.com and after getting it …

Member Avatar for Pride
0
115
Member Avatar for jnbradl

I have "binded" my Access database to the Datagridview in my form. I have added an event for double mouse click in datagridview row header. private void dataGridView1_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { foreach (DataGridViewRow item in this.dataGridView1.SelectedRows) dataGridView1.Rows.RemoveAt(item.Index); this.Validate(); this.firearmBindingSource.EndEdit(); this.firearmTableAdapter.Update(this.firearmsDataSet.Firearm); } This code works(removes both view and source) on …

Member Avatar for Mitja Bonca
0
227
Member Avatar for mrbungle

I'm not sure how to tackle this problem. I have an app that has a range of numbers, like D100100 to D100200. Right now, it's all done with a text file, and what needs to happen is each document needs it's own number in sequence. They are DUI Citations. So, …

Member Avatar for mrbungle
0
145
Member Avatar for abhi415

**Hello Guys... I am building an application in which there are 3 radio buttons. And i want to add password authentication on one of the radio button. So, I have inserted an Input box in my code and ask for the password from the user, Its working fine if we …

Member Avatar for Begginnerdev
0
203
Member Avatar for Minko

Hello, I am trying to place data from a text file into an array and then sort it by date and finally display it in a text box. The part I am stuck on is sorting the data by date. As I do not want to confuse anyone trying to …

Member Avatar for Minko
0
6K
Member Avatar for guilherme.carvalho.9250

Hello to everyone, Im new to vb.net and right now I am developing a program that its like a agenda where the user sets the date and the time do be remembered of the task the he has to do. Im storing the tasks in a txt file. The part …

Member Avatar for Pride
0
414
Member Avatar for themaj

I need to start my VB.NET app through a batch file and pass an argument to it. The app uses the argument (a dated directory;Ex: 20120530) to process the data files there, output a CSV and a Log file and then close the app. The app does not need any …

Member Avatar for themaj
0
407
Member Avatar for kkhembrom

I am working in school projet. I have made a database and also search from database, everything is fine... But I want to know how in search I can retrive exact parameter. eg: suppose in TaxtBox1.Text = "VI" then the search result must come "VI" only not "VII"/"VIII" Kindly help

Member Avatar for Reverend Jim
0
102
Member Avatar for kerek2

Hi Alls, I'm need your help regarding this issues. What i'm try to do is when updating or insert command done,the color will follow. like below :- if dr.true then fcmd.executenonquery listbox1.items.add ("Good") Listbox1.forecolor = color.green else gcmd.executenonquery listbox1.items.add("Bad") Listbox1.forecolor = color.red end if but unfortunately when the color cahnge …

Member Avatar for Reverend Jim
0
213
Member Avatar for ScubaSam

Hi guys I came to a dead end writing a program for one of my friends, I cant seem to get data in my datagridview to show in my textbox. can anyone please assist? I need to make a invoice in the multiline textbox with data in my datagrid view …

Member Avatar for ScubaSam
0
94
Member Avatar for chrisdent1986

Hi I'm a final year university student and i'm running into a bit of trouble with my final year project (It's very important) My task is to create a DBA (Database Administration) tool in visual basic to allow me to add/edit/delete users from an existing oracle(sql) database. I really don't …

Member Avatar for 201061198
0
204
Member Avatar for DyO1

Hello i'm trying to make a text editor but i cant find codes for Save button....someone please give me? I searched on google but no luck (like always)

Member Avatar for Pride
0
218
Member Avatar for romanzo

Hello, I basicaly not familiar with vb.net because I'm new to it but I need help for my assingment P.O.S System but I can't fin a way to deduct the amount that you want to remove from the list. I always have this eror and I don't know if the …

Member Avatar for romanzo
0
329
Member Avatar for abhi415

**I am facing some problem in updating ms access with parameters. I succeeded to insert the data in access with parameters. My code for inserting the data is:** Dim dbPath As String = "C:\Users\Abhishek\Documents\ToolDatabase.mdb" Dim connStr As String ="Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=" & dbPath & ";Jet OLEDB:Database Password=agupt80;" Using …

Member Avatar for M.Waqas Aslam
0
159
Member Avatar for marky101

is it possible in vb.net to save automatically records in mysql database during brownout or power supply loss? I want to develop an application in vb.net that is able to save records automatically when there is a power failure. I need ideas. Thank you.

Member Avatar for M.Waqas Aslam
0
215
Member Avatar for DyO1

i need a code for making a tabbed browser please help me ! just give me instructions on hol to duplochase the browser windo and how to make the back,next buttons to work for the selected tab. thank you.

Member Avatar for DyO1
0
142
Member Avatar for fafa70

hi. i have a panel in a form and a button. iwant to write a program that when i push the button,a circle be drawn in panel but problem is here. because the handler in button is eventArgs but the panel is paintEventArgs. can someone give me a suggestion for …

Member Avatar for Pride
0
775
Member Avatar for HibaPro

I need to know if there is any diferences when i create an application that connected with sqlserver for 1 pc or for a local network ?? anyone can help ??

Member Avatar for Reverend Jim
0
93
Member Avatar for hubber92

Hey Guys, Got a question on storing a value from protcted method to a public variable then using that public variable(with value from protcted method) in another protcted method.. My explaination, so I'll show my code. I'm new to coding so pls be easy on me.. You help is appreciate …

Member Avatar for hubber92
0
158
Member Avatar for BadVinegar

I'm fairly new to visual basic. I was trying to make a program that generates code for you, based on whatever the user inputs. But whenever I click generate, I get this error "Invalid CastException was unhandled. Conversion from string "//Generated using MAYAN. Minecr" to type 'Double' is not valid." …

Member Avatar for BadVinegar
0
236
Member Avatar for ibpet11

Hi guys, I have a apps that I need your input inorder to improve efficiency, the apps can read a text file (A) and also another text file (B) then spit lines in both files, it can further compare to see if there is any common line using a unique …

Member Avatar for Reverend Jim
0
3K
Member Avatar for marky101

How to get the correct and current date and time in vb.net even a user change the computer's system clock? Let's say the correct and current date and time is 7/20/2012 11:00 AM then I change the clock to 7/19/2012 11:00 AM. How to retrieve the original date(7/20/2012) in vb.net? …

Member Avatar for gusano79
0
162
Member Avatar for tendaimare

I am usiing the code below to calculate the sum of rows in my datatable with the productcode in the textbox but if the code is not in the datatable I get the error "conversion from dbnull to sting is not valid". How can i trap this error in this …

Member Avatar for Reverend Jim
0
587
Member Avatar for sean.downes.96

hello, im sure ive asked this question already but cant find the thread. How do i transfer data from 1 form to another but in a datagrid view. Example: I have data that ive entered in Form2. On Form 1 i have a datagridview box. Wen i press Send on …

Member Avatar for sean.downes.96
0
283
Member Avatar for alexandra.lopez.94043

I've had this error for today and I don't know how to correct it. Would someone please help me? My program would run but it would freeze for sometime Dim welcomemessage As String = "QUANTITY DESCRIPTION TOTAL" & vbCr Dim totalprice As Integer If Checkbox1.Checked = True Then welcomemessage = …

Member Avatar for M.Waqas Aslam
0
119
Member Avatar for alexandra.lopez.94043

![menu3](/attachments/large/3/menu3.jpg "menu3") MessageBox.Show("COSTUMER" & vbCrLf & TextBox1.Text & "QUANTITY" & " " & vbCrLf & TextBox2.Text & TextBox3.Text & TextBox4.Text & TextBox5.Text & TextBox6.Text & TextBox7.Text & TextBox8.Text & TextBox9.Text & TextBox10.Text & TextBox11.Text & TextBox12.Text & TextBox13.Text & TextBox14.Text & TextBox15.Text & " " & "Description" & vbCrLf & …

Member Avatar for M.Waqas Aslam
0
241
Member Avatar for iampord

Hi Good Day Guys! Just cant find the answer. I just wanted to ask If there are any way to detect keypress while your application is minimized or not in focused? Thank you very much.

Member Avatar for M.Waqas Aslam
0
135
Member Avatar for benscomputers

In the following code I need to modify it so that the btnSave control's click event procedure determines whether the user has entered the phone number in the required format: three digits, a hyphen, three digites, a hyphen, and four digits. If not a message should display saying the format …

Member Avatar for benscomputers
0
279
Member Avatar for M.Waqas Aslam

hello ! i want to connect foxpro db file .dbf and want to show all the records in my grid . i am using vs2008 can anyone give some idea. Regards.

Member Avatar for pritaeas
0
43
Member Avatar for Eruditio

Is it possible to alter Excel Viewer print settings via VB.NET and, if so, what is the syntax I need to do this? I would like my application to be able to change the printing preferences of an Excel spreadsheet opened in Excel Viewer (through the application via `Process.Start()`). This …

Member Avatar for Eruditio
0
1K
Member Avatar for Eruditio

I have a ListView control on a tab page. The backcolor of the items of the ListView are changed according to certain criteria, but whether or not the backcolor changes appears to be pretty random. The tab page containing the ListView is not the default tab page on application startup. …

Member Avatar for Eruditio
0
1K
Member Avatar for iFrolox

Hello everyone, im currently stuck because i'm not sure how to start on this part of my program. What i'll need help is controlling another application, my program is suppose to run another application, and be able to hide it, show it, verify that is running, it also needs to …

Member Avatar for iFrolox
0
3K
Member Avatar for Maulikpra

Dim mm As New SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=Integrated Security=True;Connect Timeout=30;User Instance=True") mm.Open() Dim mm1 As New SqlDataAdapter("select * from Area_type order by Area_name", mm) Dim ds As New DataSet mmm1.Fill(ds) With ComboBox1 .DataSource = ds.Tables(0) .DisplayMember = "Area_name" .ValueMember = "Area_name" .SelectedIndex = 0 End With mm.Close() 'hi i am student and …

0
171
Member Avatar for DyO1

Hello can someone give me a code for a program to check your ram and video ram? im pretty sure i have to use eventLog but how is thay going to work? Please help

Member Avatar for DyO1
0
88
Member Avatar for belenos46

I'm trying to write a string out to a file using File.AppendAllText, but I need to do it several times over the course of the program. I'm not using threading, and to give the file time to close, I'm letting my program sleep for a couple of seconds after it …

Member Avatar for belenos46
0
774
Member Avatar for JoThousand

Hi, I'm creating a bookmarks system for my web browser. I'm learning how to use XML files with VB.Net, so my bookmarks are stored in an XML file. When I want to add a new bookmark, the code below works, but it only allows for one bookmark. How can I …

Member Avatar for JoThousand
0
350

The End.