PowerBASIC Peer Support Forums
 

Go Back   PowerBASIC Peer Support Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.07 seconds.
Search: Posts Made By: Mike Doty
Forum: PowerBASIC for Windows Aug 21st, 2014, 06:12 AM
Replies: 14
Views: 477
Posted By Mike Doty
Glad to help. I like post #11 with...

Glad to help.

I like post #11 with absolute array method the best since any number
of elements can be passed to a thread and just use the elements without
the need to use pointers or...
Forum: Cafe PowerBASIC Aug 16th, 2014, 09:44 AM
Replies: 1
Views: 200
Posted By Mike Doty
K0901 and k0902 You made google: ...

K0901 and k0902

You made google:

...
Forum: Programming Aug 11th, 2014, 10:03 AM
Replies: 18
Views: 1,227
Posted By Mike Doty
More examples passing array addresses to another...

More examples passing array addresses to another thread without needing a UDT.
http://www.powerbasic.com/support/pbforums/showthread.php?t=55404
Forum: PowerBASIC for Windows Aug 11th, 2014, 09:54 AM
Replies: 14
Views: 477
Posted By Mike Doty
This uses DIM AT to sort array allocated in...

This uses DIM AT to sort array allocated in PBMAIN in another thread.

#DIM ALL
#INCLUDE "win32api.inc"
'
FUNCTION PBMAIN () AS LONG 'WorkerDimAt.bas
LOCAL p AS STRING PTR
LOCAL hThread...
Forum: PowerBASIC for Windows Aug 10th, 2014, 11:42 PM
Replies: 14
Views: 477
Posted By Mike Doty
Similar question was asked years ago. ...

Similar question was asked years ago.
http://www.powerbasic.com/support/pbforums/showthread.php?t=48237
Forum: Programming Aug 10th, 2014, 11:38 PM
Replies: 18
Views: 1,227
Posted By Mike Doty
Here is a way to pass the address of arrays to a...

Here is a way to pass the address of arrays to a thread.
The program deallocates this large array and exits.

FUNCTION PBMAIN () AS LONG 'array to thread
LOCAL p AS STRING PTR, hThread...
Forum: PowerBASIC for Windows Aug 9th, 2014, 08:01 PM
Replies: 14
Views: 477
Posted By Mike Doty
Here is another using an array instead of parsing...

Here is another using an array instead of parsing

FUNCTION PBMAIN () AS LONG 'WorkerArray.bas
LOCAL p AS STRING PTR
LOCAL hThread AS LONG
DIM s(0 TO 2) AS STRING
s(0) = "192.168.1.2" ...
Forum: PowerBASIC for Windows Aug 9th, 2014, 06:38 PM
Replies: 14
Views: 477
Posted By Mike Doty
FUNCTION PBMAIN () AS LONG LOCAL s AS STRING ...

FUNCTION PBMAIN () AS LONG
LOCAL s AS STRING
LOCAL hThread AS LONG
s = "192.168.1.2,65535,Have a nice day"
THREAD CREATE THREAD_FUNCTION_Send_UDP_Terminal_Message(STRPTR(s)) TO hThread
...
Forum: Programming Aug 6th, 2014, 01:33 PM
Replies: 15
Views: 535
Posted By Mike Doty
Mel, see AfxdbDate

Mel,
see AfxdbDate
Forum: Programming Aug 6th, 2014, 01:24 PM
Replies: 15
Views: 535
Posted By Mike Doty
Jose Roca has done the work for us: #DIM ALL...

Jose Roca has done the work for us:

#DIM ALL
'%NotAmerica = 1
#INCLUDE "afxtime.inc"
'
FUNCTION PBMAIN () AS LONG
'From Jose Joca includes afxtime.inc
LOCAL...
Forum: Programming Aug 6th, 2014, 02:14 AM
Replies: 15
Views: 535
Posted By Mike Doty
Should AfxDateToJulian always be used? Noticed...

Should AfxDateToJulian always be used?
Noticed AfxAstroDay is 1 day different.


#DIM ALL
FUNCTION PBMAIN () AS LONG
LOCAL day,month,year,day2,month2,year2 AS LONG
day = 7 :month = 8: ...
Forum: Programming Aug 6th, 2014, 12:49 AM
Replies: 15
Views: 535
Posted By Mike Doty
Just noticed a RETURN statement without a GOSUB...

Just noticed a RETURN statement without a GOSUB which might cause a GPF.
Also see a couple of GOTO statements, not tested to see if an infinite loop.
Forum: Source Code Aug 6th, 2014, 12:00 AM
Replies: 1
Views: 266
Posted By Mike Doty
Discussion thread: Date entry format is...

Discussion thread:
Date entry format is DD/MM/YYYY not US format of MM/DD/YYYY
http://www.powerbasic.com/support/pbforums/showthread.php?t=55392
Forum: Programming Aug 5th, 2014, 11:56 PM
Replies: 15
Views: 535
Posted By Mike Doty
Calculate days between two dates discussion

Original source code:
http://www.powerbasic.com/support/pbforums/showthread.php?t=55388

'1) Entry format is DD/MM/YYYY not US format of MM/DD/YYYY
'2) Suggest adding a link outside source code...
Forum: PowerBASIC 2014 Aug 5th, 2014, 08:23 AM
Replies: 8
Views: 648
Posted By Mike Doty
I believe the solution is to add a modifiable...

I believe the solution is to add a modifiable aspect ratio for each application that is used in the resize event.

I have not got a dpi aware manifest or changing the "Disable display scaling on...
Forum: Cafe PowerBASIC Aug 4th, 2014, 11:10 PM
Replies: 119
Views: 10,370
Posted By Mike Doty
http://garybeene.com/power/pb-tutor.htm

http://garybeene.com/power/pb-tutor.htm
Forum: Programming Aug 4th, 2014, 05:28 PM
Replies: 9
Views: 2,481
Posted By Mike Doty
Got to work by using later posts, thank you. Had...

Got to work by using later posts, thank you. Had to remove #include "c:\chris\macros\mlogit.bas and and references to mlogit in the code.
#DEBUG DISPLAY
#COMPILE EXE #
DIM ALL #
OPTION...
Forum: Programming Aug 4th, 2014, 05:18 PM
Replies: 9
Views: 2,481
Posted By Mike Doty
Tried both. I'll test more later. The SQLite...

Tried both. I'll test more later. The SQLite part appears to be working.
Forum: Programming Aug 4th, 2014, 02:08 PM
Replies: 9
Views: 2,481
Posted By Mike Doty
Creates the quotations table fine with the data...

Creates the quotations table fine with the data which I see by viewing with another program. When I double click in the Author nothing appears
in either listview. Compiled with Jose Roca includes....
Forum: PowerBASIC 2014 Aug 3rd, 2014, 12:30 PM
Replies: 8
Views: 648
Posted By Mike Doty
Exactly what I was looking for. Thank you very...

Exactly what I was looking for.
Thank you very much!
Forum: PowerBASIC 2014 Aug 3rd, 2014, 11:52 AM
Replies: 8
Views: 648
Posted By Mike Doty
Thanks, Jose! Getting back to this. ...

Thanks, Jose!

Getting back to this.

Just looked at MLG at 150% and the row numbers were truncated. Thought it was a bug, but
came down to using DPI of 144 pixels per inch instead of 96 pixels...
Forum: PowerBASIC for Windows Aug 2nd, 2014, 01:30 PM
Replies: 27
Views: 671
Posted By Mike Doty
With 100+ users and 18 indexes using b-tree...

With 100+ users and 18 indexes using b-tree indexes would be easy.
Loading 18 arrays into memory is fine unless the arrays need to be
maintained in a multi-user system. SQLite would add transaction...
Forum: PowerBASIC for Windows Aug 1st, 2014, 10:15 PM
Replies: 27
Views: 671
Posted By Mike Doty
You could eliminate arrays and lookup tables with...

You could eliminate arrays and lookup tables with SQLite:

create table if not exists LookUpTable(RecordNumber integer primary key autoincrement, key1 unique);
insert into LookupTable...
Forum: PowerBASIC 2014 Aug 1st, 2014, 09:35 AM
Replies: 43
Views: 2,704
Posted By Mike Doty
Microsoft recommends installing 32-bit Office on...

Microsoft recommends installing 32-bit Office on 64-bit machines.
It sounds like Microsoft isn't totally pushing 64-bit development (at least not yet.)
...
Forum: Cafe PowerBASIC Jul 29th, 2014, 06:18 PM
Replies: 119
Views: 10,370
Posted By Mike Doty
The commands are missing from VB6.

The commands are missing from VB6.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 11:03 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1999-2011 PowerBASIC, Inc. All Rights Reserved.
Error in my_thread_global_end(): 1 threads didn't exit