Search:

Type: Posts; User: Cooz

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: Jump to a bookmark in an html page from a VB6 form

    Well, that may be an option then! I'll look into it, thank you!
  2. Re: Jump to a bookmark in an html page from a VB6 form

    Elroy, dilettante,

    Too bad it apparently can't be done - I guess I'm stuck with supplying one file per topic then and that's a bummer. Or maybe - just maybe - I can get through that internet...
  3. Re: Jump to a bookmark in an html page from a VB6 form

    ----
  4. Re: Jump to a bookmark in an html page from a VB6 form

    Hi dilettante,

    No, I don't insist on using ShellExecute... I just want to get the job done. :)
    I'm not too happy about Shell though, as it is known to have issues - and I thought I couldn't use...
  5. Re: Jump to a bookmark in an html page from a VB6 form

    I also tried surrounding the url with quotes like so:

    Chr(34) & slHtmlFile & "#" & slBmk & Chr(34)

    But that doesn't seem to help either.
  6. Re: Jump to a bookmark in an html page from a VB6 form

    Whoa Elroy. That is one fast response. :)

    Yep, your code works. Your ShellExecute looks slightly different from mine (I don't use StrPtr for example - which shouldn't make any difference but who...
  7. Jump to a bookmark in an html page from a VB6 form

    Hi everyone,

    I need to open an html page "C:\test.htm" by clicking a VB6 button. I use the ShellExecute API for this and it works wonderfully.
    I actually need to take this one step further...
  8. Re: How to implement events in - _and_ outside of - a usercontrol array?

    Hi all,

    Indeed - I was making a bit of a fuss here; it is far simpler than I expected. Got it working now. Thanks!
    Kind regards,

    Cooz
  9. How to implement events in - _and_ outside of - a usercontrol array?

    Hi everyone,

    In a VB6 application I have to replace every ancient Sheridan SSRibbon control by a usercontrol "NewSSRibbon". The main form contains both SSRibbons in a control array and "stand...
  10. Replies
    3
    Views
    878

    Re: Top left pixel of shape is not drawn

    An acceptable workaround is the addition of a 1 pixel high and wide line in this top left corner.
    Problem solved as far as I'm concerned - although the behavior remains strange.

    Kind regards,...
  11. Replies
    3
    Views
    878

    Top left pixel of shape is not drawn

    Hi everyone,

    I've encountered some weird VB6 behavior, and searching the internet doesn't help much. I doubt that I'm the first with this problem though.

    Anyway. Here's how to reproduce it:
    ...
  12. Replies
    6
    Views
    1,602

    Re: Pass a control array to a class, with events

    Hi Elroy,

    Yes, I have created UCs before; I am familiar with about everything you mentioned here. Thanks anyway!
    I haven't ever used the wizard though; is this the "VB ActiveX Control Interface...
  13. Replies
    6
    Views
    1,602

    Re: Pass a control array to a class, with events

    Hi LaVolpe, Elroy and dilettante,

    Thank you for contributing! I guess I'll stick with creating a new UserControl, as dilettante suggested - and which in fact had crossed my mind before I started...
  14. Replies
    6
    Views
    1,602

    Pass a control array to a class, with events

    Hi everyone,

    Two forms in a VB6 project my company uses are very much alike, and therefore a class exists with centralized code that serves both forms.
    I have to remove a TabStrip control from...
  15. Re: How to set a UserControl "default" property - so that it can be left out in code?

    [QUOTE=Krool;5272053]https://msdn.microsoft.com/en-us/library/aa240803(v=vs.60).aspx

    Krool, this is exactly what I was looking for. Thank you very much!

    Cooz
  16. How to set a UserControl "default" property - so that it can be left out in code?

    Hi everyone,

    Is it possible to mark a usercontrol property as the one that can be left out in code? For example, the Label control has the "Caption" property marked like this so that these lines...
  17. Re: How to set Style and List in a ComboBox on a UserControl?

    Hi Elroy,

    This looks neat. I certainly can use this. Thank you!

    Kind regards,
    Cooz
  18. Re: How to set Style and List in a ComboBox on a UserControl?

    Hi Victor Bravo VI,

    This goes pretty deep - I think I'll stick with Elroy's solution. Thanks for contributing!

    Kind regards,
    Cooz
  19. Re: no controls on usercontrol with SSTab in design time

    Eduardo,
    My sincere apologies for the delay. Here are my findings.

    Somehow I now only manage to get a running project by compiling the ocx first. If I add your source code to my project, save it...
  20. Re: How to set Style and List in a ComboBox on a UserControl?

    Thanks Elroy! That looks promising!
    A colleague of mine has taken over the project. As soon as he comes up with any findings I'll be sure to let you know.
  21. How to set Style and List in a ComboBox on a UserControl?

    Hi everyone,

    I have a UserControl containing a ComboBox, and I need to have the ComboBox's Style property included in the Properties grid when I place the Usercontrol on a Form in design time....
  22. Re: no controls on usercontrol with SSTab in design time

    Eduardo - forgive me for not replying. I haven't forgotten you; it's just that I'm very busy at the moment.
    The moment I've got an opportunity to provide you with more information I won't hesitate...
  23. Re: no controls on usercontrol with SSTab in design time

    Eduardo...

    "I'm guessing may be something in your source code, I would start commenting the code in the Click event of the control, then in the Form_Load event, then in the Form_Resize event....
  24. Re: no controls on usercontrol with SSTab in design time

    "If you use the component compiled, that's not neccesary to do."
    Well, I did anyway. ;)

    "About the problem, do you mean that everything works fine when you run the program uncompiled in the IDE,...
  25. Re: no controls on usercontrol with SSTab in design time

    Hi Eduardo,

    "What do you mean 'it didn't help'?"
    I meant that it didn't make a difference. The controls on the "Verwijderen gegevens" and "Extra velden" tabs in the screendumps I provided, are...
  26. Replies
    2
    Views
    365

    Re: usercontrol not always correctly displayed

    Hi Eduardo,

    You've helped me out once more. This looks good now, thank you!

    Cooz
  27. Re: no controls on usercontrol with SSTab in design time

    Eduardo,

    I uncommented the line, then made the .ocx, and added the .ocx to my .vbp's by means of the Project | Components menu.
    But it didn't help.
  28. Re: no controls on usercontrol with SSTab in design time

    Eduardo, the SSTabEx sometimes seems to remove tab contents. As you can see in the below screendumps, the Verwijderen gegevens and Extra velden tab get wiped out when reactivated. The four tabs...
  29. Replies
    2
    Views
    365

    usercontrol not always correctly displayed

    Hi everyone,

    I have a "button" usercontrol which, in its Paint event, is drawn by means of the Line and and Circle commands. 9 times out of 10 the button shows up correctly; sometimes however it...
  30. Re: no controls on usercontrol with SSTab in design time

    Whoa Eduardo! Cool!
    I'll check it out right away! Thank you!
  31. Re: "not a loaded control class" although the control class in fact is loaded

    Well... I checked, and the project names my company uses do not serve any particular additional purpose, so I am allowed to change them. Problem solved!
    Thanks a lot for helping me out here.
  32. Re: no controls on usercontrol with SSTab in design time

    Hi Eduardo and Elroy,

    Thanks for your contributions!

    (Eduardo: ) "But... even then, you can only place controls into the UserControl itself, but you cannot set them into another control...
  33. Re: "not a loaded control class" although the control class in fact is loaded

    Hi Elroy,

    Thank you! That helped me a lot in understanding what's going on here.

    It looks like I'll either end up with
    A) making copies of the same control, which, with regard to maintenance,...
  34. "not a loaded control class" although the control class in fact is loaded

    Hi everyone,

    Although a certain .vbp file (ProjectB.vbp) correctly mentions a usercontrol that is to be used in the project, several forms containing the usercontrol won't load correctly. Log...
  35. Re: SSTab in UserControl: cannot make a "Tab" property?

    Of course. That's a show stopper then.
    Thanks for replying!
  36. no controls on usercontrol with SSTab in design time

    Hi everyone,

    How come you can't place controls, in design time, on a usercontrol that consists entirely of an SSTab - and how can I place controls on this usercontrol in design time? Any control...
  37. SSTab in UserControl: cannot make a "Tab" property?

    Hi everyone,

    I need to place an SSTab on a usercontrol, and pass its Tab property to a usercontrol property, like so (oTab being the SSTab):

    Public Property Get CurrentTab() As Integer
    ...
  38. Replies
    8
    Views
    984

    Re: How to transfer pictures from C# to VB6?

    ---

    Yes, WIA certainly comes in very handy here. Got this part working now - thanks for your input!

    Kind regards,
    Cooz
  39. Replies
    8
    Views
    984

    Re: How to transfer pictures from C# to VB6?

    Hi techgnome,

    'I read it as "I have an app in VB that needs some images, but it doesn't do what I need it to do, so I wrote a second one in C#, which does what I need it to do with the images. Now...
  40. Replies
    8
    Views
    984

    Re: How to transfer pictures from C# to VB6?

    "Welcome to the forums"
    Thank you!

    "Give the forum a quick search for: ArrayToPicture"
    Haven't done that - I will indeed.

    "Do know that VB's ability to load pictures to a stdPicture object is...
Results 1 to 40 of 42
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width