Search found 13 matches

by Irwin
Wed Nov 20, 2024 11:47 am
Forum: Product
Topic: How to Get Started with XSharp for a Newbie?
Replies: 3
Views: 124

Re: How to Get Started with XSharp for a Newbie?

Hey everyone, I have got some experience in programming mostly with C# & a bit of Python but XSharp feels like a whole different world to me. I have been reading the documentation on the website but I I could use some beginner friendly advice; What would you suggest as the best way to get up to ...
by Irwin
Thu Nov 14, 2024 7:40 pm
Forum: Product
Topic: XIDE Watch Tab
Replies: 1
Views: 114

XIDE Watch Tab

Hi Chris, I miss deleting the "old watched variables" by pressing the Del keyword. I also miss selecting multiple rows. If you select a row and press the Delete button then you lose the focus on the list, it would be nice if you move the focus to the next row to delete simultaneously. https://i.ibb ...
by Irwin
Tue Sep 10, 2024 12:25 pm
Forum: Examples
Topic: Creating COM modules/ActiveX controls in X# for use from other languages
Replies: 5
Views: 447

Re: Creating COM modules/ActiveX controls in X# for use from other languages

Hi everybody, Hope this guide explains the steps necessary to expose a .NET control to COM, making it accessible from environments like Visual FoxPro/VO/VB6, etc. The example focuses on creating a custom button control. Step 1: Define the Control’s Interfaces When exposing a control via COM, ...
by Irwin
Tue Sep 10, 2024 10:16 am
Forum: XSharp Tools Library
Topic: EntityViewer Plugin
Replies: 4
Views: 380

Re: EntityViewer Plugin

By the way Chris, which is the proper way to pipe my plugins? I use this method: 1. Create the class in a separate file eg: MyCustomToolPad.prg 2. Create a class that inherits from Plugin 2.1 Create an atribute of type MyCustomToolPad eg: oCustomToolPad 2.2 Create an instance of MyCustomToolPad in ...
by Irwin
Tue Sep 10, 2024 6:29 am
Forum: XSharp Tools Library
Topic: EntityViewer Plugin
Replies: 4
Views: 380

Re: EntityViewer Plugin

Thanks Chris, it worked!
by Irwin
Mon Sep 09, 2024 9:08 pm
Forum: XSharp Tools Library
Topic: EntityViewer Plugin
Replies: 4
Views: 380

EntityViewer Plugin

Hi Chris, I'm trying to build an Entity Viewer Plugin but I can't detect when a file is opened in order to update my plugin internal entity listbox and refresh the Pad. Here's what I got so far... USING Xide.PluginSystem USING System.Drawing USING System.Windows.Forms CLASS EntityViewerPad INHERIT ...
by Irwin
Sat Sep 07, 2024 6:50 pm
Forum: Product
Topic: String literal with special symbols inside
Replies: 5
Views: 530

Re: String literal with special symbols inside

Hi Chris, In my case, the content inside TEXT/ENDTEXT should be treated as a literal string because I'm not specifying the TEXTMERGE command to parse what it is between angle brackets <<...>> For example: TEXT TO lcString <<hello>> END TEXT ?lcString // this prints out <<hello>> VAR hello := "hello ...
by Irwin
Sat Sep 07, 2024 7:59 am
Forum: Product
Topic: String literal with special symbols inside
Replies: 5
Views: 530

String literal with special symbols inside

Hi there, I'm getting the error XS9002: Parser: unexpected input '{' in this line of code: VAR lcMacro := "IMPLEMENT_OLECREATE(<<class>>, <<external_name>>, 0x{0:X8}, 0x{1:X4}, 0x{2:X4}, 0x{3:X2}, 0x{4:X2}, 0x{5:X2}, 0x{6:X2}, 0x{7:X2}, 0x{8:X2}, 0x{9:X2}, 0x{10:X2});" Note that is a literal string ...
by Irwin
Fri Sep 06, 2024 4:05 pm
Forum: Product
Topic: Session proposals for the X# Summit
Replies: 20
Views: 2328

Re: Session proposals for the X# Summit

Hi Chris, This is my custom list: 1. SDK projects, Multi Targeting and Creating Nuget packages 2. Using X# to the max (including the Plugin system) 3. Using XIDE to the max: 4. X# Notebooks 5. VFP Migration 6. Using your own Cloud database 7. PowerShell as the X# developers best friend 8. Creating ...
by Irwin
Mon Jul 22, 2024 9:05 am
Forum: Visual FoxPro
Topic: SqlExec() is alive!!!!
Replies: 4
Views: 2391

Re: SqlExec() is alive!!!!

易文翰 Can you give an example of the query that you are using? Robert Hi @Robert, sure. LOCAL lnHandle := SQLSTRINGCONNECT("Driver={SQL Server};Server=the_server;Database=the_db;Uid=sa;Pwd=secret;") AS LONG IF lnHandle > 0 TRY VAR lnResult := SQLEXEC(lnHandle, "SELECT top 10 * FROM sometable", "cu ...