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. djsiders

    Accessing methods in different classes

    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...
  2. djsiders

    How do I check for duplicates in an ArrayList?

    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...
  3. djsiders

    Wizards available only to Admins on 2003 server machine

    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...
  4. djsiders

    Questions about NTFS

    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...
  5. djsiders

    Broken Link To Shared MDA

    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...
  6. djsiders

    Keeping mapped drive without re-entering password

    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...
  7. djsiders

    Automating field "Tags"

    Sorry, I messed up and didn't put a good subject on my last post. Please see thread223-453316 thanks
  8. djsiders

    After putting text box, check box,

    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...
  9. djsiders

    Delay

    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...
  10. djsiders

    Printing from a msflexgrid

    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...
  11. djsiders

    On-screen keyboard

    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...
  12. djsiders

    SStab click event and tab activate

    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...
  13. djsiders

    Removing Properties/Methods/Procedures-General Questions

    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)
  14. djsiders

    Number of LINES in a file

    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...
  15. djsiders

    Variable Life Time in DLL

    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.
  16. djsiders

    Hiding Columns in MSFlexGrid

    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...
  17. djsiders

    InString

    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...
  18. djsiders

    .PrintReport problem in old CR

    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...
  19. djsiders

    Embedding ActiveX Controls

    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.
  20. djsiders

    I don't know where to start this one

    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...

Part and Inventory Search

Back
Top