20,278 Topics
| |
I am populating datagridview(10 columns) with dataset.I am changing 7th column from textbox to comboboxcell at run time if some value(say caste) in database table for row is null. If caste field is not null in database, then comboboxcell should display that value for that particular row.Below is the code … | |
| |
I am developing a code where im getting the interval of two dates for example DTLeavePayFrom = 1/1/2013 DTLeavePayTo = 1/14/2013 since 1/1/2013 is tuesday and 1/14/2013 is monday, the date diff of both date is 14 but how can i exclude the count of 2 sundays, i have an … | |
Hi I have a datatable which i can save easily as xml using the following code. My problem is that i also have a textbox which i would like to save with this datatable. How can i save a datatable + textbox value as one XML file. Many thank for … | |
how can do that please any one can help me about send and recieve packets by serail port the pakeck that i need to send is in hex to controll some thing how can do this in vb.net how can do like this design in the picture below please help … | |
Hello, I have a tcplistener and a tcpclient. If the client computer went down for some reason, what would be the best way to handle disconnections. Thanks in advance, Minko | |
I'm using the Visual Basic that comes with Visual Studio 2012 Utlimate, and everything I find online doesnt ever work. I am simply trying to make it to when a button is clicked the rows that are checked get deleted. Do While TodaysTrans.SelectedItems.Count > 0 TodaysTrans.Items.Remove(TodaysTrans->CheckBox.Equals(true)) Loop | |
Hello everyone, I have my problem in using timer in vb. I have aleady the value, all i want is my time will count down. my sample code is this: Dim datetime As DateTime Private Sub ... datetime.AddMinutes(MinuteBox.Text) datetime.AddSeconds(SecondBox.Text) datetime.AddTicks(1) End Sub Dim remaining As Integer 'unused variable Private Sub … | |
Guys I want to get my iput from a barcode reader. Apparently I don have a barcode reader but, I just want to make a code ready to operate in a shopmif a barcode reader is going to be foun later but th software or program already made. Please help … | |
Please excuse the noob-ness. Here's the code: Dim value As Double = LimitString LimitString = 0.01 LimitString = value.ToString("e1", CultureInfo.InvariantCulture) I'm trying to retain a value "0.01" as that instead of it being converted to "1.0-002". Aftert the fourth decimal place it needs to be scientific. Foe example "0.00001" would … | |
Hi to Everyone, I want to get the total (column) amount using Listview w/o database VB.NET Help me please... Thanks.. _______________________________________________________________________________________________________ lstitems Item Name | Unit Price | Quantity | Amount ------------------------------------------------------------ Sample1 | 100.00 | 1 | 100.00 Sample2 | 100.00 | 1 | 200.00 Sample3| 100.00 | 1 … | |
Hye friends. I am facing one issue related to socket program written in VB.NET (2008 + 3.5 framework) since long time....I am having a socket server application which accepts the connection...It accepts 800 connection without any problem but after that it throws exception saying...."Exception of type 'System.OutOfMemoryException' was thrown. : … | |
I want to set default value for column of datagridview.I am adding combobox column "caste" at runtime in datagridview.Now while adding each row,if database have value for caste field,combobox should show that value as default value else no default value should be selected.Thanks in advance. | |
I have been programming in c++ exclusively at my university. This upcoming semester I am learning Visual Basic. Right now I am looking for a way to use my c++ code in Visual Basic, I have read that it is possible by making a shared library. But my question is … | |
I m a student and i want to make a project in VB.Net but i am really confuse so kindly anyone which have special command in vb.net plz guide me what i do which is better for me.. Thnx | |
the MySql command is being skipped and the error being execute within th Try Catch.. Please help of possible Dim myConnString = ";" & _ "Database = inventory;" & _ "Uid = root;" & _ "Pwd = root;" & _ "Connect Timeout = 30;" Dim myupdateconnection As New MySqlConnection(myConnString) Dim … | |
hi people.. I was wondering if u experts could help me with this. I have attached a screenshot of my form. This is an invoice system.. I have customers table for customer profiles.. I have Products table I have manufactures table I want to save all invoices so that these … | |
hi I have an access database, which I connect it to the form I have text boxes which displays info from the fields in the database. I have created a "Next", and "Previous" button, which the user can move between the database info but i don't know the code for … | |
| I was just wondering if there was any way to validate a listbox into only allowing a letter to be entered once, no matter the case. I am making a Hangman game and I only want the user to be able to enter a letter once, but I want the … |
Hi.. do you think you can make an shortcut of this? I have combobox like 40 combobox i have to put it like combobox1.additem("sample") combobox1.additem("sample2") combobox1.additem("sample3") combobox1.additem("sample4") combobox2.additem("sample") combobox2.additem("sample2") combobox2.additem("sample3") combobox2.additem("sample4") combobox3.additem("sample") combobox3.additem("sample2") combobox3.additem("sample3") combobox3.additem("sample4") until combobox40 i put it like that is there a way to make it easier? | |
I have 2 datagridview (dgvFrom and dgvTo) and 2 buttons with right and left arrows. dgvfrom is populated from dataset. Now when I select rows in dgvFrom and click right arrow button, selected rows should move to dgvTo grid and those selected rows should get deleted from dgvFrom grid.and vice … | |
Hello, How can I go about hiding a form from another thread. I have two forms and a module, from the module I have started a new thread and at some point during this thread I want to hide the second form. How would I go about this as everything … | |
Hey guys, I've managed to successfully create a little basic installer for installing all of the files. HOWEVER. I have multiple Access database files which cant also be installed to the Program Files directory because then they become read-only. So, I was going to install them to the Application Data … | |
How to add vlc media player in vb.net.i am adding vlc player but it not work pls give suggestion how to play vlc player in dot net windows application. | |
Hi, I have a listbox on my form that is bound to my SQL table. I have various functions to that table from my from (add rows, delete rows, edit rows). However, after I do one of these functions, the data in the SQL table updates correctly, but the listbox … | |
Dim Con As OdbcConnection = New OdbcConnection query = "Select Part_No,SLNOINPART,House_No,SurName+ ' '+F_Name+ ' '+M_Name As Name,Sex,Age,LocalityId from datafile where (Part_No between " & txtPartFrom.Text & " and " & txtPartTo.Text & ") and (age between " & txtAgeFrom.Text & " and " & txtAgeTo.Text & ") order by Part_No" … | |
Hi all I have an Access database Table and one of the columns has a date value the column name is closing. I would like to do an order by closing asc the null values are allways on top and I would like it to be at the bottom. I … | |
Hello, i am creating one multiuser project. All data will be stored on server side. But i need to store some settings on client side. So can any one help me which are the ways to locally store data and which is best??? Thank you.. | |
**Program using the *StringBuilder* class that will accept string from user and will count the numbers of vowels in it.** Drag and Drop: 1. A Button 2. A Textbox 3. A Label Public Class Stringbuilder Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim mystring As … |
The End.