Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. chriswallis

    Paint event problem

    I have solved this myself. The trick is to pass in the Graphics object to the DrawLine function from the paint event. ie: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load DrawLine(picMain.CreateGraphics) End Sub Private...
  2. chriswallis

    Paint event problem

    I am struggling to understand when the paint event should fire, since I have created a very simply app to simply draw a line on a picturebox whenever the paint event fires. Unfortunately the line only appears when I move another window over the picturebox, not when the form is restored from...
  3. chriswallis

    Build Hierarchy with XSLT

    Can anyone tell me how to create the Destination document from the Source document listed below with XSLT? I have tried all kinds of combinations of variables and multi passes throught he document but cannot get it to work. Essentially I am trying to build a hierarchical document from a...
  4. chriswallis

    How do I get the dimensions of a string?

    http://msdn.microsoft.com
  5. chriswallis

    How do I get the dimensions of a string?

    Look up GetTextExtentPoint32 in MSDN...
  6. chriswallis

    File count routine in VB6

    The function currently returns the folder count since it uses the 'subfolders.count' property. To get the file count as well you would need to also use the oFolder.Files.Count property and pass in a long value ByRef into the function to return the FileCount. Ideally you should rewrite the...
  7. chriswallis

    File count routine in VB6

    This code will iterate through all folders from a root and return the number of subfolders. It would be easy to modify it to return the file count as well. For large directories it can take a while, but at least the code is compact and easy to maintain. Create a class called clsDirectory and...
  8. chriswallis

    run time error 13

    You you referencing the same ADO library in each case?
  9. chriswallis

    I don't understand this error message

    I just wonder if this is due to the other server being set up differently, such as a different sort order or charactor set. If you backup a database you can only restore it if both the source and destination installations use exactly the same parameters.

Part and Inventory Search

Back
Top