20,285 Topics

Member Avatar for
Member Avatar for ymathur

I am using a ListView control in my VB Form and I want to save all the data in my ListView control. It has 2 columns and the number of rows can keep increasing depending on the user. Please help me with this query. Thanks in advance.

Member Avatar for mb01a
0
208
Member Avatar for papershop

Dear All i need help how to insert data into sql database form a datagrid... this is the example.... i have view data from tabel sales in a data grid product name sales jan sales feb sales mar MILK 10 15 20 Biscuit 7 6 9 Tea 5 15 30 …

Member Avatar for pritesh2010
0
140
Member Avatar for iefilec

hi. i just want to ask how can i populate a listview n vb.net that has a is limited by a date from and date to. i have a datetimepicker for start date and datetimepicker for end date and i want do list all the entry of my database in …

Member Avatar for MartinPlatt
0
483
Member Avatar for Oneryavuz

i need to add explanation to my file i have a little filesystem in my program (so i dont want to use database for files) how can i add and call explanation to myfile i have some ideas but thats last resort couse its not not efficient and hard to …

Member Avatar for Reverend Jim
0
182
Member Avatar for macvere

The Rugby World Cup Organizing Committee has decided to embark on a project to automate their score board keeping for rugby world cup games results. This program would be tested and used in the current World Cup and then later could be used in the major rugby tournaments around the …

Member Avatar for Reverend Jim
0
150
Member Avatar for tombihn

Note, I screwed up and asked how to get DisplayMember text, I meant to put ValueMember... I have a combo box I'm populating from a datatable. It has two columns, one for display and one for value. I can find the index of the associated item in the combobox list …

Member Avatar for tombihn
0
1K
Member Avatar for TIP.Synergy

listview1.items.add << it's is possible to declare a specific subitems vertically? i don't know how, but i'm still trying fix this please help here's my sample [CODE] Dim item As ListView Dim row As ListViewItem = Me.lstLicense.Items(0) With row lstLicense.subitems.Add(16).Text = (objDataReader("Division")) End With [/CODE]

Member Avatar for NetJunkie
0
196
Member Avatar for Oneryavuz

i need to use copy clipboard for copying files for example i ll copy some file then i need to save this somewhere in my program how can i do that? i searched little but i just can find copying strings. :S I need more than that :) Thx for …

Member Avatar for NetJunkie
0
240
Member Avatar for TriceD

Greetings to all. My problem is not particularly VB.Net specific but having looked around this forum, I didn't know exactly where to post it and considering that I'm writing my program in VB.Net, I just decided to do so here. I apologize in advance, if that was wrong of me. …

Member Avatar for TriceD
0
494
Member Avatar for Jesus Jacques

Ok, here's the deal. I'm trying to call make visible an object, i can do this: Button1.Visible = True but, i was wondering if there is a way that i can call it like this. Lets say i have a variable 'OBJNAME' wich value is "Button1". What i want to …

Member Avatar for Jesus Jacques
0
1K
Member Avatar for deepanbecse

Hi friends, I wanted to restrict my text box to have only 10 characters.I have used the following code [CODE]Private Sub txtSpouseWorkPhone_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtSpouseWorkPhone.KeyDown If txtSpouseWorkPhone.TextLength > 10 Then MsgBox("Only 10 characters are alowed", MsgBoxStyle.Critical, "Invalid PAN No") txtSpouseWorkPhone.Text = txtSpouseWorkPhone.Text.Substring(0, (txtSpouseWorkPhone.TextLength - …

Member Avatar for deepanbecse
0
116
Member Avatar for Ehtesham Siddiq

Hi, I have a datagridview.And as per my requirement the data is supposed to be filled from three different tables in database.I have created the query and is succesfully able to populated the data in it with the cross join. Have a look at my structure. Table1,Table2,Table3. table1 has 2 …

Member Avatar for Ehtesham Siddiq
0
300
Member Avatar for jefroxnergal

I'm currently practicing working on mobile application using vb .net 2008. So I have these 5 forms that I link together. The form # 2 is where my quit button was positioned. I want to quit the whole application but form # 2 was the only form that is terminated …

Member Avatar for jefroxnergal
0
97
Member Avatar for khentz

on my project, i have a search textbox and also a listview. What I want to do is when a user type in the search textbox, it will automatically list all of possible results in the listview. For example, if I type letter 'a' in the search textbox, it will …

Member Avatar for aishapot
0
89
Member Avatar for papershop
Member Avatar for hueikar
0
84
Member Avatar for bluehangook629

hey guys, I dont know where to start on this so please help. I have multiple forms and reports with different print area. Some are designed to print to a thermal label printer and others to department shared printers. Currently the user is able to change the printer in print …

Member Avatar for bluehangook629
0
96
Member Avatar for rooneey10

I am creating an Interactive map which displays the facilities when the user clicks on the Checkbox, such as toilets. It will display all the toilet locations via PictureBoxes. I want to do this without having to write all this code? [CODE]Private Sub chkCash_CheckedChanged(ByVal sender As System.Object, ByVal e As …

Member Avatar for Unhnd_Exception
0
721
Member Avatar for hackerjackie
Member Avatar for Reverend Jim
0
83
Member Avatar for pfm200586

Hello everyone. I have a program that is driving me crazy. It is a cashier change return where the user enter the amount owed and the amount paid and when he/she press calculate the program should display the change due as well as the number of Dollars, Quarters, Dimes, Nickels, …

Member Avatar for Reverend Jim
0
396
Member Avatar for hackerjackie

hi..I want to ask the specific command button and forms commonly used in the property custodian inventory??thanks

Member Avatar for lolafuertes
-3
55
Member Avatar for hackerjackie
Member Avatar for Reverend Jim
0
117
Member Avatar for slenno1

Hey Everyone, So I currently have a user interface that I created in visual studio that takes user input as arguments for a certain VBS script that I wrote, and then calls and executes that script via the Process.Start method. When the script is executed, it is executed as a …

Member Avatar for Reverend Jim
0
207
Member Avatar for dakaboguy

Im trying to select data from a MS access database, i have done this for SQL server before with no problem, but now with a Access database i get a run time error for "No value given for one or more required parameters". Below is my code [CODE] Private Sub …

Member Avatar for dakaboguy
0
1K
Member Avatar for TIP.Synergy

i got an error >>> Arithmetic operation resulted in an overflow. please help thanks in advance [CODE]Private randomClass as new Random For i = 0 To CInt(10) - 1 strId &= Mid(strCodes, Int(Len(strCodes) * randomClass.Next() ) + 1, 1) Next For i = 0 To CInt(4) - 1 strId2 &= …

Member Avatar for Pgmer
0
699
Member Avatar for delcatto

A fast and universal way to get all the user information on the active directory with export to csv. Don't forget to make a reference to system.directoryServices. [CODE] 'CONNECT 'with Authentication 'Public enTry As System.DirectoryServices.DirectoryEntry = New DirectoryServices.DirectoryEntry("LDAP://YOURSERVER", "USER", "PASSWORD", DirectoryServices.AuthenticationTypes.Secure) 'no Authentication Public enTry As System.DirectoryServices.DirectoryEntry = New System.DirectoryServices.DirectoryEntry("LDAP://YOURSERVER") …

Member Avatar for piyush.agrawal
0
2K
Member Avatar for NetJunkie

So, I am running into an issue. I am wanting to display the contents of the open CMD window in my Rich Text Box. Any help? Thanks.

Member Avatar for Teme64
0
540
Member Avatar for pro_gee

help please i am creating a game and i would like to record the score and name ounce the player is game over.. you can also view the records

Member Avatar for Lipe Shtogu
0
122
Member Avatar for Lipe Shtogu

Hello to everyone i have a problem with my project. in one form i have 2 textboxes in one i have displayed the serial number. in the second i want display the current user logged on software. how can i display the current user logged in ????? the code for …

Member Avatar for Lipe Shtogu
0
138
Member Avatar for vn412

Hi, I generated columns from database and getting cell values from database too. my problem is that for some columns I have to generate checkbox in each cell at runtime. I m using visual studio 2010. Please Help Thanks

Member Avatar for Patel Pritesh
0
298
Member Avatar for RedexProGamma

[CODE]Public Class frm_Main Private Sub btn_Start_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Start.Click Timer1.Start() End Sub Private Sub btn_Stop_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Stop.Click Timer1.Stop() End Sub Private Sub btn_Reset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Reset.Click tbx_Min.Text = "10" tbx_Sec.Text = …

Member Avatar for hericles
0
247
Member Avatar for Lek Plepi

i have two DatePickers on form and I want filter between two dates. So when i click search in lsitview display the dates between can anyone tell me how to deal with?

Member Avatar for sgt_toasty
0
143
Member Avatar for jonoman

Hi, I want to create a function to test the first character of a string to see if it is lower or upper case, and change it accordingly. However, the rest of the string has to stay the same. Dim S As String = "C:\Users\profile" should be returned as "c:\Users\profile" …

Member Avatar for jonoman
0
93
Member Avatar for rossi_4656

Hi guys, I'm trying to hook the keyboard in vb.net. Who can show me an example where you press button "F2" and a message box appear (MsgBox("You've pressed F2")). I need to hook the keyboard to make some action when DirectX application is running (I've Already tryed with "registerhotkey" but …

Member Avatar for Unhnd_Exception
0
3K
Member Avatar for Jake.20

Guys, i have problem in my search button after i search the name it didn't highlight the name of the person. this is the code that i found on the internet. [CODE]Dim searchName As New TextBox Dim sname As String sname = InputBox("Search for gym user." & searchName.Text) Dim foundItem …

Member Avatar for LuckyBhumkar
0
204
Member Avatar for marsky
Member Avatar for Netcode
0
59
Member Avatar for Lek Plepi

Hello everyone I have a problem. i want to make a form with movable command buttons. the aim is that these buttons will represent the computers that are installed in one room. or the tables in one bar. all the tables can change depending the order that user give. can …

Member Avatar for Techyon
0
357
Member Avatar for TIP.Synergy

it's a search listview and i want to retrieve the data all i want is to populate a data in listview per each row please help... here's my sample code [CODE] Dim objDataReader As OleDbDataReader objDataReader = objCommand.ExecuteReader If objDataReader.HasRows = 0 Then txtCostCenter.Text = "" txtDivision.Text = "" End …

Member Avatar for TIP.Synergy
0
104
Member Avatar for Oneryavuz

i have a reminder section in program and I want to see some icon when 2 days before to remind so i need to sort dates and i need to measure the time interval :) how can i do this thx for Answers :)

Member Avatar for Oneryavuz
0
63
Member Avatar for dil.om

hello sir, i am working on attendance system project.For that i want to use swap card machin.plzzzz tell me the connection code between swap card machine and in my attendance software. plzzzzzzzzzzzzzz help me......!!!!!!!!!!!!

Member Avatar for Lek Plepi
0
168
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in Vb.net.I have a datagridview which is populated from Database.I have a save button on the same form that has DatagridView. My requirement is i want that all the records that are populated in DatagridView should be saved in a certain table of …

Member Avatar for Ehtesham Siddiq
0
324
Member Avatar for shivya jain

hello, I want to link a text file in my userform. [B]Can i use linklabel for hyperlink?[/B] please help me........... thanks in advance.:confused:

Member Avatar for Unhnd_Exception
0
279
Member Avatar for lolsn0r

Hi everyone I have a question to everyone. dim a as string ="preview=" dim b as string = "&amp" textbox1.text = a + "Random Code" + b result must be: preview=93a92&amp Random Code: I Need something that does not skip the text/number. Random Code can be everything. Example: 93a92,b3at2, 1256abcde …

Member Avatar for marsky
1
144
Member Avatar for arjen

help pls i need someone that can help me when i enter the date of birth using the [COLOR="Red"]datetimepicker[/COLOR] box it automatically compute the age and output in a textbox.text

Member Avatar for anaszaheerp
0
7K
Member Avatar for bornwith

I am trying to catch the System.InvalidCastException error. If I put a number into the calculator the program runs ok. If the calculate button is pressed with nothing in the text boxes I get the casting error Conversion from string "" to type 'Decimal' is not valid. I understand why …

Member Avatar for bornwith
0
168
Member Avatar for shivya jain

Hello Experts, How can i save the optionbutton and checkbox value in sql database? please send the query: dim cmd as new sqlcommand("insert into [tablename] values(........)",c.con) please help me :)

Member Avatar for adam_k
0
107
Member Avatar for Naveed_786

When i pass the parameter and run the report it works fine as i close the form it closes the form is there any way so that i should be able to close the crystal report viewer and pass the parameter again and should be able to view report again. …

Member Avatar for Naveed_786
0
106
Member Avatar for mishphar

I have a csv file in drive C: when I am going to display in datagridview but the 1st line is not display in gatagridview, My csv file content data is as follows "^NSEI",5040.00,"9/2/2011","6:00am",+39.00,0.00,0.00,0.00,0 "RCOM.NS",84.70,"9/2/2011","6:29am",+5.15,81.90,85.65,79.70,13378691 "RELIANCE.NS",805.45,"9/2/2011","6:29am",+22.85,796.70,813.70,789.45,7791545 "DLF.NS",207.85,"9/2/2011","6:28am",+11.10,194.25,209.90,191.05,10297314 "UNITECH.NS",26.85,"9/2/2011","6:30am",-0.75,27.80,28.45,26.70,44035656 "HANUNG.NS",101.10,"9/2/2011","6:29am",-0.50,102.35,104.80,100.60,326326 "LITL.NS",16.75,"9/2/2011","6:29am",-0.30,17.00,17.50,16.35,9415675 "INDIABULL.NS",149.95,"9/2/2011","6:28am",-4.00,155.00,157.00,148.50,677258 My code is below: [CODE]Dim csvFileFolder As String = …

Member Avatar for Phasma
0
596
Member Avatar for mrbungle

As the title says- I'm not sure which appdata folder to use- Should I use CommonApplicationData, The directory that serves as a common repository for application-specific data that is used by all users. Or LocalApplicationData, The directory that serves as a common repository for application-specific data that is used by …

Member Avatar for mrbungle
0
122
Member Avatar for hackerjackie

I am using the list view and data grid to display my records!!what are the codes to be used for printing these data records......??please help me..thanks

Member Avatar for Oxiegen
0
57
Member Avatar for Lek Plepi

Hello i have created a form that has a combobox.the combobox displays the products.how can i add a selected product into a listview?????

Member Avatar for Lek Plepi
0
174

The End.