1,130 Posted Topics

Member Avatar for jem00

Here is one sort... [url]http://www.vbforums.com/showthread.php?t=231925&highlight=sort[/url] and a list of sorting routines... [url]http://www.vbforums.com/showthread.php?t=473677&highlight=sort[/url] Good Luck

Member Avatar for jem00
0
241
Member Avatar for hughv

Sounds like you will need to keep track of those previous numbers with some variables and its been a long time since I had to do anything to do with QBasic but an array would serve you nicely. Then you would need another variable to keep track of how many …

Member Avatar for vb5prgrmr
0
148
Member Avatar for imrankhalidtoor

serkan sendur, Please start your own thread No. You will have to make your own form that looks like a message box. Good Luck

Member Avatar for vb5prgrmr
0
2K
Member Avatar for guest11

Well with VB you need to have the correct library installed. i.e. for an office 97 access datbase you would need to have office 97 installed with the method you are trying to use. On the other hand if you use DAO, RDO, or ADO, more often than not the …

Member Avatar for vb5prgrmr
0
119
Member Avatar for lalchetian
Member Avatar for FisherJT

Set gridCounter.DataSource = [COLOR="Red"]dataCounter?[/COLOR] Where is it defined? Set gridCounter.DataSource = [COLOR="red"]rsMyRs[/COLOR] Good Luck

Member Avatar for FisherJT
0
114
Member Avatar for wescode

Sorry Michael, that is .NET only and won't work in VB6. Once you have the path to the temporary internet folder and if you can enumerate through its files by using DIR/FSO/FindFirstFile-FindNextFile/DriveListBox-DirListBox-FileListBox then you can use the FreeFile Function-Open Statement-Input Function-Line Input Function- and the close statement to read the …

Member Avatar for vb5prgrmr
1
361
Member Avatar for monurenjith

Should be something like... [code] myrs.Open " SELECT memberpersonal.name,memberpersonal.memberid, FROM memberpersonal, INNER JOIN memberunion ON memberpersonal.memberid = memberunion.memberid where memberunion.memberid = " & cmbUnion.Text , mydatabase [/code] Good Luck

Member Avatar for Tassilo
0
97
Member Avatar for PinoyDev

This is because of one of the quirks of ADO. -1 means that it has found records but does/did not get an accurate count. A couple of ways to get the accurate count and to test to see if you have records are as follows... [code] If adoRs.RecordCount <> 0 …

Member Avatar for PinoyDev
0
211
Member Avatar for maydhyam

I believe you need to download MDAC 2.5... [url]http://www.microsoft.com/downloads/en/results.aspx?productid=&freetext=mdac&displaylang=en[/url]

Member Avatar for vb5prgrmr
0
350
Member Avatar for Ole Raptor

Where is .SalesRep declared and where is its parents with statement? Good Luck

Member Avatar for Ole Raptor
0
265
Member Avatar for Cosa
Member Avatar for jireh
0
350
Member Avatar for VIPER5646
Member Avatar for VIPER5646
0
81
Member Avatar for Engineer.Saleh

jephthan, I thought about flagging your post but then I thought I would share a story with you, but who knows, someone else might come along and flag it... When I was working with a unnamed company, they hired a guy nearly strait out of college at nearly double the …

Member Avatar for Jupiter 2
0
1K
Member Avatar for degater1

See adobe's site and grab there PDF print driver... okay here it is... [url]http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=1500&fileID=1438[/url] this is the installer that will check your system and download the postscript drivers so you can print to PDF. Then in your code you will need to change the default printer that you print to …

Member Avatar for vb5prgrmr
0
138
Member Avatar for firoz.raj

Okay, the part you tried to highlight in red is constantly returning zero and it should be something like... [code] ... = Combo1.ListIndex [/code] That is, if what you need is the index number but if your field is 1 based and not zero based like the combo then you …

Member Avatar for vb5prgrmr
0
96
Member Avatar for usbport
Member Avatar for PinoyDev
Member Avatar for PinoyDev

Okay, this looks like it may help... [url]http://vbnet.mvps.org/index.html?code/comctl/lvledger.htm[/url] Good Luck

Member Avatar for PinoyDev
0
71
Member Avatar for success_always

It might be they way you are using the select max. For future reference (without spaces) use the [ code ] [ / code ] tags to display your code (makes it easier to read). Perhaps you should do a count or if the field is a unique id, do …

Member Avatar for vb5prgrmr
0
97
Member Avatar for kehar

Kehar, You failed to mention what kind of database. Access, MySQL, SQL, Progress, Alpha, Oracle, Fox Pro? However, for most of those it is as simple as having a lookup table to populate your combo box and to change the table your queries look to. BUT, for some things like …

Member Avatar for QVeen72
0
145
Member Avatar for arkhadi

If you are talking about the ADODC (ado Data control) and the MSFlexGrid or the MSHFlexGrid then yes you can populate either grid without the use of the control. However, the easiest way is to bind your datasource to the controls datasource property but you do not have to. You …

Member Avatar for vb5prgrmr
0
65
Member Avatar for lazlo2000

Well, it really depends on exactly what you are doing... If you have something like this... Procedure01 calls procedure02 Procedure02 calls procedure03 03 calls 04 04 calls 05 .... Then what you are doing is building up the stack space and thus you can see the memory expand. However if …

Member Avatar for vb5prgrmr
0
91
Member Avatar for Mordecai17

Well lets start with your declaration statement... [code] Dim car, color, door As String, cost, cost1, cost2, cost3 As Single [/code] Just so you know, car, color, cost, cost1, cost2 are all varients while only door is a string and cost3 is a single. Next off, since you are doing …

Member Avatar for vb5prgrmr
0
171
Member Avatar for shibu.web

Use the data form wiard with all possible combinations of form types with each of the code/class/control options.

Member Avatar for vb5prgrmr
0
124
Member Avatar for killdude69
Member Avatar for nokomoli

Or there is the formatnumber function... [code] ?formatnumber(1/ 2946.33,8) 0.00033941 [/code] Where the "8" after the comma tells the function how many places after the decimal you want. Good Luck

Member Avatar for vb5prgrmr
0
152
Member Avatar for limesight18
Member Avatar for vb5prgrmr
0
62
Member Avatar for twilightprincez

In the most simplistic way, you can use the shape control for the head and line controls for the rest of the body. Stepping up from that you can use a picture box control to draw in via line and circle. Then from there you could use a predifined image …

Member Avatar for Jupiter 2
0
155
Member Avatar for firoz.raj

If you are talking about where you have the color tags that show up as text then I would say you have to open the connection before you can test it. From what I see you have only declared the variable con as a New ADODB.Connection but have not acutally …

Member Avatar for Jupiter 2
0
166
Member Avatar for rola

Is the excel sheet used for input? Meaning does the excel sheet contain the names of the books and the prices? If so then it is not one time. Good Luck

Member Avatar for Jupiter 2
0
140
Member Avatar for elanch

To begin with VBasic 10 would be VB.NET... Second, Jupiter 2's reply is not entirely correct... There are out there programs that "say" they can reverse engineer programs, i.e. decompile programs and while they are capable of doing such things, the result is less than readable. For each sub/function/property/event etc. …

Member Avatar for Jupiter 2
0
163
Member Avatar for icedece

33 pixels? Man your object is moving fast! Are you sure that the "play" area is a multiple of 33? Are you sure you are not talking twips? [code] Option Explicit Dim GoingLeft As Boolean Private Sub B3R1_Timer() On Error GoTo B3R1_TimerError If GoingLeft = True Then 'make sure the …

Member Avatar for vb5prgrmr
0
97
Member Avatar for anil.dwivedi

I know other office applications have the ability to record macros and if power point does, then record a macro of what you want to do, view the code and for the most part move it over to VB6. If not, don't know what to tell you... Good Luck

Member Avatar for vb5prgrmr
0
184
Member Avatar for bprabhumdu

Select * From YourTable Where UniqueID = 93 Although, I'm willing to bet the answer to your question is not going to be that easy. For us to help you better we could use some more information like some sample data, the structure of you table, is there any possible …

Member Avatar for vb5prgrmr
0
119
Member Avatar for abu taher

So you say it runs on your computer but not on another. Did you create an install package with the Package and Deployment Wizard (A.K.A. PDW) or use Inno to do so and if you did then did you install in on the other computer?

Member Avatar for Jupiter 2
0
89
Member Avatar for jbfsantelices

Okay, As long as none of the fields that you mention are of an autonumber field you can do something like... [code] strSQL = "INSERT INTO Table1(LineNumber, JobName, Batch, Coder, DocDate, DocChar) SELECT Table2.LineNumber, Table2.JobName, Table2.Batch, Table2.Coder, Table2.DocDate, Table2.DocChar FROM Table2" [/code] Then execute via command object and what this …

Member Avatar for vb5prgrmr
0
729
Member Avatar for abu taher

For the most simplistic version you could check the creation date of some file you created against the now function, do a date diff based on "d" (day) and if >= 365 display message/shutdown program. However, user could get around this by resetting the date time on the machine. Same …

Member Avatar for abu taher
0
569
Member Avatar for Bisaye

Okay, is this data that you captured written to a file? I ask because you use the past tense "captured" as this is not a NRT (Near Real Time) application. If it is a NRT application and you recieve this data in chuncks then the way you handle this data …

Member Avatar for Bisaye
0
130
Member Avatar for Vorpal

Okay, the closest you are going to get as far as I know is... [code] Dim aTemp(0 to 1, 0 to 1) As Integer [/code] But then you would have to do... [code] aTemp(0,0) = 1 aTemp(1,0) = 2 aTemp(0,1) = 3 aTemp(1,1) = 4 [/code] Good Luck

Member Avatar for vb5prgrmr
0
106
Member Avatar for asuni449
Re: DLL

You cannot create a dll in VB with C++ coding/syntax. However, you can create a dll in VB with VB coding/syntax that does the same as what you want to accomplish with the C++ code but you may have to jump through some hoops. It all depends upon what you …

Member Avatar for asuni449
0
68
Member Avatar for ronzoq

Sounds like you need speed throughout. So I would suggest C, C+, C++, and also would suggest anything that uses a lot of overhead in the way of libraries you should stay away from and this means .NET. You can however have all your inportant code that needs the speed …

Member Avatar for vb5prgrmr
0
99
Member Avatar for jlbryant0120

Well, to find the average of any group of numbers it is the sum of numbers divided by the number of elements. Good Luck

Member Avatar for jlbryant0120
0
81
Member Avatar for monurenjith

Yeah, if your looking for a specific unique identifier based upon the text of the combo box that the user selected and your database has been normalized and you have defined the relational fields then... [code] Private Sub ComboCountry_Click() SQL = "SELECT tblState.State, FROM tblState INNER JOIN tblCountry.iCountryID = tblState.iCountryID …

Member Avatar for jireh
0
113
Member Avatar for Sniper87

Well since you have command buttons on the form you cannot use the form's keypreview property but you can use any of the following events of the command buttons as long as they have the focus... KeyDown, KeyPress, KeyUp Now, as for checking if the letter is within the word/phrase …

Member Avatar for Jupiter 2
0
103
Member Avatar for Bob Jacobs

What mode? 16 or 32? If 16 on 32 bit machine it just might be your problem but it has been such a long time since I worked on 4 that I am just grasping at straws. Good Luck

Member Avatar for vb5prgrmr
0
177
Member Avatar for nicko.dvz
Member Avatar for Bob Jacobs

WinZip has this functionality... [url]http://www.winzip.com/prodpagese.htm[/url] Good Luck

Member Avatar for Bob Jacobs
0
116
Member Avatar for icedece

Perhaps a boolean array with elements that equal your animation array elements that you can check against for specific element pauses/freezes. Just a thought... Good Luck

Member Avatar for vb5prgrmr
0
97
Member Avatar for icedece

A definition at the top, a Java example, then a VB6 example... [url]http://compsci.ca/v3/viewtopic.php?p=146070&no=1[/url] Another... [url]http://www.tek-tips.com/viewthread.cfm?qid=1387082[/url] Good Luck

Member Avatar for vb5prgrmr
0
119

The End.