Ask a Question related to Dreamweaver AppDev, Design and Development.
-
I Need Help! #1
Changing from ASP with JS to ASP with VB?
Can you change from JS to VB script - or will it cause many problems? I have a few
tutorials that are made for VB but my asp pages are in JS.
Thanks
I Need Help! Guest
-
Changing URL
We have recently moved to contribute here at our library. We have a lot of links to different resources, though we noticed a problem with URL... -
Changing JPG in SWF through ASP
I have a page with three frames. the left frame with images1 thumbnails, the right with images2 thumbnails. Both have Hyperlink in order to pass... -
Changing text without changing frames.
I have a small flash movie that is basically a color chooser. Rather than changing the color of an item by putting the color in a frame I change... -
Changing from PC to MAC
I am thinking about changing from a PC to a MAC, the only problem is that I just bought CS, does Adobe provide any option to change version of... -
movie location changing when there's nothing changing its location
I have a cross-platform program (each half using a different engine (quicktime for mac and MPEG Advance for pc). On both sides and on most computers... -
bthouin #2
Re: Changing from ASP with JS to ASP with VB?
I just did that a week or so ago. It's no real problem, but it needs a
lot of attention to details:
Dim -> var
if then else endif -> if () {;} else {;}
Sub End Sub -> function {}
and so on. VB is not case-sensitive, which is good, JS is VERY
case-sensitive. So the reverse conversion is more tricky. Eg. I had the
end of file condition written "EoF" in VB. That's not valid in JS
Access to a DB is almost identical.
Arrays are declared differently and reffered to differently with []
instaed of ().
So, in short, a lot of footwork, but no big deal.
You can mix and match though. I.e. a whole page can be in JS, another
one in VB. I had the problem that I had a number of server-side includes
(SSIs) with generic functions and subroutines in VB, and all pages but
one in VB. And from the JS page, I wanted to use the SSIs, so I
converted the page.
Bernard
I Need Help! wrote:> Can you change from JS to VB script - or will it cause many problems? I have a few
> tutorials that are made for VB but my asp pages are in JS.
>
> Thanks
>
>bthouin Guest



Reply With Quote

