20,285 Topics

Member Avatar for
Member Avatar for beforetheyknew

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

Member Avatar for codeorder
0
131
Member Avatar for archelle

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

Member Avatar for adam_k
0
211
Member Avatar for nomorelogic

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 …

Member Avatar for nomorelogic
0
197
Member Avatar for Raouldukey

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 …

0
120
Member Avatar for markdean.expres

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 …

Member Avatar for markdean.expres
0
107
Member Avatar for gplkrsna

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 …

Member Avatar for gplkrsna
0
101
Member Avatar for mirzamujib

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 …

Member Avatar for M.Waqas Aslam
0
188
Member Avatar for kurakar

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?

Member Avatar for M.Waqas Aslam
0
1K
Member Avatar for ajkva

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 …

Member Avatar for M.Waqas Aslam
0
132
Member Avatar for shay_inter

hi, is someone can give me a code example of insert data from datagrid to sql table? thank's, shay.

Member Avatar for shay_inter
0
99
Member Avatar for fabiocrj

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 …

Member Avatar for fabiocrj
0
279
Member Avatar for shuhana84

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 …

0
73
Member Avatar for Boyet728

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 …

0
67
Member Avatar for SimpleMan78

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 …

Member Avatar for SimpleMan78
0
120
Member Avatar for adnysam
Member Avatar for shivya jain

:)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:)

Member Avatar for hericles
-1
107
Member Avatar for gerchi152

Hello! can you give me some ideas on how I can make the field values to field names?

Member Avatar for adam_k
0
201
Member Avatar for ohyeah

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 …

Member Avatar for NewUserVB.Net
0
188
Member Avatar for VB 2012

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 …

Member Avatar for VB 2012
0
66
Member Avatar for cheekangteh

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 …

0
78
Member Avatar for archelle

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 …

Member Avatar for Pgmer
0
219
Member Avatar for zoro20002

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 …

Member Avatar for GeekByChoiCe
0
238
Member Avatar for deceivingrakesh

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 …

Member Avatar for adam_k
0
92
Member Avatar for mpooley

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

Member Avatar for mpooley
0
85
Member Avatar for cheekangteh

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 …

0
130
Member Avatar for mrbungle

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 …

Member Avatar for malhar1122
1
1K
Member Avatar for Tobyjug2222

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 …

Member Avatar for Reverend Jim
0
215
Member Avatar for paradox814

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 …

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

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 …

Member Avatar for VB 2012
0
155
Member Avatar for aaronoafc

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 …

Member Avatar for Begginnerdev
0
131
Member Avatar for Begginnerdev

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

Member Avatar for Begginnerdev
0
814
Member Avatar for VB 2012

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 …

Member Avatar for VB 2012
0
3K
Member Avatar for AquaNut

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 …

Member Avatar for Reverend Jim
0
213
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
136
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
233
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
483
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
139
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
467
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

The End.