Search found 18 matches

by DarkRookie
Tue Jan 26, 2016 10:57 pm
Forum: Coding Questions
Topic: Wierd Issue with ExamineDirectory
Replies: 3
Views: 1201

Re: Wierd Issue with ExamineDirectory

Ahh. OK. I did not know that empty string was current directory.
Thanks for the information and the quick response.
by DarkRookie
Tue Jan 26, 2016 9:55 pm
Forum: Coding Questions
Topic: Wierd Issue with ExamineDirectory
Replies: 3
Views: 1201

Wierd Issue with ExamineDirectory

Whenever I use ExamineDirectory with an empty string in the DirectoryName$, it returns TRUE.

Is it suppose to do that?

The following debugs yes

If ExamineDirectory(0, "", "*.*")
Debug "Yes"
Else
Debug "Nope"
EndIf


The following debugs Nope

If ExamineDirectory(0, " ", "*.*")
Debug "Yes ...
by DarkRookie
Wed Jun 03, 2015 9:32 pm
Forum: Coding Questions
Topic: Scintilla - Style Only Selected Text
Replies: 2
Views: 2147

Scintilla - Style Only Selected Text

Tried looking at the Scintilla site and here as well but could not find what I am looking for.
I want to be able to change color, boldness, italics, and stuff like that only for text I have selected.

I managed to program it to do the whole gadget but never the selected text.

Thanks in advance


PS ...
by DarkRookie
Fri Jan 02, 2015 6:54 pm
Forum: Coding Questions
Topic: Get Database Name
Replies: 10
Views: 3850

Re: Get Database Name

Didn't work for me

It cannot find

Code: Select all

MakeKeywordValuePairs(Attributes$)
Which I am pretty sure is because I am using the Demo and not the full
by DarkRookie
Fri Jan 02, 2015 4:55 pm
Forum: Coding Questions
Topic: Get Database Name
Replies: 10
Views: 3850

Re: Get Database Name

No dice
Get the following error:

Code: Select all

[Microsoft][ODBC Microsoft Access Driver] Could not find file 'PATH\sys.mdb'.
by DarkRookie
Fri Jan 02, 2015 1:03 am
Forum: Coding Questions
Topic: Get Database Name
Replies: 10
Views: 3850

Get Database Name

Is there a way to get a database's name after you open it.
My search in the help file, forums, and purearea came up with nothing.

I do have a workaround in place but it just seems bleh to me.

I am using ODBC with an Access file if that throws a wrench into anything.
Also using the Demo Version ...
by DarkRookie
Tue May 06, 2014 1:31 am
Forum: Coding Questions
Topic: Get/Set Sound volume level programmatically
Replies: 32
Views: 19724

Re: Get/Set Sound volume level programmatically

Saw this and thought I could use it. Tried code in DEMO 5.21, but it is not working.
Get the following error
Image

Is this a limitation of the demo version?
by DarkRookie
Mon Dec 16, 2013 8:07 pm
Forum: Feature Requests and Wishlists
Topic: Count Number Of Place
Replies: 2
Views: 604

Count Number Of Place

Can we get a function that will count the number of digits/places in a number.
I tried searching for a function in the manual for one, but couldn't find anything.

I made:

Code: Select all

Macro IntLen(Number)
  Len(Str(Number))
EndMacro
To do it.

It works perfectly. Just looks blerg and not right to me.
by DarkRookie
Wed May 23, 2012 10:57 pm
Forum: Coding Questions
Topic: Oddly Shaped Images
Replies: 5
Views: 1425

Re: Oddly Shaped Images

Thanks that work. I should be able to do something with that.
Funny thing is I am using Win 7 U x64
by DarkRookie
Wed May 23, 2012 6:07 am
Forum: Coding Questions
Topic: Oddly Shaped Images
Replies: 5
Views: 1425

Re: Oddly Shaped Images

I tried using that and I am getting an error of:

Line 4: Structure not found: POINT

when I do. Am I missing something?
by DarkRookie
Wed May 23, 2012 2:52 am
Forum: Coding Questions
Topic: Oddly Shaped Images
Replies: 5
Views: 1425

Oddly Shaped Images

I try to do something with hexagon images in a Window
I want to select an ImageGadget() only if if the hexagon is underneath and not the transparent outside that surrounds it.

I have tried searching for a way but either it hasn't been asked before or my google-fu is failing me.

I am hoping for ...
by DarkRookie
Thu Apr 21, 2011 7:20 pm
Forum: Linux
Topic: List Computer Drives and Volume Informations
Replies: 10
Views: 3583

List Computer Drives and Volume Informations

I saw code to do this On purearea but it all is windows specific.
Is there a way to do it in linux and be demo friendly?
by DarkRookie
Fri Apr 08, 2011 7:34 pm
Forum: Linux
Topic: OpenConsole() issue
Replies: 6
Views: 3320

Re: OpenConsole() issue

Nope. Didn't know that option was there. Used to Windows
Thanks for the fix.
by DarkRookie
Fri Apr 08, 2011 3:55 am
Forum: Linux
Topic: OpenConsole() issue
Replies: 6
Views: 3320

OpenConsole() issue

I am running 4.51 x64 on Mint 10
The OpenConsole() doesn't open anything. Am I missing something?
by DarkRookie
Fri Jan 21, 2011 1:21 am
Forum: Coding Questions
Topic: AlphaNumeric StringGadget
Replies: 3
Views: 954

AlphaNumeric StringGadget

I have a StringGadget that needs to be alphanumeric characters only.
Search thru the forums and purearea have yielded no results.