Search found 2741 matches

by wriedmann
Fri Sep 22, 2023 6:21 am
Forum: Forum Italiano
Topic: problemi con Append()
Replies: 6
Views: 101

Re: problemi con Append()

Ciao Gian Ferruccio,
prima cosa: sia Append() che Goto() ritornano un valore logico se avevano successo o meno - e quello dovrebbe essere sempre controllato.
Se Append() fallisce, sei tu che invece a ritornare un errore sovrascrivi un altro record.
seconda cosa: che versione di X#?
Saluti
Wolfgang
by wriedmann
Tue Sep 19, 2023 12:40 pm
Forum: Deutsches Forum
Topic: Richtextbox Fragen
Replies: 3
Views: 116

Re: Richtextbox Fragen

Hallo Rolli,
die KI wird daruf trainiert, plausible Antworten zu geben, und nicht korrekte.
Das macht sie so gefährlich.
Wolfgang
by wriedmann
Tue Sep 19, 2023 11:09 am
Forum: Deutsches Forum
Topic: Richtextbox Fragen
Replies: 3
Views: 116

Re: Richtextbox Fragen

Hallo Rolli, laut Doku von MS https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.richtextbox.selectionalignment?view=netframework-4.8 ist der volle Typ System.Windows.Forms.HorizontalAlignment. Falls Du in Deinem PRG-File oben nicht ein using System.Windows.Forms stehen hast, kannst D...
by wriedmann
Tue Sep 12, 2023 3:57 am
Forum: Product
Topic: Q re variable scope
Replies: 5
Views: 188

Re: Q re variable scope

Hi Roland, in a pure .NET way you can use a singleton object. Please look at this code: class ValStorage static protect initonly _oCurrent as ValStorage protect _cMyVar1 as string static constructor() _oCurrent := ValStorage{} return protected constructor() _cMyVar := "Roland" //Initializa...
by wriedmann
Sun Aug 27, 2023 5:55 am
Forum: Forum Italiano
Topic: Import/export Excel files - Funziona!!
Replies: 55
Views: 2532

Import/export Excel files - Funziona!!

<t>Ciao Gian Ferruccio,<br/> Benissimo che funziona addesso come ti serve!<br/> Devo ammettere che la trasformazione tra DBF e Excel non mi è mai servita.<br/> Ho invece una funzione generica (in VO) che trasforma il contenuto di un ListView in una tabella Excel. Questo permette ai miei clienti di e...
by wriedmann
Sat Aug 26, 2023 4:20 pm
Forum: Forum Italiano
Topic: Import/export Excel files - Funziona!!
Replies: 55
Views: 2532

Import/export Excel files - Esempio ok!

<r>Ciao Gian Ferruccio,<br/> sembra che devi trasformare in numerico in maniera esplicita: <CODE><s>[code]</s>do case case aStruct[nField, DBS_TYPE] == "D"    // Data   oXlsxSheet:SetValue( nRow, nField, DToC( oServer:FieldGet( nField ) ) ) case aStruct[nField, DBS_TYPE] == "N"    // Numeric   oXlsx...
by wriedmann
Sat Aug 26, 2023 9:21 am
Forum: Forum Italiano
Topic: Import/export Excel files - Funziona!!
Replies: 55
Views: 2532

Import/export Excel files - Esempio ok!

<t>Ciao Gian Ferruccio,<br/> mi sono messo questo controllo in programma per oggi pomeriggio - al momento devo finire altre cose.<br/> Penso che il problema sia che l'Interfaccia COM faccia qualche trasformazione del valore da "usual" a un tipo .NET che in questo caso bisogna fare in maniera manuale...
by wriedmann
Fri Aug 25, 2023 2:03 pm
Forum: Pearls
Topic: Library with time span functionality
Replies: 0
Views: 305

Library with time span functionality

<r>Hi all,<br/> I have come accross this (open source) library<br/> <URL url="https://www.codeproject.com/Articles/168662/Time-Period-Library-for-NET"><LINK_TEXT text="https://www.codeproject.com/Articles/16 ... ry-for-NET">https://www.codeproject.com/Articles/168662/Time-Period-Library-for-NET</LIN...
by wriedmann
Thu Aug 24, 2023 7:23 pm
Forum: 3rd party products
Topic: RightSLE
Replies: 4
Views: 959

RightSLE

<r>Hi Willie,<br/> good that you have found us here!<br/> In the meantime I have adapted RightSLE to X# and put it to download from this page (mentioning of course that it is your project):<br/> <URL url="https://riedmann.it/verschiedenes_xsharp.php">https://riedmann.it/verschiedenes_xsharp.php</URL...
by wriedmann
Thu Aug 24, 2023 5:09 am
Forum: Forum Italiano
Topic: Import/export Excel files - Funziona!!
Replies: 55
Views: 2532

Import/export Excel files - Esempio ok!

Ciao Gian Ferruccio,
devo vedere perchè il tipo di variabile cambia. Ma mi serve un po di tempo (posso guardare non prima di stasera).
Saluti
Wolfgang