9,979 Topics

Member Avatar for
Member Avatar for matoo

HI everyone i am trying to write POS and Inventory for myself in vb6. I am stuck and gone blank what to do. here is what i want to do. search database for the stocks. change the caption of the button ( eg caption of the botton is "COKE 250ml" …

Member Avatar for matoo
0
247
Member Avatar for jeffersonalomia

How to check in **vb6 ** if variable value is a string(**except for special character**) or number? Thanks, - Jeff -

Member Avatar for Minimalist
0
834
Member Avatar for jeffersonalomia

How to sort five label values using only if else or loop statement? Example: Lbl1 =56 Lbl2=23 Lbl3= 112 Lbl4=8 Lbl5=250 How can i compare every value of 5 label without using array and then sort them and assign on their respective label?

Member Avatar for jeffersonalomia
-1
164
Member Avatar for jeffersonalomia

Good day !! I want to sort the values of the array in vb6. Here's the sample of an array that i want to sort `arr() = {21,2,33,"c","a"}` is it possible to sort an array with values of string and integer.** If not**, is it ok if you specify how …

Member Avatar for jeffersonalomia
0
4K
Member Avatar for SoftBa

Hi, I need simple VB6 application to delete some temporary files inside specific folder. This is my code and I can't make it work for current user - please Help. Private Sub Command1_Click() Dim fso As New Scripting.FileSystemObject fso.DeleteFolder "C:\Users\user\test", True fso.DeleteFolder "C:\Users\user\test2", True fso.DeleteFolder userprofile & "\newfolder", True Unload …

Member Avatar for SoftBa
0
705
Member Avatar for VelagaManeesh

For example, In VB 6.0 - Object Browser If we click on any Classes or Members down side it will show multi line text. How can i do that?

Member Avatar for tinstaafl
0
954
Member Avatar for Robbin_1

Help me resolve that problem I want to edit all the records only that meets the condition. The problem I'm is that my codes bellow behaves as though there no condition hence it is editing all the records in the table. Dim a As Boolean rs.Open "SELECT* FROM pupils", con, …

Member Avatar for rproffitt
0
117
Member Avatar for JLynn

Hello, This is my first time posting on this site and I am a beginner VB programmer. I have been able to solve many of my previous questions through existing threads but have not found what I need to solve this problem. My problem is that I have a listbox …

Member Avatar for José Luís
0
1K
Member Avatar for hefaz

hello there i am trying to make an application that can generat words automatically, i have used four text boxes, i want the first three boxes to get a word automatically from a file or from an array and show it in forth textbox, how can i do that? ![Capture.JPG](/attachments/large/4/45f56d9fc31c7e7b5da52fc4beebd007.JPG …

Member Avatar for rproffitt
0
565
Member Avatar for Awulonu

I need the code for fingerprint capturing using vb6 and also which control do i use in achieving it.

Member Avatar for Asela_2
1
10K
Member Avatar for Sneaky Pete

Hello everyone, I've looked in several forums but can't find an answer. In excel I want to place a picture in a cell, that's no problem. Then, I want to display that picture in the header with VBA code. I know vba can link to a directory to display a …

0
112
Member Avatar for hallianonline

I am trying to delete selected record from my database which uses MySQL and Visual Basic 6 but its not working even no error I am getting in it. Here is my code for connection and also for button click Public rs As New ADODB.Recordset Public cn As New ADODB.Connection …

Member Avatar for rproffitt
0
349
Member Avatar for Tarun_4

Hii all this is my lab program (vb program to validate the user name and password from the database and display the appropriate message) use Data control i getting Run- time error '-2147467259 (80004005)' Could not find file 'C:\Program Files (x86)Microsoft Visual Studio\VB98\Account.mdb My code is Dim rs As New …

Member Avatar for Santanu.Das
0
2K
Member Avatar for yogesh.es

Hi, Good Day, My name is Yogesh, I seeking your assitance/help in making the segregation or extracting of data simple. I extract a report from internet application, with six diffent customer information. I would require only customer names & sell details from the each table. Can it be possible via …

0
117
Member Avatar for peroberg

[B]Question TWO[/B] I have on and off been using Basic, now VB since “the stone age” long before Microsoft and Windows. However it is only now I enter the issue of using VB6 and a database. I use VB6-ADO-ACCESS plus using DataGrid as the main view to see the database. …

Member Avatar for ehudhdy
0
931
Member Avatar for Rakham

Hi! I do have my own VB6 mp3-player, which uses "Un4seen BASS.DLL" audiolibrary to play mp3 files. It works fine, but it doesn't support reading album cover (picture) from ID3V2 tags. For reading tags in text format, I use imported vb6 class module, that I found few years ago. But …

Member Avatar for Glyn_1
0
846
Member Avatar for Sneaky Pete

Dear everyone, I have got a excelsheet with some vba code. The sheet contains a row with columns with specific information. When the user clicks a button, the code will look for the last row which contains data, copy the whole row, paste it beneath the row and the number …

0
112
Member Avatar for asnawi

I have a question,,Its all about homework Question score/item*50+50= Average,,How do I make the program of this situtation,

Member Avatar for Reverend Jim
0
189
Member Avatar for snash

I am new to all this VB coding so kindly assist. Here is the question: Given that an employee earns an arbitrary basic salary, write a program to calculate the employees net salary given that the deductions are specified as follows: NSSA contribution is calculated at 7% of the gross …

Member Avatar for rproffitt
0
3K
Member Avatar for imagetvr

I wish to print invoice using printer.print method ( using USB dot matrix printer in continous paper) Some invoice contain 6 lines, some 15 lines. Now afer printing 5 lines printer ejectng paper. so paper waster ( paper width 5 inches, continous paper). I wish to top printing after printing …

Member Avatar for Santanu.Das
0
910
Member Avatar for hallianonline

I have a problem that my crystal report shows the decimal values as 00 every thing is fine but it does not display proper value e.g. If i have 0.235 it shows 0.000 If i have 2.356 it shows 2.000 Whats the matter behind it the database field is text …

Member Avatar for Santanu.Das
0
224
Member Avatar for Mike Bishop

I have a form with only 1 object on it , a progress bar. when the form loads it runs the progress bar, which is working fine. when the progress bar hits the max vaule i want the form to close but no matter where i put the me.close the …

Member Avatar for Mr.M
0
851
Member Avatar for Nawti

Good Day Everyone please I am writing a Check In and Check Out program to display the date increase in day/month/year whenever I input a number. Eg. suppose I type 2days on the Check In Form I want the Check Out Form to display the days difference from the current …

Member Avatar for Nawti
0
321
Member Avatar for abu taher

Delete checked item (one or more) from listview I write this code. Dim x As Long For x = LVEmp.ListItems.Count To 1 Step -1 If LVEmp.ListItems(x).Checked Then con.Execute "DELETE FROM stock WHERE [SrNo] = '" & LVEmp.ListItems(x).SubItems(1) & "'" LVEmp.ListItems.Remove x End If Next con.Close Set con = Nothing but …

Member Avatar for Santanu.Das
0
309
Member Avatar for flipmode

I am trying to design a calculator. I want to use the Kryptonbutton from the Krypton Component Suite. This is the code I have so far to display 0-9 in the calculator display. Private Sub KryptonButton_Click(sender As Object, e As EventArgs) Handles KryptonButton1.Click, KryptonButton2.Click Dim b As Button = sender …

Member Avatar for Reverend Jim
0
236
Member Avatar for Joemar_1

i have 2 combobox 1 is that to check if the status of the room is available or occupied. i want to show my records into my combobox of what is the room type that is available. for example: cmbroom has two item the "delux" and the "ordinary" in my …

Member Avatar for rproffitt
0
232
Member Avatar for Dec15

Hi everyone,i'm currently making a random name picker .I got a csv excel file saved with 3 columns of data...one is the first name ,last name and tutor group. I want to be able to search through the database and read just the first column of data and be able …

Member Avatar for Dec15
0
196
Member Avatar for Khw09

I want to have a random picture to be displayed in a picturebox from a list of jpeg files in my debug folder in visual basics. At the moment i've been using this code to display a specific image but I want the image to be random... If Label1.Text = …

Member Avatar for rproffitt
0
320
Member Avatar for cambalinho
Member Avatar for Sneaky Pete

Hello everyone, I have a txt file with data which I want to import to an excel file, by button click. The first couple of lines of the txt file contains general information which I don't want to export. The program should only read the lines which contains a word …

Member Avatar for Raul Perez
0
470

The End.