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 for Windows Dec 16th, 2014, 12:17 PM
Replies: 13
Views: 458
Posted By Mike Doty
'If you wish to see the exit code of the shelled...

'If you wish to see the exit code of the shelled to programs.
'It also allows only waiting for a specified amount of milliseconds.
'result = 1 means the process was created
'exitcode returns the...
Forum: PowerBASIC for Windows Dec 16th, 2014, 09:03 AM
Replies: 13
Views: 458
Posted By Mike Doty
> Incidentally, the various exes do extensively...

> Incidentally, the various exes do extensively communicate via an intermediate file..
In multiuser environments that is a good choice because everything on the network
can be managed and logged in...
Forum: Cafe PowerBASIC Dec 15th, 2014, 08:02 AM
Replies: 15
Views: 415
Posted By Mike Doty
Here are a lot of answers by Egbert Zijlema ...

Here are a lot of answers by Egbert Zijlema
http://zijlema.basicguru.eu/
Highly suggest downloading Gregorian.zip
Forum: Source Code Dec 15th, 2014, 07:48 AM
Replies: 8
Views: 398
Posted By Mike Doty
Never a root? FUNCTION PBMAIN () AS LONG ...

Never a root?

FUNCTION PBMAIN () AS LONG
test 1,1,1
END FUNCTION

SUB test(a AS INTEGER, b AS INTEGER, c AS INTEGER)
LOCAL det AS INTEGER, x1,x2 AS SINGLE
IF(a = 0) XOR (b = 0) XOR (c...
Forum: Programming Dec 11th, 2014, 02:51 PM
Replies: 13
Views: 263
Posted By Mike Doty
Line 10 MyString$ not modified so SaveString$ is...

Line 10 MyString$ not modified so SaveString$ is not needed.
Line 30 MyString$ doesn't need to be restored.
Forum: Programming Dec 11th, 2014, 01:31 PM
Replies: 13
Views: 263
Posted By Mike Doty
Using Borje's routine as a function should use...

Using Borje's routine as a function should use BYVAL.
Added UNWRAP$ example to duplicate results of SHRINK$.

FUNCTION PBMAIN () AS LONG
LOCAL s,s1,s2,s3,s4 AS STRING
s = " How" + SPACE$...
Forum: Programming Dec 11th, 2014, 01:09 PM
Replies: 13
Views: 263
Posted By Mike Doty
Thank you ,Michael. SHRINK$ removes leading...

Thank you ,Michael.

SHRINK$ removes leading and trailing spaces.
Borje's routine does not. Turned Borje's routine into a function.

#DIM ALL
FUNCTION PBMAIN () AS LONG
LOCAL s,s1,s2,s3 AS...
Forum: Programming Dec 11th, 2014, 12:38 PM
Replies: 13
Views: 263
Posted By Mike Doty
Solution by Borje with pointers: ...

Solution by Borje with pointers:
http://www.powerbasic.com/support/pbforums/showthread.php?t=24619
Forum: Programming Dec 9th, 2014, 08:26 PM
Replies: 27
Views: 719
Posted By Mike Doty
Correct link to Alternate Data Streams: ...

Correct link to Alternate Data Streams:
http://www.powerbasic.com/support/pbforums/showthread.php?t=3628

Incorrect link:
http://www.powerbasic.com/support/pb...ead.php?t=3628
Forum: Third-Party Addons Dec 9th, 2014, 04:08 AM
Replies: 8
Views: 267
Posted By Mike Doty
Pierre, That is really nice work being able to...

Pierre,
That is really nice work being able to read all the .LNK files!

The problem is what shortcut to use if multiple shortcuts
point to the same startup file. Also, multiple links could have...
Forum: Programming Dec 9th, 2014, 03:13 AM
Replies: 27
Views: 719
Posted By Mike Doty
Alternate Data Streams ...

Alternate Data Streams
http://www.powerbasic.com/support/pbforums/showthread.php?t=3628
Forum: Third-Party Addons Dec 8th, 2014, 06:40 PM
Replies: 8
Views: 267
Posted By Mike Doty
Thank you both! I will be using everything...

Thank you both! I will be using everything mentioned.
The calling PB DLL will definitely be used.
I needed this when my programs call a batch file and that calls
other programs. The screen...
Forum: Third-Party Addons Dec 8th, 2014, 03:51 PM
Replies: 8
Views: 267
Posted By Mike Doty
Cool Innosetup function CheckShortcut

Innosetup

Anyone know how to check if a shortcut exists and return false?
False will prevent a new shortcut from overwriting the old one which may have settings that should be kept.
Code below...
Forum: PowerBASIC for Windows Dec 5th, 2014, 07:22 PM
Replies: 3
Views: 281
Posted By Mike Doty
EXPORT is missing

EXPORT is missing
Forum: PowerBASIC for Windows Dec 5th, 2014, 10:38 AM
Replies: 971
Views: 139,965
Posted By Mike Doty
Maybe you can use HIME outside the United States...

Maybe you can use HIME outside the United States or talk Mr. Van Esch into only the math routines without encryption.
http://www.powerbasic.com/support/pbforums/showthread.php?t=55395


This...
Forum: Third-Party Addons Dec 4th, 2014, 11:58 AM
Replies: 7
Views: 475
Posted By Mike Doty
FUNCTION ShortcutFileName() AS STRING 'from...

FUNCTION ShortcutFileName() AS STRING 'from Pierre - returns "" if was not opened via a shortcut
LOCAL StartupInformation AS STARTUPINFO, sMessage AS STRING
StartupInformation.cb =...
Forum: Third-Party Addons Dec 3rd, 2014, 03:04 PM
Replies: 7
Views: 475
Posted By Mike Doty
Definitely. I'll check it out in a bit. Thank...

Definitely. I'll check it out in a bit. Thank you!!
Forum: Third-Party Addons Dec 1st, 2014, 05:15 PM
Replies: 7
Views: 475
Posted By Mike Doty
No. Want to use the shortcut that is already...

No. Want to use the shortcut that is already there. I used to send a new shortcut with each update, but that wiped out the users settings.
Forum: Third-Party Addons Dec 1st, 2014, 12:30 PM
Replies: 7
Views: 475
Posted By Mike Doty
Innosetup restart program using .lnk file

Anyone know how to restart a program using the .lnk file that started the program after InnoSetup has reinstalled the program?
I'm shelling to a program that downloads then reinstalls the program...
Forum: Programming Nov 25th, 2014, 06:49 AM
Replies: 18
Views: 766
Posted By Mike Doty
I don't think anything has been mentioned in the...

I don't think anything has been mentioned in the docs on how PB10
can return Unicode compared to older versions or some new functions....
Forum: PowerBASIC Inline Assembler Nov 13th, 2014, 12:30 PM
Replies: 12
Views: 696
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: 312
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,305
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: 312
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: 433
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...
Showing results 1 to 25 of 500

 
Forum Jump

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