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 strongm 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: BadCook
  • Content: Threads
  • Order by date
  1. BadCook

    FAQ 5185, finding holidays

    FAQ 5185, finding holidays I have loaded this file as a new VB6 program. It loads ok, but what must one do to make it run? Any help will be appreciated.
  2. BadCook

    Can't Control Visibility of frames.

    I have a program showing a number of frames. On Off buttons control visibility of the frames, and work perfectly. Now when I add other frames, I can't control the new frames visibilty. What can be causing this ? I would appreciate some help.
  3. BadCook

    Making a true arrainged list.

    I want a sorted list contaning year and month entries such as "2013 1", "2013 11", "2013 12", "2013 2". The entries shown will arrainge as shown but is there a trick way to show them in true order or do I have to program them to get them time ordered? Thanks for any help.
  4. BadCook

    Highliting a value in a listbox withou clicking on it.

    I have a listbox on a form for the user to select a value, and of course the picked value remains hyghlited. But when the program starts it starts with a default value of the listbox. Since the listbox value denoting the default value is not highlited, question: how can the default value be...
  5. BadCook

    A change has occurred im my VB6 set

    A change has occurred im my VB6 settup. When I write a new program, the program runs to a debug point, with the Project and Form buttons on the bottom line, allowing switching back and forth. Even the simplest form with no controls does this. A "maximized" window is not maximized. Can anyone...
  6. BadCook

    Opening an Input file that doesn't exist (cont)

    Just got back to this problem. I think my VB6 program lacks something. The following,(copied from a VB6 reference book) gives an error message. Dim Fsys as New FileSystemObject Error Msg: "User defined type not defined" Can anyone suggest a solution?
  7. BadCook

    I want to print (to a printer) the

    I want to print (to a printer) the contents of a RichTextBox. The follwing code recievs the command and prints, but only when I shut the program down ??? Private Sub Command5_click() Printer.Print RichTextBox1(38).text End Sub How can I get it to print immediately ?
  8. BadCook

    Calling for a input file which doesn't exist.

    I have written a program that calls for a non existing (as yet) input text file as soon as it opens. later on it will save data to that sane file. But on opening i causes an error. How can it establish the file on opening? This would happen only once the first time the program is used. I...
  9. BadCook

    The Block Comment control is lost o

    The Block Comment control is lost on all my VB6 projects. I can't find it or know how to restore it. Can anyone help?
  10. BadCook

    form1 keeps showing up when I start a program

    When I start a program Form1 keeps showing up allowing switching back and forth between code and graphic screns. Normaly this means that an error acured. However no error is visable that I can see. What's happening?
  11. BadCook

    make exe

    this feature disapeared, how do I get back
  12. BadCook

    Prevent recording of a Richtextbox texti if the Richtextbox is blank. (has no text)

    I have a group of Richtextboxs. Some have text, others don't. My code is as follows: For D = 1 to 15 If Richtextbox(D).text <> "" Then Ent = Ent & D & | & Richtextbox(D).Text & | End if Next What I want is a pipe delimited file I can record and then Split to get the information. But the...
  13. BadCook

    Debugging Question

    In debugging a program the icon that lets you switch between the code and the graphic screens apears some times but not allways. When does it supposed to come on and can it be made to appear allways ?
  14. BadCook

    Listbox problem

    I have a series of labels each holding data that I would like to store in a List by the user hitting a "Save" button after highlighting a label. How do I prevent the user from repeatingly entering the same label information by hitting "Save" multiple times. I would like the label to retain the...
  15. BadCook

    Get First of week using Weekday() procedure.

    I have been trying to get the number of the first day of the month using the Weekday() procedure. I must be doing something wrong. Ccan anyone please show me an example?
  16. BadCook

    How to import a Photo Folder into VB6

    I have a Photo Folder in my C drive called Ichthus What command can I put in my code that imediatly opens that folder either when the VB6 program starts or when a command button is clicked? The VB6 program is also in the C drive, so is a App.Path statement required? Thanks for any help.
  17. BadCook

    need Code for countdown clock

    I'd like to put a countdown clock showing minuits and seconds on a form which would be activated by a command button. It would start say with 10 minuits and count down to zero when it would activate a msg box. Any help would be appreciated.
  18. BadCook

    Split Screen while debugging

    When debuging, I can have a screen showing both the code and graphic sections simultaneously. But when I have a break point in the code and click on a control the code screen dispapears. I can bring it back and step through from the break point but the graphic screen disapears. Is there a way to...
  19. BadCook

    Array of controls in VB.net

    If I have a number of labels that will be used as controls, how do I set them as an array in VB.net(label1(0),Label1(2), etc)? This is easily done in VB6. Clicking on a label then can be used by reading it's index. I'd appreciate some coding as an example. Thanks for any help.
  20. BadCook

    Array of controls in VB.net

    If I have a number of labels that will be used as controls, how do I set them as an array in VB.net(label1(0),Label1(2), etc)? This is easily done in VB6. Clicking on a label then can be used by reading it's index. I'd appreciate some coding as an example. Thanks for any help.

Part and Inventory Search

Back
Top