You are here: Tutorials > Streaming Files > Streaming Files Tutorial > Task: Insert a streaming file in Word 2003
GEOVIA Surpac

Inserting, viewing, and saving a streaming file in Word

Be aware of the following restrictions when using streaming files in Word:

  • Streaming files work with 32-bit Microsoft Word, but not 64-bit Microsoft Word. This is because the streaming files control is 32-bit.
  • You cannot embed a streaming file in Word. Therefore, if you want to open the Word document on another computer you must also copy the .hsf to that computer, and store the .hsf file in the same folder from which you inserted it.
  • Tip: GEOVIA recommends that you store the .hsf files in, and insert the .hsf files from, a location with a short file path in a drive in which other users are likely to have write access on their computers. For example, you could save the .hsf files in C:\temp or C:\stream.

  • Before you insert a streaming file in Word, you must view the streaming file in Internet Explorer once. When you view the streaming file in Internet Explorer, you download the GEOVIA Stream Control to your computer. Without the GEOVIA Stream Control, you cannot insert a streaming file in Microsoft Word.

Task: Insert a streaming file in Word 2003

  1. Open a new or existing Word document.

  2. Position the cursor where you want to insert the file.
  3. Choose Insert > Object.
  4. The Object form is displayed.

  5. Select GEOVIA Stream Control Class, and click OK.
  6. The draw box is inserted into the document.

  7. Right-click on the draw box, and select GEOVIA Stream Control Class Object > Properties.
  8. The GEOVIA Stream Control Class Properties form opens.

  9. Browse to the design.hsf file, and click Open.
  10. Click OK.
  11. Note: The Microsoft Visual Basic window opens automatically.

  12. Choose Run > Run Sub/UserForm, or press F5.
  13. Close the Visual Basic window.
  14. The design.hsf file is displayed in the Word document.

Task: Insert a streaming file in Word 2007

  1. Open a new or existing Word document.
  2. Position the cursor where you want to insert the file.
  3. Click the Office button, and then click Word Options.
  4. Click Trust Center.
  5. Click Trust Center Settings, and click ActiveX Settings.
  6. Complete the form as shown, and click OK.
  7. Click OK.
  8. Click the Office button, and click Word Options.
  9. In the Word Options form, click Popular.
  10. Select Show Developer tab in the Ribbon, and click OK.
  11. Click the Developer tab.
  12. In the Controls group, click Legacy Tools, and click More Controls.
  13. On the More Controls form, select GEOVIA Stream Control Class, and click OK.
  14. Note: A draw box is displayed in your Word document.

  15. Click on the draw box, right-click and choose GEOVIA Stream Control Class Object > Properties.
  16. Browse for design.hsf, and click Open.
  17. Note: If you might use this Word document on another computer, you would copy the .hsf file to a short path on C: drive such as C:\temp or C:\stream before opening it. To view the streaming file correctly on the other computer you must also copy the .hsf file to the same short path from which you inserted the .hsf file.

  18. Click OK.
  19. Note: The Microsoft Visual Basic window opens automatically.

  20. Choose Run > Run Sub/UserForm, or press F5.
  21. Close the Visual Basic window.
  22. The design.hsf file is displayed in the Word document.

Task: Insert a streaming file in Word 2010 or Word 2013

  1. Open a new or existing Word document.
  2. Position the cursor where you want to insert the file.
  3. Choose File > Options.
  4. Click Trust Center.
  5. Click Trust Center Settings, and click ActiveX Settings.
  6. Complete the form as shown, and click OK.
  7. Click Customize Ribbon.
  8. In the Main Tabs list, select the Developer check box, and click OK.
  9. Click the Developer tab.
  10. In the Controls group, click Legacy Tools, and then click More Controls.
  11. On the More Controls form, select GEOVIA Stream Control Class, and click OK.
  12. Note: A draw box is displayed in your Word document.

  13. Click on the draw box, right-click and choose GEOVIA Stream Control Class Object > Properties.
  14. Browse for design.hsf and click Open.
  15. Note: If you might use this Word document on another computer, you would copy the .hsf file to a short path on C: drive such as C:\temp or C:\stream before opening it. To view the streaming file correctly on the other computer you must also copy the .hsf file to the same short path from which you inserted the .hsf file.

  16. Click OK.
  17. Note: The Microsoft Visual Basic window opens automatically.

  18. Choose Run > Run Sub/UserForm, or press F5.
  19. Close the Visual Basic window.
  20. The design.hsf file is displayed in the Word document.

Task: View a streaming file in Word

You can view a streaming file in 32-bit versions of Word 2003 or later versions.

Before you attempt the following procedure on any computer, you must view the streaming file in Internet Explorer once. When you view the streaming file in Internet Explorer, you download the GEOVIA Stream Control to your computer. Without the GEOVIA Stream Control, you cannot view a streaming file in Microsoft Word.

  1. Right-click anywhere on the image to open the shortcut menu.
  2. Select Zoom to Window, and then click and drag in the viewport to zoom the data.
  3. Select Orbit , and then click and drag in the viewport to rotate the data.
  4. Tip: To zoom out, click Reset Camera.

Task: Save a streaming file in Word

  1. Select the Save As command:
    • In Word 2003, 2010, or 2013 choose File > Save As.
    • In Word 2007 click the Office button, and select Save As > Word Document.
  2. Navigate to the directory you want to save the file in and type the file name.
  3. Click Save.
  4. Note: You can save the document in .docx format. You do not have to save the Word document in .docm format. The only exception to this is if you have Word 2003 (which does not support the .docx format, but does allow you to save as .doc or as .docm) you must save in .docm format.

  5. If you send the Word document to another computer, also send the .hsf file, and save the .hsf file in the same folder from which you inserted the .hsf file.