20,278 Topics

Member Avatar for
Member Avatar for kieran82

I have a bar cash register and have buttons for the drinks and number pad. In the program I have it working and it is reading the File and storing it in a Array. the problem i have is writing back to the part of the textfile. Here is 2 …

Member Avatar for codeorder
0
81
Member Avatar for Jake.20

I'm having trouble with validating my textbox. My textbox should only accept decimal number, and should not accept negative number. i tried this code for validating the input type, but i fail. [CODE]If Not Char.IsDigit(numWeight.Text) Then MsgBox("Incorrect input.") End If[/CODE] And i don't know if this is the right code …

Member Avatar for Jake.20
0
134
Member Avatar for VB 2012
Member Avatar for lolafuertes
0
114
Member Avatar for khean

I found this forum very useful to me as a beginner in VB.net and found similar thread regarding my concern unfortunately it doesn't for me may be could someone show me the solution. [URL="http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/340634/1446506#post1446506"]http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/340634/1446506#post1446506[/URL] i will provide screen shot on error I'm encountering. [IMG]http://i54.tinypic.com/15o9mvc.jpg[/IMG] Help much appreciated and thank you …

Member Avatar for khean
0
2K
Member Avatar for Pure1108

I've tried so hard by myself and I've just ended up confusing myself as it's my first time using vb. I didn't want to waste anyones time but I'm sorry I just don't know what to do.. ---- How would I code this? I want to make a progress bar …

Member Avatar for Luc001
0
158
Member Avatar for gabanxx

ai guys need a little help here..i create an interface where user can store their information like name, hobbies, DOB and phone number...the info is stored in sql server..now i want to call back all data that have being stored in sql to excel..when i say all i mean all …

Member Avatar for NanaYee
0
520
Member Avatar for vn412

Hi, I have a form where I generate a report on some button click. I need help with the code to show another Form in Modal Form, And Place Progress bar on that and Increment the status, from calling form so that when progress bar is running user cannot close …

Member Avatar for grine amine
0
607
Member Avatar for m_wylie85

Hi all i am havin a problem with my Jet oleDB connection i am getting an error and i am not sure if my code is completly wrong or it is a small problem any help would be great. This is the erorr i get: An unhandled exception of type …

Member Avatar for m_wylie85
0
196
Member Avatar for ninjatalon

So I just started reading about serialization of class and how I can save them into a binary file. But after I define my class as <serializable()> and try to save the object it keeps throwing me this exception. [COLOR="Red"]"An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll Additional information: …

Member Avatar for ninjatalon
0
166
Member Avatar for sarifah n

hi, i want to ask about the check/uncheck the checkbox in a column in datagrid. if all row in the checkbox column is not selected, what is the code is.... because i want the msgbox appear if the user not check any row. tq,

Member Avatar for sarifah n
0
3K
Member Avatar for crankyslap

Hey guys, I'm seriously breaking my head over this one. This project should have been finished 10 hours ago but I've been stuck on this for ages. First I set the DataSources / Dataviews of all the things I need; [CODE] Dim dsPubs As New DataSet() dsPubs.ReadXml(pathdone) DataGridView2.DataSource = dsPubs.Tables(0) …

0
107
Member Avatar for Afi83

Hi there, I have wrote a program that do a bit of calculations that takes about 10 min to complete, therefore I need to show a progress to user. I used a percentage in status bar to show the current status of program. The problem is for updating the number …

Member Avatar for Afi83
0
99
Member Avatar for axman1000

I have a list of values extracted from a datareader in a list. Is it possible for me to run a query to extract another set of values using a datareader and then use the individual values in the list and the values in the datareader to perform some calculation, …

0
93
Member Avatar for MaddTechwf

How would I write a recursive function to scan the Temp Files on a computer and list all the files & folders to a ListView?

Member Avatar for Unhnd_Exception
0
364
Member Avatar for tina_kt18

Hi I m working on a project where in i have to change the EXCEL workbook settings at runtime as per the regional setting of the user. Although i know abt the Localization option available in vb.net, but it is only working for forms not for EXCEL. Need ur help …

0
36
Member Avatar for adrianSigamoney

Hope I can get help. Each time I write an Update query I have a habit of forgetting to add the where clause. I have destroyed my test records many many times. Therefore is there a way to count the number of rows that will be updated so I can …

Member Avatar for adrianSigamoney
0
123
Member Avatar for anirudhrudr
Member Avatar for tim.newport
0
8K
Member Avatar for markdean.expres

What data type could I use in my access database that can hold very long texts. By default, each cell in Access tables can only contain up to 255 characters. Is there any way to extend this to any length I want?

Member Avatar for markdean.expres
0
94
Member Avatar for ninjatalon

I have a checkbox X1 that if checked it will check a column of checkboxes. What i'm trying to do is if the user unchecks at least one checkbox from the column it will uncheck checkbox X1. But I don't want it to run the event from checkbox X1 again …

Member Avatar for ninjatalon
0
145
Member Avatar for ninjatalon

What is the right way to declare an array [CODE]Dim lblname As Label() = New Label(get_num_of_children()) {} Dim mealcheck As Integer() = New Integer(get_num_of_children()) {}[/CODE] or [CODE]Dim lblname() As Label = New Label(get_num_of_children()) {} Dim mealcheck() As Integer = New Integer(get_num_of_children()) {}[/CODE] Thanks for your help

Member Avatar for ninjatalon
0
146
Member Avatar for tukky

I have a listview that has order for certain computer parts such as a mother board etc. aswell as that i have several textboxes that contain customer information. I have a "Checkout" button and i was wondering if it was possible to create a 'professional' looking invoice which has the …

0
64
Member Avatar for Amadman114

Hi, I want to move a shape (label) when I press WASD around a maze. I got what I have so far off the net, but I cant figure out whats wrong with it. [URL="http://www.programmersheaven.com/mb/VBasic/223364/223860/re-basic-key-press-question-answered/"]Original code[/URL] [CODE] Public x 1 'This is whats wrong - it says "End of statement …

Member Avatar for Amadman114
0
950
Member Avatar for VB 2012

[CODE]myCoolFile = chosefolder.SelectedPath & "\" & NameofUal.Text & ".Ual" Try Dim myCoolWriter As New IO.StreamWriter(myCoolFile, False , [U][I][B][COLOR="Green"]????[/COLOR][/B][/I][/U]) <-<-<- For i As Integer = 0 To Mainfrm.ShellProgramslis.Items.Count - 1 myCoolWriter.WriteLine(Mainfrm.ShellProgramslis.Items(i).ToString & "~" & Mainfrm.myArrayList(i)) Next myCoolWriter.Close() Catch Erroronwrite As Exception End Try[/CODE] [U][B]Ive got some problems how do i say …

Member Avatar for VB 2012
0
110
Member Avatar for Jake.20

I have some problem with my report. I don't know how to update my report. Every time i enter any data, the report did not show the added data. Please guys i need help. Thank you in advance, God bless.

Member Avatar for Jake.20
0
116
Member Avatar for dejanc

Hello, I have below code for form login using validation from access database. In database I have now three columns, for user, for password, and new one for department. Can someone show me how can I add also a deparment for login validation? Maybe to adda combobox under password and …

0
64
Member Avatar for ninjaimp

Hi I am trying to list all users logged into a speceific server but am getting nowhere. Im using the below code which i have formulated from various resources but it always returns 'not logged in'. when drilling into the oReturn object it says on alot of the items that …

0
65
Member Avatar for tshudyb

I am trying to calculate the 'Profit' field based on the current record's 'ProjectTotalBillingEstimate' field and the 'ProjectActualCost' field. I want the 'Profit' text field to be calculated every time a record is changed, either via the navigation toolbar or the Project ID drop down box. I tried performing the …

Member Avatar for AndreRet
0
260
Member Avatar for TMA

I have a Windows application written in vb.NET 2.0. I recently upgraded it to framework 3.5. For some reason it started to change ‘,’ into ‘.’ in numbers and change the date format, on some of the client computers where it is used. But only in this specific application. I'm …

0
44
Member Avatar for msaranya

Hi, I am trying to include a commented threaded system for my webpage. I have the db design ready... Comments Table Comment Id Parent ID (will be zero for the base comment) Comment Description Submitted by Submitted on I am able to store comments inside the table.I need to display …

0
84
Member Avatar for guru_iyer

Problem is based on C#, ADO.NET, using Access Database. I am trying to filter the results from the database and display them in DataGridView on click of 'button1' button. But the datagridview shows empty results when there are actually 3 records with matching conditions. According to what I know, the …

Member Avatar for guru_iyer
0
186

The End.