Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Conversion

Conversion

Scheduled Pinned Locked Moved Visual Basic
databasetutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dev dhoundiyal
    wrote on last edited by
    #1

    how to convert a varchar value into varbinary at runtime iam using vb 6.0 as frontend and sql as backend

    P J 2 Replies Last reply
    0
    • D dev dhoundiyal

      how to convert a varchar value into varbinary at runtime iam using vb 6.0 as frontend and sql as backend

      P Offline
      P Offline
      PremalathaP
      wrote on last edited by
      #2

      give an example for your need

      D 1 Reply Last reply
      0
      • P PremalathaP

        give an example for your need

        D Offline
        D Offline
        dev dhoundiyal
        wrote on last edited by
        #3

        the application is to create login id and i want the value i entered in password in varchar is reflected in login tables password column field as varbinary something like "convert( & txtpwd.text & as varbinary)" but in my form varbinary is not there

        1 Reply Last reply
        0
        • D dev dhoundiyal

          how to convert a varchar value into varbinary at runtime iam using vb 6.0 as frontend and sql as backend

          J Offline
          J Offline
          jasonpb
          wrote on last edited by
          #4

          I dont think that Vb has a built in conversion method for that, although I may be wrong. But you can use the Convert function in SQL to do it. CONVERT(varbinary(Length), @TheVarChar)) In your case, the length parameter would be optional -Jason -- modified at 4:07 Thursday 2nd February, 2006

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups