Changing from ASP with JS to ASP with VB?

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139