Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 48
Search took 0.01 seconds.
Search: Posts Made By: vb5prgrmr
Forum: Beginning VB 6 July 9th, 2010, 09:12 AM
Replies: 5
Views: 12,292
Posted By vb5prgrmr
Use your friends (yahoo, google, ask, answers,...

Use your friends (yahoo, google, ask, answers, bing) and search for vb6 api name... like vb6 findwindow to find a ton of examples, if not more than a ton....



Good Luck
Forum: Beginning VB 6 July 9th, 2010, 01:45 AM
Replies: 5
Views: 12,292
Posted By vb5prgrmr
EnunWindows, EnumChildWindows, and SendMessage...

EnunWindows, EnumChildWindows, and SendMessage are a few of the API's you will need to use to solve this...



Good Luck
Forum: VB How-To June 3rd, 2010, 01:35 AM
Replies: 6
Views: 1,476
Posted By vb5prgrmr
Well just so you know, excel.exe is an activex...

Well just so you know, excel.exe is an activex exe. That is why you can automate it via other programs...

Time to use your friends (yahoo, google, ask, answers, bing) to search for the following...
Forum: VB How-To May 27th, 2010, 08:03 AM
Replies: 15
Views: 8,471
Posted By vb5prgrmr
But where? What line of code? What code executed...

But where? What line of code? What code executed before the error? All these things, and more, add up to why errors happen...
Forum: VB How-To May 21st, 2010, 09:12 AM
Replies: 15
Views: 8,471
Posted By vb5prgrmr
Well, to figure out where the error is coming...

Well, to figure out where the error is coming from, and what line is causing the error, you should have proper error handling for your debug/beta testing. As an example...

Private Sub Form_Load()...
Forum: VB How-To May 19th, 2010, 02:49 AM
Replies: 15
Views: 8,471
Posted By vb5prgrmr
Okay,... on your machine, design it as you have...

Okay,... on your machine, design it as you have but before you compile it, change your code to use CreateObject (see your friends, yahoo, google, ask, answers, bing for "vb6 createobject excel...
Forum: VB How-To May 18th, 2010, 09:30 AM
Replies: 15
Views: 8,471
Posted By vb5prgrmr
That sounds more like a problem between versions...

That sounds more like a problem between versions of excel but without seeing the code that causes the problem I can only guess...



Good Luck
Forum: VB How-To May 18th, 2010, 03:21 AM
Replies: 15
Views: 8,471
Posted By vb5prgrmr
While I am pretty sure that you cannot create a...

While I am pretty sure that you cannot create a native xls format file without having excel, at least you can do it easily, you can create a csv (Comma Seperated Values) file that excel can read...
Forum: Pro VB Databases May 15th, 2010, 12:32 AM
Replies: 1
Views: 2,503
Posted By vb5prgrmr
See my answer to you in the database basic forum...

See my answer to you in the database basic forum where you posted the exact same question...



Good Luck
Forum: VB Databases Basics May 15th, 2010, 12:30 AM
Replies: 1
Views: 3,383
Posted By vb5prgrmr
SELECT COUNT(*) AS CNT FROM tablename WHERE...

SELECT COUNT(*) AS CNT FROM tablename WHERE fieldname = criteria...

(*) could be field name that has an index (to make it faster, where clause is optional...

SELECT COUNT(fieldname) AS CNT...
Forum: Beginning VB 6 February 17th, 2010, 09:25 PM
Replies: 11
Views: 3,078
Posted By vb5prgrmr
and to specify the full path... ...

and to specify the full path...



Good Luck
Forum: Beginning VB 6 February 17th, 2010, 12:51 AM
Replies: 11
Views: 3,078
Posted By vb5prgrmr
Okay, I just tried it with the DAO 3.6 driver and...

Okay, I just tried it with the DAO 3.6 driver and it worked like a champ...

Dim DB As DAO.Database

Set DB = DBEngine.Workspaces(0).CreateDatabase("C:\z\test.mdb", dbLangGeneral)


so last...
Forum: Beginning VB 6 February 15th, 2010, 10:10 PM
Replies: 11
Views: 3,078
Posted By vb5prgrmr
Well without seeing all the relavent code it is...

Well without seeing all the relavent code it is kind of hard to tell but from what I get you are saying is that you basically cut and pasted this code from an example and cannot make it work. Then...
Forum: Beginning VB 6 February 14th, 2010, 09:27 AM
Replies: 11
Views: 3,078
Posted By vb5prgrmr
Did you remember to add a reference to DAO in...

Did you remember to add a reference to DAO in your new program? In old/example program goto project>references and see which version of DAO is selected. Then in new, add that reference...


...
Forum: Pro VB 6 January 11th, 2010, 12:57 AM
Replies: 1
Views: 5,295
Posted By vb5prgrmr
The quick easy answer is that the controls are...

The quick easy answer is that the controls are contained by the form and not the SSTab control. To correct this, select the controls>CTRL+X>select the correct tab of the SSTab>CTRL+V.

When...
Forum: Beginning VB 6 January 6th, 2010, 11:33 PM
Replies: 3
Views: 1,862
Posted By vb5prgrmr
Not really... because if so, there would not be...

Not really... because if so, there would not be different forums for visual basic versions 4/5/6 and VB.NET on nearly every forum site you go to. They are two different animals and the only thing...
Forum: Beginning VB 6 January 6th, 2010, 12:52 PM
Replies: 3
Views: 1,862
Posted By vb5prgrmr
Wrong forum you need a .net forum...

Wrong forum you need a .net forum...
Forum: VB How-To December 4th, 2009, 10:42 AM
Replies: 3
Views: 2,937
Posted By vb5prgrmr
Use a button or perhaps post this in the...

Use a button or perhaps post this in the appropriate forum as this forum is for Visual Basic 6.0 and not .NET



Good Luck
Forum: Pro VB 6 November 8th, 2009, 12:52 PM
Replies: 2
Views: 10,401
Posted By vb5prgrmr
Start a new project and goto help>how do I. The...

Start a new project and goto help>how do I. The second link down should be (Upgrade For Visual Basic 6 Users (How Do I in Visual Basic).

Have fun



Good Luck
Forum: Beginning VB 6 October 28th, 2009, 10:40 AM
Replies: 6
Views: 2,768
Posted By vb5prgrmr
Okay, if the label is bound to the ADODC then it...

Okay, if the label is bound to the ADODC then it is the ADODC that you need to refresh and if you do use this you will need to be able to keep track of where you are presently at in the recordset so...
Forum: Beginning VB 6 October 26th, 2009, 10:08 PM
Replies: 12
Views: 2,033
Posted By vb5prgrmr
G, Unfortunatually the PDW is not adaquate...

G,

Unfortunatually the PDW is not adaquate enough if OP is installing on Vista or higher. The setup package will more than likely fail if installing on this OS...
Forum: Beginning VB 6 October 26th, 2009, 09:10 PM
Replies: 12
Views: 2,033
Posted By vb5prgrmr
VB6 comes with the package and deployment wizard...

VB6 comes with the package and deployment wizard but it is a bit inaduquate now-a-days. Search MS for windows installer 1.1 vb6 or search the web for Inno.



Good Luck
Forum: Beginning VB 6 October 26th, 2009, 09:14 AM
Replies: 6
Views: 2,768
Posted By vb5prgrmr
Those labels will only be refreshed after the...

Those labels will only be refreshed after the code in the button has been executed. If you are wanting them to be updated while/from information from that code then you should put the refresh...
Forum: Pro VB Databases October 23rd, 2009, 10:46 AM
Replies: 1
Views: 3,579
Posted By vb5prgrmr
Option Explicit Private Sub List1_Click() Dim...

Option Explicit
Private Sub List1_Click()
Dim I As Integer, strSQL As String, SS As String
For I = 0 To List1.ListCount - 1
If List1.Selected(I) = True Then
SS = List1.List(I)
Exit...
Forum: Beginning VB 6 October 23rd, 2009, 01:01 AM
Replies: 4
Views: 1,925
Posted By vb5prgrmr
For a nice listing of forums see......

For a nice listing of forums see... http://www.daniweb.com/forums/thread214396.html


Good Luck

PS. vbforums has the highest traffic
Showing results 1 to 25 of 48

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.