Search found 58 matches
- Thu Feb 09, 2012 12:46 am
- Forum: Coding Questions
- Topic: Print several pages
- Replies: 11
- Views: 1792
Re: Print several pages
Please don't take me the wrong way. PureBasic is great. Printing in PureBasic is possible, but it is one of the weaker aspects of using PureBasic. I spend more time on "printing"-layout problems and making "pretty" reports which sell software, then typically the software it self. ( CEOs, CFOs, Human ...
- Wed Feb 08, 2012 11:51 pm
- Forum: Coding Questions
- Topic: Intercept the *Return Key*
- Replies: 60
- Views: 12257
Re: Intercept the *Return Key*
I thought that was the standard way of doing the [X} close Window and not a work around.Randy Walker wrote:
Can we get a show of hands from the audience please? How many of you would call this a workaround?
Code: Select all
Case #PB_Event_CloseWindow Quit = 1
Slyvnr
- Wed Feb 08, 2012 11:39 pm
- Forum: Coding Questions
- Topic: Print several pages
- Replies: 11
- Views: 1792
Re: Print several pages
I use the Printer_Lib for an envelope printing program I wrote. It works well and has a print preview ability.
Printing in Purebasic (and for that matter, most languages) really sucks. Printing under DOS was so easy and straight forward (even graphics were easy) now almost all of your printing is ...
Printing in Purebasic (and for that matter, most languages) really sucks. Printing under DOS was so easy and straight forward (even graphics were easy) now almost all of your printing is ...
- Wed Dec 14, 2011 11:55 pm
- Forum: Coding Questions
- Topic: Activation/licensing techniques?
- Replies: 25
- Views: 5280
Re: Activation/licensing techniques?
So what happens if a customer loses their registration information and needs it to be sent to them again? Can kagi.com or softworkz.com accomodate that? How about six months after purchase? How about 1.5 years? Worse: what happens if the user needs to reinstall and softworkz.com is out of business ...
- Wed Dec 14, 2011 11:55 pm
- Forum: Coding Questions
- Topic: Activation/licensing techniques?
- Replies: 25
- Views: 5280
Re: Activation/licensing techniques?
**double posted **
- Wed Dec 14, 2011 5:31 pm
- Forum: Coding Questions
- Topic: Activation/licensing techniques?
- Replies: 25
- Views: 5280
Re: Activation/licensing techniques?
I really don't understand Prototyping so went with what I know.
Anyway, I got the bug worked out of the one command that was giving me problems so that now I can implement the error checking routines. I am looking at making drop-in code. Where anyone can add the code to their projects with a ...
Anyway, I got the bug worked out of the one command that was giving me problems so that now I can implement the error checking routines. I am looking at making drop-in code. Where anyone can add the code to their projects with a ...
- Wed Dec 14, 2011 5:11 pm
- Forum: Coding Questions
- Topic: Passing Strings out of Procedures
- Replies: 13
- Views: 1926
Re: Passing Strings out of Procedures
THANKS TO ALL WHO REPLIED!
I GOT IT TO WORK FINALLY.
Procedure Code
Procedure.s DNA_Param(Param.s, returnval.s, size.l)
If GetFunction(DNAdll,"DNA_Param")
Result=CallFunction(DNAdll, "DNA_Param", @Param, @returnval, size)
Debug Result
If Result=0
Debug returnval
Debug size
EndIf ...
I GOT IT TO WORK FINALLY.
Procedure Code
Procedure.s DNA_Param(Param.s, returnval.s, size.l)
If GetFunction(DNAdll,"DNA_Param")
Result=CallFunction(DNAdll, "DNA_Param", @Param, @returnval, size)
Debug Result
If Result=0
Debug returnval
Debug size
EndIf ...
- Wed Dec 14, 2011 2:41 pm
- Forum: Coding Questions
- Topic: Passing Strings out of Procedures
- Replies: 13
- Views: 1926
Re: Passing Strings out of Procedures
I would say one of this problem is the fact you are not sure the name you are using is the correct one ("DNA_PARAM")
No the function is called "DNA_PARAM". That is the correct function. What I am unsure of is all of the pointer business in the examples and how it needs to be implemented in ...
- Wed Dec 14, 2011 1:49 am
- Forum: Coding Questions
- Topic: Passing Strings out of Procedures
- Replies: 13
- Views: 1926
Re: Passing Strings out of Procedures
Thanks for the quick replay.
Ok this is the small sample code I used
;procedure to Open DNA.dll
Procedure UseDNAdll()
DNAdll=OpenLibrary(#PB_Any,"DNA.dll")
EndProcedure
;release DNA.dll resources
Procedure FreeDNAdll()
CloseLibrary(DNAdll)
EndProcedure
Procedure.s DNA_Param(Param.s, returnval ...
Ok this is the small sample code I used
;procedure to Open DNA.dll
Procedure UseDNAdll()
DNAdll=OpenLibrary(#PB_Any,"DNA.dll")
EndProcedure
;release DNA.dll resources
Procedure FreeDNAdll()
CloseLibrary(DNAdll)
EndProcedure
Procedure.s DNA_Param(Param.s, returnval ...
- Wed Dec 14, 2011 12:11 am
- Forum: Coding Questions
- Topic: Passing Strings out of Procedures
- Replies: 13
- Views: 1926
Passing Strings out of Procedures
Greetings All!
I am working on a procedure that uses another companies dll to return information from their web-based database. The information is related to software licensing and activation.
Here is some base information regarding the procedure.
Sample procedure Calls for
VBasic
Public ...
I am working on a procedure that uses another companies dll to return information from their web-based database. The information is related to software licensing and activation.
Here is some base information regarding the procedure.
Sample procedure Calls for
VBasic
Public ...
- Tue Dec 13, 2011 11:55 pm
- Forum: Coding Questions
- Topic: Activation/licensing techniques?
- Replies: 25
- Views: 5280
Re: Activation/licensing techniques?
I am working on this same problem. I have finally found a low-cost solution that is out there and am just trying to integrate into my software.
Go to Kagi.com (store front for doing sales of your digital product)
Go to softworkz.com (Software Licensing and Activation Code Generator)
Softworkz.com ...
Go to Kagi.com (store front for doing sales of your digital product)
Go to softworkz.com (Software Licensing and Activation Code Generator)
Softworkz.com ...
- Thu Dec 01, 2011 11:29 pm
- Forum: General Discussion
- Topic: Testers Needed for Code Snippet
- Replies: 30
- Views: 8427
Re: Testers Needed for Code Snippet
I prefer personalized serials, but however here another solution (x86/x64/unicode/ascii)
(code removed) - no reason to repost it.
Very nice. 25 lines of code versus 51 lines. Of course the 51 lines gets the MAC for each Adapter. Your code returns the first listed Adapter. Either should work ...
(code removed) - no reason to repost it.
Very nice. 25 lines of code versus 51 lines. Of course the 51 lines gets the MAC for each Adapter. Your code returns the first listed Adapter. Either should work ...
- Thu Dec 01, 2011 10:40 pm
- Forum: General Discussion
- Topic: Testers Needed for Code Snippet
- Replies: 30
- Views: 8427
Re: Testers Needed for Code Snippet
Trying to steer things back to topic. All points of this and that are taken into consideration. I am not trying to justify anything to anyone nor does anyone need to justify anything to me. We can stop the discussion of legitimacy of licensing, crippling DRM etc and take that to another topic for ...
- Thu Dec 01, 2011 4:22 pm
- Forum: General Discussion
- Topic: Testers Needed for Code Snippet
- Replies: 30
- Views: 8427
Re: Testers Needed for Code Snippet
I find it telling how so many of those in this discussion would rather HACK and CRACK versus supporting software developers. As most of us here are using PureBasic for software developed, it is interesting that you do not value your own work.
Further, I think all of you are looking at this from a ...
Further, I think all of you are looking at this from a ...
- Tue Nov 29, 2011 11:26 pm
- Forum: General Discussion
- Topic: Testers Needed for Code Snippet
- Replies: 30
- Views: 8427
Re: Testers Needed for Code Snippet
I cannot see any good reason not to activate online during the installation and be done with it.
Agreed, this is my opinion too.
I agree with this also. However, the only solutions to do this that I have found cost between $400 and $6,000. Not appropriate for a < $10 program. I did find one ...
Agreed, this is my opinion too.
I agree with this also. However, the only solutions to do this that I have found cost between $400 and $6,000. Not appropriate for a < $10 program. I did find one ...