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 wOOdy-Soft 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: *

  • Users: domt
  • Content: Threads
  • Order by date
  1. domt

    Color code changes

    Can someone please straighten me out on using color codes in VB6. My code codes some Command buttons to be white (&H0000005&), and yellow (&HFFFF).The command buttons are in graphic style. I then save the program to a text file. The text file records the codes as -2147483643 and 6555. ??? What...
  2. domt

    Writing items from a list box to a text file in C drive

    I have a list box (List3) with several items in it. I want to store them in a text file on my C drive. The following does not work. fnum = FreeFile() Open "C:\Stores.txt" For Output As #fnum For Ct1 = 0 To List3.ListCount - 1 Write #fnum, List3.List(Ct1) Next Close fnum Can anyone tell me...
  3. domt

    Recording files

    I have a list box (List3) with several items in it. I want to store them in a text file on my C drive. The following does not work. fnum = FreeFile() Open "C:\Stores.txt" For Output As #fnum For Ct1 = 0 To List3.ListCount - 1 Write #fnum, List3.List(Ct1) Next Close fnum Can anyone tell me...
  4. domt

    MSDN will not install

    Am moving fram VB6 to VB2005. After installing VB.net I tried to install MSDN. The first disk sent error message 1305 and said that file eau_kbofficekb.hxs failed to install. Assuming the file on the disc is corrupt, I checked with Microsoft but couldn't find it. Can anyone help me on this?
  5. domt

    Getting Names of Object in a Frame

    Can anyone suggest a method/procedure/code for getting a list of the Names of Objects in a frame when the user clicks on any object in that Frame? I'm working on a programs that presents several frames each containing different Objects, and the program must process those objects. Thanks for...
  6. domt

    type mismatch

    I have a series of 6 boolean values to test with an If statement (If Nt1 = True and Nt2 = True and Nt3 = True etc.) Then .... However, I get a Type Mismatch error message at that If statement. Can anyone tell me why? domt
  7. domt

    Multi Dimension Array Question

    I have a large frame, holding an array of eight smaller frames. Each of the smaller frames holds an array of ten labels. Can anyone show me a procedure for selecting a label? I assume the labels would be stored in a three dimensional array. Any help would be greatly appreciated.
  8. domt

    Getting Day of Week

    Does anyone have a VB function that returns the day of the week given a formatted date?
  9. domt

    Visual Basic Versions

    Can someone please explain why one should learn VB 2005 instead of VB.net? Are the two versions so different that they augment/ replace each other?
  10. domt

    Math expressions in Text Boxes

    Does anyone know a way to solve a math expression that a user types in a text box? For example if a user types 3*12/8, or 5*Sin(40) in a text box, Is there a method or routine that produces an answer? Any help will be appreciated.
  11. domt

    Using function Rate(nper,pmt,pv,fv,type,guess)

    In using this function, how does one specify the number of pay periods in a year? In all examples I've seen it's always assumed that the number of periods in a year is 12. domt
  12. domt

    Trouble drawing lines

    Can anyone help with this? I have a form with a small picture (Picture2) on a large picture (Picture1). I want to manually draw a series of red lines on Picture2. The lines are rubber lines and may be drawn across one another. They should also be permanent as long as the program runs, The...
  13. domt

    Line Box Trouble

    I have a PictureBox on a form called Source. The following should produce a box, right? Private Sub Source_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button <> 1 Then Exit Sub Source.DrawMode = 13 iX = X iY = Y End Sub Private Sub...
  14. domt

    Getting Info while a key is held down

    How can I have a label count up a number (perhaps with a large divisor) while and as long as a particular key is held down?
  15. domt

    Painting a portion of a picture to another picturebox

    How can one select a portion of a picture, say with a mouse click and have an arbitrary small x,y area surrounding that mouse click painted on a second picturebox? I also would like that transfered area magnified. Thanks for any help
  16. domt

    Spot Enlarge A Picture

    Does anyone have code that would duplicate what Microsoft's Paint program does in the &quot;Magnifier&quot; function? Clicking on &quot;Magnifier&quot; throws a movable rectangle on the picture and enables magnification of that portion. I have need to do that to a picture in a picture box. Any...
  17. domt

    PictueBox enlargment and scrolling

    I have a form with a large PictureBox, pct_dest, which is visible, a second PictureBox, pct_src, with Visibility = False, and a scroll bar. The scroll bar in the following code enlarges the picture in pct_dest. Although the picture in pct_src is fixed at design time in this version, I'll change...
  18. domt

    VB6 Printing

    I'm trying to print a frame and am having trouble: 1. Text in labels is rearainged by the printer. 2. The frame Backcolor is Button Face as are the Backcolor of my labels, but when printed, the backcolor of the labels are dark, which doesn't look good. 3.I can't get a Pie Chart to print. Its...
  19. domt

    Array of arrays

    Say you have an array of 2 dimensional arrays of labels, thus: Label10(0) Label10(1) Label10(2) Label10(3) Etc. Label11(0) Label11(1) Label11(2) Label11(3) Etc. Label12(0) Label12(1) Label12(2) Label12(3) Etc. Label13(0) Label13(1)...
  20. domt

    Listbox selection

    I have a Listbox (List1) with some items in it, and another, empty, Listbox (List2). I would like to add the last item of List1 to List2, and then remove that item from List1, by clicking a command button. Can anyone suggest coding to do this? Dom

Part and Inventory Search

Back
Top