- This topic has 14 replies, 3 voices, and was last updated 21 years ago by
Riyad Kalla.
-
AuthorPosts
-
CPC1MemberWhen trying to open a Java Script originnaly written in Visual Age we get:
Windows Script Host
Script…..
Line: 372
Char: 1
Error: Syntax Error
Code: 800A03EA
Source: Microsoft JScript Compilation ErrorHowever the code is not displayed after we click OK.
How do we go about fixing it?
Thanks
Riyad KallaMemberCPC1,
We ask that you answer the questions in the Posting Guidelines so we get a better idea of the situation you are having. Also, are you opening this file in MyEclipse, and getting that error? Is it a .js file? If you right-click on it, and go to “Open With” is the default editor MyEclipse CSS Editor? Can you try using the Text Editor and see if that works?It *sounds* to me like you are opening a page in IE that has faulty JS in it, that’s why I”m asking all these questions.
CPC1MemberSorry I will go read the Posting Guidelines 😳 … in the mean time…
It was a .js file. I was simply double-clicking on it. It was using the system editor. When I right click and select MyEclipse it opens.
Now how do I find line 372? Line #’s are not indicated, there is no jump to or goto line? Are the items in RED the problem?
Thanks again.
Riyad KallaMemberOk I’m glad to hear it opened. The CSS editor as it stands now is far from perfect, its more of a proof of concept. We are looking at integrating a really polished/powerful CSS editor for a future release of MyEclipse (I think 2.9) and appologize for the trouble right now. Unfortunately that editor does not support line numbers, and I’m not sure what the RED symbolizes in that particular editor. You might want to open the preferences for it and take a look: Window > Preferences > MyEclipse > Editors > CSS Editor
No OperationMemberIt was a .js file. I was simply double-clicking on it.
My guess: the system editor is used, which means that Windows (TM (guessed 😉 )) tries to execute your script 🙂
Try right-click>open-with->text-editor (or whatever but NOT system or default editor)
NOP
CPC1MemberHad to re-install everything and now I dont have the open with MyEclipse anymore?
Thanks
Riyad KallaMemberI’m not clear what you were asking in your previous post… you reinstalled Eclipse/MyEclipse and now you can’t see MyEclipse anymore?
CPC1MemberSorry, yes we had to rebuild the machine… I re-installed Eclipse 3.0M7 then MyEclipse. My Eclipse shows up in the menu bar… but when I right ckick on a file I do not get thet open with MyEclipse option anymore.
Thanks!
Riyad KallaMemberYou’re “Thanks” at the end of your message is throwing me off, I’m not sure if you are OK or if you are asking for help 🙂
Do you need help getting that option back or is everything working?
CPC1MemberSorry… yes still need help.
Riyad KallaMemberOk, no problem at all you were just being polite 🙂
First things first, do you see a MyEclipse icon in the Help > About page? If not then MyEclipse probably isn’t installed correctly. Can you try erasing the .config directory from your <eclipse install>\workspace\.metadata directory and restarting Eclipse?
Also double check that there is a file in the <eclipse install>\links directory named “com.genuitec.eclipse.MyEclipse.link”, and that its contents points to the MyEclispe directory (it probably has double backslashes in it for the path if you are on windows, this is fine).
CPC1MemberOK, the MyEclipse icon is present. I have tried erasing the .config directory several times already.
The link file also there and looks ok.Thanks again!
Riyad KallaMemberWhen you right click on the JS file, and go to the “Open With” submenu, what are the choices that are listed?
If you go to Window > Preferences > Workbench > File Associations, and look in the “File Types” list box, do you see an entry for *.js? If so, when you click on it, what are the “Associated Editors” listed for it in the bottom panel? If NOT, can you click “Add…” at the top right of the screen and add a new file type of “*.js”. Then click on it, and down by the Associated Editors, click “Add…” and see if you can find and add the “CSS Editor” editor. Now click OK a bunch of times to get back to your project. When you right click on your .js file and go to “Open With”, are you able to open the file with the CSS Editor now?
CPC1Member😀 Thank you so very much that is what was missing!
Regards,
Philip
Riyad KallaMemberHey I’m glad its working! Thanks for hanging in there with us.
-
AuthorPosts