Search found 105 matches

by Jac de Lad
Thu Jan 14, 2021 4:10 pm
Forum: Coding Questions
Topic: Can't connect to MySQL anymore
Replies: 5
Views: 1640

Can't connect to MySQL anymore

The following code worked fine on 5.72, but not on 5.73: UseMySQLDatabase("Mydtive:\Myfolder\libmariadb.dll") database=OpenDatabase(#PB_Any,"host=myhost port=3306 dbname=mydb","user","password",#PB_Database_MySQL) Now it produces a "UseODBCDatabase(), Use...
by Jac de Lad
Tue Jan 12, 2021 8:21 pm
Forum: Coding Questions
Topic: Can't successfully run batch file
Replies: 9
Views: 1402

Re: Can't successfully run batch file

Yeah, just read that too. EnumWindows does the trick too.

@mijikai Thanks, that's working too. Now I have two options.
Thanks for your help!
by Jac de Lad
Tue Jan 12, 2021 8:12 pm
Forum: Coding Questions
Topic: Can't successfully run batch file
Replies: 9
Views: 1402

Re: Can't successfully run batch file

Yeah, strange. But I guess MS had something in mind.

I found it here:
viewtopic.php?f=12&t=59618

I guess it's some API import, but I'm not firm with that.
by Jac de Lad
Tue Jan 12, 2021 7:55 pm
Forum: Coding Questions
Topic: Can't successfully run batch file
Replies: 9
Views: 1402

Re: Can't successfully run batch file

Ok, so, cutting the code and trying again worked, it was indeed a 86/64 problem. Thanks, now I know how to go on. If anybody can help me with the snippet above everything would be alright.
by Jac de Lad
Tue Jan 12, 2021 7:51 pm
Forum: Coding Questions
Topic: Can't successfully run batch file
Replies: 9
Views: 1402

Re: Can't successfully run batch file

I can't compile in x64 because:

Code: Select all

Import
GetConsoleWindow_() As "_GetConsoleWindow@0"
EndImport
produces an error and I don't know how to fix it because I copied it from a thread somewhere here.
by Jac de Lad
Tue Jan 12, 2021 7:31 pm
Forum: Coding Questions
Topic: Can't successfully run batch file
Replies: 9
Views: 1402

Re: Can't successfully run batch file

I think so. I mean, I'm executing a batch file, shouldn't this be possible?
by Jac de Lad
Tue Jan 12, 2021 6:45 pm
Forum: Coding Questions
Topic: Can't successfully run batch file
Replies: 9
Views: 1402

Can't successfully run batch file

Hello, I have a strange problem. I want to run a batch file from my program. If I run the batch file in the explorer it works find, but if I run it from program I get the "... is not recognized as internal or external command" error. - the path variable is ok, I even added the full paths -...
by Jac de Lad
Tue Jan 12, 2021 2:18 pm
Forum: Coding Questions
Topic: Right click on HyperLinkGadget?
Replies: 11
Views: 3716

Re: Right click on HyperLinkGadget?

Just to mention, when reading the handle of the hyperlinkgadget which got the click, we don't need the hand anymore.
by Jac de Lad
Fri Jan 08, 2021 4:25 am
Forum: Coding Questions
Topic: Right click on HyperLinkGadget?
Replies: 11
Views: 3716

Re: Right click on HyperLinkGadget?

Ah, thanks again.
by Jac de Lad
Fri Jan 08, 2021 3:54 am
Forum: Coding Questions
Topic: Right click on HyperLinkGadget?
Replies: 11
Views: 3716

Re: Right click on HyperLinkGadget?

Oh, thanks rashad. That's one very easy way.
...but how do I get to know which gadget was clicked? Eventgadget() doesn't help.
by Jac de Lad
Fri Jan 08, 2021 12:42 am
Forum: Coding Questions
Topic: Right click on HyperLinkGadget?
Replies: 11
Views: 3716

Re: Right click on HyperLinkGadget?

How can I use this in windows with multiple hyperlinks?
by Jac de Lad
Mon Jan 04, 2021 5:54 pm
Forum: Feature Requests and Wishlists
Topic: Some small string functions
Replies: 2
Views: 828

Re: Some small string functions

Well, yes. Like I said, I know how it's done, I just think it should be natively implemented.

But thanks for the code, this looks versatile.
by Jac de Lad
Mon Jan 04, 2021 5:05 pm
Forum: Feature Requests and Wishlists
Topic: Some small string functions
Replies: 2
Views: 828

Some small string functions

Hello, firstly, yes, I know I can easily create them by myself in very, very small functions (and that's what I'm doing right now). But I think these should be implemented natively. newstring=Del(string,position,length) Cuts a string out of a string and returns the rest, not to be confused with Dele...
by Jac de Lad
Tue Dec 22, 2020 11:38 pm
Forum: Coding Questions
Topic: Keep AppBar in Position
Replies: 0
Views: 705

Keep AppBar in Position

Hello, I'm using the code floating, around somewhere here, which is used to create an AppBar under Windows. Unfortunately if I change my resolution the AppBar is moved and not sticked to side anymore. How can I make sure that it's still on the side? I have created a callback to process #WM_DISPLAYCH...
by Jac de Lad
Sat Dec 19, 2020 6:29 pm
Forum: Off Topic
Topic: Corona SDK is now Solar2D and free
Replies: 7
Views: 1908

Re: Corona SDK is now Solar2D and free

I'm sorry for offending you. If you read my previous post again you will see that I meant something completely different.