Using moodle_quiz_v11 in Word 2010 - error

Using moodle_quiz_v11 in Word 2010 - error

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.

평균 등급 : -
In reply to 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?

In reply to 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!

 

평균 등급 :Useful (1)
In reply to 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....?

평균 등급 :Useful (1)
In reply to 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.

In reply to 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

평균 등급 :Useful (1)
In reply to 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.

In reply to 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!

평균 등급 :Useful (1)
In reply to 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

평균 등급 :Useful (1)
In reply to 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.

 

In reply to Lael ...

Re: Using moodle_quiz_v11 in Word 2010 - error

shiva k

Yes, it is working 큰 미소!!

You are so nice!

In reply to 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?

In reply to 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 부끄러운

In reply to 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

In reply to 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

 

 

In reply to 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.

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

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

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

zj jys

you are great! thanks !

     zjjys   china

In reply to Lael ...

Re: Using moodle_quiz_v11 in Word 2010 - error

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

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.

평균 등급 :Useful (1)
In reply to 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.

In reply to 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

In reply to 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

In reply to 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?

In reply to 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,

In reply to 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.. !!!!

In reply to 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 미소

In reply to 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."

In reply to 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

In reply to 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.