Search:

Type: Posts; User: Tech99

Page 1 of 13 1 2 3 4

Search: Search took 0.17 seconds.

  1. Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    For the 32-bit builds, correct registry hive is Wow6432Node:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide
    PreferExternalManifest"=dword:00000001
  2. Replies
    219
    Views
    55,466

    Re: VB SQLite Library (COM-Wrapper)

    I understand your point. Luckily, no serious harm caused from change. SQL sentences are corrected and all is ok.
  3. Replies
    219
    Views
    55,466

    Re: VB SQLite Library (COM-Wrapper)

    Ouch - so LIKE query wildcard char '%' in VBSQLite has been changed, from precentage char % to asterisk char *.

    VBSQLite query dialect now differs from sqlite native dialect....
  4. Replies
    219
    Views
    55,466

    Re: VB SQLite Library (COM-Wrapper)

    LIKE search somewhat broken in latest 3.34.1 sqlite3win32.dll / SQLite11.dll version?



    Dim DataSet As SQLiteDataSet
    'Description field (typename) nvarchar(250)
    'Set DataSet =...
  5. Replies
    3,724
    Views
    1,846,855

    Re: CommonControls (Replacement of the MS common controls)

    I don't know is this intended or not behaviour, but...
    Monthview does not refresh correctly, when multiple months are shown and selection extends to month(s) over leftmost month, which are not shown...
  6. Re: How to display VB MessageBox to right screen in multimonitor system.

    Code loads subform as owned.


    frmWarehouse.Show , frmMain 'open form warehouse


    User has moved this frmWarehouse to other display, than where frmMain is located.
    MsgBox loaded from...
  7. How to display VB MessageBox to right screen in multimonitor system.

    Need to display VB MsgBox in correct screen in multimonitor system.

    Normally messagebox is displayed in screen(1) or monitor where the application main window resides - but if user moves other...
  8. Replies
    259
    Views
    109,875

    Re: [vb6] Project Scanner

    Excellent project.

    One feature comes to mind, which could be handy. I constantly find it hard for programmers to avoid mishandling dynamically dimensioned arrays especially udt arrays. Typical...
  9. Re: IDE terminates suddenly without error

    Thanks LaVolpe, that helped a lot to investigate issue. Problem was that the frmLog initialize event was triggered in one of the user controls, which implements logging to frmLog window and to the...
  10. Re: IDE terminates suddenly without error

    Public variable was not in Lynxgrix usercontrol. It was one of our own developed control, which also has subclassing code.
  11. Re: IDE terminates suddenly without error

    I'm not sure if this is 'fully resolved' yet, but i might have found out, what was causing sudden termination.

    <Code>
    'from frmLOG QueryUnload...
    Private Sub Form_QueryUnload(Cancel As Integer,...
  12. Re: IDE terminates suddenly without error

    No i did not, to that PSC 2.17.3 version, other than textbox, boolean variable and some drawing timing/debugging code.

    1. -> Will try that.
    2. Break in class module is and were defined in vb ide...
  13. Re: IDE terminates suddenly without error

    Tried that and yes - IDE does not terminate - so it seems that, loading form without showing it, causes problem.

    Likewise IDE termination does not happend in small test app, where has no...
  14. Thread: LynxGrid

    by Tech99
    Replies
    50
    Views
    31,591

    Re: LynxGrid

    Don't know how to properly do this, but here is quick and dirty method, to tackle drawing lag.

    Add to Lynxgrid:

    'Declaration section
    Dim bDummyHas_Focus As Boolean

    'Place VB textbox...
  15. Thread: LynxGrid

    by Tech99
    Replies
    50
    Views
    31,591

    Re: LynxGrid

    Here is other test application which shows scrolling lag.

    Steps to reproduce...
    - click some cell in grid and scroll grid, using vertical scroll bar button or arrows in the scroll bar both ends....
  16. Re: IDE terminates suddenly without error

    Sorry about double post and confusion in above posts.

    Application in question is quite large, includes 30 user controls, where couple of them contain subclassing code.
    No custom drawing menus in...
  17. Re: IDE terminates suddenly without error

    Found out why...

    In short...
    Do not 'mess with form menu caption' from other form.

    Reason was that code in form event, was updating other form menu caption.

    So how to do that properly?
    ...
  18. Re: IDE terminates suddenly without error

    Found out why...

    In short...
    Do not 'mess with form menu caption' from other form.

    Reason was that code in form event, was updating other form menu caption.
  19. [RESOLVED] IDE terminates suddenly without error

    Any idea, what might cause IDE termination, without error?

    VB IDE terminates without error when;
    - form is saved from; File menu or using <Ctrl> + <S> key combination.
    - application is started...
  20. Replies
    1
    Views
    520

    Re: VB6.exe error 4400 Just-in-time-debugging

    Uninstalling SMSS 17.x/18 and Visual Studio 15 tools etc. corrects situation. VB6 with older 2008R2 SMSS version i nsame machine works ok.
  21. Replies
    1
    Views
    520

    VB6.exe error 4400 Just-in-time-debugging

    Beware...

    Installing SQL Server Management Studio 17.9, 18 and possibly also some older and newer versions, breaks VB6.
    Reason seems that the SMSS installation installs Visual Studio 15. This...
  22. Thread: LynxGrid

    by Tech99
    Replies
    50
    Views
    31,591

    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...
  23. 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.
  24. Replies
    3,724
    Views
    1,846,855

    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
  25. Replies
    3,724
    Views
    1,846,855

    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...
  26. Replies
    10
    Views
    2,930

    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,...
  27. Replies
    21
    Views
    5,587

    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...
  28. Replies
    10
    Views
    2,930

    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...
  29. Replies
    21
    Views
    5,587

    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...
  30. Re: Dynamically added usercontrol, how to remove added control from Form?

    Ok, thanks Eduardo. Sample solution attached.
  31. 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...
  32. 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...
  33. Re: Dynamically added usercontrol, how to remove added control from Form?

    double post - delete this
  34. 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...
  35. [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...
  36. 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...
  37. Replies
    4
    Views
    1,470

    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...
  38. Replies
    4
    Views
    1,470

    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...
  39. 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.
  40. [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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width