10,991 Topics
| |
Good day all Is it possible to type an exponent in a textbox or a label using VB6? I am currenltly using two textboxes, one for the base and the other for the exponent, by using the tabkey to go from textbox 1 to textbox 2. thanx. N | |
I want to do work with a machine(any). like: Id card punch(machine) or other. the software collect data form the machine. Here I want to how the software work with the machine? how a software give a command to the machine? I want to know details. plz help need. | |
Need help for creating an diary alphabetically...some doubts 1. Do i need to create separate recordset for each alphabet (A-Z) ? 2. How do i get the 1st letter of the name entered into a textbox ? (hav heard that "VB Controls" help...but couldnt find a control to help me..) … | |
My QBASIC programs do not run under Windows XP. Specifically, LPRINT does nothing. I have spent a lot of time & effort over the past 15 years programming in QBASIC with lots of useful and profitable programs. I really do not want to start over with Visual Basic unless there … | |
Hey, I faced one tiny problem, but I can't figure it out. What I need is basically "label1 = format(now, "hh:mm:ss")", but I want start counting time from zero: "00:00:00".. Any help? | |
i have the ComClassSearchCustomers class and interface IComClassSearchCustomersat .net which used to create a tlb file. The class raise an event inside new. After that i have a vb6 form Form1 which catch the event , but it never see the event. Any ideas? Option Strict On Option Explicit On … | |
I need to get the icon from a drive and put it in a picbox. For example i have an icon on my usb/flash drive and i want to get the icon and put it in a picbox same for my c drive and DVD drive | |
hi! i have created a form which contains two combo boxes. the first one can be used to select the location and the second to filter the floors belong to the selected location. i need to know the coding needed to filter the floors which only belongs to the selected … | |
I've got that. that should be displayed after log on ( it can be rewrite with use IF statement) [CODE]Private Sub cmdLogon_Click() Dim age As Integer age = InputBox("please enter your age") Select Case age Case Is >= 18 MsgBox "you are" & " " & age & ", let's … | |
Hi.... I am a student. When i tried to connect VB with Access, it is giving me this message "Run-time error 13, Type Mismatch" Below is the code [code=vb]Dim DBase As Database Dim RBase As Recordset Set DBase = OpenDatabase("DB Name") Set RBase = DBase.OpenRecordset("Table name") [/code] The funniest thing … | |
My subscription system is now running though with errors here and there.the error that concerns me a lot is a runtime error that says [QUOTE]multiple steps generated an error check value status[/QUOTE] and points to this code....[CODE]r.Fields("companyphone") = txtcphone.Text r.Fields("companywebsite") = txtcwebsite.Text[/CODE] and this code is in my save button. … | |
hello. please i would want to know how i can communicate with the system and find the system's present status such as logging off, shutting down, etc. vb codes would be most appreciated. thaNKS | |
i have 2 forms..when i start my application..form1 loads...then i navigate to form2 and adds some data in database using controls on form2, which should also reflect on form1... My data is not getting reflected on form1, after i hide form2...before giving "form2.hide", i tried giving "form1.show" and "form1.refresh" but … | |
[B]hello everybody, im venkat doing my b.e 3rd year... Im currently working on my project of college administration system using vb6. I need help on how to save an image in the access database...i have got the code on how to browse an image. but i'm not able to find … | |
I want to calculate average of grades of each student with SQL command but I encounter problem with this code. I have 3 tables related to each other and want to calculate average of student grades. This is my SQL string but it dose not work. What is the problem … | |
Hello everybody, I have an issue with a code. I'm don't know how to start this. Here is my problem: Column 2 of my MSFlexgrid = store number. Ex: 1009,1010 etc. In column 20 of my MSFlexgrid = Delivery day. Ex: Sun, Mon, Tue......, Now if store 8009 have multiple … | |
how can i create an database dynamically i.e. my code creating database while running taking an user input?? i have seen code like below working Dim db As Database Dim ReS As Recordset Set db = OpenDatabase(App.Path + "\Data\" + Userinput + "\Memo.dat") Set ReS = db.OpenRecordset("Memo") ReS.AddNew ReS("Title") = … | |
Here is the code I'm working on. The user should be able to type in a number and then after clicking the button, list (in a listbox) of all the prime numbers leading up to the number (including the number if it's prime) MY ERROR/PROBLEM: When i input a number … | |
I am using a MDI Form and several documents can be opened using "CommonDialog1.ShowOpen" If i open a file then go back to open another file but click cancel or the "x" then it will open the last file. so i need to know how to clear the "#1" my … | |
dear all, what is the sql command for ms access 2007 to get the tables name of the database? and also how to put these names into a list box? thanks in advanced. 4ukh | |
Type BITMAPFILEHEADER bfType As Integer bfsize As Long bfReserved1 As Integer bfReserved2 As Integer bfoffbits As Long End Type Type BMPInfoHeader biSize As Long biwidth As Long biheight As Long biPlanes As Integer bibitcount As Integer biCompression As Long bisizeimage As Long biXPelsPerMeter As Long biYPelsPerMeter As Long biClrUsed As … | |
I have the following code: [code] For lngPosition = LBound(strNames) To UBound(strNames) mainForm.NameDisplay.Caption = strNames(lngPosition) mainForm.StockDisplay.Caption = intLevels(lngPosition) Next lngPosition [/code] This code, in my opinion, should print everything in array in a label. However, it only prints the last element of the array. Anyone got any ideas on how … | |
Hi, Let's say I have a form full of objects and want to make all of them (or half of them, whatever) invisible. Is there a short way to do that without a need of setting visible to false individually to each object? | |
Hey, one simple question: how to call Image1_click event form module? | |
i am trying to make sure that one record is not entered twice into the same database but the code i am using is giving me an error [CODE]Set ri = deSub.conn.Execute("SELECT* FROM individualsubs WHERE firstname = '" & txtfname.Text & "' AND surname = '" & txtsurname.Text & "'") … | |
I am trying to create an If Then statement to use in an excel spreadsheet using data from 2 or 3 columns. Column AB has text. Column AA has a date in it. I need the statement to say if column AB says RFEP or TRFE and Column AA is … | |
I am currently trying to create a Web Design program, freeware, for use to help with the aid of web design. I want it to be sorta like... "Web-Design-Toy" by ACME, only with more features. To where when you type in the textbox, it comes out in a live view … | |
I have a subscription system that i have developed. the system is supposed to automatically subtract the number of copies given to a client every monthend as per request they made of the copies required upon joining. my problem is i cant make my code run through my database so … | |
Hi Everyone, This feauture enables to use "Try" exception handling in VB programs like VB.net Try-Catch statement. [URL="http://sites.google.com/site/truetryforvisualbasic/"]http://sites.google.com/site/truetryforvisualbasic/[/URL] I think it's a new way of exception handling in VB 4,5,6, VBA and VBScript. I'm waiting for opinions. | |
okay. i'm an B.S.I.T student and we're going to develop a system. i hope you can suggest a unique system. my professor doesn't like common system: library system, student information system, etc. hope you guys can suggest some. we might use VB6, VB2008 or VB.net. it's up to our prof. … |
The End.