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 Chris Miller 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. Jhtexas

    Domain Selection

    Thanks for the links I'll check them out. Jim
  2. Jhtexas

    Domain Selection

    Following the instructions and guidance from the threads above I was able to join the domain but I’m not able to change the computer name. I receive an error message that states it was able to join the domain but it used the old computer name. Any suggestions for getting it to recognize a...
  3. Jhtexas

    Domain Selection

    Thanks for the help; I think everything is working now. Jim
  4. Jhtexas

    Domain Selection

    Can you give me some input on how to move it to the new workgroup?
  5. Jhtexas

    Domain Selection

    The computer is no longer attached to the old network and is pluggged into the new network. So it must be getting it somewhere from the harddrive right?
  6. Jhtexas

    Domain Selection

    At the login screen I get choices for the Domain to select. The problem is the domain I want is not a selection and it won’t let me type it in. Where is it getting these options from and how do I change it or let it revert back to me typing it in? Thanks, Jim
  7. Jhtexas

    Execute Sub when Save is Selected

    Gerry, Thanks for your explanations on how to use the word commands as Subs. I also got a big kick out of your story on being a programming prankster. I can only imagine the look on his face. You’re giving me ideas… Thanks again for the feedback, JH
  8. Jhtexas

    Execute Sub when Save is Selected

    Yes, I was doing the F1 over the keyword. Thanks for the pointer. I'll give it a try. JH
  9. Jhtexas

    Execute Sub when Save is Selected

    I’ve tried the suggestions and they are also very good alternatives. Making the file read only definitely reduces any chances of the file being altered. One of the good code suggestions above used the FileSaveAs and FileSave sub routines and captured the File Save As and File Save events...
  10. Jhtexas

    Execute Sub when Save is Selected

    I don't have any control over the program that writes the text files, so I can't add write protection from that side. That's why I took the approach of having Word open the text files to protect the original files. Thanks for your help, Jim
  11. Jhtexas

    Execute Sub when Save is Selected

    Gerry, The file is a native text file that is created and written to by an inspection program. The operator opens the text file and examines and prints the document. It is never a Word document and I don’t believe Word can store any protection information in a Text file. Thanks, JH
  12. Jhtexas

    Execute Sub when Save is Selected

    My intention is to protect the original file from being altered in anyway. I’m not trying to protect the data from being copied or printed. Thanks, JH
  13. Jhtexas

    Execute Sub when Save is Selected

    Gerry, I’ve incorporated your code and added the FileSave and added the code to not prompt when closing the file and I believe this should keep them form saving over the original file. Your example was much easier than the route I was going. Thanks for you help, Jim Sub FileSaveAs() If...
  14. Jhtexas

    Execute Sub when Save is Selected

    Gerry, I don't want them to be able to save the file in anyway when they open any text file with a .PRN extension. I'm not trying to confuse the issue but I did change the file extension from TXT to PRN. The PRN files are text files. Thanks, Jim
  15. Jhtexas

    Execute Sub when Save is Selected

    The code below seems to work but since I'm a novice I wouldn't mind any suggestions. Thanks, JH Module: Private Sub AutoOpen() Call Register_Event_Handler End Sub Module: Dim X As New Class1 Public Sub Register_Event_Handler() Set X.App = Word.Application End Sub CLASS MODULE: Private...
  16. Jhtexas

    Execute Sub when Save is Selected

    I also tried it witht this format and had no success: Application.DisplayAlerts = wdAlertsNone
  17. Jhtexas

    Execute Sub when Save is Selected

    PHV, I added it to the code but the two windows still appear after the MsgBox. So it diplays the MsgBox and then the Format warning dialog and then the MsgBox again and then the SaveAs dialog box. If you have any other ideas I'll give it a try. Thanks for your help, Jim
  18. Jhtexas

    Execute Sub when Save is Selected

    Below is the code I have so far. Currently I’m having two issues: One is that the Register Event Handler is not Executed automatically when Word opens. The other is Word provides a dialog box that tells you that you may loose the format since it is a txt file and then it provides another dialog...
  19. Jhtexas

    Close Word WithOut Prompt

    No problem, thanks for getting me on the right track. Take care, Jim
  20. Jhtexas

    Execute Sub when Save is Selected

    I want to be able to execute a Sub whenever the user selects the “Save Icon” or tries to do a “File-Save” command. The end result is to keep a user from saving the active document that has an extension other than .doc. Is there a way to tie this in? Thanks, Jim

Part and Inventory Search

Back
Top