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. Dim objDecrpt As New Encoder.cEncoder : Upgrade Issue

Dim objDecrpt As New Encoder.cEncoder : Upgrade Issue

Scheduled Pinned Locked Moved Visual Basic
helpcsharptutorial
4 Posts 2 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.
  • S Offline
    S Offline
    sarat
    wrote on last edited by
    #1

    In my VB6 project the declaration is like Dim objDecrpt As New Encoder.cEncoder when i upgrade it to VB.net the Dim objDecrpt As New Encoder.cEncoder in VB.Net declaration says " Type 'Encoder.cEncoder' is not defined" is not defined how to resolve the problem please help me

    C 1 Reply Last reply
    0
    • S sarat

      In my VB6 project the declaration is like Dim objDecrpt As New Encoder.cEncoder when i upgrade it to VB.net the Dim objDecrpt As New Encoder.cEncoder in VB.Net declaration says " Type 'Encoder.cEncoder' is not defined" is not defined how to resolve the problem please help me

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Do you have any idea what you're doing ? Seriously, it seems like you're posting a question for every error you see, without trying anything to resolve them. VB6 and VB.NET don't have much in common, no conversion is going to work 100%. You need to rewrite a lot of code. The only hit I see on google is where you asked the same question on code guru. I'd suggest this means that the class is a custom class that has not been moved over to VB.NET.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      S 1 Reply Last reply
      0
      • C Christian Graus

        Do you have any idea what you're doing ? Seriously, it seems like you're posting a question for every error you see, without trying anything to resolve them. VB6 and VB.NET don't have much in common, no conversion is going to work 100%. You need to rewrite a lot of code. The only hit I see on google is where you asked the same question on code guru. I'd suggest this means that the class is a custom class that has not been moved over to VB.NET.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        S Offline
        S Offline
        sarat
        wrote on last edited by
        #3

        Hi Graus actually I dont have any Idea what am i doing I am VC++ programr but not VB this is first time am looking VB code the thing is in our product i am changing the UI look and feel for Vista effect my total product is in MFC, VC++ that i completed working now one small module ( its called import Utility)is developed in VB so to change the UI of that first i need to upgrade it ti VB.net and changing the UI for that reason what ever i see as error i am posting in both placess in code guru and code project since we dont have much time to finish, my first target is forums sorry if i am behaving like a mad guy but i have to do ok u mean to say Encoder.cEncoder is not VB class?

        C 1 Reply Last reply
        0
        • S sarat

          Hi Graus actually I dont have any Idea what am i doing I am VC++ programr but not VB this is first time am looking VB code the thing is in our product i am changing the UI look and feel for Vista effect my total product is in MFC, VC++ that i completed working now one small module ( its called import Utility)is developed in VB so to change the UI of that first i need to upgrade it ti VB.net and changing the UI for that reason what ever i see as error i am posting in both placess in code guru and code project since we dont have much time to finish, my first target is forums sorry if i am behaving like a mad guy but i have to do ok u mean to say Encoder.cEncoder is not VB class?

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          sarat wrote:

          I am VC++ programr but not VB this is first time am looking VB code

          In that case, welcome to hell :-) Why did you draw the short straw ? Isn't there a VB6 team who has had to maintain this before ?

          sarat wrote:

          u mean to say Encoder.cEncoder is not VB class?

          According to google, it's not a built in class, so I assume it's a library your project uses. VB6 and VB.NET are totally different, there's going to be a lot of rewrite, if it's a small project, I'd be inclined to start from scratch

          Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          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