473,545 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic 4 / 5 / 6 Forum

Visual Basic programming language and IDE - Ask questions about rapid applicatoin development, GUI, database access, DAO, RDO, ADO, Active X Controls, objects, Microsoft Visual Basic 4/5/6.
24
9,380
thread by: joemo2003 | last post Mar 14 '07 by: joemo2003
How to change the textbox text size in visio using vb6? is something like the follow? but it seem not work, anybody help? Dim ashape As Shape ashape.Text.Font = New Font("Times New Roman", 22)
24
9,267
Mague
thread by: Mague | last post Jun 11 '07 by: Plater
Hey, Im a 13 yr old who needs help. I need a code which can detect if Ctrl R has been pressed. I cannot use e.key thingy because i have got text box on mi page so that doesnt work. I also need it to beable to be pressed and detected when my file is minimized If someone could help i would apressate it ty Mague
24
1,703
thread by: ewankosayo | last post Oct 5 '07 by: Killer42
I have a BIG Problem, I need to create a program that will loop 24x7 to check the database and it wouldn’t consume a lot of memory. My platform is vb6 or .net Any advise Please..
24
7,040
thread by: bnashenas1984 | last post Feb 5 '08 by: Killer42
Hi every one I'm trying to make a little poker game but I don't know how to evaluate the strength of a 7 card hand.. It's not that hard with 5 cards. Actually I found some program to do that with 5 cards but the problem is that there is 5 flop cards and 2 cards that the player has in hand. I don't even know how to start that .... (identify...
25
1,973
thread by: softwaregeek | last post Mar 15 '07 by: willakawill
hi all, My current system resolution is 800*600 .I have designed a form(.frm) acc to this resolution. Now i have changed the resolution to 1024*768 and again run the vb appliction at that time my output get shrinked as i have changed the resolution. but ideally apllication should run in fine manner irrespective of resolution ... so want...
25
37,976
wassup
thread by: wassup | last post Oct 13 '10 by: danp129
Hi all, This my 1st time to get help at forum. So my problem is I have a form with some textbox inside and I want save the data that key in inside textbox to the Excel format that I create and the specified cell that I want it save into. Example, my Excel report's name is "Manual Visual Report", and one of the vb textbox is "Date". Lets say I...
25
2,296
thread by: NyNyHelp | last post Jul 30 '07 by: Killer42
I am using VB 2005 Express and have used the Shell("Full Path") command before and had it work fine. For some reason I added some code (Un-related to the Shell) it stopped being able to find the file It was previously finding fine. I've had this problem before and eventually gave up and rewrote my code and it worked but is there any way this is...
25
62,464
thread by: dennijr | last post Sep 21 '22 by: netgroover
ok, shell always used to be easy for me, now its starting to get annoying cause i dont know wats wrong heres the simplist code possible: Private Sub IExplorer_Click() a = Shell("C:\Program Files\Internet Explorer\Iexplore.exe http://www.google.ca", vbMaximizedFocus) End Sub i have a program thats been on my desktop for about a month now...
25
1,865
Ali Rizwan
thread by: Ali Rizwan | last post Oct 4 '07 by: Killer42
hi all, I m using this code for searching with respect to Reg No: ADODC1.Recordset.Find "Reg No = " & txtREG But it is not searching Thanx
25
2,552
thread by: rekhasc | last post Oct 17 '07 by: daveftl
hi...... Its very urgent.............. how can i take only the year and month part and it should save in the database in the month and year field separately......... when i enter the date in the form it should automatically update the year and month field in the db........ in my proj i am drawing a graph on daily, monthly and yearly basis..... i...
25
3,580
thread by: LeWaltz | last post Dec 4 '07 by: LeWaltz
hi everyone, i am a newbie here, and i have a problem in my programming code... i wanted to make sure that i can only detect positive numbers, and not letters... examles: "abc", "ab100", "-100", "100ab" all these will display a message box "invalid values" however here i have a problem in detecting negative numbers "-100" and also a number...
25
3,146
thread by: sandy armstrong | last post Dec 6 '11 by: Guido Geurs
Hello Everyone. I have a question and i would appreciate if any one can help.... Attached is a user form with 3 Search critira. I would like it to seach the worksheet display result in text box and on update that filtered list add a number(From the userForm)into in a column that says ppo #. any guidance in this will help.
26
9,643
thread by: Adrian Parker | last post Jul 17 '05 by: Steve Gerrard
I'm using the code below in my project. When I print all of these fixed length string variables, one per line, they strings in questions do not properly pad with 0s. strQuantity prints as " 4". Six spaces than the value of intQuantity. This is correct. But all the others end up being string objects of only 6 characters long (with...
26
3,660
thread by: I Hate My Computer | last post Apr 1 '07 by: I Hate My Computer
I need help with some VB code. Ultimately I would like it in VBA because that's all I have. I am making a fun game to hide in all of my docs. It is a pong like game but you need to have your pad deflect a ball that a alien drops. I also need help making the aliens move by themselves and drop the balls at a specific spot. Any help or ideas would be...
26
3,828
thread by: vishwaskothari | last post Sep 7 '07 by: hariharanmca
I am to make a data report in which I am going to display the records dynamically from the database. No. of record depends on the users input. How can I do this? I think an array of controls can serve my purpose. So how to add an array of controls in a data report ?
26
4,408
werks
thread by: werks | last post Feb 11 '08 by: werks
Hi there programmers does does anyone know how to lock the screen? i mean when you click the Lock Button everything in the desktop will be LOCK unless you input the correct password to unlock it..pls help.. Thanks in advance Better Than Yesterday ^^
26
2,475
hefaz
thread by: hefaz | last post May 15 '16 by: hefaz
Hello every one. i am trying to catch duplicate values from a data. in the picture when i want to add new record, then if the record already exists then go to that record and fill all the boxes, then i will press the update button,but if not, then add new value. field is indexed. Capture.JPG! so how to code that? i need it very much. here...
27
35,897
thread by: code_wrong | last post Mar 18 '06 by: Lord Duran
Visual Basic (not dot net) what is the best way to check the User has entered an integer into an InputBox? isNumeric() checks for a numeric value .. but does not notify of numbers with decimal places inputBox returns a string so I could check for decimal point??? this seems like overkill The value returned can be asigned into an Integer...
27
3,224
lee123
thread by: lee123 | last post Mar 13 '07 by: Killer42
i'm new to visual been working on access databases for a while but i would like to create a basic math quiz form to where it has a timer on the bottom to time a certain time and at the end of the time it flashes "times up" and the person taking the quiz is giving a "incorrect' msgbox or a "correct" msgbox response and then the "correct" answer.....
27
4,788
thread by: Wernerh | last post Oct 10 '07 by: Killer42
Please could anyone tell me what is wrong with this code. Do I need anything else other than this for it to work, or is my code missing further info requirements. Presently getting no result in Ret1.text5 If Ret1.text4 = 100 Then Ret1.Text5 = Wrong Thank you Werner
27
109,358
thread by: geniet | last post Oct 31 '07 by: geniet
Hello all of you, I have some problem in setting cells values (or fromat or...) in my Excel spreadsheet using a VB statement like within my Module: Range("C1").Value = 20 I have this in a function. If I am in debug mode and have a breakpoint at this line, I can see when hovering my mouse over "Range("C1").Value" the actual value in that...
27
2,939
thread by: cryoburned | last post Sep 27 '07 by: Killer42
is there a way i can add and subtract base16 numbers? btw base16 is also known as hex.. but i dont want to convert FFFF into 65355 or w/e.. i want to make F - 1 = E and the like.
27
3,187
thread by: dennis1989 | last post Jan 19 '10 by: dennis1989
Im having problem running the program. Its say i have incorrect syntax at my strsql coding Private Sub ComboBox1_Change() Dim rst As ADODB.Recordset 'Initialize Recordset Set rst = New ADODB.Recordset On Error GoTo errhandle
27
10,019
thread by: PBXHowTos | last post Mar 8 '13 by: Mikkeee
Here is the deal: I have a basic VB.NET (2012) app that I have coded to look for a specific CSV file. But that is where it stops cause I am stuck. what I need to happen is when I click a button, I want a window to pop up for me to locate the CSV file. THEN, I need my app to process said CSV file looking for a keyword. In this case:...
28
2,096
thread by: vikas000000a | last post Jan 24 '08 by: Killer42
Hi all, I am stuck in VB once again. I think, VB is something about which you cann't say at anytime for sure that I have mastered it completely. Anyways, my issue is stated below: I am making a program in VB which will Fetch the records from a table of an Oracle 9i database. Table has got a column called amount and another called...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.