20,285 Topics
![]() | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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. … | |
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 … | |
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 - … | |
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 … | |
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 … | |
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 … | |
Dear all i need help.......!!!! i want to insert data using a datagrid how can i use it? ![]() | |
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 … | |
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 … ![]() | |
How can I Print the the records I search in the listview!!??please help me..thanks | |
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, … | |
hi..I want to ask the specific command button and forms commonly used in the property custodian inventory??thanks | |
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 … | |
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 … | |
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 &= … | |
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") … | |
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. | |
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 | |
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 … | |
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 | |
[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 = … | |
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? | |
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" … | |
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 … ![]() | |
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 … | |
any idea for how to make a computerized examination program using vb.net... thanks^_^ | |
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 … | |
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 … | |
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 :) | |
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......!!!!!!!!!!!! | |
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 … | |
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: ![]() | |
Hi everyone I have a question to everyone. dim a as string ="preview=" dim b as string = "&" textbox1.text = a + "Random Code" + b result must be: preview=93a92& Random Code: I Need something that does not skip the text/number. Random Code can be everything. Example: 93a92,b3at2, 1256abcde … | |
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 | |
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 … | |
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 :) | |
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. … | |
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 = … | |
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 … | |
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 | |
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????? |
The End.