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.
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.
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.
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...
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...
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...
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...
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...
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...
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.
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
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?
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 ?
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.