1,130 Posted Topics
Re: Andre, I think you need to reread the OP's post, as neosonic stated... >My problem is, after running my program several times (by using "start" command in vb6)... maybe around 100 times or so... I have got out of memory error. Which means to me that neosonic is not releasing … | |
Re: >If they work between 41-50 hours (which is considered as overtime), they get 40 hours of pay PLUS an extra $1.50 per hour e.g. 45 hours (40 hours x $5.50) + (5 additional hours x $5.50 x $1.50) = $261.25 OverHours = (Hours - 40) Hours = 40 GrossPay = … | |
Re: Okay, when you go to close the form, you need to some cleaning up of your objects that you have created/initialized. The timer for one would be good to disable with a timer1.enabled = false and you should close your com port in the proper way. You can do this … | |
Re: You can find your own information on the web with your friends (yahoo, google, ask, answers, bing). All you need are the right keywords. One place to go is to the top pinned thread of this forum where I list a few searches from yahoo, a bunch of sites including … | |
Re: To attach pictures to your post, or to attach a zip file, use the go advanced button below. Then you will be given the options to attach pictures and files... Good Luck | |
Re: What OS? Vista? 7? What is your path? Are you in/under Program Files? You may be having a problem with redirection. Also, use Option Explicit at the top of every code window, which also brings up the point of going to Tools>Options and putting a check next to Require Variable … | |
Re: When you say database online are you talking over the internet, or your private network? Because there is a big difference between the two and the types of databases you can access over the web. For connection string information see [url]http://www.connectionstrings.com[/url]... Good Luck | |
Re: Line 19 Do While Rs.EOF = False Line 20 Starting here is where you should do "some processing" Line 21 rs.movenext Line 22 loop Line 23 rs.close Line 28 move to line 18 and put oppsite of it at line 24 Line 24 to 35 delete Good Luck | |
Re: Actually, VB6.0 does not support a lot of icon formats that .NET does, like *.png or more than 256 colors or a size larger than 32x32. See the help files for more information or search the web for more accurate information. Good Luck | |
Re: Check out the Round function and the Format function and for how vb rounds, see some of the articles this search brought up... [url]http://search.yahoo.com/search;_ylt=AsacIZvoNaeCzNBceyH577ObvZx4?p=how+does+vb6+round+numbers&toggle=1&cop=mss&ei=UTF-8&fr=yfp-t-701[/url] Good Luck | |
Re: An ODBC DSN (Open DataBase Connectivity Data Source Name) must be created on each computer that will use the end result of the Visual Basic 6.0 design process. Meaning you create the exe and the installable package and install the program on the machine and then create the ODBC DSN... … | |
Re: your close but a few things wrong with your string concatination... "SELECT * FROM LERNER WHERE LICENSE_NO='" & Text1.Text & "'", db,... Good Luck | |
Re: Unfortunatly??? The API makes life so much easier!!! Time to use your friends (yahoo, google, ask, answers, bing) and search for vb6 cpu monitor or vb6 cpu usage. You will definitly find some sourcecode out there. Also, check over at PSC (planetsourcecode)... Good Luck | |
Re: See GetLastError and FormatMessage API... Good Luck | |
Re: Are you talking about a scrolling background, or changing the left property of a image or picture box control? and BTW, help as a subject title is not very descriptive... Good Luck | |
Re: Couple of notes here... "I need help" is really not a good thread description as most all who create threads in these technical forums need help in one form or another. When posting code, use the [ code ]code goes here[ /code ] tags. Sometimes it is better, as in … | |
Re: With a search of one of my friends, the first one, (yahoo, google, ask, answers, bing) on vb6 license plate recognition you will find a couple of results on the first two pages of results. Then with a search with vb6 license plate ocr you will find more results on … | |
Re: Okay, I'm guessing that weight calculations are based upon earth standard normal, which means that based upon a packages weight being sent to the moon you would multiply it by .6 to get its destination weight, which is what I believe to be your excercise. From there you can use … | |
Re: >Is the BJ Preview software owned by MICROSOFT... Never heard of BJ Preview and with a quick search of my first friend (yahoo, google, ask, answers, bing), did not return anything worth looking at on the first page, but I can say that this thread was the top two listings.... … | |
Re: To begin with, did you just copy the exe or did you make an install package with the PDW, Inno, Windows Installer 1.1, or other installation package? Second, are you using App.Path as part of your connection string? Third, what OS? Fourth, see this for some valuable information... [url]http://www.vbforums.com/showthread.php?t=456795[/url] and … | |
Re: Yes it is possible from within both visual basic and visual basic for applications as that is what you would use from within excel. If you go to the vba code window and press F1 and search for open workbook, you should be able to find some example code on … | |
Re: Well considering that the "Text" in text1.text is "Text" to begin with there WebSpoonUK, your code shows how vb coerces values from string to number without explicit conversion (iIntegerVariable = Int(Text1.Text)). So, your code can be shortened to just... [code] Text2.Text = Left(Text1.Text, 1) Text3.Text = Right(Text1.Text, 1) [/code] Furthermore … | |
Re: With a quick glance... I don't see the relavent code that shows where you detect the collision of a ball with a brick. I see the walls but not the ball hitting the brick... Good Luck | |
Re: Time to use your friends (yahoo, google, ask, answers, bing) and search for vb6 mask color, as I believe you will need to make the second graphic only show the information. Or you mignt want to search on vb6 transparent picture box if that effect does not accomplish what you … | |
Re: If a SP returns some sort of results (T/F, recordset) then use a recordset as you are. If it just does something use a command object... Good Luck | |
Re: Time to look into the API... keybd_event, sendinput, and so on... Good Luck | |
Re: The text box does not directly support superscript or subscript but with a little know property of the RTB you can accomplish what you want... Or at least most of it... [code] Option Explicit Private Sub Form_Load() RTB.Text = "" RTB.SelStart = 0 RTB.SelText = "2" RTB.SelStart = Len(RTB.TextRTF) RTB.SelCharOffset … | |
Re: When that dialog pops up, click on debug and VB will take you to the error. Correct the error and try again. Also, goto Tool>Options and put a check next to require variable declarations. Then on the general tab, select break on unhandled errors. Then at the top of every … | |
Re: To hide rows and columns in a "bound" data grid, you use the select statement to restrict the number of columns and the where clause of that select statement to restrict the rows returned and finally use the option order by keywords to order the returned data. Otherwise, using your … | |
Re: Walt, I'm not sure if I should laugh at that or just smile :) Ben, time to get out the old mark I recording and documentation devices and use then to design your system (BTW, that would be pencil and paper). Good Luck | |
Re: Right Click>run as admin or the use of a manifest file that requests higher privileges may work for you. See M$ and the web for more info... Good Luck | |
Re: sidnei, good post but if you reread jemz post you will see that they are entering H-1010 for the primary key, meaning that the primary key is a text field. So jemz I would suggest that you use sidnei's 1st suggestion... [code] strSQL = "SELECT COUNT(fieldname) AS THECOUNT FROM tablename … | |
Re: Lets see, you want to use Access the application as the front end to a Visual Basic 6.0 back end???? Are you sure you don't have that backwards???? I mean it can be done.... but one would have to ask why???? Or are you talking about VBA??? So confusing it … | |
Re: You are using VBA and [b]NOT[/b] VB6.0. VBA is an interpreted language while VB6.0 can be compiled to native binaries (exe's, dll's, ocx's, etc.). So yeah, looking in Visual Basic 6.0 forums, your going to find a whole lot of functionality that VBA does not support... at least right off … | |
Re: That is after you take a picture (friends time (yahoo, google, ask, answers, bing) vb6 snapshot) of the textbox as a text box will not rotate in itself. Good Luck | |
Re: An easy way is to use the API URLDownloadToFIle... Good Luck | |
Re: You need an inner join statement in your from clause... The easiest way to get this correct is to use Access's query design window... So go to the query tab/window of access and double click on create query in design view. Add the two tables when the window pops up. … | |
Re: Yes it is possible but you should be looking for an ASP forum and/or a VBS forum... Good Luck | |
Re: Normally you Raise custom errors from a class and when you do so the error is pushed back to the calling function, which in turn should have an error handler to handle it. As an example, here is something you could step through with F8... [code] Option Explicit Private Sub … | |
Re: Is this code you are talking about or a compiled activex dll or a c dll? If code, start a new project and add the class to it. Then write code to instantiate it and test it. ActiveX, add a reference to it in a new project and write code … | |
Re: With VB you can accomplish a lot of what you want with the format function. Other functions like Space, Len, and Me.TextWidth("string") would also be of help. Now, when printing with the printer object you can do one of two things. You can use the currentx/y properties to alter where … | |
Re: No, thank you neosonic for searching out other threads and information that allowed you to solve your own problem :) Good Luck | |
Re: You just need the IP address... Good Luck | |
![]() | Re: I'm betting that if you step through that code with F8, you will find your error at the line control.index = 0, because at that point, it has not been created yet... Also, if you want to create controls and have them in an array, then you need to set … |
Re: several different ways... Look in properties where is says windowstate. set it to vbmaximized or if form load me.windowstate = vbmaximized or me.width/height = screen.width/height and a few more ways... Good Luck | |
Re: Once again, I suggest the use of the common dialog control for showfont, showcolor... Good Luck | |
Re: sidnei, I believe quick is wanting to convert 1,234.56 to One thousand two hundred thirty four and fifty six or ... four dollars and fifty six cents... So quick, I suggest you use your friends (yahoo, google, ask, answers, bing) and search for vb6 convert number to words or if … | |
Re: Time to get out the ole Mark I recording and documentation device (Paper and pencil!) and sit down to figure out your requirements. I would suggest that you start with the design of the database and then move onto the programming requirements... Good Luck |
The End.