You can use the Selection object. The code below will select the text from the current insertion point to the start of the document.
Selection.HomeKey Unit:=wdStory, Extend:=wdExtend
MsgBox Selection
The best way to get this type of code is to record a word macro with the steps you...
Database would be the best alternative, but could be complex to implement at this stage of your effort. You said you are writing to a text file. Perhaps you could write multiple text files (one for each attempt): FinalExamResults1.txt, FinalExamResults2.txt, and so on. You would have to write...
Instead of a button, if you used a hotspot, you could set the "Match" field from "Single-Click" to "Cursor in Area". Then whatever animation you want could be placed in the feedback branch of the interaction (you may have to tweak the "erase" setting to...
You could try making the interaction a Perpetual Interaction and placing it on the flowline above your display icons with the transitions. Just make sure that you set the "Branch" path as "Return".
If you have a sound associated with the button that you click to advance to another frame, it would stop the audio from playing across frames. This is a limitation of the PC architecture (one .wav file at a time).
I'm not sure if I completely understand your problem, but I'll try some debugging advice anyway.
1) In the Icon Properties box for the display icon that has the embedded variables, make sure that the option "Update displayed variables" is selected.
2) Attach a calc icon to your...
Try putting the audio icon in the opening pane of the framework icon that you are using. Then under the "Timing" tab of the audio icon properties, set the Concurrency to "Concurrent" (instead of "Wait until done").
You will need an interaction icon that is a hotspot or hotobject, etc. Then in the branch path of the interaction (when they click on the address) put a calc icon with something like these lines of text:
if NetConnected then
GoToNetPage("MySite.com" , "_blank")
else...
Instead of:
docObj.Application.Run ("MyMacro")
try something like:
appWord.Run "Project.Module1.MyMacro"
The code below was taken from this link:
http://support.microsoft.com/support/kb/articles/Q177/7/60.ASP
Sub WDTest()
Dim WD as Object
Set WD =...
Tom, the best thing to do for situations like this is to record a dummy macro of what you want to do and then copy the code that it creates (perhaps with minor edits)
For example, I recorded a macro of using the Insert Menu and selected the File option and this is the code that it produced...
You can combine strings in a calc icon using the caret symbol (^) as follows:
string1:="abc"
string2:="123"
string3:=string1^string2
-- the value of string3 is now
"abc123"
Let me know if you need anything else. . .
:-)
I am trying to insert links from a PowerPoint 2000 file into a Word 2000 document. I keep getting an
error message, "There is insufficient memory. Save the document now."
This is how I create the links:
Open a new Powerpoint presentation and create a dummy slide
Open a new Word...
ASP is a Microsoft product that is built-in to IIS. Therefore, if you are running NT, it is free. Cold Fusion is a similar technology, but you have to license the server version to use it. I don't know much about JSP, but I assume it is "ASP" for non NT machines.
If you are just...
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.