Using moodle_quiz_v11 in Word 2010 - error

Using moodle_quiz_v11 in Word 2010 - error

by Vlad Kuzba -
Number of replies: 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.

Average of ratings: -
In reply to Vlad Kuzba

Re: Using moodle_quiz_v11 in Word 2010 - error

by Vlad Kuzba -

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

In reply to Vlad Kuzba

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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!

 

Average of ratings: Useful (1)
In reply to Vlad Kuzba

Re: Using moodle_quiz_v11 in Word 2010 - error

by Darian Leduc -

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

Average of ratings: Useful (1)
In reply to Darian Leduc

Re: Using moodle_quiz_v11 in Word 2010 - error

by Daniela Elford -

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

In reply to Daniela Elford

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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

Average of ratings: Useful (1)
In reply to Lael ...

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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.

In reply to Matt Gleeson

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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!

Average of ratings: Useful (1)
In reply to Lael ...

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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

Average of ratings: Useful (1)
In reply to shiva k

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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 smile Copy, Paste it and Edit it and it should (fingers crossed) work fine. Let me know how you go.

 

In reply to Lael ...

Re: Using moodle_quiz_v11 in Word 2010 - error

by shiva k -

Yes, it is working big grin!!

You are so nice!

In reply to shiva k

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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?

In reply to Lael ...

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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 shy

In reply to shiva k

Re: Using moodle_quiz_v11 in Word 2010 - error

by colin frude -

Hi,

Im also getting the same run time error with word 2010. Im a newbie to this so may have stuffed up smile. 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

In reply to colin frude

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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

 

 

In reply to Lael ...

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

by tong adam -

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

Attachment Screen Shot 2013-02-24 at 下午06.59.19.png
In reply to Lael ...

Odp: Re: Using moodle_quiz_v11 in Word 2010 - error

by 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.

In reply to Anna Darul

Re: Odp: Re: Using moodle_quiz_v11 in Word 2010 - error

by Lael ... -

Hi Anna,

Did you have any questions in the document? Can you send me a screenshot?

In reply to Lael ...

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

by zj jys -

you are great! thanks !

     zjjys   china

In reply to Lael ...

Re: Using moodle_quiz_v11 in Word 2010 - error

by Rachel Weston -

It says I need to log in to WIlliam Clark college to get the file......


In reply to Lael ...

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

by 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.

Average of ratings: Useful (1)
In reply to tong adam

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

by 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.

In reply to tong adam

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

by 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 lucksad. Thanks

In reply to Lael ...

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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

In reply to kathir s

Re: Using moodle_quiz_v11 in Word 2010 - error

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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?

In reply to Marcus Green

Re: Using moodle_quiz_v11 in Word 2010 - error

by kathir s -

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

Thanks,

In reply to kathir s

Re: Using moodle_quiz_v11 in Word 2010 - error

by kathir s -

can anybody help me..please!

In reply to Lael ...

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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.. !!!!

In reply to Vlad Kuzba

Re: Using moodle_quiz_v11 in Word 2010 - error

by Anatoliy Yashenkin -
Picture of 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 smile

In reply to Anatoliy Yashenkin

Re: Using moodle_quiz_v11 in Word 2010 - error

by Vadim Tabunshchik -
Picture of Core developers

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

Anatoliy, it's not true smile

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."

In reply to Vadim Tabunshchik

Re: Using moodle_quiz_v11 in Word 2010 - error

by 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

In reply to Jose Fernandez

Re: Using moodle_quiz_v11 in Word 2010 - error

by Eoin Campbell -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of 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.