+ Reply to Thread
Results 1 to 16 of 16
  1. #1
    Member firewolf's Avatar
    Join Date
    Aug 2003
    Posts
    229

    Visual Basic .Net - DLL file question

     
    I'd like to know how to create the .dll file so i can use my programs on other computers. The first program I made created the .dll file on its own but I may have changed something and now it does not make the .dll file anymore. Does anyone have an idea as to what I'm doing wrong or must do?

    Building Solution
    Rebuilding Solution

    Building *****
    Rebuilding *****

    I have tried already, as well as the Configuration Manager to Release and Debug.

  2. #2
    ph34r t3h g04t Whir's Avatar
    Join Date
    Oct 2001
    Location
    Kingsford, MI
    Posts
    29,251
    Blog Entries
    7
    Usually the program packager grabs all the dlls you need. Do you use that, or just grab all the files in the program's directory and move them to a different PC?

  3. #3
    Member firewolf's Avatar
    Join Date
    Aug 2003
    Posts
    229
    All i do is click Build Solution and/or Build program and it creates all the files.... now except the dll files

  4. #4
    ph34r t3h g04t Whir's Avatar
    Join Date
    Oct 2001
    Location
    Kingsford, MI
    Posts
    29,251
    Blog Entries
    7
    Hmmm, not sure then. I've never had the problem. Sorry I couldn't help.

  5. #5
    Member firewolf's Avatar
    Join Date
    Aug 2003
    Posts
    229
    It's all right.

    Could you explain what you yourself do to make a program so it is accessible on all Window-based operating systems, please? Maybe there is something i'm doing wrong.

  6. #6
    ph34r t3h g04t Whir's Avatar
    Join Date
    Oct 2001
    Location
    Kingsford, MI
    Posts
    29,251
    Blog Entries
    7
    I just use the program packager. I've never had a problem with it yet. I don't use .NET either though, I'm still using VB6. I could install VB.NET and see if I could find the option you're looking for, but I'd have to wait until tomorrow. My roommate has the discs at work.

  7. #7
    Member firewolf's Avatar
    Join Date
    Aug 2003
    Posts
    229
    That'd be great

    Please do so if you have the time.

    Also, one thing, what is "program packager" is that another program or is it part of VB?

  8. #8
    ph34r t3h g04t Whir's Avatar
    Join Date
    Oct 2001
    Location
    Kingsford, MI
    Posts
    29,251
    Blog Entries
    7
    It's probably the same as using Build Solution in VB.NET. It grabs all the relevant files that the executable needs, and packages them all into an installer executable.

  9. #9
    Member firewolf's Avatar
    Join Date
    Aug 2003
    Posts
    229
    this is what I do and where the files go...
    Attached Thumbnails Attached Thumbnails Visual Basic .Net - DLL file question-vbnet.gif  

  10. #10
    Not Really a Member
    Join Date
    Oct 2001
    Posts
    27,856
    1. Why do you want a dll? Its not needed to make it work on other machines. You only use a DLL if you want to call it from another application. You'll want to compile as an EXE

    2. ANY Machine you want to run it on will REQUIRE the Stinkin' .NET Framework (automatically installed for your bugginess satisfaction via Win2k SP3).


    Otherwise, when you compile the file should show up in the bin folder unless its throwing an error.

    Are you sure you're BUILDing and not just debugging?


    If you only have one file a packager isn't really necessary unless you want a single click install your app into a folder, and the .net framework (lemme tell ya its a PITA!!!! ) to get it working correctly.

  11. #11
    Member firewolf's Avatar
    Join Date
    Aug 2003
    Posts
    229
    i sent a program to a friend and it asked for that .dll file

    i debug and release (options for building),

    long ago i had vb4 but my knowledge just decided to take a permanent vacation and im back to sqaure one

  12. #12
    Not Really a Member
    Join Date
    Oct 2001
    Posts
    27,856
    Oh you sent him an exe and it requested the .dll?

    Ummm what's teh DLL name?

    Does he have the .NET Framework installed?
    Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.

  13. #13
    Member firewolf's Avatar
    Join Date
    Aug 2003
    Posts
    229
    i sent him every file vb made and no he doesn't have nor need .net framework, visual basic .net has it in itself to create programs for other computers that do not have the vb program, or so it says

  14. #14
    Not Really a Member
    Join Date
    Oct 2001
    Posts
    27,856


    No he does not need VB.NET installed

    He DOES need the .NET framework

    If you find a link that says otherwise, I'd suggest he install it.

    You see the problem with VB.NET is it doesn't compile into machine language. It compiles it MSIL (Microsoft Intermediate Language) Its kinda like Java. It compiles it into a intermediate language that when you double click the application its then INTERPRETED. Its kind of a hybrid language.

    SLOW startups are the worst which VB.NET pretty much requires.
    Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.

  15. #15
    Where's the beef? Scott Tiger's Avatar
    Join Date
    Mar 2002
    Location
    Southwest, VA
    Posts
    3,586
    Yep, Vassi s right. .Net went the same route as Sun did with Java. Without the runtime installed your programs aren't running.
    Where's Lunch?

  16. #16
    Member firewolf's Avatar
    Join Date
    Aug 2003
    Posts
    229
    what files do i have to include with my programs then?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews