Search:

Type: Posts; User: Focus

Page 1 of 80 1 2 3 4

Search: Search took 0.06 seconds; generated 39 minute(s) ago.

  1. Replies
    2
    Views
    116

    Re: DF19.1 : Recommended button size

    Yes we considered this when we 'reformatted' all our views etc once DF had improved its mafs.

    We use height 12 for both forms and buttons and everything else for that matter

    If you put a form...
  2. Replies
    5
    Views
    97

    Re: Screwy string variable contents tool tips

    Actually you can get different result every time you run it from cold which would suggest a memory/pointer issue ?
  3. Replies
    5
    Views
    97

    Re: Screwy string variable contents tool tips

    Actually this shows the tool tip problem much better, even the multiple hover overs and locals window problem with UChar and strings with certain chars



    Use Windows.pkg


    Procedure Test
    ...
  4. Example of locals window problem with UChars

    Use Windows.pkg


    Procedure Test
    UChar[] uc
    Move 65 to uc[0]
    Move 66 to uc[1]
    Move 67 to uc[2]
    Move 159 to uc[3]
    Move 234 to uc[4]
  5. Replies
    5
    Views
    97

    Re: Screwy string variable contents tool tips

    Note whilst I have given an example of a file what I think I am really saying is if characters between 128-159 get into a string via a file or a COM call say or some other non "DF code" method then...
  6. Replies
    5
    Views
    97

    Re: Screwy string variable contents tool tips

    It's quite difficult to as I think it depends on what else is in memory as to the exact effect but this currently shows nothing in the string



    Use Windows.pkg


    Procedure Test
    String s...
  7. Replies
    0
    Views
    36

    CK SQL logins with "UTF-8" characters

    At this stage there are too many variable factors at play and at this stage I'm just looking for "it works for me" or "good spot"

    If I create a user in MS-SQL SSMS and place a "European" character...
  8. Replies
    5
    Views
    97

    Screwy string variable contents tool tips

    As well as the locals window problem with UChar arrays the tool tip that show when you hover over a local string variable that contains OEM string data show "Chinese" characters that change each time...
  9. Replies
    1
    Views
    53

    Re: SQL Fetch limitations?

    You just keep calling it

    https://docs.dataaccess.com/dataflexhelp/mergedProjects/VDFClassRef/cSQLStatement-Function-SQLFetch.htm

    or use FetchResultValues
    ...
  10. Thread: Re-indexing?

    by Focus
    Replies
    3
    Views
    87

    Re: Re-indexing?

    And ironically in SQL environments the equivalent rebuild indexes should be done even more regularly otherwise the performance goes south, how often depends on how quickly you are adding records to...
  11. Replies
    2
    Views
    87

    Re: Studio minor paste bug

    Both :D

    If I copy lines from Notepad I would expect it to paste lines into the studio

    If I could copy a column from Notepad I would expect it to past a column into the studio

    i.e. the...
  12. Replies
    0
    Views
    62

    Lack of UChar array locals debugging

    With the current lack of UChar array debugging in 20.0TP2 then Write_Hex is a useful if clunky work around as it is currently the only way, I think, that you can see what the bytes are in a UChar...
  13. Thread: Base64Decode

    by Focus
    Replies
    12
    Views
    304

    Re: Base64Decode

    Example of the 'garbage'

    Note none of the number values themselves are correct things have already gone AWOL

    13421
  14. Thread: Base64Decode

    by Focus
    Replies
    12
    Views
    304

    Re: Base64Decode

    The problem with the locals window displaying UChar data is going to need fixing quite quickly as it is currently impossible to see the data in the array correctly, to the point of "buffer...
  15. Thread: Base64Decode

    by Focus
    Replies
    12
    Views
    304

    Re: Base64Decode

    My original question still stands :D and the locals window needs fixing for UChar arrays :D

    Whilst in the "Working with 2020" pdf talks about binary data in strings and I think the docs need to...
  16. Thread: Base64Decode

    by Focus
    Replies
    12
    Views
    304

    Re: Base64Decode

    I'm still battling with this and I think my original question about the documentation still stands

    Thanks
  17. Replies
    2
    Views
    87

    Studio minor paste bug

    I'm sure this isn't new and it is no biggie but I've just noticed if you do a 'column' style copy and paste in some code and then go to external application like notepad, copy some text, when you...
  18. Thread: Base64Decode

    by Focus
    Replies
    12
    Views
    304

    Re: Base64Decode

    I get what you are saying but i'm not quite there yet.

    It does not help that the debugger local variables window is not showing things correctly

    If I start with this B64 string


    ...
  19. Thread: AddIcon

    by Focus
    Replies
    3
    Views
    135

    Re: AddIcon

    Face-palm.

    It helps if the path in the workspace points to a folder with some images in it !
  20. Thread: AddIcon

    by Focus
    Replies
    3
    Views
    135

    Re: AddIcon

    The problem seems to be that inside AddIcon when Get_File_Path is passed "folder.ico" it is returning a blank string so the rest of the process obviously has nothing to do
  21. Thread: AddIcon

    by Focus
    Replies
    3
    Views
    135

    AddIcon

    I will look at this properly tomorrow but passing a constant to AddIcon fails and the index returns-1

    i can see the pkg code has been changed to use W version

    The constant simply contains...
  22. Thread: Base64Decode

    by Focus
    Replies
    12
    Views
    304

    Re: Base64Decode

    We came across this because we are encrypting passwords before Base64 encoding them

    So if all the characters that you are encoding are < 128 then it will work fine

    Otherwise it won't

    So even...
  23. Thread: Base64Decode

    by Focus
    Replies
    12
    Views
    304

    Re: Base64Decode

    OK yes that's it and I think we are going to need a OEMBase64Decode please

    If you encode the word hello in 19.1 and paste that string into 20.0 and decode it works fine

    But if you encode hello£...
  24. Thread: Base64Decode

    by Focus
    Replies
    12
    Views
    304

    Re: Base64Decode

    Hmmm

    I will look at this again tomorrow

    Our issue might be that the string before it was Base64Encoded was OEM originally as that is what everything obviously was prior to 20

    So it probably...
  25. Thread: Base64Decode

    by Focus
    Replies
    12
    Views
    304

    Re: Base64Decode

    I agree but this is DAW code :D

    I did actually try putting the string to UChar inside the decode function but it didn't help I still could not do UChareArrayToString ad the end and get a...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4