Search:

Type: Posts; User: Bezzie

Page 1 of 11 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    214

    Re: Vizacc HelpMaker on Windows 7

    It's a huge schlep but got a workaround for now. Created a VPC in Windows 7 with Windows XP. Can open and edit the help files in that XP VPC.

    But if anybody perhaps have an explanation as to why...
  2. Replies
    6
    Views
    214

    Re: Vizacc HelpMaker on Windows 7

    HelpMaker compiled a .chm file that still works even on windows 10. But the HelpMaker program does not want to run on a Windows 7 PC where I need to make alterations to the help files. Just crashes...
  3. Replies
    6
    Views
    214

    Vizacc HelpMaker on Windows 7

    Does anybody have an idea how I can run HelpMaker on Windows 7?

    I have an old project where the help files were created with HelpMaker. The PC has since been upgraded to Windows 7 and after a heck...
  4. Re: Constructing SELECT statement based on user selected options

    Good or bad, the memo field is what I got available to work with currently.

    Using the % sign instead of the * solved the first problem. It is, at least, now finding records.

    I created a...
  5. Re: Constructing SELECT statement based on user selected options

    It's how the lynxgrid.clip control returns the entries from the lynxgrid. One long string where rows are separated with vbCR and fields separated with vbTAB.

    Individual records gets added to the...
  6. Re: Constructing SELECT statement based on user selected options

    Yes. AvNum > '' tests for a empty string (text field). AvNum will have a value e.g. A01 if the bird is still in aviaries. Blank AvNum means bird is not in aviaries anymore e.g. sold or dead etc. This...
  7. Re: Constructing SELECT statement based on user selected options

    In the grid the test info will be entered/displayed like this:

    179492

    In the database the tests field (one single memo field) will look like this for the above:

    18/11/2020PBFD...
  8. Re: Constructing SELECT statement based on user selected options

    The code handles it that when an item is clicked in one list its un-selected (if it was selected) in the other list so it's impossible to select the same item in both lists. That part I got working....
  9. Constructing SELECT statement based on user selected options

    I'm having trouble constructing some SELECT statements based on options selected by user at runtime. More to the point how the AND's and OR's must work.

    The search criteria will be based on the...
  10. Re: Enable/disable entries in listview controls

    Thanks for pointing me in the right direction.

    Got it working. At least the ugly highlight jumps around with the selections as they are made:D

    Private Sub lvwInclude_ItemCheck(ByVal Item As...
  11. Re: Enable/disable entries in listview controls

    Thanks. I was thinking of disabling the listitem in the other listview but just unselecting it there also works. Always over complicating things:D

    Just one question. Is there a way to hide the...
  12. [RESOLVED] Enable/disable entries in listview controls

    I have two ListView controls with checkboxes enabled. Both ListViews have the same entries. The one ListView is for entries that must be included and the second ListView is for entries that must be...
  13. Re: Error loading records into ListView

    Ok. I see that the Invalid key error message is generated by ListView.ListItems.Item(Item).Checked. Will have to look into that next.
  14. Re: Error loading records into ListView

    Added to the form and set the Checkboxes property to True and the View property to Report. But I only have one column so no SubItems.

    I thought I had no code in ItemCheck yet but see I have tried...
  15. Re: Error loading records into ListView

    Loading them like this does load without error but still errors (Run-time error 35603: Invalid key) when I click on the checkboxes. No error when I click on the words themselves.
  16. Re: Error loading records into ListView

    If I put On Error Resume Next before the Do While loop it loads the records into the ListView. I can see them in the ListView but if I select one of them the check mark in the checkbox appear and the...
  17. Re: Error loading records into ListView

    It's a String in the database e.g. Circovirus or PBFD Virus.

    The value is not NULL. While trying to figure out why the error occurred I put a message box on the line before the error line showing...
  18. [RESOLVED] Error loading records into ListView

    I'm trying to load two ListView controls with both listing the same entries, one ListView for tests to include and one for tests to exclude. Both the ListViews will only contain 1 column listing the...
  19. Replies
    3
    Views
    455

    Re: Trailing zeros

    Thanks. Problem solved.
  20. Replies
    3
    Views
    455

    Re: Trailing zeros

    I will try this. Did not know that the #'s can be added after the decimal point.
  21. Replies
    3
    Views
    455

    [RESOLVED] Trailing zeros

    I have numbers that can have up to 13 decimals. I need to display the number in a textbox without any trailing zeros but still display a minimum of 2 decimals even if those two decimals are zeros...
  22. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    Yes. I'm using your code. As I said earlier I don't think the problem is in your code. Much rather my spaghetti code that is raising the issues.

    It's working but having some issues as described...
  23. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    The button with the pin is to fire a Quick Note module I have to capture some quick notes with/without reminders in my program.

    I know Alt+PrintScreen can capture a screen image but that is only...
  24. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    Once the buttons were created on a form; What would be the correct way to disable/remove them from the current form when opening a next form?

    Looks like I would have to unload them in the...
  25. Re: Preventing Form from displaying anything until Form_Load event is finished

    Thanks for the input.

    I played around with the order (and where) stuff was loaded and added a little delay before certain code is executed. This got the forms to display much more smoothly now but...
  26. Re: Preventing Form from displaying anything until Form_Load event is finished

    It seem Win7 might be the culprit. It looks like it's the moment Win7 captures an image of the form to display in the preview when the mouse is hovered over the program icon(s) in the taskbar. You...
  27. Re: Preventing Form from displaying anything until Form_Load event is finished

    Ok. Thanks for the suggestions. I'm going to try them out.
  28. Preventing Form from displaying anything until Form_Load event is finished

    Is there a way to prevent a form from displaying anything until all the code in the Form_Load event is finished? Something like say Application.ScreenUpdating = False or such? Or open it in the...
  29. Replies
    5
    Views
    429

    Re: Adding Controls at runtime

    Busy with the suggestions Elroy made in this thread: http://www.vbforums.com/showthread.php?879911-VB6-Form-Titlebar-icons&p=5425891#post5425891

    With normal VB buttons it works just fine. Just...
  30. Replies
    5
    Views
    429

    Re: Adding Controls at runtime

    The following code runs in the IDE without any problem. The errors only occur when I compiled the program and tries to run the exe.

    Dim cmd As Object 'changed from FLWCtrls.FWRealButton
    '...
  31. Replies
    5
    Views
    429

    Adding Controls at runtime

    I'm trying to add controls at runtime. Why would the following code work in the IDE but after I compile the program I get error message: Run-time error '13': Type mismatch? The line in red is the...
  32. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    If I don't run the following code to turn off my main form buttons then the Form_Activate event does fire when returning to the main form.

    Sub Hide_Mainform_Buttons()
    Dim ctlControl As Object...
  33. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    I'm pretty sure the problem is not in your code.

    I've activated the buttons in more of my forms and they all run the Form_Activate event on returning to the previous form. It's just when returning...
  34. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    No Problem. Something seems to hold focus. When I click in one of the fields after the second screen closed the Form_Activate event fires.
  35. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    Oops. Ran into a snag; Any idea why the form_activate event doesn't run anymore, when returning from a second form, if I load the buttons to the titlebar?

    When I disable the buttons load in the...
  36. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    Wanted to rate your post with the example but site don't want me to:eek:

    So here are my rating :thumb::thumb::thumb::thumb::thumb:
  37. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    Ok. Got around it by checking the control caption before disabling it.

    Dim ctlControl As Object

    For Each ctlControl In FrmRingneck.Controls
    If TypeOf ctlControl Is...
  38. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    Everything is working as is. Only problem I have is the compiler that crashes where I reference the two buttons in code to enable/disable the buttons. The following code disables all the buttons when...
  39. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    Ok. Was able to load the Fastlib FWLabel control but doesn't look nice as there is no transparent background. Think at this stage I'll stick to the button.

    But how do I reference that buttons for...
  40. Replies
    46
    Views
    2,909

    Re: VB6 Form Titlebar icons

    Don't think this is going to work. The example uses the hWnd of the control and the label control doesn't have that.

    I do have Fastlib 2000 library that has a label control that does have a hWnd...
Results 1 to 40 of 415
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width