?
Solved

Nested with statement bug with Intellisense

Posted on 2001-07-24
8
Medium Priority
?
180 Views
Last Modified: 2013-12-24
I have noticed a bug with Visual Interdev:

try this

*****************SAMPLE PAGE*******************
<HTML>
<BODY>
<FORM NAME = "form">
<INPUT TYPE=BUTTON NAME="button" VALUE="CLICK ME">
</FORM>
</BODY>
</HTML>

*************************************************

try creating a script:

<SCRIPT LANGUAGE=JAVASCRIPT>
with (window.document)
   {
   with (form)
      {
      <CODE GOES HERE>
      }
   }


try typing anything in the area <CODE GOES HERE> that would use Intellisense (an alert box, for example).

The result?  Interdev crashes.

Anyone know of a fix for this?

My only workaround is to comment out the second with statement, write the code, uncomment, save and run.
0
Comment
Question by:d_jedi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6326275
That's the problem of InterDev...it's Intellisense is nice to start out with, but as soon as you start nesting it gets confused...sometimes this means it crashes....sounds like the way you work around this is the best way possible...sorry to say but InterDev is not that good with it's intellisense...

Max.
0
 

Author Comment

by:d_jedi
ID: 6327312
That was not what I was hoping to hear :->

OK, then.. how do I shut the damned thing off?  

Oh, yes.. and how do I report bugs to Microsoft?
0
 
LVL 5

Expert Comment

by:dgorin
ID: 6330123
I get a crash also, W2K Pro SP2 Interdev SP5.  This bug is real annoying, it's like the old days of DOS where the crashes lose all your work.

My suspicion is this is a W2K bug rather than an Interdev bug, I saw crashes on W2K I never saw using Interdev on W98.

I keep hoping MS will fix this, when Interdev crashes I always wonder why I stick with this product.
0
Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

 
LVL 19

Accepted Solution

by:
DreamMaster earned 400 total points
ID: 6331913
Hmm...how to shut it off....if I am not mistaking there should be an option for that somewhere...I will look it up for you when I have access to a computer with VI again....

Reporting bugs to Microsoft can be done from their knowledgebase....when you cannot find the answer to your question they provide a link there (as far as I remember) that will allow you to do so...but the feedback sucks so it doesn't really help at all...

Max.
0
 
LVL 9

Expert Comment

by:msdixon
ID: 6356502
you could also try:
<SCRIPT LANGUAGE=JAVASCRIPT>
var objFrm = window.document.formName;
// you can access the form elements by using objFrm.elementName... etc.
<CODE GOES HERE>
</script>

instead of
<SCRIPT LANGUAGE=JAVASCRIPT>
with (window.document)
  {
  with (form)
     {
     <CODE GOES HERE>
     }
  }

0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6726443
This question has been abandonned, if this question has been resolved by any of the comments above, please finalize by accepting the comment that helped you most...

If you still are having the same question and would like more help, let the experts know so they can help you finalize this question..

Thanks,
Max.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6856438
Normal comment part
------------------------------------------
I have been looking at this again, and found that there is NOT an option for turning intellisense off...so all d_jedi can do is just accept the limitations of Visual Interdev and live with that. I have looked all over newsgroups and MSDN and more, nowhere there is a reference for turning of Intellisense...which is stupid as it IS possible in VB and VC++...
------------------------------------------

This question appears to have been abandoned. A question regarding will be left in the Community Support area regarding its disposition; if you have any comment about the question, please leave it there.

A moderator will be asked to resolve the question. Unless there is any objection or futher activity, the recommendation will be to accept the answer of DreamMaster. (strange typing that in as a suggestion) :)

The link to the Community Support area is:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

In this case it is possible to accept this comment as an answer... :)

Regards,

Max
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6883589
Per recommendation, force-accepted by
Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question