20,278 Topics

Member Avatar for
Member Avatar for Rachna0309

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 …

Member Avatar for Rachna0309
0
161
Member Avatar for Waledon
Member Avatar for poojavb
0
100
Member Avatar for chocomilk

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 …

Member Avatar for chocomilk
0
99
Member Avatar for Mikey12345

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 …

Member Avatar for TnTinMN
0
414
Member Avatar for rajeshkhanna03
Member Avatar for Luc001
0
104
Member Avatar for muna.nassr

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 …

Member Avatar for adam_k
0
238
Member Avatar for Minko

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

Member Avatar for Minko
0
81
Member Avatar for t2nator

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

Member Avatar for tinstaafl
0
147
Member Avatar for monching

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 …

Member Avatar for monching
0
748
Member Avatar for MutanaIK

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 …

Member Avatar for tinstaafl
0
166
Member Avatar for Lewelljo

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 …

Member Avatar for tinstaafl
0
98
Member Avatar for TIP.Synergy

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 …

Member Avatar for N.E.Y.O-01
0
5K
Member Avatar for Kamlesh_sj08

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. : …

Member Avatar for gerdal
0
611
Member Avatar for Rachna0309

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.

Member Avatar for Rachna0309
0
2K
Member Avatar for t2nator

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 …

Member Avatar for Ancient Dragon
0
175
Member Avatar for hunain261

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

Member Avatar for tinstaafl
-1
406
Member Avatar for deanpaul.taylor

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 …

Member Avatar for Reverend Jim
0
155
Member Avatar for bilal_fazlani

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 …

Member Avatar for nilesh7136
0
431
Member Avatar for lovely ari

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 …

Member Avatar for Ruzz
0
3K
Member Avatar for leyla

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 …

Member Avatar for leyla
0
685
Member Avatar for ImZick

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?

Member Avatar for TnTinMN
0
193
Member Avatar for Rachna0309

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 …

Member Avatar for TnTinMN
0
788
Member Avatar for Minko

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 …

Member Avatar for Minko
0
2K
Member Avatar for Ariah17

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 …

Member Avatar for TnTinMN
0
152
Member Avatar for swathi sajja

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.

Member Avatar for TnTinMN
0
3K
Member Avatar for Thomas7399

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 …

Member Avatar for Begginnerdev
0
111
Member Avatar for Rachna0309

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" …

Member Avatar for Rachna0309
0
191
Member Avatar for VIPER5646

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 …

Member Avatar for VIPER5646
0
280
Member Avatar for sanket044

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..

Member Avatar for sanket044
0
2K
Member Avatar for patra.pritam

**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 …

Member Avatar for Reverend Jim
0
782

The End.