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

  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.

    Thanks Chris. you were right. Mt code was convoluted enough that I missed it.
  3. 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.
  4. BadCook

    Making a true arrainged list.

    Thanks guys for your help.
  5. 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.
  6. 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...
  7. 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...
  8. BadCook

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

    I believe the best way to handle this is to descrbes what the program does and requires. When the program opens it immediatly imports the complete data from a file on the hard drive to a list box. So far I've been getting around the fact that in a new installation the file doesn't exist by...
  9. BadCook

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

    Thank you again for your interest. I bought my computer, an HP Laptop, with the virtual XP OS allready Installed. I don't know what the version is. I was told that VB 6 works better on XP. If as you say VB 6 works OK on Windows 7, I certanly will try it. I have consulted with my Time Warner...
  10. BadCook

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

    Here is the Code to my test file. I had to type it manually Since my Virtual OS does not interact with Windows 7, so excuse any typos. With This test program I type in multipl stuff from Text.Text, sending each entry to to List1, save List1 to "C\TextFile.txt", clear List1, then open...
  11. BadCook

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

    gnmastros Thanks for your message. The scripting changes worked. Using "Append" in the file input sub opened a txt file on my C drive. In the output file however using "Output" the files in the txt files are there but are simply skipped. If I use "Append" the saved files are deleted. What my...
  12. BadCook

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

    I'm sorry that my unfamiliarity with these,to me,new areas of VB6 coding are causing confusion. I appreciate your patience very much. What do you mean by "ticked" ? Where should I put "Microsoft Scripting Runtime" and how do I "tick" it.
  13. BadCook

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

    I did just that and the only result was that it disapeared from the immediate window. No error message. Is there a further step ?
  14. BadCook

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

    In my Form_load Sub I typed: Dim Fsys as New Filesystemobject set Fsys = Createobject("Scripting.filesystemobject") In the immediate window I typed the same: set Fsys = Createobject("Scripting.filesystemobject") pressing Ctrl+G, nothing happens
  15. BadCook

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

    Yes, still the same error.
  16. BadCook

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

    gnmastros Thanks for responding I did as you said, same error message. Any other suggestions?
  17. 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?
  18. BadCook

    I want to print (to a printer) the

    Adding "Prnter.End Document" causes a "Vriable Not Defind" error, highling Document
  19. 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 ?
  20. BadCook

    Calling for a input file which doesn't exist.

    Hey guys I found a solution that fits my needs. Instead of trying to open an input file that doesn't exist, I open an append file. It opens a file that the progtam uses just fine. Thanks Andy, Swi, and Strongm for your interest.

Part and Inventory Search

Back
Top