Results 1 to 11 of 11

Thread: multi-language projects

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    la la la you can't see me
    Posts
    46

    Question multi-language projects

    I was told that you can add c++ classes/dll's to a vb prog. Nobody wants to tell me how, though. I'm running .net on XP. Help!

    p.s. i'm still learning vb, so go easy on the technical mumbo jumbo, pls.
    What does "formatting drive C..." mean?!

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    well, you can make a class library project in one language and when you compile it, it will make a dll for you
    then you can add that dll to the REFRENCES of your other projects and use the functions in that dll


    I'm not that good in .NET, that's as far as I have done this
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    la la la you can't see me
    Posts
    46
    close, but no cigar. what do u mean, REFERENCES? like i said, im still learning (teaching myself, really). also, how would i use it in a regular windows app?
    What does "formatting drive C..." mean?!

  4. #4
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by white_as_snow
    close, but no cigar. what do u mean, REFERENCES? like i said, im still learning (teaching myself, really). also, how would i use it in a regular windows app?
    umm, in the Solution Explorer on the right side, there is a category called refrences under your project's name
    right click on it and clickn on Add Reference, and then browse for your dll to add it


    btw I'm not the best person to explain this, so feel free to ask this again, maybe someone else could help you
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  5. #5
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    Some explanations require technical mumbo jumbo you know. Anyway you project references certain dlls by default. You will see a references node in the solution window. Expand it to see what is referenced by the project. Right-Click on it to add a reference. This allows you to select from the .net class library of dlls, com objects or project dlls.
    If you created a dll in C++ you would browse to it and add a reference to it in your project. You can now create an instance of it in your code etc.
    If that is too technical I advise you buy a book.

  6. #6

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    la la la you can't see me
    Posts
    46
    thanx

    btw sorry i just meant that since im still learning, i don't know all the fancy stuff yet. i would buy a book, but that's money i don't have at this moment. so, i just learn what i can by asking ?s out here. this is my book/teacher.
    What does "formatting drive C..." mean?!

  7. #7
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    th best thing u could do to urself is buy a book to learn the theory behind programming otherwise u'll be just programming in the dark

  8. #8

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    la la la you can't see me
    Posts
    46
    i know the top-down, 6-step, whatever theory, and a bunch of the other stuff about it. i can teach myself, more or less. it goes faster if i can ask a person instead of a book. a book only gives u so much insight on something, and isn't problem specific. ive taken one course already, but that was 5.0 and a cheesy highschool-level bunch of bs. i just ask a bunch of ?s.

    ps. im in college. i don't have money.
    What does "formatting drive C..." mean?!

  9. #9
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    I'm in the same boat as you pretty much, although I was lucky enough to have the cash to get started right - If you can cough up enough dough for a good book it'll answer questions you don't even know how to ask yet. I got a tremendous amount of info from Programming Visual Basic .NET by Francesco Balena and will be reading it for months to come. It's sixty bucks but I'm sure you could shop it around and get it much cheaper.

  10. #10
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    I accept that a book may be too expensive for a student (even though it does seem contradictory) but at least read some tutorials on websites etc. I like answering peoples questions here and on other forums because I believe in spreading the knowledge but and there is a but I do get annoyed when people ask questions like:-

    "Can someone tell me how to access, update and add rows to a database and the best method to use for a 3-tier system. Oh yeah and how do 3-tier systems work?"

    Now thats unfair to forum posters. We're not here to write books for people but to answer specific questions like:-

    "I get an error when trying to update a row in a databse on a ........etc."

    In other words if you want to know how to do something properly then read about it, try it and if it doesn't work then ask on a forum for help with your problem.

  11. #11

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    la la la you can't see me
    Posts
    46
    dont worry, Musician, i try to only ask specific questions. i try to find tutorials, but a lot of them are low level stuff. ive got the basics down; i just need a way to 'expand my horizons' (i hate that cliche).

    ciao
    What does "formatting drive C..." mean?!

Posting Permissions

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



Click Here to Expand Forum to Full Width