dcsimg

Search:

Type: Posts; User: Tech99

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread: LynxGrid

    by Tech99
    Replies
    39
    Views
    10,201

    Re: LynxGrid

    Tested this original lynxgrid drawing a bit further. When visual effects are disabled on a Windows 7, grid drawing is substantially faster (50 ms vs. 1600 ms), but only in application which were...
  2. Re: How to reconnect of disconnected network drive?

    No - i did not, had to move this to the todo list and progress with other tasks.

    My todo list, with this so far is;
    - test, if deleting share, before using WNetRestoreSingleConnectionW works.
  3. Replies
    2,446
    Views
    581,429

    Re: CommonControls (Replacement of the MS common controls)

    Sure, i looked properties and made test app



    Private Sub Form_Load()
    Dim i As Long
    SetupVisualStyles Me
    MainForm.Show vbModeless

    For i = 1 To 10
  4. Replies
    2,446
    Views
    581,429

    Re: CommonControls (Replacement of the MS common controls)

    Feature request.

    ComboBoxW and ListBoxW item background or foreground color settable (ownerdrawn items)?
    Before used emorcillo's ODComboBox and ODListBox for this purpose, but like to switch...
  5. Replies
    10
    Views
    838

    Re: MS SQL Server date and time

    Zvoni,

    i mean 'by formatting', when saving data to the table, it is best to use ISO8601 format (yyyy-mm-ddTHH:nn:ss) and nothing else.

    fex.


    Debug.Print Replace$(Format$(Now,...
  6. Replies
    21
    Views
    1,488

    Re: Display dpi scaling problem

    Hi Eduardo,

    Form scalemode is twips, usercontrol also has twips, but picturebox inside usercontrol scalemode is pixels. Application is manifested as dpi aware and no compatibility settings defined...
  7. Replies
    10
    Views
    838

    Re: MS SQL Server date and time

    Best practise certainly - is NOT to store typed values to character type fields, for that purpose there are 'typed' smalldatetime and datetime field types.

    What comes to formatting when writing...
  8. Replies
    21
    Views
    1,488

    Display dpi scaling problem

    Any idea, how to remedy situation, when user has dpi scaling set to other than 100% ?

    On some workstations, textboxes shift from their original place to right- and downwards, depending of display...
  9. Re: Dynamically added usercontrol, how to remove added control from Form?

    Ok, thanks Eduardo. Sample solution attached.
  10. Re: Dynamically added usercontrol, how to remove added control from Form?

    Eduardo, you are right, i am swithcing usercontrol from Combobox click event. Sample attached.
    So how to remedy situation?
    One possible solution is to add timer and boolean variable...
  11. Re: Dynamically added usercontrol, how to remove added control from Form?

    Yes, that works with intrinsic VB controls OK, but not with usercontrols in rather large project**. I made an simple test project, where removing works ok.



    Dim WithEvents My_UserControl As...
  12. Re: Dynamically added usercontrol, how to remove added control from Form?

    double post - delete this
  13. Re: Dynamically added usercontrol, how to remove added control from Form?

    Removing by referencing control name in string variable or static name, does not work either.

    [CODE]
    Dim WithEvents My_UserControl As VBControlExtender 'Form level declaration
    Dim...
  14. [RESOLVED] Dynamically added usercontrol, how to remove added control from Form?

    How to remove (unload) dynamically added usercontrol from form?

    Controls are added and placed in form, dynamically during runtime. When tried to remove, error 365 is raised.
    So is it possible to...
  15. Re: [RESOLVED] Textbox(0) locked - allows pasting data

    Solution is listed in first post, but...

    Let's clarify that 'from steel wire' - ok?

    So, when there is form level keyboard handler code fex. in keydown or keypress or keyup event and textbox is...
  16. Replies
    4
    Views
    440

    Re: Newer SQLite3 dll (stdcall) version?

    Zvoni, thanks looked that option and compiled, but for some reason function exports could not be found (453 error), defined them in sqlite3.def file. Have to investigate.

    Olaf, thanks, but this...
  17. Replies
    4
    Views
    440

    Newer SQLite3 dll (stdcall) version?

    I have one project in hand, which needs to consume sqlite3 format database, but in read-only mode.

    Hence question - does anybody know, is there available sqlite driver, which has support for...
  18. Re: Textbox(0) locked - allows pasting data

    At first it was a question to a problem, but i was able to resolve it, by adding Locked property checking.
  19. [RESOLVED] Textbox(0) locked - allows pasting data

    Delete... There where form level code, which allowed pasted data to reach locked textbox.



    'Me.ActiveControl.SelText = Clipboard.GetText()
    'chanced to
    If Me.ActiveControl.Locked = False Then...
  20. Replies
    2,446
    Views
    581,429

    Re: CommonControls (Replacement of the MS common controls)

    Krool, thank you for these superb usercontrols. In terms of DTPicker there is AllowUserInput, but this property does not 'lock' control fex. like in vb intrinsic combobox locked property does -...
  21. Re: How to reconnect of disconnected network drive?

    Bollocks... Have to take my earlier comment back, as after extensive testing. WNetRestoreSingleConnectionW does not work, return value is ERROR_ALREADY_ASSIGNED and yet still share is disconnected.
  22. Re: How to reconnect of disconnected network drive?

    techgnome... Connection does not seems to wake up, by trying to use disconnected drive - even when tried via error handling multiple times - tried that, but no success to reconnect share that way.
    ...
  23. Re: How to reconnect of disconnected network drive?

    Not with that code either, as drive is already mapped, but disconnected by OS.

    Question still remains, how to reconnect disconnected share.

    What explorer.exe does, when there is red x over...
  24. Re: How to reconnect of disconnected network drive?

    Yes - no can do with that code. :)

    Application 'already knows', that network connection is disconnected. Looking for method to reconnect disconnected share.
  25. How to reconnect of disconnected network drive?

    Task is to determine if there is certain file in network share, but FileExists testing, does not work when share is disconnected by OS.

    Any idea how to reconnect disconnected (marked with red x in...
  26. Replies
    15
    Views
    1,233

    Re: how can convert Word or pdf to jpg in vb6?

    Yes, using only VB code is IMHO out of the question, one needs to render pdf in memory and save it to bitmap. Rendering pdf file needs to understand pdf file format, which is rather complicated. ...
  27. Replies
    15
    Views
    1,233

    Re: how can convert Word or pdf to jpg in vb6?

    Elroy, it is quite easy to run Ghostscript from command prompt and hence generate bitmap pages from pdf file.

    gwswin32c -q -dNOPAUSE -r300x300 -sDEVICE=tiff24nc -sOutputFile=outputfile.tif...
  28. Replies
    15
    Views
    1,233

    Re: how can convert Word or pdf to jpg in vb6?

    Print word document to PDF and convert printed PDF to bitmap pages using fex. Ghostscript. I would recommend TIF format, which supports multipage.
  29. Replies
    2,446
    Views
    581,429

    Re: CommonControls (Replacement of the MS common controls)

    Highlighting bug in monthview control 'Today' section?

    - when mouse is over 'Today' last character is not highlighted 20.2.2019 -> 9
    - when clicked today and mouse is out of 'Today' area last...
  30. Replies
    6
    Views
    536

    Re: Invoices in UBL Format

    ... and that is the real foot wetting swamp to walk to. Hence recommending using ediserver or biztalk server etc. that can be used to map fields from those edifact and xml documents. Altought MS...
  31. Replies
    18
    Views
    12,095

    Re: [VB6] MS Office (MODI) OCR - OCR "for free"

    I am using Tesseract OCR engine for our inhouse software OCR needs - mainly from scanned PDF's or PDF files printed as bitmaps. Developed VB6 frontend for that purpose, which extracts raster image...
  32. Replies
    212
    Views
    24,782

    Re: [vb6] Project Scanner

    Certain Windows API's return short type (vb integer), like GetKeyState instead of int (vb long).

    I presume that project scanner currently has no actual checking against api declarations?
  33. Replies
    33
    Views
    31,453

    Re: [VB6] 7-zip support

    Thanks wqweto, looked your VbRTcc project - very interesting, however found it quicker to modify app by calling 7z.exe using CreatePipe, CreateProcessA, Readfile functions (ie. getting stdout...
  34. Replies
    33
    Views
    31,453

    Re: [VB6] 7-zip support

    Currently does not extract .rar packages. Vszlib reports .Filecount as zero (0) for rar package.
    7z.dll version 18.5.0.0 (18.4.2018)



    With New cVszArchive
    .Init...
  35. Thread: LynxGrid

    by Tech99
    Replies
    39
    Views
    10,201

    Re: LynxGrid

    Grid drawing takes seconds in most windows 10 machines tested. Now looked this and made some modifications. Modified to use memory dc and perform bilblt to screen solves that. Using double buffering,...
  36. Thread: LynxGrid

    by Tech99
    Replies
    39
    Views
    10,201

    Re: LynxGrid

    Here is attached testapp fro drawing performance testing.
    <Ctrl> + <+> and <Ctrl> + <-> opens and closes groups.
    Clikcing Col0 or pressing <Space> does same.
  37. Thread: LynxGrid

    by Tech99
    Replies
    39
    Views
    10,201

    Re: LynxGrid

    No didn't hardwire those, but added debugging/logging code for both boolean values. Database code is totally separate, so there is no recordset involded in grid load, display, scrolling, etc. Have to...
  38. Thread: LynxGrid

    by Tech99
    Replies
    39
    Views
    10,201

    Re: LynxGrid

    Thanks Olaf. Checked mbWinNT and mbWinXP initialize both to true.

    Tested bit more and found out that when there are two grids in different windows performance drops substantially - not sure if...
  39. Thread: LynxGrid

    by Tech99
    Replies
    39
    Views
    10,201

    Re: LynxGrid

    Jpbro and Gibra...

    Definitely there is something which causes very poor performance in Windows 10 machines, it is not just in my development box, but several others using our inhouse applications...
  40. Thread: LynxGrid

    by Tech99
    Replies
    39
    Views
    10,201

    Re: LynxGrid

    Hello Olaf, attached is lynxgrid test app, added with textbox and timer lines to grid redraw routine. Some minor additions and tweaks are in this version lynxgrid.c162533tl, but version is based on...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width