Visual basic
How do I take two variables and add them together with two separate text boxes and add them to and get the sum and put the output into another textbox. I want to be able to get the answer without using any buttons to compute for the sum of the two textboxes
- 1668 views
- 2 answers
- 0 votes
Hi All,
Visual Basic Code printing bold text direct on the printer.
I am using the Open file command in visual basic to print text direct on the printer.
Here’s the sample code
Open “LPT1” for output as #1
Print #1, “This was sent to printer”
Close #1
The program works but I want it in bold. I am using EPSON LX-300 dot matrix printer.
Please help! I need this to print a receipt.
I don’t want to use the printer control.
- 3231 views
- 1 answers
- 0 votes
I am new in using Microsoft Visual Basic for a school project.
After minutes of coding I suddenly encountered this error message “Run-timer error ‘-2032465660 (86db0904)’: Object name not found.” upon compiling my project.
I really cannot trace where the error occurred. I hope anyone can help me fix this dilemma of mine.
- 1827 views
- 1 answers
- 0 votes
I am using Visual Basic 6 in creating programs for my subject.
This is a simple file maintenance program.
I am having a problem of putting a background picture on forms.
I am using a picture box, whenever I place a picture inside the Picture Box it displays the original size of the image.
I want this image to fit inside the Picture Box.
Can someone help me with this?
- 1929 views
- 1 answers
- 0 votes
I am creating an Inventory System that will be submitted at the end of the semester. This system will summarized all the transactions that have been made by the user on how many is left, how many has been used etc. for a certain item. To generate a report I used Data Report and Data Environment to connect my database with it. But I am having a problem whenever I did some updates to my records the data in Data Report is not being updated. I need to restart the program again in order to update the records. Can anyone assist me with this one?
- 1496 views
- 2 answers
- 0 votes
Hi all,
I have created a program in Visual Basic 6 that will be used in every department (IT Department, Accounting etc.) in our school. It will save all the basic information of a person like ID_number, Name, Address, Contact info etc. It's a simple program that handles membership or registration of every person that is enrolled on a certain Department.
But I am having a problem saving images that is very important in a membership program. I also want that only a file extension of .jpg picture is allowed for saving the images. Can anyone help me about this? I am using DAO to connect to database and Microsoft Access 2003 as my backend.
Thanks.
- 1979 views
- 2 answers
- 0 votes
Hi,
I am new in Visual Basic 6 programming, and I want to learn more about the uses of different tools, making simple transactions and connecting to a database. I installed a copy of Visual Basic 6 Enterprise Edition on my computer. At the end of the installation an error occurs saying, Javasign.dll was unable to register itself in the system registry. Does anybody experienced this kind of error? Can you please help me to solve this problem?
Thanks.
- 12330 views
- 4 answers
- 2 votes
Hi,
I need some help please.
I developed a Customer Management System, were there is a form to input information. My program works fine when inputting letters and numbers to the form. But when I input special characters ,it starts to send error message.
How can i fix my code, so that special characters wont be a problem.
Thank you very much.
Elmer.
- 1188 views
- 2 answers
- 20 votes
Hi,
I have developed a software for a company. They want to add security rights in it. Their requirements are to assign tasks to their employees separately, with separate user name and passwords.
The issue is that: an employee who is not authorized for a task, should not be able to view that task, that particular task should be invisible for him. Is it possible when I am working with VB.60 and SQL server?
Thanks!
- 1014 views
- 4 answers
- 2 votes
Hi everyone,
I am working on a Visual Basic project which is to be accessed by the end of the semester. I am supposed to connect to the SQL database, this is the final phase of the project but it is giving me a headache!
My connection code to the SQL database worked well yesterday, i woke up this morning and did a little bit of connection modification, which seemed right to me according to the tutorials i had. It is kind of i messed up because i can’t successfully connect to the SQL database.
The error in the SQL code line reads:
"Operator '&' is not defined for string "SELECT * FROM Clients WHERE Spec" and type 'DataRowView'."
- 958 views
- 1 answers
- 13 votes