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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by FoxProProgrammer

  1. FoxProProgrammer

    Need DOS version of Colorado Backup Software

    Hi, We have an old computer (~1989) that is used to control an automatic test station. The hard drive crashed and we are trying to restore everything from a backup on magnetic tapes. The tapes are approximately 3 1/4" x 2 3/8" in size. The tape backup drive in the computer is labeled 250MB...
  2. FoxProProgrammer

    Convert char to hex

    Thank you, xwb. That was the problem. dz
  3. FoxProProgrammer

    Convert char to hex

    I solved my problem but still don't understand it. stimByte[n][1] has a value of FFFFFFFB instead of 000000FB. When it is added to 00001300, the result is 12FB. I don't understand why the compiler represents FB as FFFFFFFB, but I masked the upper bits with 000000FF. I'll keep researching...
  4. FoxProProgrammer

    Convert char to hex

    Need to correct a typo. val[0] += stimByte[0][1] = 12FB dz
  5. FoxProProgrammer

    Convert char to hex

    I have an array that contains a char that represents a hex number. The array might look like the following: stimByte[0][0] = "13" stimByte[0][1] = "FB" stimByte[1][0] = "FC" stimByte[1][1] = "53" The hex data is: 0x13FB 0xFC53 I need to convert the char array to hex data. I tried the...
  6. FoxProProgrammer

    Scoping question

    Hi, I wrote two DLLs. One is called by a single application and the other is called by multiple DLLs. For simplicity, here's how they are named. prg.exe - Application a.dll - DLL that I wrote, called by prg.exe b.dll - DLL that I wrote, called by prg.exe and a.dll b.dll contains five cpp...
  7. FoxProProgrammer

    Set the Width of the Form

    Thank you so much, Remou. That did the job. I made the Border Style Dialog and deleted the code that hid the controls. That code wasn't needed because the user can't get to the controls when the window is resized. I have to wonder what Form.Width does - it seems like it should have worked as...
  8. FoxProProgrammer

    Set the Width of the Form

    My form has controls on the left and right side. When a specific option button is selected, the controls on the right side are hidden and I want to resize the window to eliminate the empty space. I tried Form.WindowWidth and Form.Width but neither work. The former returns an error ...can't...
  9. FoxProProgrammer

    Date and Time Picker not in correct position on Form

    Hey, Remou...thanks for the alternate control. I saved it for future use, but it doesn't suit my needs for the form that I'm working on. The form is too small compared to the size of the control that pops up. I narrowed the problem down to when the Date Picker is enabled. That's when it...
  10. FoxProProgrammer

    I want to write an estimationg program in Access 2007

    Hi, You will have to write Visual Basic code to do this. I don't see any way around it. The formulas that you spoke of would have to be included in the program. If you don't have any programming experience at all, you might want to take a continuing education course or buy a book and learn...
  11. FoxProProgrammer

    Date and Time Picker not in correct position on Form

    Hi, My form has a Microsoft Date and Time Picker control on it. The control is initially disabled and is enabled when a specific option button is selected. As soon as the option button is selected that enables the Date Picker, the date appears in the upper left corner of the form instead of...
  12. FoxProProgrammer

    Change name of Control in VBA

    Thank you, Remou. It worked. Dim itm As Control Dim frm As Form DoCmd.OpenForm "frm_selectPins", acDesign Set frm = Forms!frm_selectPins For Each itm In frm.Controls If itm.ControlType = acOptionButton Then oldName = itm.Name newName = Left(oldName, 2) & "p" &...
  13. FoxProProgrammer

    Change name of Control in VBA

    I want to rename the control. The label is hidden and not used. This is a one time change because I decided to rename a bunch of controls on the form to something more descriptive, and I don't want to do each one manually unless that's the only way. I want to change the third character in...
  14. FoxProProgrammer

    Change name of Control in VBA

    Hi, Is there a way to change the name of a Control in a VBA program? I have the following: Dim itm As Control Dim oldName, newName as String For Each itm In Form.Controls If itm.ControlType = acOptionButton Then oldName = itm.Name newName = Left(oldName, 2) & "p" &...
  15. FoxProProgrammer

    Change RecordSource of Report when output is Excel

    I'm not really following either of your examples. Here's some of the code in my report form. The problem occurs with report3. I need to change the RecordSource depending on the value of a checkbox (chk_all). I pass the value of mode to the report and evaluate it in the Open event...then set...

Part and Inventory Search

Back
Top