Hi,

Am 18.05.2009 um 13:56 schrieb Emeka:

I found that the VisualBasic help of Excel can be easily
translated to such method calls.
Could you explain this further even with links or examples?

I'm sorry. I'm at home now, so I can't check the actual
file name and location in the system. But it should be
something like vbaxl*.chm.

(def wb (.. Dispatch (call wbl "Open"  @adir)(toDispatch)))

I wanted to use file chooser to assign files, however I have not being able to achieve this. It appears that class Dispatch needs to have the address of the file when it is being created and it does not accept empty string like " " as its initial value.

Well. I would go like this. (I don't know the Swing stuff
by heart, the only pseudo-code...)

(let [fname (read-fname-with-chooser)]
  (when (user-did-not-cancel)
    (-> Dispatch (.call wbl "Open" fname) (.toDispatch))))

Sincerely
Meikel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to