Search:

Type: Posts; User: Focus

Page 1 of 80 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    11
    Views
    272

    Re: Problem with ByRef parameters

    It works most of the time. I just always play safe these days.

    A colleague contacted me about it and he knocked up this example whilst i'm busy on something else

    "three" works and you get...
  2. Replies
    11
    Views
    272

    Re: Problem with ByRef parameters

    As a side note you can only ByRef one "level" i.e. what you are passing to a method must be a local variable otherwise strangeness occurs
  3. Thread: DFSTRICMP order

    by Focus
    Replies
    1
    Views
    107

    DFSTRICMP order

    Quick query

    We have this line of code which works fine



    Set psaSuggestionValues to (SortArray(saSuggestions,Desktop,RefFunc(DFSTRICMP)))


    However I have noticed that any array values...
  4. Replies
    5
    Views
    130

    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...
  5. Thread: Our times

    by Focus
    Replies
    50
    Views
    1,162

    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
  6. Replies
    23
    Views
    549

    Re: Dataflex / Cloud Initial Setup

    They change almost as often as the weather ..... Boom Boom
  7. 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)))...
  8. 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
  9. Replies
    20
    Views
    477

    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
  10. Replies
    20
    Views
    477

    Re: Checkbox TextColor

    Wil

    It was written over two years ago before 19.1 existed
  11. Replies
    20
    Views
    477

    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.
    ...
  12. Replies
    6
    Views
    235

    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
  13. Replies
    6
    Views
    235

    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...
  14. Replies
    6
    Views
    235

    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...
  15. Replies
    15
    Views
    450

    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...
  16. Replies
    15
    Views
    450

    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
  17. Replies
    15
    Views
    450

    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...
  18. Replies
    15
    Views
    450

    Re: CmdExcel and formatting cells as text

    I might be able to help. I will look tomorrow
  19. Replies
    6
    Views
    314

    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
  20. Replies
    4
    Views
    258

    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...
  21. Replies
    8
    Views
    466

    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...
  22. Replies
    19
    Views
    984

    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
  23. Replies
    5
    Views
    433

    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...
  24. Replies
    7
    Views
    345

    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...
  25. Replies
    7
    Views
    345

    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...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4