dcsimg

Search:

Type: Posts; User: gilman

Page 1 of 2 1 2

Search: Search took 0.08 seconds.

  1. Re: VB6 IDE Menu ...exe create is disabled

    Try:
    Right buton on the toolbar
    Select Customize
    Click Reset
  2. 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
  3. Replies
    15
    Views
    620

    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,...
  4. 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
  5. Replies
    4
    Views
    337

    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.
  6. 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
  7. 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...
  8. Replies
    7
    Views
    500

    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...
  9. 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
  10. Replies
    3
    Views
    461

    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...
  11. Replies
    10
    Views
    763

    Re: Trace the calls origin.

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

    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...
  13. Replies
    15
    Views
    756

    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
  14. Replies
    8
    Views
    616

    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
  15. Replies
    8
    Views
    616

    Re: Database Security

    Put the DB password encrypted
  16. Replies
    10
    Views
    629

    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...
  17. Replies
    10
    Views
    629

    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.
  18. Replies
    10
    Views
    629

    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
  19. Replies
    17
    Views
    679

    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...
  20. Replies
    17
    Views
    679

    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...
  21. 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
  22. 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 =...
  23. 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
  24. 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...
  25. Replies
    3
    Views
    362

    Re: Original Size

    The second method works fine, thanks
  26. Replies
    3
    Views
    362

    [RESOLVED] Original Size

    I would like to know what is the original size of a maximized window, that is, the size it will have when we restore it.
    Thank you
  27. Re: VBA EXCEL: How to sort an ArrayList that contains a class object?

    I try this code

    Private Sub Macro()
    Dim x As Object
    Set x = CreateObject("System.Collections.ArrayList")
    x.Add "c"
    x.Add "b"
    x.Add "a"
    Dim r As Variant
    x.Sort
  28. Replies
    5
    Views
    402

    Re: How to Calculate total Time in listview?

    Declare a new Date variable TotalTime
    Now you can add the intervals in TotalTime

    ListView1.ListItems(ListView1.ListItems.Count).SubItems(7) = Format(((newLunchOut - newTimeIn) + (newTimeOut -...
  29. Re: Code to convert BCD to Decimal and vice versa

    I think that your problem is:
    1.- you have a decimal value in the range 0 to 99999999 and you want to code to BCD in a long type variable.
    2.- you have a BCD coded value in a long type variable and...
  30. Replies
    44
    Views
    14,274

    Re: [vb6]Common Dialog Class (Yet Another One)

    I have the same issue, but only in IDE, when I compile and run the exe program runs OK and the major version in exe version is 6.
    I'm used Win7 64b
  31. Replies
    20
    Views
    985

    Re: Incorrect Interpretation of file names.

    I have try this and the result is te same


    I don't know what is happend, but fafalone and eduardo- says that see the correct file name and, you and I, I supose that you too, are using Spanish, so...
  32. Replies
    20
    Views
    985

    Re: Incorrect Interpretation of file names.

    I don't think that the problem is with the library, I have used the microsft scripting library to see the file name, and the name was the same.
    Too I have try using a ListBoxW, and the result is the...
  33. Re: How to disallow non-numeric letters in WinForms TextBox?

    You can use this code for the textbox

    Private Sub txtNumeric_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtNumeric.KeyDown
    Select Case...
  34. Replies
    7
    Views
    1,265

    Re: MenuExtended (subclassing)

    Yes, the file is too large to attach here as a zip file, but if you change the extension from zip to docx, or add extension docx to the file, see the link (CommonControls (Replacement of the MS...
  35. Replies
    7
    Views
    1,265

    Re: MenuExtended (subclassing)

    I Want to report a bug:
    In the Extended Mode the runtime added separator gets the caption of the first SubMenu element:
    166185
    I'm using Windows 7
  36. Replies
    7
    Views
    1,265

    Re: MenuExtended (subclassing)

    The link is wrong.
    If you want to attach the project here, you can change the extension to docx
  37. Replies
    4
    Views
    397

    Re: Running VB Project with WebBrowser control

    See:
    Visual Basic y el error ieframe.dll/1
    It is written in Spanish
  38. Re: Unable to set the version compatible component

    The post was duplicated
  39. Re: Unable to set the version compatible component

    The first error occurs because the ocx, with which it has to be compatible, is not in the folder that is indicated in the properties of the project.
    Locate it and change the property to point to the...
  40. Replies
    2
    Views
    287

    Re: kill application (process) in Vb6

    Te without te Unload Me, the form is unloading
Results 1 to 40 of 63
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width