PowerBASIC Peer Support Forums
 

Go Back   PowerBASIC Peer Support Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.08 seconds.
Search: Posts Made By: Mike Doty
Forum: PowerBASIC Inline Assembler Nov 13th, 2014, 12:30 PM
Replies: 12
Views: 587
Posted By Mike Doty
Thanks, Steve. Also, here is a discussion...

Thanks, Steve.

Also, here is a discussion on Wayne's previously post solution.
http://www.powerbasic.com/support/pbforums/showthread.php?t=37873
Forum: Test Forums Nov 13th, 2014, 10:12 AM
Replies: 3
Views: 205
Posted By Mike Doty
Thanks Caught the error. Used <> instead of []...

Thanks
Caught the error. Used <> instead of [] with CODE.



<html>
<head>
<title> Test </title>
</head>
<body onload="self.focus();document.Form1.Field1.focus()">
Forum: Programming Nov 13th, 2014, 10:08 AM
Replies: 18
Views: 1,219
Posted By Mike Doty
If the web pages are yours. If not, not sure how...

If the web pages are yours. If not, not sure how like RoboForm.


<html>
<head>
<title> Test </title>
</head>
<body onload="self.focus();document.Form1.Field1.focus()">
<font size="6">Send...
Forum: Test Forums Nov 13th, 2014, 09:58 AM
Replies: 3
Views: 205
Posted By Mike Doty
No indentation

No indentation?
Are the web pages yours?
If so, this works without javascript.
<CODE>
<html>
<head>
<title> Test </title>
</head>
<body...
Forum: Source Code Nov 1st, 2014, 01:27 PM
Replies: 3
Views: 351
Posted By Mike Doty
Makes a good MACRO, too. Thanks for the code. ...

Makes a good MACRO, too. Thanks for the code.

#INCLUDE "win32api.inc"
MACRO IsAlive2(h) = STDOUT TIME$ & ": " & IIF$(WaitForSingleObject(h,0) = %WAIT_TIMEOUT,"Alive","Not alive")
THREAD FUNCTION...
Forum: Programming the Internet Oct 31st, 2014, 09:56 PM
Replies: 8
Views: 2,683
Posted By Mike Doty
Finally found what causes it, Internet Protected...

Finally found what causes it, Internet Protected Mode.
Turn it off and if an invalid password is entered the file is not renamed
so the next time a correct password is entered it works.
Protect...
Forum: Programming the Internet Oct 31st, 2014, 09:21 PM
Replies: 8
Views: 2,683
Posted By Mike Doty
Went back to using a remote Linux server and this...

Went back to using a remote Linux server and this problem has come back.

Once a user enters an invalid password the file xxx.exe is renamed to xxx_exe.
The remote server is Apache and the client...
Forum: PBCC Online Help and Commentary Oct 30th, 2014, 12:28 AM
Replies: 20
Views: 655
Posted By Mike Doty
ASC statement "See also" mentions MID$ in help...

ASC statement "See also" mentions MID$ in help file
Neither MID$ function or MID$ statement mention ASC in "See also"
For getting or replacing a single character ASC may be more efficient.
Forum: Third-Party Addons Oct 22nd, 2014, 10:14 AM
Replies: 19
Views: 2,463
Posted By Mike Doty
If you are a member of Jose Roca's forum you...

If you are a member of Jose Roca's forum you might look at DVBTREE by Patrice Terrier. I use SQlite.
http://www.jose.it-berater.org/smfforum/index.php?topic=1150.msg16292#msg16292
Forum: SDK Programming Oct 15th, 2014, 11:21 AM
Replies: 155
Views: 4,231
Posted By Mike Doty
How could I help but be sold on DDT using...

How could I help but be sold on DDT using PowerBASIC?

http://www.powerbasic.com/products/pbforms/

Next Generation RAD Tool from the creators of DDT™



A complete, self-contained, visual...
Forum: Programming Oct 15th, 2014, 10:54 AM
Replies: 28
Views: 1,045
Posted By Mike Doty
Exit, iterate

See last example in help on EXIT statement


Solution: EXIT,ITERATE

FUNCTION PBMAIN () AS LONG
LOCAL OuterLoop, InnerLoop,ExitFlag AS LONG
ExitFlag = 2
FOR OuterLoop = 1 TO 3
...
Forum: SDK Programming Oct 14th, 2014, 04:18 PM
Replies: 155
Views: 4,231
Posted By Mike Doty
Modeless DDT is not restricted to DOEVENTS ...

Modeless DDT is not restricted to DOEVENTS


#PBFORMS CREATED V2.01
#COMPILE EXE
#DIM ALL
THREADED thDlg AS DWORD
#PBFORMS BEGIN INCLUDES
%USEMACROS = 1
#INCLUDE ONCE "WIN32API.INC"
Forum: SDK Programming Oct 14th, 2014, 12:32 PM
Replies: 155
Views: 4,231
Posted By Mike Doty
Firefly was discontinued.

Firefly was discontinued.
Forum: SDK Programming Oct 14th, 2014, 12:10 PM
Replies: 155
Views: 4,231
Posted By Mike Doty
PBFORMS for SDK might be a good start.

PBFORMS for SDK might be a good start.
Forum: Programming Oct 13th, 2014, 10:37 AM
Replies: 12
Views: 446
Posted By Mike Doty
Examples: ...

Examples:
http://www.powerbasic.com/support/pbforums/showthread.php?t=55404
Forum: PowerBASIC for Windows Oct 6th, 2014, 10:31 AM
Replies: 13
Views: 533
Posted By Mike Doty
Switching dialogs with DDT

GLOBAL Dialogs, hDlg() AS DWORD, c() AS STRING, L(),T(),W(),H(),Style1() AS LONG
FUNCTION PBMAIN () AS LONG
Dialogs = 2
DIM hDlg(Dialogs) AS DWORD 'dialog handles
DIM c(Dialogs)AS STRING ...
Forum: PowerBASIC Console Compiler Oct 6th, 2014, 02:40 AM
Replies: 17
Views: 1,269
Posted By Mike Doty
Some write programs and attempt including...

Some write programs and attempt including everything in one file.
I prefer smaller programs with the ability to shell between them.
Using globals and constants for values that don't change is not...
Forum: PowerBASIC for Windows Oct 3rd, 2014, 05:48 PM
Replies: 12
Views: 505
Posted By Mike Doty
http://www.powerbasic.com/support/pbforums/showthr...

http://www.powerbasic.com/support/pbforums/showthread.php?t=49112
Here is a quote from Chris Boss:
PS:
"Posting from a thread can create all sorts of problems " = "Straw Man"
Forum: PowerBASIC for Windows Oct 3rd, 2014, 01:42 PM
Replies: 12
Views: 505
Posted By Mike Doty
Dave's and Mike's side by side to compare. ...

Dave's and Mike's side by side to compare.

#DIM ALL
%BUTTON1 = 100
%SLEEPTIME = 3000 'simulate wait for call return
%ThreadFinished = 32768 '32768-49151 0x8000 through 0xBFFF...
Forum: PowerBASIC for Windows Oct 3rd, 2014, 04:52 AM
Replies: 12
Views: 505
Posted By Mike Doty
This demonstrates using SendMessage from a thread...

This demonstrates using SendMessage from a thread to main dialog
when the thread is about to finish.
This way the main dialog is responsive and any controls can be
disabled while waiting for the...
Forum: PowerBASIC for Windows Oct 2nd, 2014, 02:30 PM
Replies: 37
Views: 1,084
Posted By Mike Doty
What I am saying is that the main dialog no...

What I am saying is that the main dialog no longer gets time (as you know.) Here is Rodney's code modeless with a beep that stops when help is clicked.
If the user can click on the main dialog it...
Forum: PowerBASIC for Windows Oct 2nd, 2014, 01:50 PM
Replies: 37
Views: 1,084
Posted By Mike Doty
I like Michael's post#6 which does exactly what...

I like Michael's post#6 which does exactly what you want.
Post #25 demonstrates using a thread where anything in main dialog could be disabled during help.
Try pressing Alt + Tab after clicking...
Forum: PowerBASIC for Windows Oct 1st, 2014, 11:51 PM
Replies: 37
Views: 1,084
Posted By Mike Doty
Might consider just putting in another thread. ...

Might consider just putting in another thread.


#DIM ALL
#INCLUDE "win32api.inc"
%DIALOG1=101:%BUTTON1=102
GLOBAL ghDlg AS DWORD
'
FUNCTION PBMAIN()
ShowDIALOG 0
Forum: Programming the Internet Sep 27th, 2014, 03:31 AM
Replies: 37
Views: 1,148
Posted By Mike Doty
Users could be validated with something like...

Users could be validated with something like this:

#INCLUDE "win32api.inc"
'
FUNCTION PBMAIN AS LONG
? ComputerName_UserName_CPUID,,"Combined"
END FUNCTION
'
FUNCTION...
Forum: Programming Sep 15th, 2014, 02:53 PM
Replies: 20
Views: 1,052
Posted By Mike Doty
<pre> Text file </pre> ...

<pre>
Text file
</pre>

http://www.w3schools.com/tags/tag_pre.asp
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 03:47 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