Search:

Type: Posts; User: Arnoutdv

Page 1 of 13 1 2 3 4

Search: Search took 1.32 seconds.

  1. Re: Out of Memory error when changing icon

    Have you read the thread about icons causing problems when used in VB6?
  2. Re: Work with the application each time with a different comoboxvalue

    Why do you open the file again?


    ws1 = xlApp.Workbooks.Open(TextBox1.Text).Worksheets(ComboBox1.SelectedItem) ' here where the error shows


    Just use this reference you already created:

    ...
  3. Replies
    19
    Views
    390

    Re: When opening a file in Notepad

    I think he wants some like sending a file to another computer.
    Like WhatsApp in which you select a picture file and the image is transmitted to the receiver and shown on the screen

    ReadAllBytes...
  4. Re: Executing assembly language functions in VB6 using DispCallFunc.

    The code is in post #2
  5. Re: DRAW around cell a rectangle with mouse move event in msflexgrid

    I forgot that the MS(H)FlexGrid is not a container control.
    I used the vsFlexGrid for such a long time and this is a container control.
    So the Shape control can not be used, because it's a...
  6. Re: DRAW around cell a rectangle with mouse move event in msflexgrid

    You can use a shape control.
  7. Replies
    4
    Views
    176

    Re: error accessing the system registry

    Do you start VB6.exe elevated?
  8. Re: innovasys Freeware Controls

    Have you tried the links provided by Google?
    https://www.google.com/search?q=innovasys+Freeware+Controls&rlz=1C1GCEU_nlNL942NL942&oq=innovasys+Freeware+Controls
  9. Re: innovasys Freeware Controls

    Have you tried the Internet Archive?
    https://web.archive.org/web/20080925050514/http://www.innovasys.com/download/eval.aspx?productname=freeware%20activex%20controls

    /edit seems the URL directs...
  10. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    *Text instead of *Value is indeed better, much more obvious what is going on.
  11. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I tested the following:


    ' VBFlexGrid.ctl

    Private FlexSortNone, FlexSortGenericAscending, FlexSortGenericDescending, FlexSortNumericAscending, FlexSortNumericDescending,...
  12. Re: Is it possible to get an example of how to drag an image from ?

    This is your question:
    "How to drag an image from scanner to surface of model?"

    If you don't put any effort in explaining what YOU are asking then why should we put any effort in helping you?...
  13. Replies
    21
    Views
    2,895

    Re: VB6 32bits accessing Office 64bits

    At this moment we and most of our clients use Office 64.
    Normal Excel automation from within a VB6 application still works.
  14. Re: windows 10 : can i attack the batch file on cmd?

    Specify it as a commandline parameter in a shortcut
  15. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Maybe an additional event CompareValues and an additional sort method, CustomValue
  16. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    And that's because you can not just pass the 2 values to compare, but because the sorted items can also be things like the backcolor of the cell or it's custom data property?
  17. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Bubblesort is stable, but very slow, sorting method
    Mergesort is also stable and much faster.

    @Seniorchef, have you tried it compiled or only from within the IDE?

    Mergesort implementation:...
  18. Re: Is it possible to get an example of how to drag an image from ?

    I don't have a clue what you want to do :confused:
  19. Re: Is it possible to get an example of how to drag an image from ?

    You have to explain in more words what you want to achieve.
    What scanner? Which surface? Which Model?
  20. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    How many records are you talking about?

    How do you initially fill the grid?
    If it's from a query then you could add sorting to the query.
    If it's from some other dataset then you could do a sort...
  21. Replies
    19
    Views
    704

    Re: Code not reading entries !

    Hmmm, I don't think it's cool.
    I really prefer declaring my variables in a Dim statement, makes much more obvious what is going on.
  22. Replies
    2
    Views
    193

    Re: [RESOLVED] pow : why it error

    Some reading about this topic of calculating powers of negative numbers when p<1
    https://stackoverflow.com/questions/27036297/how-to-make-function-pow-support-negative-float-number

    Imaginary...
  23. Replies
    2
    Views
    193

    Re: pow : why it error

    From the help:

    This doesn't work either


    Private Sub Form_Load()
    Dim a As Double, p As Double

    ' Fails:
    Debug.Print CDbl(-0.1) ^ CDbl(0.3)
  24. Re: Rounding a 4 decimal place number to 2 decimal places

    This is not a correct approach, you keep rounding and rounding
  25. Re: How can I get the developer tools for the software?

    What developer tools do you mean?
    VB6 comes on 2 CD's which should contain everything to get you started.
  26. Re: How do I get rid of Msgbox when opening Microsoft Visual Basic 6 ???

    You can not get the same message if you disabled the AddIn from loading in the IDE.
    Because the message box clearly shows "Visual Component Manager"
  27. Re: treeview expand a particular node by code. Possible?

    Important is that a node can only be shown expanded if it's parent nodes are also expanded.
    You can't expand a node if it's parents is collapsed
  28. Thread: TwinBasic

    by Arnoutdv
    Replies
    482
    Views
    43,288

    Re: TwinBasic

    I know, if you don't specify ByVal or ByRef the default is ByRef :-)
  29. Re: treeview expand a particular node by code. Possible?

    Does Nodes(4) have any children?

    Sample using a TreeView control and a CommandButton


    Option Explicit

    Private Sub Form_Load()
    With TreeView1
    .Nodes.Clear
  30. Re: How do I get rid of Msgbox when opening Microsoft Visual Basic 6 ???

    Yes you have, you have at least the "Visual Component Manager" as an active Add-In.
    Because that's the component which gives the error message.
  31. Thread: TwinBasic

    by Arnoutdv
    Replies
    482
    Views
    43,288

    Re: TwinBasic

    Hmmm.
    I often use the following construct in VB6


    Public Function myFunction(lInput As Long, sInput As String, ByRef lReturnValue1 As Long, ByRef sReturnValue2 As String) As Boolean
    ' Bla bla...
  32. Re: How do I get rid of Msgbox when opening Microsoft Visual Basic 6 ???

    Are you using VB6 SP6?
    Which version of Windows?

    First start with disabling the addins you use, to see which addin may cause the problem.
    Because my VB6 version hardly ever shows this message.
  33. Thread: TwinBasic

    by Arnoutdv
    Replies
    482
    Views
    43,288

    Re: TwinBasic

    What an odd syntax, can lead to a lot of confusion
  34. Re: How to prevent the taskbar from changing color?

    Only if you do some kind of skinning or create your own caption bar.
  35. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    It seems you can't see attachments from other users.
    Some kind of forum bug I assume.
  36. Re: How to prevent the taskbar from changing color?

    It's called the forms caption bar.
    It has to be something with the W10 color scheme you are using.
  37. Re: How to prevent the taskbar from changing color?

    You need to explain what you mean.
    What version of Windows are you using?

    On my W10 system the caption bar is white, both with the focus and without the focus.
  38. Replies
    11
    Views
    399

    Re: BrowseForFolder

    But is XP the main OS on your computer for daily use?
    VB6 can also be installed on W7, W8, W10

    You can also use this:...
  39. Replies
    11
    Views
    399

    Re: BrowseForFolder

    Are you using XP for developing?
  40. Re: [RESOLVED] Why can't Enum of VB6 be a string?

    I almost thought this thread would go without insults .. :rolleyes:
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width