Search:

Type: Posts; User: gilman

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Thread: Unload classes

    by gilman
    Replies
    16
    Views
    721

    Re: Unload classes

    Perhaps the problem is that there is a circular reference.
    You can see the behavior with this little sample:
    In the main form:

    Option Explicit

    Private Sub Form_Load()

    Dim oParent As...
  2. Replies
    9
    Views
    478

    Re: ActiveReports 2.0 Pro COM Free ?

    If you want a free report tool, you can try Report Manager
    https://reportman.sourceforge.io/indexes.html
  3. Replies
    7
    Views
    381

    Re: Problem when maximize form

    If you use the class clsAnchor, included in the file atached in my post, the only thing that you have to do is set the Tag property of the button to RB, copy the code of resize event of the form, and...
  4. Replies
    7
    Views
    381

    Re: Problem when maximize form

    Delete post
  5. Replies
    7
    Views
    381

    Re: Problem when maximize form

    If you don't use the tag property of your controls,or you can change the code to use only character 5 onwards, try the atached sample, you only have to put the correct tag property of your control,...
  6. Replies
    7
    Views
    440

    Re: Instead code smart...

    MZ-Tools is not free, was free, the last free version was 3.0, the last version is 8.0 and is not free, the 3.0 is not avalilable in the MZ-Tools web.
  7. Replies
    3
    Views
    278

    Re: improve this code and also add more if can

    Also you can use de API functin SendMessage with LB_FINDSTRINGEXACT, with this you can avoud the second loop
  8. Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    What program are using?
    With all that I found, the final code was awful
  9. Replies
    2
    Views
    297

    Re: VB6 Package & Deployment Wizard

    To do that, I think, you have to modify the Setup program
  10. Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    I do not understand Russian, but it sounds to me that those results could only be obtained if the program was compiled to pCode, in the case of compiling to native code, the results that I have...
  11. Replies
    8
    Views
    313

    Re: Problem on "Recordset.movenext"

    I think, that when you do recordset.delete, the current record is the next to the deleted record, so you don't need to do recordset.movenext
    Try it:

    Set db =...
  12. Re: [RESOLVED] How to programmatically kill user process from VB6?

    try to modify this sample:
    173975
    The Refresh button fill the listbox with the processes machin with mask in the textbox, and the button Kill Selected Process kill the process selected in the list...
  13. Re: [RESOLVED] if has free addin or program like VBRecent ?

    Try this:
    http://www.vbforums.com/showthread.php?252488-VB-Delete-Recent-Projects&p=2651368#post2651368
  14. Thread: Have an problem

    by gilman
    Replies
    7
    Views
    487

    Re: Have an problem

    I prefer to use the DateSerial function:

    dd = DateSerial(2019, 12, 3)

    yes the December three, that I think algea wants an not and not March twelve
  15. Replies
    27
    Views
    1,047

    Re: Why are the variables not downloaded?

    That happens because you are using the same instance of Form 2, so the variables conserv their values, try:

    Private Sub Form_Click()
    Dim F As Form2
    Me.Caption = Forms.Count
    Set F =...
  16. Re: Programmatically Print In Another Font Using VB 6/BASIC

    Try using the Printer object:

    Printer.Font = "Comic Sans MS"
    Printer.Print "your text"
    Printer.EndDoc
  17. Re: VB6 IDE Menu ...exe create is disabled

    Try:
    Right buton on the toolbar
    Select Customize
    Click Reset
  18. Re: I want to share this with you all: FIND LOCATION LINE NUMBER WHERE APP CRASHES

    You can put it manually, or you can find a addin than do it for you, like MZTOOLS, you have to pay, or http://www.vbforums.com/showthread.php?806227-VBIDEUtils-now-open-sources, it is for free
  19. Replies
    15
    Views
    1,173

    Re: Run time Error 35603 Invalid Key

    You have to delete the ListItem, after delete de record in the BD, if you do it before, when you execute

    CM.Parameters.Append CM.CreateParameter("@Name", adVarChar, adParamInput, 50,...
  20. Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    I have download the project but it has fail to load in the IDE because the file mIcon.bas isn't in the zip
  21. Replies
    4
    Views
    1,202

    Re: crystl32.ocx problem

    Look for the crystl32.dep file, it should be in the same directory as the ocx, there you will find that you must install part of the ocx itself.
  22. Re: Timer Problem (where to start and stop)

    The problem is that the timer fires after the Command2_Click procedure finishes or if a DoEvents sentence occurs.
    To do that you want, I think, you should use Multithreading
  23. Re: Trying to create a completely unqieu 256 textbox array

    You can use this Sub

    Public Sub Shuffle(ByRef x() As Long, Optional ByVal StartFrom As Long = 0, Optional Seed As Variant)
    Dim colTemp As Collection
    Set colTemp = New Collection
    Dim...
  24. Replies
    7
    Views
    555

    Re: fill TREEVIEW with ado...

    If you are using an Access Database, you can sort the records using Order by
    Now the code to load the tree


    Private Sub Form_Load()

    Dim BigAgency As String
    Dim Agency As String...
  25. Re: WinForm: Disable Clipboard Paste if it Contains Other than Number

    The simpliest way to see if a string is a number is using the function IsNumeric
  26. Replies
    3
    Views
    777

    Re: Open Powerpoint File and Export to PDF

    Logically, if there is not Window, there is not ActivePresentation, so you must indicate the Presentation you want save, how you are creating the PowerPoint application there is only one...
  27. Replies
    10
    Views
    880

    Re: Trace the calls origin.

    But it only Works in the IDE, in the IDE you can do what Eduardo- says
  28. Replies
    10
    Views
    880

    Re: Trace the calls origin.

    I don't know Francesco Balena's trick, so I dont know if is the same, but if the problem is not in the IDE you can try it:

    Option Explicit

    Private StackTrace As New Collection

    Private Sub...
  29. Replies
    15
    Views
    833

    Re: Using with object .SomeMethod

    I try with this little project and the version with WITH seems to be a little faster than the version without
    170439
  30. Replies
    8
    Views
    696

    Re: Database Security

    I think that the problem is that, with a code like this:

    Option Explicit

    Private Const Password = "MiPassword"

    Private Sub Form_Load()
    MsgBox "The password is " & Password
    End Sub
  31. Replies
    8
    Views
    696

    Re: Database Security

    Put the DB password encrypted
  32. Replies
    10
    Views
    736

    Re: Trying to figure out ActiveX.dll

    No, the standard dlls do not need to be registered, the addin I linked in the other post promises to create standard dlls, I don't know if it works fine, but if works fine you don't need register the...
  33. Replies
    10
    Views
    736

    Re: Trying to figure out ActiveX.dll

    No, If you create and activeX dll, you must create an instance of one class to call her methods.
  34. Replies
    10
    Views
    736

    Re: Trying to figure out ActiveX.dll

    VB6 can't make standard dlls, try this link http://vb.mvps.org/tools/vbAdvance/, is an addin that says can do
  35. Replies
    17
    Views
    768

    Re: Mathround function

    I think you are not answering the original question, the problem with the bankers rounding is solved, jbrandle1 has his own solution, too complicated but is a solution, the question, I think, is...
  36. Replies
    17
    Views
    768

    Re: Mathround function

    Using the Elroy solution for the 0.5 rounding problem, try this:

    Private Declare Function GetMem8 Lib "msvbvm60" (ByRef Source As Any, ByRef Dest As Any) As Long ' Always ignore the returned...
  37. Re: [RESOLVED] (String search algorithm) Skip the contents of the quotes to find a su

    This code has a problem, and I don't konw if has a solution, you can try

    Debug.Print MyInstr(1, "Mark O'Brian, Tim O'Sullivan", "Tim")

    Returns 0 but I think the correct answer is 15
  38. Re: Dynamically added usercontrol, how to remove added control from Form?

    I try

    Option Explicit

    Dim WithEvents My_UserControl As VBControlExtender 'Form level declaration
    'Form subroutines
    Sub AddControl()
    Set My_UserControl =...
  39. Re: Dynamically added usercontrol, how to remove added control from Form?

    if you go through the collection through a loop for next you can not modify the collection in the loop.
    Try

    Sub RemoveControl()
    MyForm.Controls.Remove "My_UserControl"
    End Sub
  40. Re: vb6 - qprinter (qbd software) - where i can find/download lastest version??

    1)I think there's no more versions, but you can try to mail the author.
    2)The project is an ActiveX dll, you can compile it and and add a reference in your program, you, also can add al the archives...
Results 1 to 40 of 79
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width