Using moodle_quiz_v11 in Word 2010 - error

Using moodle_quiz_v11 in Word 2010 - error

- Vlad Kuzba の投稿
返信数: 34

Hello everybody,

I've been a happy user of this great template for a few years. Last week I upgraded to MS Word 2010 and today I got an error message when first trying to export a quiz.

Run-Time error 5151
Aplication can't read the document. Probably it is damaged.

But doing the the CleanUp function shows no error.

Anybody has the same problem? Thanks for any answer.

Vlad Kuzba への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Vlad Kuzba の投稿

Am I really the only one who has this strange problem with MS Word?

Vlad Kuzba への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Daniel Scheidegger の投稿

Hi Vlad

i thougt, that i am the only one. tried to fix it in many ways an did not find any solution, but by coincidence, there was suddenly a file, witch works, i have no idea why...

if you open the word template, it doesnt work, if you open the document "vorlage" and do: "save as...", it works.

Unfortunately, the template is translated in German. but i made some more features:

  • generalfeedback, questiontitle, numerical question (with tolerance!), fix or nonfix answers in mc and matching questions, path/categorie in header (and imagename like header)

so check it out!

 

Vlad Kuzba への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Darian Leduc の投稿

Nice job.  Have you found out if there is an engluish version....?

Darian Leduc への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Daniela Elford の投稿

Yeah, I can figure out the styles, but not the error messages.

Daniela Elford への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Lael ... の投稿

http://moodle.wcc.nsw.edu.au/file.php/1/moodle_quiz_v21.zip

 

I've modified Daniel's version - give it a go and let me know how you go.

Lael

Lael ... への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Matt Gleeson の投稿

Hi Lael,

 

Thanks for making your modified version available! 

Just wanted to let you know that it appears that your link has broken and currently gives the error: "Sorry, the requested file could not be found"

 

Regards,

-Matt.

Matt Gleeson への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Lael ... の投稿

Hi Matt,

You're welcome! Thanks for the heads up! We migrated to 2.3 as production on Friday, so the old link broke! woops!

http://moodle.wcc.nsw.edu.au/mod/resource/view.php?id=6059

Thanks for the feedback!

Lael ... への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- shiva k の投稿

Hi Lael, it is really nice to see you giving updates regularly.

I used word2010 to save xml for moodle quiz from example.docx but it gave me run time error 13 (type mismatch) and debug stops at  Set objStream = CreateObject("ADODB.Stream").

Am I doing anything wrong?

Thanks in advance

shiva k への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Lael ... の投稿

Hi Shiva,

I believe example is the one that came with the quiz when I first got it. It won't work. You need to use the one called CopyPasteEditThisOnefor2010

Do what it says 笑顔 Copy, Paste it and Edit it and it should (fingers crossed) work fine. Let me know how you go.

 

Lael ... への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- shiva k の投稿

Yes, it is working 満面の笑顔!!

You are so nice!

shiva k への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Lael ... の投稿

Great to hear!

Actually the example *should* work as well. Just realised it is one I made, not one I inherited. Maybe just make sure you don't move it out of the folder? I just tried it and it seems to work ok for me?

Lael ... への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- shiva k の投稿

Thanks & Thanks

There must be some problem with my Word Installations (i had so many add ins -all for moodle questions- installed) I clean installed. Now even example is working 恥ずかしい

shiva k への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- colin frude の投稿

Hi,

Im also getting the same run time error with word 2010. Im a newbie to this so may have stuffed up 笑顔. I loaded the copypasteedit template into word then edited it and saved it with a new name. Did i do it right? Wasnt sure what copy paste edit meant exactly since there wasnt anything in the doc to copy.

Colin

colin frude への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Lael ... の投稿

Hi Colin, 

Sorry, I didn't see this earlier. copy and paste the document and then rename it and edit it. Let me know how you go.

 

Lael

 

 

Lael ... への返信

回應: Re: Using moodle_quiz_v11 in Word 2010 - error

- tong adam の投稿

I have tried both "example" and "CopyPasteEditThisoneforWord2010" files, but still not work! it shows error as attached print screen.

添付 Screen Shot 2013-02-24 at 下午06.59.19.png
Lael ... への返信

Odp: Re: Using moodle_quiz_v11 in Word 2010 - error

- Anna Darul の投稿

 I have tried both "example" and "CopyPasteEditThisoneforWord2010" files, but I have a probem with export to xml - it shows error: "Compile error. Method or data member not found" as attached print screen.

Lael ... への返信

回應: Re: Using moodle_quiz_v11 in Word 2010 - error

- tong adam の投稿

Hi, I found it can also import picture in Question, but it cannot import picture in Answers. Can it be possible to import pictures in Answers too?

 

Thank you.

tong adam への返信

Re: 回應: Re: Using moodle_quiz_v11 in Word 2010 - error

- Lael ... の投稿

I would like to do this as well as a couple of other fixes. I don't have the time to do them myself. If someone is able to contribute funding I know of someone who can work on it.

tong adam への返信

Re: 回應: Re: Using moodle_quiz_v11 in Word 2010 - error

- Chris Chua の投稿

Hi, how did you import pictures into the Question? My images fail to import once I publish the Word XML file. Once I import the file into Moodle, the images clearly seen in Word 2010 do not appear. My source image files are in jpeg or gif and they fail to appear. I tried to use the paste function after I entered the question and still no luck悲しい. Thanks

Lael ... への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- kathir s の投稿

Hi All,

i am using moodle quiz_v21, whenever i am trying to put equation in my multiple choice questions its not coming in xml.

For example when i type 4/3 it is fine but if i use the equation editor to type like 4/3 then it does not come.

It only shows blank

i dont know what to do... could you please help

kathir s への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Marcus Green の投稿
画像 Core developers 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers

How are you doing this, are you creating the equation in word and then pasting it into the Moodle question field. What do you see if you click the HTML button on the Moodle editor button?

Marcus Green への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- kathir s の投稿

i am just inserting the equation in word as shown in the above screen shot.

Thanks,

Lael ... への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Daniell Goodin の投稿

I know its a few years old.. but this is great.. 

Spent the last two days playing with other ways but for Bulk loading of Essay type questions but this is the way to go.. 

thank you, thank you.. 

Many hours saved.. !!!!

Vlad Kuzba への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Anatoliy Yashenkin の投稿
画像 Plugin developers

Hi, everyone!

I've got a little problem with moodle_quiz_v21. I have a lot of questions that have several lines of text for question name, title and answers. This module only understands questions that have only one line of text. Can anyone help me to modify this module to export questions with several lines of text. 

Another problem is that this module creates simple text, but not html. Sometimes it is very important to have question text with some html tags, like <strong>, <i> etc....

Excuse my bad English 笑顔

Anatoliy Yashenkin への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Vadim Tabunshchik の投稿
画像 Core developers

This module only understands questions that have only one line of text.

Anatoliy, it's not true 笑顔

Please read the comment in file example.docx: "Question Names (titles) are optional. You NEED them for any question that is longer than two lines, or Moodle will not import the question."

Vadim Tabunshchik への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Jose Fernandez の投稿

HAs anybody tried to use the Quiz v21 in Word 2011 on a Mac? I loose all macros and buttons. can anybody help me? Do I need to install something else?

Thanks in advance

Jose Fernandez への返信

Re: Using moodle_quiz_v11 in Word 2010 - error

- Eoin Campbell の投稿
画像 Core developers 画像 Particularly helpful Moodlers 画像 Plugin developers

This Word template will only work on Microsoft Windows, because it relies on a Windows-specific XML code library. You could try an alternative plugin I developed, Moodle2Word, which supports both export and import of Moodle question bank categories to and from Word, on both Windows and Mac.