20,899 Topics
![]() | |
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) … | |
how can we change the password in the login form when the form is executing | |
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 … | |
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). … | |
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 … | |
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 … | |
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! … | |
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() … | |
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, … | |
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 … | |
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, … | |
how to do error trapping in textbox where the user cannot abuse the space bar. for example: i want to type hi h i | |
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 … | |
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. … | |
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 … | |
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 … | |
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? | |
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 … | |
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: | |
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 | |
[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 … | |
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? | |
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 … | |
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 … | |
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? | |
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 | |
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 … | |
[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. | |
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 … | |
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 … | |
[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 … | |
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.. | |
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? | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
hi all! is it possible to use water mark in microsoft visual studio 2008? if yes, how? Thanks in advance! | |
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 | |
How can I simply format the contact number in vb.net The format that I want is (123)456-78-95 Thank You. | |
[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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 | |
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 … | |
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 … |
The End.