Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 10 of 10
  1. #1
    Join Date
    May 2006
    Posts
    5,380

    VB & VB .NET, I'm Confused

    whats the differance between an application made VB and one made VB .NET?

    If i make an application with VB6 Pro and use all custom non .NET controls, dose my app still need .NET runtimes ?

    see, i have this plan for a program but im confused, im drawn in the direction of VB6 cos i can use all the controls i want/need to use and have already purchased, and there is a wealth of information and examples to learn from, but im a little stupid in the whole .NET thing

    is the botton line, VB = .NET Runtimes, or is it only VB .NET and Enterprize editions that need the runtimes ?
    Open your eyes to Narcissism, Don't let her destroy your life!!

  2. #2
    Join Date
    Jul 2007
    Posts
    1,512
    Quote Originally Posted by RizlaUK View Post
    whats the differance between an application made VB and one made VB .NET?

    If i make an application with VB6 Pro and use all custom non .NET controls, dose my app still need .NET runtimes ?

    see, i have this plan for a program but im confused, im drawn in the direction of VB6 cos i can use all the controls i want/need to use and have already purchased, and there is a wealth of information and examples to learn from, but im a little stupid in the whole .NET thing

    is the botton line, VB = .NET Runtimes, or is it only VB .NET and Enterprize editions that need the runtimes ?
    as long as you don't add a . net componant it should be ok and as long as tis just a standard windows form thing you pic sorry forgot its name i stoped using VB when i started to work with lua long team.

  3. #3
    Join Date
    May 2006
    Posts
    5,380

    VB To LuaCOM

    How would i translate this line from VB to AMS/LuaCOM

    Code:
    Amp3dj1.Spectrum.ColorBands(0) = RGB(255, 0, 0)
    i tried (as it was the only way the script editor would acecpt)
    Code:
    Amp3dj1.Spectrum.ColorBands(0,Math.RGBToNumber(255, 0, 0))
    but nada!

    also, is "luacom.Connect" the only way to recive events from a control, i have the event functions setup but they not reciveing any events.

    also, one last thing, could my above problems be anything to do with LuaCOM's limitations?
    * LuaCOM currently supports only exposes COM objects as ``single use'' objects. That might be circumvented by exposing many times the same object. This restriction might be removed under request;
    * LuaCOM doesn't support COM methods with variable number of parameters. This could be circumvented passing the optional parameters inside a table, but this hasn't been tested. This may be implemented under request;
    * LuaCOM doesn't provide access to COM interfaces that doesn't inherit from IDispatch interface. That is, only Automation Objects are supported. This restriction is due to the late-binding feature provided by LuaCOM. It's possible to provide access to these COM interfaces via a "proxy" Automation Object, which translate calls made through automation to vtable (early-binding) calls. It's also possible to implement this "proxy" directly using LuaCOM C/C++ API, but this hasn't been tested nor tried;
    i can use and access all other methods and properties, just the above are giving me a headache.....might switch to VB for this project
    Open your eyes to Narcissism, Don't let her destroy your life!!

  4. #4
    Join Date
    May 2006
    Posts
    5,380
    ^^ that was ment be a new thread


    Cheers Rex, i tought it was something like that
    Open your eyes to Narcissism, Don't let her destroy your life!!

  5. #5
    Join Date
    Jul 2007
    Posts
    1,512
    Quote Originally Posted by RizlaUK View Post
    ^^ that was ment be a new thread


    Cheers Rex, i tought it was something like that
    Riz way are we still up lol

    np's i might have to get VB again for some mini windows programs i use to
    make maybe i don't know i like lua too much

  6. #6
    Join Date
    Jun 2006
    Location
    UK SouthWest
    Posts
    420
    Sside has made a color dll that does the job of the RGB function in Vb.

    I think Vb.net is a class based system that can also be use to program online code.

  7. #7
    Join Date
    May 2006
    Posts
    5,380
    Sside has made a color dll that does the job of the RGB function in Vb.
    Do'h, why dident i think of that, i'll give it a try
    Open your eyes to Narcissism, Don't let her destroy your life!!

  8. #8
    Join Date
    Jul 2007
    Posts
    1,512
    Quote Originally Posted by RizlaUK View Post
    Do'h, why dident i think of that, i'll give it a try
    we always overlook the simple things ok time
    for sleep also sorry for the
    spaces on my xda mini,
    also known as the imate kjam,
    mda and also the main or
    should I say manufactures
    name HTC Wizard

  9. #9
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Quote Originally Posted by RizlaUK View Post
    How would i translate this line from VB to AMS/LuaCOM

    Code:
    Amp3dj1.Spectrum.ColorBands(0) = RGB(255, 0, 0)
    i tried (as it was the only way the script editor would acecpt)
    Code:
    Amp3dj1.Spectrum.ColorBands(0,Math.RGBToNumber(255, 0, 0))
    but nada!

    also, is "luacom.Connect" the only way to recive events from a control, i have the event functions setup but they not reciveing any events.

    also, one last thing, could my above problems be anything to do with LuaCOM's limitations?


    i can use and access all other methods and properties, just the above are giving me a headache.....might switch to VB for this project
    When setting properties that accept paremters, you need to use : just like a function call. Something like this maybe. Don't know what control you are using so it's hard to know.
    Code:
    Amp3dj1.Spectrum:ColorBands(0,Math.RGBToNumber(255, 0, 0))
    or
    Code:
    Amp3dj1:Spectrum():ColorBands(0,Math.RGBToNumber(255, 0, 0))
    Also some activex controls require you to use 'set' and 'get' when setting and ready properties. This only applies to luacom.
    Code:
    Amp3dj1.Spectrum:setColorBands(0,Math.RGBToNumber(255, 0, 0))
    Dermot

    I am so out of here

  10. #10
    Join Date
    May 2006
    Posts
    5,380
    AMP3DJ.Spectrum:setColorBands(0,4227327);
    i did try with ":" but still nothing,

    with "set" it works perfect

    Thanks Dermot

    now iv only to figure out the event thing and im good to go
    Open your eyes to Narcissism, Don't let her destroy your life!!

Similar Threads

  1. Dependency Module: Microsoft .NET Framework 2.0
    By Adam in forum Setup Factory 8.0 Examples
    Replies: 30
    Last Post: 11-20-2009, 08:27 PM
  2. Dependency Module: Microsoft .NET Framework 1.1
    By Darryl in forum Setup Factory 8.0 Examples
    Replies: 12
    Last Post: 06-10-2008, 02:26 AM
  3. Setup Factory and VS 2005
    By vazir786 in forum Setup Factory 7.0
    Replies: 4
    Last Post: 01-13-2006, 08:47 PM
  4. Sorry quick question Boolean
    By slafta in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 06-05-2005, 12:37 AM
  5. vb .net & mdac install
    By charlesc in forum Setup Factory 6.0
    Replies: 2
    Last Post: 08-31-2004, 12:25 PM

Posting Permissions

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