10,992 Topics

Member Avatar for
Member Avatar for Abraham_7
Member Avatar for _1_32

I have spent about 40 hours on this code so far. I have finally cleared the faults from it. I am a new coder. What I am trying to get it to do is to display the users name is the "type your guess " box as in "type your …

Member Avatar for Reverend Jim
0
490
Member Avatar for Prafull_1

Hi Dear could you please help for below issue Description: Previously our client is using ms office 2007 now client want to upgrade office to ms office 2013 we have VB5 application with access database (previouly it was .mdb and now it is converted to .accdb) so for that purpose …

Member Avatar for rproffitt
0
620
Member Avatar for Micheal_6

How can I make the URL displayed in the MessageBox clickable, such that when a user clicks on it, it will open the link in a web browser? string msg = "MyApp | v1.0.0.0.1" + Environment.NewLine + "© 2016 MyApp" + Environment.NewLine + "All Rights Reserved." + Environment.NewLine + "For …

Member Avatar for tinstaafl
0
4K
Member Avatar for jeffersonalomia

How to insert another row value in the listview of vb6? Thanks, - Jeff -

Member Avatar for matoo
0
198
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
254
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
910
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
166
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 DGULLIVER

Good morning, I have 2 client applications which do the same thing. The first app which is written in VBA(MS ACCESS) and the other is ASP.Net. We can have multiple items for a client so we use a transaction id. When the access application starts a new transaction the app …

Member Avatar for rubberman
0
310
Member Avatar for Papa_Don

Hi Group, I've imported an existing form into a new project that I'm creating (using Visual Studio 2015 Express/VB.net). When displaying the "Design" version (the user interface), it looks like a plain form and doesn't resemble the actual form in the original program. As per the directions, I added the …

Member Avatar for Minimalist
0
5K
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
751
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
982
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
121
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
576
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 tshukela.george

I want to insert a table cell into a table from another table by select method and after, to display an error in text prompted from the user was not found. Can someone tell what's the problem with my codes? My codes are as follows: Dim Item As String = …

Member Avatar for tshukela.george
0
334
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
116
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
356
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 sharon.chapman7

Hi, When I use the code below, the data is written to the detail section, but only shows in the design mode. How do I get the data to display on the report? Dim stDocName As String Dim db As Database Dim rs As Recordset Dim rs2 As Recordset Dim …

0
209
Member Avatar for Mr.M

Hi Dw. I'm having a client server which the server read a text file line by line and send each line to the client upon client connection. The problem I'm having is that on the client side the data is combined, meaning I get all lines that are on the …

Member Avatar for Mr.M
0
422
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
120
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
945
Member Avatar for hhaannyy

hi i have report in visaul basic 2015 in it the salary and i want to make a tetxbox and but the total in it i tried this Sum(Fields!salary.Value) but i get error

Member Avatar for rproffitt
0
299
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
892
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
115
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
190
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
920
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
232
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
862
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
325
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
318
Member Avatar for levshlomo

I have a BIG PDF file created by as a report. The file have 1.6M lines of data. No images at all. each page have a title with a page number a header for the columns and 28 data lines after it. Each line have 12 fields. Some data fields …

Member Avatar for rproffitt
0
2K
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
237
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
241
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
211
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
338
Member Avatar for san_gwapo19

Hi... does someone know how to CONVERT NUMBERS INTO WORDS IN VISUAL BASIC 2008 until millions by using recursion??? if yes... can you please share to me the code??? thanks a lot!!!

Member Avatar for JamesCherrill
-1
4K
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
474
Member Avatar for eramaeztro

Hi guys i need help to read block data from binary.. The format is Byte position, Content, Format 1 - 4, Block Length, I * 4 5 - 12, Sensor Name, C * 8 13 - 20, Satellite Name, C * 8 21 - 24, Latitude, R * 4 Im …

Member Avatar for eramaeztro
0
363
Member Avatar for hallianonline

I want to find the MAC address of network adopter, I have a working code too but my problem is it only works if IP addres is enabled otherwise it won't get the address is there any solution to find MAC address even if IP Enabled is false if its …

Member Avatar for DenisOxon
0
269
Member Avatar for kiran_10

In Excel sheet, Cell A5 will be given input value (ie., 1 to 5). If A5 = 1, then in cell range A8 to A30, it should count cell to the input value [which is 1. ie., A8, A9 etc] and that each cell will run small formula "=SUM(O17:T17)" and …

Member Avatar for Teme64
0
302
Member Avatar for .Net(beer)

Good day, I have created a WPF (visual basic) application. On the main-page, I have "tab control" inside a "grid". On "tab one" the user selects an "ID" and below the "datagrid control" populates with information (this works). On "tab two" more data (from a different table (linked – using …

0
112
Member Avatar for GeneClaude

Hello! I've been debugging this VBA program that computes the root of an equation using Newton Raphson method and with the use of the UserForm. The user will type the equation, the initial guess and the number of iterations. I was able to search on automatically differentiating the equation unlike …

0
511
Member Avatar for carlcsolis

Hi all, I'm trying to make super simple essay-writing-helper program, I have created 4 forms (intro,paragraph1,paragraph2,result) and in each form contains a textbox where the essay will be typed in. The first form is for the introduction, and next is the first paragraph and so on. The last form the …

Member Avatar for Reverend Jim
0
219
Member Avatar for Reo_1

hello Am trying to make an app which has five questions with textboxes for each question for entering answers.Question one has two textboxes worthy one mark each for the correct answer and question two one textbox worth two marks for the correct answer.I want the marks got for the correct …

Member Avatar for AndreRet
0
528

The End.