Search:

Type: Posts; User: Focus

Page 1 of 80 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    104

    Re: Base64 to Byte Array

    The UChar[] elements are numbers. If you convert it to a string then use ascii() on each char to convert it back to a number but as i say the UChar is an array of byte values in the first place you...
  2. Thread: Our times

    by Focus
    Replies
    48
    Views
    981

    Re: Our times

    Yep here on the BBC they say no restrictions 1 person would infect 2.5 people would mean 406 in a month from that one person as source. If one person only infects 1.25 people it's only 15 in the month
  3. Replies
    23
    Views
    543

    Re: Dataflex / Cloud Initial Setup

    They change almost as often as the weather ..... Boom Boom
  4. Re: Unfinished variation on a checkbox with focus rect, bold and keeps theme

    OK the forecolor then. It currently set the forecolour to the widows button text but you should be able set it to any RGB value



    Move (SetTextColor(tDrawItem.hDC, GetSysColor(COLOR_BTNTEXT)))...
  5. Re: Unfinished variation on a checkbox with focus rect, bold and keeps theme

    Thanks Wil

    I will take a look sometime.

    I mentioned it as I thought it might help with Garret's thread with the desire to change the background colour with a bit more modification
  6. Replies
    20
    Views
    465

    Re: Checkbox TextColor

    .... Looking at this I think all of those things are defined in a library called cWindowsEx, I've no idea where you might find such a library :p
  7. Replies
    20
    Views
    465

    Re: Checkbox TextColor

    Wil

    It was written over two years ago before 19.1 existed
  8. Replies
    20
    Views
    465

    Re: Checkbox TextColor

    @Wil If you were bored .... you might remember me mentioning this at the last time we met and you said you thought it would be relatively easy to make it data aware.
    ...
  9. Replies
    6
    Views
    228

    Re: CMDEXCEL for later versions of Excel?

    This looks like my original bumblings with VO help

    https://support.dataaccess.com/Forums/showthread.php?59250-Excel-Automation-and-Cells
  10. Replies
    6
    Views
    228

    Re: CMDEXCEL for later versions of Excel?

    So long as you don't need it to run in an unattended background process I would just automate Excel with COM

    Apart from some scrambled egg to get connected to excel just call ComItem of the Range...
  11. Replies
    6
    Views
    228

    Re: CMDEXCEL for later versions of Excel?

    How "complicated" is the data you are outputting ? Is it effectively just a CSV in excel format ?

    Couldn't you do the whole thing with COM ?

    XLSX files are just zip files containing xml files...
  12. Replies
    15
    Views
    437

    Re: CmdExcel and formatting cells as text

    Not 100% sure probably 2010 / Office 14.0

    I think .... which is always dangerous....

    The Range object has always been letters and the Cell property of the Range object which returns a Range...
  13. Replies
    15
    Views
    437

    Re: CmdExcel and formatting cells as text

    Note the FieldInfo (about 4 from the end) that I have not used takes XlColumnDataType which says how it should be parsed which might be of use to you as one of them is Text
  14. Replies
    15
    Views
    437

    Re: CmdExcel and formatting cells as text

    It's been a very long time since I've looked at this. we've done different interfaces over the years. COM, Writing XLSX directly and LibXL

    On the COM interface version I've found this code that...
  15. Replies
    15
    Views
    437

    Re: CmdExcel and formatting cells as text

    I might be able to help. I will look tomorrow
  16. Replies
    6
    Views
    308

    Re: VDF 7 - Could not set printer flag

    This seems to suggest permissions to licence files ?

    https://support.dataaccess.com/Forums/showthread.php?57067-VDFQuery-Problem-quot-Could-Not-Set-Printer-Flag-quot
  17. Replies
    4
    Views
    256

    Re: Uncompress GZipStream

    Just a side note on this if you get a GZip'ed file from a service you need to create an blank folder and call ComUnTarGz into that folder and then go through the folder contents

    The format is much...
  18. Replies
    8
    Views
    457

    Re: StringToUCharArray

    Your original code works fine in 19.1

    All I have done is set the arg size big enough at the start



    Procedure Test
    UChar[] ucIn ucOut ucOut2
    String sFile
    Integer iSize1 iSize2...
  19. Replies
    19
    Views
    968

    Re: Autoreturn -- again...

    Is the order of the forms in the source code the same as the display on the screen as this dictates the tab order and not the relative position of the Location property of each form
  20. Replies
    5
    Views
    422

    Re: Moving to UniCode WinAPI

    Especially as is this not a relatively temporary situation ?

    If a developer is looking to upgrade to DF20 then one assume they are a fairly regular updater (or really want Unicode support) and...
  21. Replies
    7
    Views
    337

    Re: Direct_Input read_block binary mode

    Thanks Vincent

    Yes I understand the changing of the settings

    What I don't (didn't) get is the effect this has on the actual reads

    Form a very brief test what seems to happen is

    1) There...
  22. Replies
    7
    Views
    337

    Re: Direct_Input read_block binary mode

    What does that mean though in terms of functionally what happens when you read the file ?

    Finally, input through channel 0 is directed from File florPlan.pcx in the pc-text: format with the...
  23. Replies
    7
    Views
    337

    Direct_Input read_block binary mode

    Nothing really, I guess this comes under the heading of slightly confused/strange

    I've been using direct_input "binary: somefile" along with read_block for yonks where I want to read in the bytes...
  24. Replies
    11
    Views
    368

    Re: Set Web Property with Javascript?

    this is a wearer of many hats and is not equivalent to DF self
    https://medium.com/better-programming/understanding-the-this-keyword-in-javascript-cb76d4c7c5e8
  25. Replies
    2
    Views
    303

    Re: When is Windows 10 not Windows 10 .....

    The second video titled "How Windows 10X runs UWP and Win32 apps"

    https://developer.microsoft.com/en-us/microsoft-365/virtual-events

    Says amongst other things that there is no system tray in...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4