Search:

Type: Posts; User: john-hyz

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    5,740

    Re: Printing B&W in DataFlex Reports

    I tried below, but it did not work. Thanks.
    12913
  2. Replies
    1
    Views
    14,119

    Convert color image to black and white

    Is there a way using Graphics Library to convert a color image to black and white.
    The GDI+ seems can do some color tranformation, but it is not in the Graphics Library....
  3. Replies
    5
    Views
    5,740

    Printing B&W in DataFlex Reports

    How can we print the report in black & white programatically?
    I checked the help, cDRReport class does not have a property that allows to set the print in B&W/colour.
    Thanks.
  4. Replies
    1
    Views
    852

    Zoom with Disabled Form

    How can we disable a form but leave the Zoom, copy, and the right-click menu enabled?
    Thanks.
  5. Replies
    17
    Views
    5,086

    Re: Array of null-terminated strings in DataFlex

    We can store the pointers of strings into a pointer array.
    For example:
    String sMsg
    Pointer[] prgMsg
    Move "Test1" To sMsg
    Move (AddressOf(sMsg)) To prgMsg[0]

    Below two posts gave me some...
  6. Replies
    17
    Views
    5,086

    Re: Array of null-terminated strings in DataFlex

    Finally figured that out.
    LPCSTR* is mapping to a address to a pointer array in DataFlex.
    For example:
    Pointer[] prgMsg
    Move (ReportEvent(ohEvent, EVENTLOG_ERROR_TYPE, 0, 0, 0, 1, 0,...
  7. Replies
    17
    Views
    5,086

    Re: Array of null-terminated strings in DataFlex

    Hi Michael,

    Thanks for the response.
    I got a ERROR_INVALID_PARAMETER, when passing in a pointer to a pointer to a string array.
  8. Replies
    17
    Views
    5,086

    Re: Array of null-terminated strings in DataFlex

    Hi Vincent,

    It did not say which parameter caused the error.
    But if I change the code to:
    Move ("Test1" + Character (0) + "Test2" + Character(0)) To srgMsg[0]
    Move...
  9. Replies
    17
    Views
    5,086

    Re: Array of null-terminated strings in DataFlex

    Hi Michael,

    May I ask what you will pass to the function?
    Do you mean:

    Move (ReportEvent(ohEvent, EVENTLOG_ERROR_TYPE, 0, 0, 0, 1, 0, AddressOf(AddressOf(srgMsg)), 0)) To bRet
  10. Replies
    17
    Views
    5,086

    Re: Array of null-terminated strings in DataFlex

    Hi Vincent,

    Thanks for the reply.
    It did not work.
    The function complains:
    ERROR_INVALID_PARAMETER
  11. Replies
    17
    Views
    5,086

    Re: Array of null-terminated strings in DataFlex

    Hi Samuel,

    Thanks for the feedback.
    But it did not work.
    The output looks like:
    12557
  12. Replies
    17
    Views
    5,086

    Array of null-terminated strings in DataFlex

    We are trying to do some Windows event logging.
    According to MS's documents, we can call ReportEvent function to write logs....
  13. Replies
    5
    Views
    1,552

    Http multipart/form-data submission

    We are developing an application that calls Google Cloud Print (GCP).
    The requests submitted to GCP need to be in multipart/form-data format.
    For example:

    96b2d819-8370-0134-028d-6c545f2f0241...
  14. Replies
    2
    Views
    1,901

    Re: Com Error with StarZen.LibXL

    DLLs, including szLibXL.dll, exist in multiple locations:
    MyWorkplace\Programs\
    MyWorkplace\Libraries\StarZen.LibXL\Programs\
    MyWorkplace\Libraries\StarZen.LibXL\Programs\Manifest\...
  15. Replies
    2
    Views
    1,901

    Com Error with StarZen.LibXL

    I used the Package Manager to download StarZen.LibXL.

    I register the dll with below command:
    RegAsm.exe szLibXL.dll /CODEBASE

    When I run LibXLSample.exe, I got a COM Initialize error.

    Is...
  16. Replies
    3
    Views
    4,276

    Re: DataFlex Library for LibXL Documentation

    Thanks for the response.
    However, I am asking about the official LibXL library developed by DataFlex.
  17. Replies
    3
    Views
    4,276

    DataFlex Library for LibXL Documentation

    Where can I find the documentation for DataFlex Library for LibXL?
    Thanks.
  18. Replies
    24
    Views
    17,334

    Re: Manifest fragment file for GdPicture.Net 14

    Hi Nils,

    Thanks for your response.
    I figured out webapp has different cache areas for debug and normal mode.
    Even if it is working in debug, it might take a while to work in normal mode.

    I...
  19. Replies
    24
    Views
    17,334

    Re: Manifest fragment file for GdPicture.Net 14

    Hi Nils

    I am still having some problem with web applications.
    When running the web app from the DataFlex Studio (in debug), the manifest works fine.

    However, when running the web app normally...
  20. Replies
    24
    Views
    17,334

    Re: Manifest fragment file for GdPicture.Net 14

    Well...it is actually working with web applcation as well.
    If I change the manifest file, it will take a while to take effect.
    This is so confusing...
  21. Replies
    24
    Views
    17,334

    Re: Manifest fragment file for GdPicture.Net 14

    Hi Nils,

    It is working with windows application.
    BTW, do you know if manifest work with web application?
    It seems, by default, web application is not reading the manifest file.
    Do you have any...
  22. Replies
    24
    Views
    17,334

    Re: Manifest fragment file for GdPicture.Net 14

    I think the key point here is to set the correct runtimeVersion attribute.
    Although Microsoft says it is not mandatory, if not set correctly, the DLL instantiation will fail.

    Another thing to be...
  23. Replies
    24
    Views
    17,334

    Re: Manifest fragment file for GdPicture.Net 14

    I figured out how to do that.

    Firstly, we need to add a <dependency> node in app.exe.manifest.
    For example:


    <dependency>
    <dependentAssembly>
    <assemblyIdentity type="win32"...
  24. Replies
    24
    Views
    17,334

    Re: Manifest fragment file for GdPicture.Net 14

    Hi Peter

    Tom and I are trying something similar with what you did. We also cannot make it work.

    It complains Unable to instantiaze COM object.

    Anyone got an idea? Thanks.
  25. Replies
    6
    Views
    1,856

    Re: WebOrderMobile in Android WebView

    Hi Wibier

    Thanks for your response.
    Some of our experiment results to share:

    (1) DataFlex Mobile is not responsive in the WebView (Xamarin.Forms)
    (2) Bootstrap is responsive in the WebView...
Results 1 to 25 of 28
Page 1 of 2 1 2