Search found 360 matches

by Jamal
Tue Mar 11, 2025 12:05 pm
Forum: Product
Topic: Is DBFCDX driver .NET 9 compatible
Replies: 9
Views: 12183

Re: Is DBFCDX driver .NET 9 compatible

Robert,

Sounds good! Take your time. Whenever you need to beta test, please let me know.
by Jamal
Tue Mar 11, 2025 11:45 am
Forum: Product
Topic: Is DBFCDX driver .NET 9 compatible
Replies: 9
Views: 12183

Re: Is DBFCDX driver .NET 9 compatible

Thanks Robert! Looking forward to a fix.


Jamal
by Jamal
Mon Mar 10, 2025 7:43 pm
Forum: Product
Topic: Is DBFCDX driver .NET 9 compatible
Replies: 9
Views: 12183

Is DBFCDX driver .NET 9 compatible

Robert,

I am facing an issue DBFCDX in .NET 9 and C#. I get an exception as shown below when using the dbServer object.
In .NET Framework 4.8, the CDX files file is loaded fine.

I had to add the following line to the Start method:

System.Text.Encoding.RegisterProvider(System.Text ...
by Jamal
Tue Mar 04, 2025 2:38 pm
Forum: Product
Topic: Expose C# function in CDX Tag
Replies: 4
Views: 1371

Re: Expose C# function in CDX Tag

Robert,

The [assembly: ClassLibrary(....] is supported in .NET Framework, but not in .NET. Is there an attribute in .NET 9.0 for example that the same requirement?

Thanks!
Jamal
by Jamal
Mon Mar 03, 2025 6:31 pm
Forum: Product
Topic: Expose C# function in CDX Tag
Replies: 4
Views: 1371

Re: Expose C# function in CDX Tag

Robert,

It worked perfectly! The [assembly] attribute solved the issue.

Thank you very much for your help!

Jamal
by Jamal
Mon Mar 03, 2025 4:27 pm
Forum: Product
Topic: Expose C# function in CDX Tag
Replies: 4
Views: 1371

Expose C# function in CDX Tag

Hi Dev Team and All,

This is not a typo, yes it is C# in the subject line.

I am accessing a DBF via dbserver in a C# application which works fine with simple DBF index tags.


How can I declare the following C# function so, it is accessible when is the DBF file is opened?

public static string ...
by Jamal
Fri Feb 07, 2025 1:19 am
Forum: VO & Vulcan
Topic: HKCU randomly uses Users registry entry
Replies: 13
Views: 18650

Re: HKCU randomly uses Users registry entry

The samDesired like I suspected is not set to the correct value for 64bit Windows environment. Also the access rights are possibly affecting some of the servers at client's machines.

In the GetString method, try to change to KEY_QUERY_VALUE to KEY_ALL_ACCESS + KEY_WOW64_64KEY

FYI:

KEY_ALL_ACCESS ...
by Jamal
Thu Feb 06, 2025 5:01 pm
Forum: VO & Vulcan
Topic: HKCU randomly uses Users registry entry
Replies: 13
Views: 18650

Re: HKCU randomly uses Users registry entry

Dick,

Since you have not provided the class source code, it does not really help to find what is wrong with your situation.

Anyway, an alternative is to use an INI file where you encrypt the license info and forget about using the registry.
by Jamal
Tue Feb 04, 2025 4:37 pm
Forum: Product
Topic: Combobox to update DBF
Replies: 8
Views: 3035

Re: Combobox to update DBF

You're welcome. I am glad that worked for you.
by Jamal
Sun Feb 02, 2025 11:42 pm
Forum: Product
Topic: Combobox to update DBF
Replies: 8
Views: 3035

Re: Combobox to update DBF

The following should display the values. Please read the code comments:


// set up ComboBox with KeyValuePair list. This is much cleaner
LOCAL genderList AS list<KeyValuePair<STRING, STRING>>
genderList := list<KeyValuePair<STRING, STRING>>{}
genderList:Add(KeyValuePair<STRING, STRING>{"M", "Male ...