12,155 Topics
Dear Sir/Madam, I want to draw a word/sentence over form by coding as like as pencil is drawing in Paint Programe. But in Paint Programe Pencil is handle by user, here i want it to draw automatically. (like somebody is writing his name by Pen/Pencil) Please guide me.
I'm taking an intro VB class and am having trouble writing code for hangman game. I need help w/ creating textbox or label for the words. can anyone help? thanks
Hi, I do need help with following problem. We have a password protected excel sheet with *complicated* macros in VBA. VBA code is protected, but some of our traders can still copy whole xls file and run it on private computers (strictly prohibited, but they violate rules and do it). …
Can someone help me with this???? [CODE]/****************************************************/ /* File: name of your file with the source code */ /* */ /* Created by: give your name */ /* Date: give the date */ /* */ /* Program to find the maximum of three */ /* floating point numbers */ /* …
hi everyone can someone please help am trying to convert numbers to words but there no response at all when i run the prog. i used the codes below [CODE] Function Getword(strNumber) Dim strtemp As String Dim x, y, z As Integer x = Val(Mid$(strNumber, 1, 1)) y = Val(Mid$(strNumber, …
Hello , I am working on getting this Mortgage repayment calculation code to work for my Access07DB, the code for was copied from some 2006 post on a vb forum. But some things I cant get to work [COLOR="red"]I will put the bad lines in red[/COLOR] [CODE] Option Compare Database …
I am working on a project that opens xml files into a TreeView window. I am able to import xml files into my window by using the following code... Private Sub Form_Load() Dim sFile As String sFile = App.Path If Right(sFile, 1) <> "\" Then sFile = sFile & "\" …
Hi, I'm writing my first application in VB and need some help with my Access database. I have 2 problems; the first one is the most important, the second I would just be very grateful for any help/advice. Firstly, I need help updating a record from my database. I have …
I've inherited a project which pulls data from 2 DB (*.mdb), one is access 97 and one is access 2002. DAO 3.6 is referenced. We use OpenDatabase and OpenRecordset instructions. When running, we get "Unrecognized data format" error or error code 3343 when attempting to refresh any table in the …
Good day guys. I want want a little help of my query. The tbl_ entity: tbl_1(UserId(AutoNum ber - set as primary key),Validity(Date/Time)) [code=vb] dim logonid as long rs.open "SELECT * FROM tbl_1 WHERE UserId='" & logonid & "'",conn, adopenkeyset,adlockoptimistic [/code] It returns an error invalid data type expression. But when …
I'm having trouble trying to specify a counter for three loops to control the animation time. At the same time the application must display the current position of the button to move at any time as well as the current values of two increments.
hi, i have a form that his size changed with the selected toolstripmenu like menu1 menu2 if menu1 checked the size will be 420,220, and if menu 2 size will be 220,220. the debugging alwas start from the original form doing on vb how i can start the debugging as …
Hi, I have this problem which I do not know how to solve in VB. I have to read from a text file, but only write selective lines to a new txt file. E.g. (original text file) ============================================ SINNWSQ .SINFMSQ 230606 SSM LT 23MAR00323C108 NEW SQ 3328 01NOV04 31DEC20 2 …
HI everyone, Im Sam. In my freshman year of college, I have 2 programming classes this semester. I have Visual Basic and C#. Rather confusing having both at once. I have always loved computers and just technology in general. Im real busy these days but will try my best to …
How to temporarily disable Sound Card/Driver can any one assist with a exact step's
Swaps Two Elements Of An Array (So that say, indice1's value would become indice2's value, and vice versa). Simple Code Piece Really...
Hi all, I am a PHP programmer with no knowledge on VB, so I apologize for my intrusion :). What I need is to split a .doc file with N pages into N different documents, using the first word of each page as the name of the documents. In php …
Ok, here's the thing... it's been almost 6 years since I have done any programming other then basic HTML stuff. I went to school for 5 years and earned my degree in Computer Science - mainly software and database stuff (Assemply, C, C++, JavaScript, COBOL, Visual Basic, SQL, etc). Since …
Good Day, Im new to visual basic. i created a simple database form using microsoft access as my database. my question is how can i create a browse button or text box where i can change the database path at runtime. please help. Tony
Would anyone please help me transfer data from a specific datagrid line at vb6 to a bunch of textboxes ???
Hey ppl, I am fairly new to ms access & VBA... I have a list box and a command box in my form... The list box contains all the car brands like chevrolet, toyota etc., I have table with fields ItemName which has all the list of car names (Camry, …
Hi I would like to read ActiveCell.Value as it is in my macro. E.g. Even if i have #VALUE!, it will treat it as a string and read it. Can this be done?
You are turning 21 on the 10th of May and you are having a party. A large marquee has been ordered for the occasion that will seat a maximum of 50 guests. Your parents are very particular about your mates as the party will be at home in your folks’ …
hello i am trying to make a program for prime numbers but facing some problem can any one can help me in making this program
Hi, I have certain data stored in tamil font (TAM-TTValluvar) I am creating a text file using PRINT #1,<fieldname> through VB6. The output in the text file looks like a bunch of junk characters and I could not able to take the printout from my dot matrix printer either by …
Hi friends, I have implimented a project. I connect it with Access database but problem is that I don't know how to make it as a Installaton file which can run on other machine (System) that donot have Visual Basic. Plz. give me the solution.
Hi there :-) Your help is highly appreciated! I just don't know how to start... I already read a book, but I didn't get the knowlegde I need to key in the code. It is supposed to be a multiuse financial tool. I already have most of the mathematical backround, …
good evening folks its me again, folks i need your help in flexgrid idont know how to use it in editing a database, can you give me some sample program thanks folks may god bless you:)
Hello, I have made a database system, when the database opens a login form appears and the username and password need to be typed into the text boxes. if admin is the username then the main switchboard. but if you log in as driver then a report opens. the trouble …
i hv a problem in plotting graph using vb6....need some one help...:?:
I have a table in a database named "tblstudentnumber" it has the following columns: stud_id stud_fname stud_lname stud_address stud_age stud_course i need to have a data report using data environment that can sort all students with the age(a user input) of let say "16". i have a form, it has …
Hi, I m making a software which calculates the hours worked by each employee per day. This is calculated by the in time and out time of the employee. I have the database which contains the in time n outtime of the employee in sql. Now, My problem is i …
Will vb run an old gwbasic .bas program? My problem is to lprint to a usb printer, and if I have to learn vb, so be it. thanx Jack
[B]Hello everyone,[/B] I am looking for a way to get hidden files fron a folder and then list them in a listbox control. Could someone help me with this? this is the code i got so far: [CODE]Sub hidden(path As String, list As ListBox) mypath = path MyName = Dir(mypath, …
Hi I'm doing a project where I need to have people register by entering a username and password. When they click register I want them to be added to the database, but I'm having trouble doing this. Can anyone help? This is my first time using VB. This is the …
I need to know about Add Edit Delete on VB v6. code form and desin sample as a Company record or class student record! Visual Basic v6.
when I try to access the report through VB6 on XP the exact error I get is ... "Run-time error '20525' Unable to load Report" but on windows 2000 it was working properly when i install windows xp i am facing this problem please help !
how do i connect access 2007 to vb6
hii.i want to implement movable images in my project like from left to right or top to bottom..please do help me out..if possible just give an illustration.........waiting for reply..thnx in advance
Hello everyone :) I have to do a very imporant project... And I would highly appreciate some useful hints, since I have NO experience at all with VBA... (I have read a book, but just from reading and following those instructions I am not able to key my own tool... …
Hi everyone, please help me with this error. Im trying to fix this for hours now but still im a failure. Thanks, Public Sub LoadListView() Dim strSQL As String Dim objCurrLI As ListItem Dim strZip As String Dim strPhone As String strSQL = "SELECT Accession" _ & " , DateReceived" …
hii..i have a toolbar which i hav designed in a form..the problem is thatthe code isnt working...i have used screen.activeform in a select case..i think isnt fully correct..plz do help me out..
[CODE]Dim scoreArray() As String Dim nameArray() As String Dim NewScore As String 'loads the table Private Sub Form_Load() Dim nf As Integer Dim nFile As String Dim sf As Integer Dim sFile As String Dim scoreFile As String Dim nameWholeFile As String Dim scoreWholeFile As String Dim count As Integer …
guys, is it possible to connect a VB6 app to a asp.net page. My friends are making a vb6 app and now they realised they need some web connect as well. I want to know if it is possible to connect vb6 apps and asp.net page. They would use Visual …
[CODE]Unhandled exception in VB6.EXE: 0xC00000005: Access Violation[/CODE] my software recently crashes everytime it access it's DB and this error shows up when i click on the "debug" button. I am able to fix this sometimes when I set the Database name and RecordSource to the same DB and table. But …
I have created the append query in access and have my new data to append to the access table. I have 1500 rows but every time I go to append, it says its about to append 4881 rows. I have deleted the rows several times but it still keeps appending …
I want to make a help file. but I want to do it without vb tools. I want to make it, use another tools. can any body tell me any software to make this kind of help file.
Hi guys I'm developing this system for a cybercafe that will be used for costing and stuff. I've got it all figured out only that I'm not used to client-server architectures- okay I've read about it but I've never applied it. The system is in vb6. could please help me …
Dear Sir/Madam, How to measure memory consumption of a VB 6.0's programe? As a programmer in vb. 6.0, where i have to be conscious for getting less consumption of memory of my program at design time? Is there any free software to measure memory consumption of a programe? Please guide …
hai please any body can give me code how to insert one row in already prepared table in ms access
The End.