20,284 Topics

Member Avatar for
Member Avatar for seek
Member Avatar for bigzos

Hey guys,I have an excel sheet with one of the columns as name .There are many rows with same name and I wish to mail all the rows with same person name to that person(given there is a column specifying email address).I will be thankful for your suggestions. The following …

Member Avatar for bigzos
0
99
Member Avatar for KushMishra

Hello everyone !!! I recently designed a web application using VB.Net and tried to copy a folder (containing multiple files) from one disk drive to another but unfortunately I didn't succeed. I tried using a file upload but that is only for single/multiple file selection however I want to select …

Member Avatar for KushMishra
1
153
Member Avatar for mistersalty

Hello again, I'm still working on my game, and now I'm running into a situation where I am using 4 radiobuttons in a groupbox for the answers, as each question changes the text of the radiobutton changes and along with it the correct answer. I want to be able to …

Member Avatar for mistersalty
0
854
Member Avatar for dilse4sk

hi every one i use the above code to restrict the user to enter the past date. but i am getting this error message If NewBookingDataGridView.Item(3, 3).Value.ToString() < Now.Date.ToString() Then MsgBox("you are trying to save records of past date.") error is ** Index was out of range. Must be non-negative …

Member Avatar for hericles
0
101
Member Avatar for ZidaneXero

Hello Everyone So I have 2 datagridviews that compare information between them and if it does match it colors the rows in green and after its done all the white spaces colors the rows in RED, so the main thing is that i dont know how to print only the …

0
103
Member Avatar for george8

Hi all... I hope you have good time .... I have problem in the new program and I want to your help .. I want to back up the database type from Access, but my problem I could not generate code to determine the path of the database, I noticed …

Member Avatar for Sahil89
0
284
Member Avatar for CEOEngineerSoft

Here is a class to SQL use an access database: Class MyDB Public DBName As String Private con As New OleDbConnection(ConStr) Sub New(ByVal DBN) DBName = DBN End Sub Private Function ConStr() ConStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & DBName & ";" End Function Private Sub ConInit() If con.State <> ConnectionState.Open Then …

Member Avatar for Sahil89
0
200
Member Avatar for Iamateur
Member Avatar for Animal Mother

How do I find the number of USB ports available, and what their references are. Example there are 6 USB ports on my motherboard what code would I use to find their reference like, port 1 is called 0 and port 2 is called 1. I want a user to …

Member Avatar for Begginnerdev
0
196
Member Avatar for Iamateur

I have created a Combo box with the 3 items. And one more Combo Box with the 9 items. When one item of 1st combo box selected,the 2nd combo box should show only 3 items out of 9 items. how to do this? I tried but not getting it.

Member Avatar for Reverend Jim
0
145
Member Avatar for Subhajyoti_Saha

Hi, I am trying to create a custom listbox control by inheriting the default system.windows.controls.listbox class which would automatically select the item based on keyboard input. Currently the listbox provided in Visual Studio is capable of searching only on the first letter, but I am trying to create onw which …

Member Avatar for artemix22
0
100
Member Avatar for vijaybrar

hi There please help me in these program because the character only moves 1 time but it must be like this input: abcd output: dabc then when i click forward again output cdab output: bcda output: abcd like this and also it must be in backward to when i click …

Member Avatar for Reverend Jim
0
152
Member Avatar for bettybarnes

Hi I have a program in java that outputs 1000 hello world without using iterators (for, do while etc).. I tried to translate my code into vb.net and here's my code: `Module Module1 Sub Main() printToThousand(1) End Sub Public Function printToThousand(ByVal i As Integer) Dim r As Boolean Console.WriteLine("Hello World") …

Member Avatar for Reverend Jim
0
83
Member Avatar for Iamateur

I have got menu bar. In that there is Logout option also. When the user clicks on Logout then it should pop up the msg that "successful logout" and close the current page and redirect to login form. I wrote this code: Me.Close() MsgBox("Logout Successful") Form1.Show() Form1.TextBox1.Text = "" Form1.TextBox2.Text …

Member Avatar for artemix22
0
151
Member Avatar for Gus_19

My textboxes and labels are fine in design view, but when I switch over to Debug or Build, a couple of the textboxes are pushed together and the labels aren't in their original spots. Haven't seen this before and was wondering if anyone has any suggestions as to why and …

Member Avatar for Mitja Bonca
0
228
Member Avatar for Gus_19
Member Avatar for adam_k
0
62
Member Avatar for ManafShabbir

I am making a project for my final year, asp.net with vb.net ( Beginner ). i upload the file using the fileupload control of asp.net on the server. Now how will the client be able to download that file? Would appreciate help.

Member Avatar for ManafShabbir
0
103
Member Avatar for Iamateur

I have added 2 Combobox on form. Combobox1 and Combobox2. I have connected databasetable to Combobox1. i.e. Showing items of Combobox1 from database table column A. i.e. displayed one column of databasetable in Combobox1. Same way I have connected same databasetable but different column B to Combobox2. So,What I am …

Member Avatar for fox_3
0
108
Member Avatar for Iamateur

how to store all items of database to combo box. i.e. store complete column in combo box?

Member Avatar for Mitja Bonca
0
132
Member Avatar for Sawamura

hi all, this my question again.. i need to load data from database and it will show in combo box. if i want to load id_user from database i will get all id user fill the combo box item, so i can choose the user. how can i do this? …

Member Avatar for Iamateur
0
376
Member Avatar for mistersalty

Hi, I'm kind of new to VB and I'm trying to make myself a little game to help me get into the swing of VB (I know some java). Basically what I'm trying to do is this, I have 20 statements in a Select Case (right now they're just labels …

Member Avatar for mistersalty
0
236
Member Avatar for mikeybware

I have a form that has a tabcontrol (TabControl1) and within that tab control is another one (TabControl2). I have textboxes on the main form as well as in each of the tabcontrols. In my savebutton event I have the following code: If CheckIfDirtyAfterLock = "Just Unlocked" Then CheckIfDirty(Me.Controls) Else …

Member Avatar for Unhnd_Exception
-1
1K
Member Avatar for millsasbc

Hey Have a real problem here, I am making a simple calculator and it's saying InvalidCastException was unhandled when I try to debug it, here's the code, please tell me whats wrong with it: (and yes I have renamed the textboxes to addequals etc... ______________________________________________________________________________________________________ Public Class Form1 Private Sub …

Member Avatar for millsasbc
0
159
Member Avatar for Pgmer

Hi all. im writing function to find and replace the string. Im using 2 textbox's one for keyword which is to find and one to to replace. im having having two buttons btnfindnext and btnreplace. if i click on replace button it should select the text first and agin if …

Member Avatar for shamy086
0
234
Member Avatar for ZeroZen

Hello Daniweb! I'm an amateur programmer who's learned quite a bit from online references, and usually searching eventually reveals the problem but I'm stuck! I've overcome many obstacles when creating a custom button on the Ajax Editor control, namespace issues, registring the controls properly etc. I resist the temptation to …

Member Avatar for hericles
0
204
Member Avatar for bilal_fazlani

#What do u think is wrong in this code???# ##no textbox is being affected :(## For Each ctrl As Control In Panel1.Controls If ctrl Is GetType(TextBox) Then CType(ctrl, TextBox).Text = "" End If Next

Member Avatar for ZeroZen
0
141
Member Avatar for bigzos

I have a database of asset information with asset age as one of the columns..now i wish to display all the assets which crossed 4 years in the current year ..any suggestions will be appreciated!

Member Avatar for bigzos
0
95
Member Avatar for Iamateur

There is combobox and few textboxes. With the help of insert sqlcommand I can store textboxes values in the database. But with the same insert sqlcommand I need to store one more combobox selected item too.. How to do this?

Member Avatar for Iamateur
0
99
Member Avatar for Iamateur

The combo box will show the category. Suppose there are 2 categories A and B. When we click on A then the code given inside 4 buttons should work. I tried in this way ,I checked the condition of selecteditem based on that added all 4buttons sub code. But it …

Member Avatar for Begginnerdev
0
113

The End.