Maybe this will help, here is what I had to do:
PB DLL Code:
ProcedureDLL Get_2_Stuff()
Z_String_01 = "Some Fun Now."
ProcedureReturn @Z_String_01
EndProcedure
For the VBA portion (in Excel):
Public Declare Function Get_2_Stuff Lib "Quotes_3_Lib01.dll" () As Long
Public Declare ...
Search found 42 matches
- Sat Jul 21, 2007 12:34 pm
- Forum: Coding Questions
- Topic: Trying to return a string from PB Compiled DLL to Excel
- Replies: 5
- Views: 1918
- Sun Jul 01, 2007 4:32 pm
- Forum: Coding Questions
- Topic: Panel/Tab and focus event
- Replies: 3
- Views: 1773
Guess I should have read the docs....
Hello,
Sorry for the above post.
After reading the docs futher, a panelgadget is not supported as a gadget that works with EventType().
So, that does bring up the question: is it possible to capture when a tab in a panel gets focus?
HarryO
Sorry for the above post.
After reading the docs futher, a panelgadget is not supported as a gadget that works with EventType().
So, that does bring up the question: is it possible to capture when a tab in a panel gets focus?
HarryO
- Sun Jul 01, 2007 4:19 pm
- Forum: Coding Questions
- Topic: Panel/Tab and focus event
- Replies: 3
- Views: 1773
Panel/Tab and focus event
Hello,
For reference: PureBasic v4.02 (Windows - x86) / Win-XP Pro-SP2
I am trying some code for when a tab in one of several panels get focus.
The only related thread I found is:
http://www.purebasic.fr/english/viewtopic.php?t=8876
Old and no help.
I know that:
Type = EventType()
;The ...
For reference: PureBasic v4.02 (Windows - x86) / Win-XP Pro-SP2
I am trying some code for when a tab in one of several panels get focus.
The only related thread I found is:
http://www.purebasic.fr/english/viewtopic.php?t=8876
Old and no help.
I know that:
Type = EventType()
;The ...
- Thu Mar 22, 2007 1:57 am
- Forum: Tricks 'n' Tips
- Topic: Check if exe was modified
- Replies: 13
- Views: 5860
RE: Check if '.exe' was modified....
So if I understand this process correctly:
1. Create/compile program ('.exe') with your first procedure in it.
2. You would use the second procedure (in a separate program) to add the fingerprint at the end of the '.exe' created in step 1.
3. Then you could run your program (with the first ...
1. Create/compile program ('.exe') with your first procedure in it.
2. You would use the second procedure (in a separate program) to add the fingerprint at the end of the '.exe' created in step 1.
3. Then you could run your program (with the first ...
- Sun Aug 03, 2003 11:21 pm
- Forum: Windows
- Topic: File association with a program
- Replies: 11
- Views: 5488
Large,
Look at this posting:
viewtopic.php?t=6365
it is just a snippet of code to help you get all of the
parameters passed to a program.
Hope this helps.
HarryO
Look at this posting:
viewtopic.php?t=6365
it is just a snippet of code to help you get all of the
parameters passed to a program.
Hope this helps.
HarryO
- Fri Jul 25, 2003 7:01 am
- Forum: Coding Questions
- Topic: questions about threads
- Replies: 28
- Views: 8615
- Fri Jul 25, 2003 5:51 am
- Forum: Coding Questions
- Topic: questions about threads
- Replies: 28
- Views: 8615
- Wed Jul 16, 2003 10:32 pm
- Forum: Off Topic
- Topic: weapons of mass destruction
- Replies: 13
- Views: 4361
- Sat Jul 12, 2003 11:56 pm
- Forum: Off Topic
- Topic: IE6 external modification
- Replies: 6
- Views: 3068
- Sat Jul 12, 2003 3:04 am
- Forum: Feature Requests and Wishlists
- Topic: Quote escaping in strings
- Replies: 20
- Views: 7763
- Mon Jul 07, 2003 6:45 am
- Forum: Coding Questions
- Topic: It's your friendly, neighborhood idiot here, with a question
- Replies: 2
- Views: 1307
It's your friendly, neighborhood idiot here, with a question
Will/should a procedure exit immediately when a
'Procedurereturn' is encountered?
Not mentioned it the doc's.
I am on PB 3.70 w/updates
Example:
HarryO
'Procedurereturn' is encountered?
Not mentioned it the doc's.
I am on PB 3.70 w/updates
Example:
Code: Select all
Procedure.l Test()
For x = 1 to 10
if x = 5
procedurereturn x
else
procedurereturn -1
endif
Next x
endprocedure
- Fri Jun 20, 2003 3:26 am
- Forum: Coding Questions
- Topic: Tsunami Record Manager
- Replies: 16
- Views: 6222
- Fri Jun 20, 2003 2:52 am
- Forum: General Discussion
- Topic: I have an idea, what do you think?
- Replies: 3
- Views: 2009
- Thu Jun 19, 2003 2:50 am
- Forum: General Discussion
- Topic: I have an idea, what do you think?
- Replies: 3
- Views: 2009
I have an idea, what do you think?
Like most other programmers using PureBasic, I have
a need for some more advanced formatting,
macro/directives and such.
I have been thinking about developing a source code
pre-processor for the compiler.
Some of the functions I have been thinking of are:
; 2003/06/12
; Program Outline ...
a need for some more advanced formatting,
macro/directives and such.
I have been thinking about developing a source code
pre-processor for the compiler.
Some of the functions I have been thinking of are:
; 2003/06/12
; Program Outline ...
- Thu Jun 19, 2003 2:37 am
- Forum: Coding Questions
- Topic: Tsunami Record Manager
- Replies: 16
- Views: 6222