News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Why is this simple Hello world MASM Program not working ? !!!

Started by RAFAAJ2000, January 13, 2013, 08:54:05 PM

Previous topic - Next topic

jj2007

Rafaaj,
See my reply in the other thread. I suggest to limit replies from now on to this thread, in order to avoid confusion.
Is the VB 2010 Express edition ok for testing? The 2012 edition looks too fat for my taste.

RAFAAJ2000

Thanks JJ but I use classic VB6 and VBA/Office which is very different language from VB.Net .... And yes , you are right. I'll now close the discussion in this thread to avoid confusion.

jj2007

Quote from: RAFAAJ2000 on January 14, 2013, 08:51:33 PM
VBA/Office

Be more precise, please. Is that the one that ships with WinWord? If yes, which version? Word 2003??

RAFAAJ2000

Quote from: jj2007 on January 14, 2013, 08:55:58 PM
Quote from: RAFAAJ2000 on January 14, 2013, 08:51:33 PM
VBA/Office

Be more precise, please. Is that the one that ships with WinWord? If yes, which version? Word 2003??

Office 2007 / Excel 2007

jj2007

OK. I just tested this with WinWord 2010 - it works fine with WinWord 2003, too, so 2007 should be fine.

- Install the MasmBasic library, i.e. unzip with "use folder names" to the root of your Masm32 drive
- see if \Masm32\MasmBasic\MB2VB\MasmBasicInsertStruct.bas is present
- press Alt F11 in WinWord
- right-click on Normal in the Project - Normal window
- Import file, \Masm32\MasmBasic\MB2VB\MasmBasicInsertStruct.bas
- switch to an empty document in WinWord
- type RECT
- select it
- go back to VB window
- set the cursor inside the third macro, InsertStruct
- press F5
- back to WinWord
Does it work?

RAFAAJ2000

Quote from: jj2007 on January 14, 2013, 10:28:02 PM
OK. I just tested this with WinWord 2010 - it works fine with WinWord 2003, too, so 2007 should be fine.

- Install the MasmBasic library, i.e. unzip with "use folder names" to the root of your Masm32 drive
- see if \Masm32\MasmBasic\MB2VB\MasmBasicInsertStruct.bas is present
- press Alt F11 in WinWord
- right-click on Normal in the Project - Normal window
- Import file, \Masm32\MasmBasic\MB2VB\MasmBasicInsertStruct.bas
- switch to an empty document in WinWord
- type RECT
- select it
- go back to VB window
- set the cursor inside the third macro, InsertStruct
- press F5
- back to WinWord
Does it work?

Thanks for all your help and patience .  I need to log out now .... I"ll try your suggestions later and post back.

Regards.

RAFAAJ2000

Quote from: jj2007 on January 14, 2013, 10:28:02 PM
OK. I just tested this with WinWord 2010 - it works fine with WinWord 2003, too, so 2007 should be fine.

- Install the MasmBasic library, i.e. unzip with "use folder names" to the root of your Masm32 drive
- see if \Masm32\MasmBasic\MB2VB\MasmBasicInsertStruct.bas is present
- press Alt F11 in WinWord
- right-click on Normal in the Project - Normal window
- Import file, \Masm32\MasmBasic\MB2VB\MasmBasicInsertStruct.bas
- switch to an empty document in WinWord
- type RECT
- select it
- go back to VB window
- set the cursor inside the third macro, InsertStruct
- press F5
- back to WinWord
Does it work?

The zip is not working - Tried to unzip it with WinRar and the Error I get is : The archive is either in unknown format or damaged

jj2007

Quote from: RAFAAJ2000 on January 15, 2013, 04:56:36 PM
The zip is not working - Tried to unzip it with WinRar and the Error I get is : The archive is either in unknown format or damaged

Your download is not working. I just downloaded the zip, it opens and tests fine in WinZip, 7-Zip and one more archiver. The file should be 492kByte.

Vortex

Hi RAFAAJ2000,

There is no any problem with the file MasmBasic02Jan2013b.zip  I downloaded it successfully.


Vortex

Maybe posting the MD5 values of ( large sized ) attachments to the forum can help members to detect incomplete \ incorrect downloads.

Gunther

Jochen,

my download of the file works well, too. Unzipping wasn't a problem at all.

Gunther
You have to know the facts before you can distort them.