Yes, let the main container (JFrame in this case) be the traffic cop. It gets and routes all the actions to the appropriate place. If you don't want to ref the JFrame in the panels, the Jframe can be made the ActionListener (which gets messy when lots of buttons are involved), or the JFrame...
Make an Attendee Class. The class can hold name, number, etc. and available time. Give the Attendee class a method like
public boolean isAvailable(Date meetingDate){
...
}
Keep the Attendee Object in a Collection (Like ArrayList) and go thru that list calling each ones isAvailable method...
Our Windows Sys Engineering department installed Access 97 on several production machines running Windows Server 2003. The wizards in Access are available to any admin level user, but for non admins, Access states that the Wizard is not installed.
Any one know if this an OS or Access problem...
I think the confusion is that a Win98 OS cannot access NTFS directly. If you were to take a hard drive formatted with NTFS, and install it (physically) in a box booting to Win98, the drive would not be readable. Over a network connection, however, the machine the drive is on is doing the...
The following is all in Access 97:
I have a library of functions set up in an MDA file. The MDA is located on a network share that is accessible by several machines. I changed one variable type in a function in the MDA from Integer to Long, due to an overflow error that was occuring. I have...
I have an XP pro machine on a small network with 2 NT 4.0 workstation computers. I have a shared drive on each NT machine which I map on the XP machine. The problem is everytime I logoff, the XP machine requires the password for the mapped drive access to be re-entered. I am connecting to the...
After putting text box, check box, etc. field objects into a fillable PDF, I need to add Tags for these to make them function properly on accessability equipment. I can manually go into the Window->Fields menu option, and then to the Tags tab of the dialog that opens. From here I can manually...
I use the following in it's own module (I call it modDelay). To use this you need to do a few things:
1) Call the sub SetTimerFreq() at the start of your program. This reads the clock frequency of the computer that is running the program. You only need to run this once during the program...
You could use something similar to the following to step through each cell in the grid and send the Text of that cell to the printer object. When actually used, I put in additional code to handle page count (based on total rows in flexgrid) and printing page headers/footer, etc.
With...
I do this exact same thing, except when I want input from the keyboard, I call a function. This code for this function displays the keyboard form, and waits in a loop until the entry is accepted (enter button on keyboard) or cancelled (ESC or Cancel button on keyboard). The text that is being...
An easy way to do what BlackburnKL is suggesting is to place all of the controls on tab 3 on a frame. Then when you want to hide or show these controls, just change the frames visible property value. All controls that are contained on a frame are only visible if the frame itself is visible...
If you make modifications to your project and save them, but do not recompile, the original DLL is fine. The original DLL only changes if you recompile the source code.
(I think this is what you are asking)
You could have a function open the file and step through each line until the end of the file and return the number of lines found. I tried the following function on a 14000 line file and it returned the count almost instantly.
Public Function CountFileLines(strFileName) As Long
Dim...
If you create an instance of the dll function, and then destroy it in your main program, any values being used in that instance are also destroyed. Otherwise the global should be good until the object is destroyed.
If you set the AllowUserResizing property equal to flexResizeNone (0), then the the user can't resize the grid cells. Other than that, the only way I could prevent this from happening was to check the column width regularly and set it back to 0 if it was changed. I couldn't find any event that...
Use the following function (I place it in a global subs module) to return a specific value from a comma separated string. Just pass the string of values and the number of the item you wish to return. If you pass an index that does not correspond to a position in the string, a blank string is...
I am using Crystal Reports for the first "real" time. I am using the version that came with Visual Studio 6 (Help/About shows it as 4.6.1) I can design and show the report just fine through VB6 as long as I check the save data with report option on the file menu. If I don't check...
It may depend on the actual control you embed, but I have some custom controls that I made utilizing two other controls from separate third party suppliers. I have to install and register both of the other controls in order to use my new custom control.
The following determines which side is bigger every time the control is re-sized. This simple example just changes a labels caption depending on the height and width, but you could do anything you want inside the IF clauses. If you really want to do this only the first time the control is...
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.