20,285 Topics
![]() | |
Hi guys, okay 2 questions, please see the below code. 1.) Why in the code below, does my incrementing ScoreInt not work ? need a fresh pair of eyes. 2.) The time in my form when run only displays the time the application was initially run, but does not update... … | |
Hello.. i have a table named Tuition with fields: TuitionNum,TotalFee,Fine,levelNum,SchoolYear,DateCreated,Removed,DateLastModified,UserID I inserted record successfully but when i'm trying to display TotalFee using this code, [CODE] myConnString = "server=localhost;" _ & "user id=root;" _ & "password=fiancee;" _ & "database=anneclaire" SQL = "SELECT TotalFee FROM Tuition WHERE levelNum='" & TextBox1.Text & "' … | |
so i have a working ish program now, when i add the record it saves and returns the save message box as it should and is viewable in the database where it saves to, but it is not viewable in the text boxes when looking back at the form until … | |
I am writing a program to control other applications that are running. Essentially an automation UI program. I am using a combination of AutoIt and basic windows API calls (sendcommand). I am able to do almost everything that I need (read/write textboxes, labels, click buttons/checkboxes/radiobuttons) However, I cannot seem to … | |
Guys I have a program that copies files from folder to folder using IO namespace. The problem is, when I am copying a large file, the program stops responding until the file gets completely copied. I have heard about multithreading and have been reading about it recently and I wonder … | |
Hi All, Hi All, I'm trying to execute a vbscript programme, on execution I'm getting following error, can you please help me in coming out of the problem. "Wrong number of arguments or invalid property assignment: wsh" CODE snippet: [CODE]Set xl=createobject("excel.application") Set wb=xl.workbooks.open(testset) xl.visible=true Set wsh=wb.WorkSheets(1) <------- ERROR is seen … | |
Hi, I made one client-server chat application using vb.net. I want to know how can i change the form/icon color when a client sends a message and vice versa. for eg: like in yahoo messenger or msn messenger,etc, How i user knows when he receives an message. i hope it … | |
I am newbie in VB.Net.. Please help me in this how can we view the selected row's data from datagrid in textboxes in vb.net 2003? | |
I am creating a small application using vb.net 2008 and sql server.I want to create a search form .When i click in the SearchToolStripButton in all forms the 'Search' form will be loaded with the data from the header table into a grid.How to write code for the following 1)When … | |
hi, is someone can give me a code example of insert data from datagrid to sql table? thank's, shay. | |
Hi all, I'm new to vb.net and Sql server... So it may be a newbie question, but i've searched many places and did't find the answer.. so, here i go: I've just installed sql server, and i want to databind some textboxes in a form... but i dont really know … | |
Hi, I got this problem in my program when trying to execute stor procedure and xml file.. below is my code and script : Please help. code: Public Overloads Function ExecuteNonQuery(ByVal connection As IDbConnection, ByVal commandType As CommandType, ByVal commandText As String, ByVal ParamArray commandParameters() As IDbDataParameter) As Integer Try … | |
![]() | Hello everyone, First of all I would like to thank everyone for all their efforts in helping us newbies in solving our problems when it comes to coding. It has been a while since I have seeked some help from this forum or any other for that matter. I stopped … |
I've used SQL authentication and windows authentication in my connection strings to SQL server just fine. I've got a login form that the user has to put their username/password in and it verifies to AD to ensure that is who it is and then logs in. Currently it is set … | |
How can I get SQL Date and time into statusstrip with timeer control | |
:)Hello Experts, I have created an application in vb.net,it's working properly and now i want to design my own website using vb.net,plz help me. i have worked in vb.net in windows application. thanks in advance:) | |
Hello! can you give me some ideas on how I can make the field values to field names? | |
I've got a .txt file with lots of passwords in, in the following format: (passwords must be between 12-15 characters) password1 password2 password3 i want to use a text box that allows the user to enter a password & upon the correct password being entered they are allowed to proceed … | |
okay hi people and merry Christmas everyone :) so im using krypton free toolkit :D and we all know the speed is not good so if anybody have suggestions please reply ive done a little thinking of myself , i should try and code in diffrent ways using more apps … | |
hi all, i face check txt file location problem in window mobile 6 professional. code testing for window form [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim FILE_NAME As String = "c:\Users\Chee Kang\Desktop\New folder (2)\testFile.txt" If System.IO.File.Exists(FILE_NAME) = True Then MessageBox.Show("File already Exist") Else … | |
Hello people... I got a problem here.. I am using a vb 2005 and mySql as my database. I already created my project but it seems like when i edit my program.. it doesnt apply. What might be the problem? Is the vb.net application, MySql or the OS? Thanks in … | |
what is the error in the bleow: 'Public Event OnFilterAdded()' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. [CODE]Imports System Imports System.Collections Imports System.Configuration Imports System.Data Imports System.Web Imports System.Web.Security Imports System.Web.UI Imports System.Web.UI.HtmlControls Imports System.Web.UI.WebControls Imports System.Web.UI.WebControls.WebParts Imports Tawammar.CustomControls Partial Class … | |
Guys i need help regarding this issue , Im using ms-acess 2007 as database and this issue is ridiculous !! i run the FORM and enter some details ! and now i click display and display the data that was entered! this thing happens while im DEBUGGING !! sometimes when … | |
I have a datatable - 1 of the columns is a double so i read it like this Dim num As Double = Drow(1) I get an error about late binding here (with option strict on) I have tried converting to a double eg Dim num As Double = convert.toDouble(Drow(1)) … | |
I'm looking for an "auto-SMS VB.Net programme module" for window mobile 6.0 professional. my application will operate like below: 1. User required pair his hp bluetooth device with his car bluetooth device for first. 2. If the accident happened the car sensor will automatic trigger the car bluetooth device to … | |
Need help. I have a combobox (cmbCharge1) that gets populated by a text file. Inside the combobox, the data inside is laid out like this: 41-1A-1303: EXPIRED REGISTRATION Now, autocomplete works fine, if I start typing in the statute (like the 41 part). But what I need is for it … | |
Hello, I'm Rather new to coding, and It seems like I skipped some of the basics, and jumped in the deep end. I'm having a couple of problems, as I have an ordinary text file called "Orders", and this file stores Orders, placed by users of my program. The Users … | |
Hello all, I'm trying to create a password change form for my company's vendors. There are a couple of scenarios I could encounter doing this: 1 - User enters invalid current password 2 - New passwords do not match 3 - User's account is locked 4 - User cannot authenticate … | |
My Program changes it's My.settings to default , it looses the Location Where it is saved This only happens when i move to a new area But if i take a new builded exe and put it in same Dir of old exe then It Remembers old Settings Anybody wanna … | |
Hi, I'm a programming beginner and currently learning VB.net as a starting language. I have just been making a little test console application using visual studio asking about favourite football teams, please could someone tell me what I'm doing wrong? Below is the code, now I want the user to … | |
I have recently written a VB.NET application and I am stuck on the deployment. I can't use the ClickOnce, because the program has to be installed on the machine under program files, therefore, I use InnoSetup. My problem is that the application requires sqlclient and .net 4.0 to be installed, … | |
Is it possible to make a vb.net application faster Through code like using characters that the Computer already understands Like coding in certain areas through y x (math) etc. Will it be More faster since the compiler don't have to really do much work But its still must be VB.NET … | |
Hi All, I have a 3 richtext boxs where I add each line together and output to a textbox, all is working great. But the problem I am seeing is that I paste the contents from a spreadsheet which strips off the leading 0 (zero) from a 9 digit number … | |
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? |
The End.