Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interdev and ASP Script

Status
Not open for further replies.

jdubbish

Programmer
Dec 9, 2004
70
US
I've been having this issue with my ASP Scripting in Interdev not giving me tips anymore.

Basically, the way it used to work is i'd put a <% to open the ASP Script and only that was highlighted in yellow, the rest of my ASP Script was color coded, so 'if' and 'then' would be blue because Interdev recognized the script.

Also, if I typed Request. it would pull up a list of different methods/properties I could use, and even though I know them all it was a nice feature.

Well, now all of a sudden ALL of my ASP Script is highlighted in yellow and there's not script recognition happening. Anyone know how to reset the preferences, or what preference/option to set to reenable this feature? It's getting really old seeing a huge block of yellow highlighted text instead of my context sensitive text from before.

I have tried to completely remove and reinstall VS 6.0, but that did not resolve the issue. I'm contemplating uninstalling again, then running a registry cleaner to remove any VS related values, then reinstalling, but I hope that there's just a preference file(s) somewhere I can remove or somethign along those lines.

Any help would be MUCH appreciated.
 
You might try thread117-333174 to see if offers any assistance. Also, a Google search showed MS KB article (though not sure it is the same as the problem you are experiencing):
------------------------------------------------------------------------------------------------------------------------
"I am not young enough to know everything."
Oscar Wilde (1854-1900)
 
Hey, thanks chopstik. I was just in that other thread, working through the solution now.

Thanks for the MS KB Article, I wasn't able to find any that helped, looked about 3 or 4 but none were specific to my issue, that one seemed to be closer, but still not exactly what i need.

I'm hoping that other thread's solution will work here.
 
jdubbish,

I read through Thread117-333174, and I have got to say those folks are going through more trouble than it's worth - uninstalling and re-installing. Re-registering DLL's.

I've run into this highlighting problem a couple of times. I've never got as far as re-installing ID6 or DLL's. In most cases, I just had to experiment with adding and removing the script markers ("<%", "%>"). I think the problem was related to making sure all of my markers were properly opened and closed. I know that after some cutting and pasting and editing I got rid of the yellow highlights, and got intellisense back.

Next time this happens, I'll pay close attention to what I did to solve it and pass it on.

As far as intellisense, I've had that go on me a number of times, with or without this highlighting issue. More often than not it was because I has some previous error in my script - unclosed "If" blocks or using Visual Basic syntax to close a loop instead of VBScript syntax ("Next variable" instead of just "Next").

It can also happen if you're using object variables in your code that are set only in run-time, or using any objects that you have not set references for yet. These can upset intellisense so that it doesn't work for the default objects (like "Response"), or other objects you do have references to.

Hope this helps.
 
Thanks for the post Dino...

I looked through another thread on these forums and found the solution. It seems that there was some script file in the InterDev directory that had to be unregistered. Why it was working at on point and then suddenly stopped I don't know. Could have possibly been due to an update.

I can't remember the exact location or name of the file at this point, but that seemed to have been the problem.

Now, I do still get some script being highlighted in all yellow, but that's typically just when cutting & pasting. Like you said though that can be resolved typically by just removing and readding the either the <% or %> brackets.
 
Here's the fix that solved my problem:

1) re-register htmed.dll & triedit.dll
2) Start VID6
3) Set interdev editor as default editor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top