20,899 Topics

Member Avatar for
Member Avatar for MassimilianoRiz

I've been given two dates that takes their values from two respective dtpickers. I've got to calculate the exact amount of days, months and years between them. So I tried this: Dim dteStartDate As Date Dim dteEndDate As Date dteStartDate = dtpStart.Text dteEndDate = dtpEnd.Text dteResultDays = DateDiff(DateInterval.Day, dteStartDate, dteEndDate) …

Member Avatar for thines01
0
137
Member Avatar for skp03
Member Avatar for M.Waqas Aslam
0
224
Member Avatar for archelle

I created a table in mySql named 'user' where fields are: UserID,UserFirstName,UserMidName,UserLastName,Username,UserType,AcctPassword,DateCreated, DatLastModified and IsDeleted. I create a separate form in vb.net to insert user record in database. My program can do insert command and bound this data from mySql to datagridview. And now, i wanted to update this by …

Member Avatar for M.Waqas Aslam
0
450
Member Avatar for Trn32

Hi All, Kindly note that I'm new to this forum. Hope that you can help me. I have a VB.Net application that must connect to online MySql database. I already have a MySql database and I connected to it from VB.net using the MySql connector (new instance and direct connect). …

0
101
Member Avatar for khizer03

hello i have two text boxes 1)username 2)Password i have a little confusion, when we execute the form by entering the username and password it will execute no problem but when we execute for the i want the same username should be written which has been used in the previous …

Member Avatar for M.Waqas Aslam
1
88
Member Avatar for archelle

I really need some answer to resolve my problem. Here's the situation, I wanted to create a student number using mysql database and vb.net in this form: currentyear-(no. of student in record) Student no. is auto generated.(the no. of student in record part) Example: I entered to school in the …

Member Avatar for M.Waqas Aslam
0
234
Member Avatar for nore

Hello, i want to check what letter is typing by user in textbox in event text change. Any body know how to do that? this is my code : [CODE]Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventHandler) Handles TextBox1.TextChanged MessageBox.Show(??) End Sub[/CODE] ?? = ? Please help me! …

Member Avatar for nore
0
260
Member Avatar for PutingPanday

I want to populate my table in datagridview from my access database table please help... I'm not just trying to bind the table in access to my datagridview...I want to put the data's in my access database to my table in datagridview so far this is my code..... Sub filldatagridview() …

Member Avatar for kothaisaravan
0
2K
Member Avatar for thatscrap12543

Hi, networking is new to me in vb.net as I normally use third party components to do my networking like Winsock Orcas. However I want to make my own classes for networking. The following is what I have so far. It has problems. 1) Its disorganized...particularly the way I'm multi-threading, …

0
170
Member Avatar for ng5

i have two forms in my program. The second form appears when button1 is clicked. I would like the information (textboxes) to be filled in when the second form loads. basically i have a complex calculator and when button 1 is clicked i want a second form to show with …

Member Avatar for ng5
0
162
Member Avatar for sotos

search button for vb 2010 ultimate in access 2007 database and filtering on a datagrid Hi all! I am trying to make a search button which filters a datagrid. First of all, I have a tab and on this tab a have a datagrid (dgr1). When I load this tab, …

Member Avatar for sotos
0
485
Member Avatar for trisha0906

how to do error trapping in textbox where the user cannot abuse the space bar. for example: i want to type hi h i

Member Avatar for trisha0906
0
113
Member Avatar for AndyPants

Hello... I'm working on an application that contains a "BackgroundWorker", the "BackgroundWorker" worked fine but after I started to change some stuff it gives me an error ("Exception has been thrown by the target of an invocation.")... I used a breakpoint to see where it happens, the exception gets thrown …

Member Avatar for AndyPants
0
1K
Member Avatar for TylerMTC

Hey all, just wondering if anyone can find a problem in my piece of code for trying to work out the total cost. When i run the program and click the cost button, it only returns a value of £0.00 for insurance cost and total cost. Any help much appreciated. …

Member Avatar for ChrisPadgham
0
140
Member Avatar for mrbungle

My app is using MySQL. Right now, the IP/Port, username and all that stuff is hard coded in a string. [CODE]Public urlMySQLDatabase1 As String = "Server=173.201.88.22;port=3306;Database=DBName;Uid=DBName;Pwd=DBpassword;"[/CODE] So all the code that needs this string gets it here. But I was thinking- what if later in the future I need to …

Member Avatar for mrbungle
0
468
Member Avatar for murithi

Hi guys, I have struggled to do this but I have not made much progress. All the tutorials I have come accross online have been on C#. While I have tried these out I just can't seem to get my code to work. Am using linq to sql and jquery …

Member Avatar for catherine sea
0
92
Member Avatar for ng5

I have a list box with 5 selections. when and item in the list box is selected i want a combo box to populate with different selection. any ideas on how to get the combo box to populate?

Member Avatar for Reverend Jim
0
174
Member Avatar for VB 2012

Hi people is Krypton toolkit free or must you still pay because of trial They say you get free toolkit on download now do they mean if you pay the program or if you only download trial you still get free toolkit. Plus does anyone know how good the speed …

Member Avatar for VB 2012
0
105
Member Avatar for akkbkht

Hello all. I am making an application like an antivirus, My question is that I am able to detect the infected hash value, can I delete or remove this infected hash value from this file? Thanks n Regards.:cool:

Member Avatar for gusano79
0
193
Member Avatar for skp03

After creating a project in vb.net how to make a separate file so that by clicking on the file the project should directly execute

Member Avatar for Reverend Jim
0
288
Member Avatar for VB 2012

[CODE]Public Sub Makeready() Dim CurrentVersionFile As String = My.Computer.FileSystem.SpecialDirectories.Temp & "\Memory Freeo Plus Current Version.txt" Dim MemoryFreeoPlusVersionWriter As New IO.StreamWriter(CurrentVersionFile, False, System.Text.Encoding.Default) Dim StorageFile As String = My.Application.Info.DirectoryPath & "\Process Storage.MemFreoPls" Dim MemFreoPlsStorageWriter As New IO.StreamWriter(StorageFile, True, System.Text.Encoding.Default) If IO.File.Exists(StorageFile) Then MemFreoPlsStorageWriter.Close() Else MemFreoPlsStorageWriter.Write("") MemFreoPlsStorageWriter.Close() End If If IO.File.Exists(CurrentVersionFile) Then …

Member Avatar for VB 2012
0
200
Member Avatar for lcfjoertoft

Is it posible to create IPAD or Android applications on my PC using VB.NET? If so, any good advice where to start my reading on the topic? If not, what language are best suited for the task?

Member Avatar for Begginnerdev
0
61
Member Avatar for gerchi152

Hi!!! I'm having hard time in manipulating a combo box with list view. For example if the selected index in the combo box is "boy" then the list view will display a database table allotted for boys and if the selected index is "girl" then the list view will display …

Member Avatar for gerchi152
0
1K
Member Avatar for dhanlak

Hi, I am trying to bind a datagrid with a datatable in WPF. This is my first project in WPF. The datatable has a single column. The datatable is bound with a table that has a varbinary image column in database. In database, this is the table structure table tblPicture …

0
107
Member Avatar for aishapot

Hello i want to the textbox that when I start to type in names it should be like this [B]Camille Aisha Cordova[/B] How do I do this?

Member Avatar for aishapot
0
2K
Member Avatar for ng5

does anyone know if you can make a water mark in visual basic 2010? I was wondering if it could also go behind all of my labels, text boxes, etc... like in the background... Thanks in Advance

Member Avatar for GeekByChoiCe
0
121
Member Avatar for badllama

Howdy. I'm just starting to learn .NET & C# and picked a simple project to start. I'm using VS 2008, created a Windows Form that opens an XML file, puts the data into a BindingList and shoots that out to a DataGridView. I created an "add data" button that opens …

0
96
Member Avatar for ulasoc

[CODE]Dim di As New IO.DirectoryInfo("c:\") Dim diar1 As IO.FileInfo() = di.GetFiles("[COLOR="Red"]*.jpg[/COLOR]")[/CODE] How can i use multiple filter to retrieve list of files in directory. i tried some examples for troubleshooting ("*.jpg|*.png") ("*.jpg,*.png") But its only filtering one type of file. i need your help about that.

Member Avatar for Begginnerdev
0
219
Member Avatar for nedrosat

Good Morning [B]Everybody[/B], I've a problem with a DatagridView in column operation. this is a Screenshot [ATTACH]23226[/ATTACH] My problem that i want to select an idPersonnel for exemple it brings me the name & family name in textboxs and i didn't found how to do it :( plz help me …

Member Avatar for Netcode
0
139
Member Avatar for poojavb

Hello, Please tell me how to add a string item to a text box, returned from another form that has a list box? I have two forms. on the first form I have a button which calls another form that has a List Box. When I select the value from …

Member Avatar for vb.netfreak
0
179
Member Avatar for Max Bayne

[B]hii all i want to make background for form to be transparent i need the background only not the controls on it plz .... i dont need to use transparent key or opacity properties i have example to do it but it by vb 0.6 i need any one to …

Member Avatar for skp03
0
2K
Member Avatar for Rajoo Mal

Iam developing a small school software. I want to show fees of every student of whole year. Like John(student) I want show his fees that every month he paid at what date and how much. So how should I start please help..

Member Avatar for M.Waqas Aslam
0
176
Member Avatar for ng5

I am trying to make a program that randomly selects a name. i have a prompt that allows me to enter the number of names and the names themselves. but i dont know how to save or open the information into an array... can anyone help me with this?

Member Avatar for codeorder
0
247
Member Avatar for CoderNH

I am new to Vb.net so I will need some handholding. I have been searching everywhere but can't find what I need. I'm creating an app that has two forms. Each form has two comboboxes. The comboboxes are populated via a list and the list is populated by reading a …

Member Avatar for Unhnd_Exception
0
230
Member Avatar for toldav

Any help will appreciated. I'm trying to analyze the number of a, b, c, d and e after applying the curve percentage selected by the user. Here is what I have so far. I'm using for loop and its adding the curves to the grade distribution. [CODE]Public Class frmHW13 'Variables …

Member Avatar for Reverend Jim
0
287
Member Avatar for M.Waqas Aslam

Hello Every One ! i was using my code [CODE]textbox1.bgcolor = ___colorname___[/CODE] on the gotfoucs event of my textbox , but if i have 34 textboxes then i have to write this line 34 times , which cost lots of time , can any one help me to make any …

Member Avatar for Reverend Jim
0
199
Member Avatar for AndyPants

Hello... I'm working on a program that gets some info about a certain web page. But one of the features is it needs to find all the links to other webpages on THE SAME site (I think its called an internal link... not sure). I already figured out how to …

Member Avatar for gusano79
0
387
Member Avatar for vb.netfreak

i am trying to insert value using dataset but its giving me an error of null point exception(object was not created) at run time 'my code is [CODE]Dim cnCustomers As OleDbConnection cnCustomers = New OleDbConnection Try With cnCustomers ' If .State = ConnectionState.Open Then .Close() .ConnectionString = cnString .Open() End …

Member Avatar for G_Waddell
0
171
Member Avatar for sigridish

hi all! is it possible to use water mark in microsoft visual studio 2008? if yes, how? Thanks in advance!

Member Avatar for Begginnerdev
0
40
Member Avatar for poojavb

Hello, I need to populate my ComboBox in VB.Net using MySQL. Can anyone help me to start. I have created a combo box which should contain the patient name from the database. I am using MySQL database. Please help me in this. Regards, Pooja

Member Avatar for poojavb
0
4K
Member Avatar for aishapot

How can I simply format the contact number in vb.net The format that I want is (123)456-78-95 Thank You.

Member Avatar for M.Waqas Aslam
0
229
Member Avatar for aishapot

[CODE]Sub retrievepic() Dim conn As New SqlConnection("data source=.\sqlexpress; integrated security=true; attachdbfilename=|datadirectory|\WAIS.mdf; user instance=true;") Dim cmd As New SqlCommand("select ImageData from ImagesStore where ImageId=@ImageId", conn) cmd.Parameters.AddWithValue("@ImageId", 3) Try conn.Open() PictureBox1.Image = Image.FromStream(New IO.MemoryStream(CType(cmd.ExecuteScalar, Byte()))) Catch ex As Exception MsgBox(ex.Message) Finally conn.Close() End Try End Sub [/CODE] This is my code for …

Member Avatar for aishapot
0
1K
Member Avatar for Tobyjug2222

Hi, I've been searching around these forums for quite a while now, and can't seem to either understand or find what I'm looking for. ^ As you can probably tell, I'm a real Novice to VB! I have a text file, that my program is always adding to it, it's …

Member Avatar for Tobyjug2222
0
299
Member Avatar for VIPER5646

I have a reportviewer that prints a second empty page with the header only nothing in the body. I have searched for this issue and I learned that the Width of the report body should be equal to the page width minus the right and left Margins. So I have …

Member Avatar for VIPER5646
0
489
Member Avatar for YungSoprano

Hi everyone, I'm creating a booking application for a hotel and have encountered an error on the following code; [CODE]Public Class Seaside_Hotel_DB Dim dbconn As OleDb.OleDbConnection Dim dbcmd As New OleDb.OleDbCommand Dim dbread As OleDb.OleDbDataReader Dim spath As String Public Sub New() spath = Application.StartupPath spath = spath.Replace("\bin\Debug", "") spath …

Member Avatar for YungSoprano
0
209
Member Avatar for mshdpotato

Is there something similar to OsenXP for VB6 on VB.NET? or any cool designer tools or whatever they're called for VB.NET? Also, is it possible to open forms in tabs? (like browsers) If yes, could you point me in the right direction? Thanks a bunch.

0
53
Member Avatar for GTTravis

Hi Everyone, I have MICR cheque Reader which scans the cheque and picks up data from the cheque like amount, account number etc. I want to interface this device in a vb.net application, however i have very little knowledge on how this can be done and i am seeking any …

Member Avatar for kingsonprisonic
0
115
Member Avatar for Mrinal1991

When i fetch the dat from databse and show them in textboxes on my screen the filed which has no data shows  . How do I remove it

Member Avatar for codeorder
0
179
Member Avatar for adnysam

Dear Programmers I have an issue when I place a label box / other component in the MDI Parent form and then open any child form the label box/ other component displayed in child form (Show in SpanShot), could you please help me out to regret this problem, Thanks in …

Member Avatar for adnysam
0
138
Member Avatar for michael.ngobeni

Hi Guys, I tried searching on the net for a code to compress/zip files in VB.Net, but could not find any solution. Can anyone help me with this - I do not like that one of using 3rd party components to do this. Alternatively, I need a code that will …

Member Avatar for JoshArgent
0
285

The End.