Search found 12 matches

by Zimon
Fri Sep 27, 2019 9:14 pm
Forum: Coding Questions
Topic: Bug in RegEx?
Replies: 4
Views: 998

Re: Bug in RegEx?

Excellent! Thank you for the explanation!
by Zimon
Fri Sep 27, 2019 8:57 pm
Forum: Coding Questions
Topic: Bug in RegEx?
Replies: 4
Views: 998

Re: Bug in RegEx?

Thanks! However, I am still clueless as to what the error message is supposed to mean...
by Zimon
Fri Sep 27, 2019 8:35 pm
Forum: Coding Questions
Topic: Bug in RegEx?
Replies: 4
Views: 998

Bug in RegEx?

Hello,

I have th following code:


RegEx.s = "(?<=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})"
CreateRegularExpression(0, RegEx.s)
RegExResult.s = ReplaceRegularExpression(0, "192.178.168.51;PC;User", "---")
Debug RegExResult.s


Can't figure out why PB takes exception to this... isn't this pretty ...
by Zimon
Tue Sep 24, 2019 1:47 pm
Forum: Coding Questions
Topic: String-Button with Icon
Replies: 10
Views: 2358

Re: String-Button with Icon

Got it, thanks!
by Zimon
Tue Sep 24, 2019 11:46 am
Forum: Coding Questions
Topic: String-Button with Icon
Replies: 10
Views: 2358

Re: String-Button with Icon

Yes, it would be for Windows. If you find the time to check your repo some time later, I'd be grateful!

Simon


Found it:


OpenWindow(0, 100, 100, 640, 480, "")

ButtonGadget(5, 250, 350, 150, 42, " Play...")

hIcon2 = ExtractIcon_(#Null, "shell32.dll", 137) ;

SendMessage_(GadgetID(5),#BM ...
by Zimon
Tue Sep 24, 2019 11:35 am
Forum: Coding Questions
Topic: String-Button with Icon
Replies: 10
Views: 2358

Re: String-Button with Icon

Kiffi wrote:ButtonEx - Module (all OS / 64Bit / DPI)

Greetings ... Peter
This throws me an error on PureBasic 5.62 in the ModuleEx.pbi:
Line 225: DesktopScaledX() is not a function, array, list, map or macro.
by Zimon
Tue Sep 24, 2019 10:53 am
Forum: Coding Questions
Topic: String-Button with Icon
Replies: 10
Views: 2358

Re: String-Button with Icon

Yes, it would be for Windows. If you find the time to check your repo some time later, I'd be grateful!

Simon
by Zimon
Tue Sep 24, 2019 10:31 am
Forum: Coding Questions
Topic: String-Button with Icon
Replies: 10
Views: 2358

String-Button with Icon

Hi,

I would like to create a standard button with the string "Process File" which contains a small icon (like a little gear of cogwheel) in front of it. So far I've experimented with the ButtonGadget() and the ButtonImageGadget(), but those two can do either or, as far as I've found out.

Is that ...
by Zimon
Mon Sep 23, 2019 1:41 pm
Forum: Coding Questions
Topic: Execute VBS code with COMate
Replies: 2
Views: 1095

Re: Execute VBS code with COMate

Great, thanks!
by Zimon
Mon Sep 23, 2019 12:04 pm
Forum: Coding Questions
Topic: Execute VBS code with COMate
Replies: 2
Views: 1095

Execute VBS code with COMate

I need to execute some VBA/VBS code on COMate Plus to get the row number count of all the used wokrsheet rows.

I know there is ScriptControl, but seemingly all the hosts are down as of now (or I just haven't found any single one still available). So my questions are:

1. can anyone provide ...
by Zimon
Wed Sep 18, 2019 11:52 am
Forum: Coding Questions
Topic: Getting variable output twice after Select Case Menu
Replies: 3
Views: 1147

Getting variable output twice after Select Case Menu

Hello,

I have the following simple menu to call a procedure:

Enumeration

#MAIN_WINDOW
#MAIN_BUTTON_EXIT
#MAIN_BUTTON_0

#FLAGS = #PB_Window_SystemMenu | #PB_Window_ScreenCentered

EndEnumeration

Procedure Button_0()
x = 1
Debug x
EndProcedure

Procedure MainWindow()

OpenWindow(#MAIN ...