Results 1 to 10 of 10

Thread: [RESOLVED] Form and create dll

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Resolved [RESOLVED] Form and create dll

    I have form where I used to create standard exe. So How I can used the form to create dll ? This is because I choose standard exe not ActiveX dll..Any Idea?What should I do?

  2. #2
    Member
    Join Date
    Apr 2008
    Posts
    40

    Re: Form and create dll

    hmmmmmmmm
    could'nt u make it save as a .dll?
    -+Visual Basic 6+-

    Programmer
    Hacking The Art Of Exploits
    Forum:
    http://vbforum.com/
    Site:
    http://vbforum.com/

    I Live, I Dream, I Code

  3. #3
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Form and create dll

    When you create a standard exe you told VB ahead of time that you wanted to open up a project for a standard exe. Now if you want to make an ActiveX DLL you also need to tell VB ahead of time to open up a project for an ActiveX DLL.

    You cannot open up a project for one type, like a standard exe for example, and save it as another type, like a DLL for example.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Form and create dll

    I not yet create the create a standard exe. I just choose standard exe during design time. From there, It is possible to create dll? Because when I choose file--> It have Make "Project1.exe" . So What does't have Make "Project1.dll" ? How to switch? Does't I have to copy the code and form from standard exe and choose ActiveX dll? Any easier way to switch without copy the code?
    Attached Images Attached Images  

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Form and create dll

    Quote Originally Posted by ZackM
    hmmmmmmmm
    could'nt u make it save as a .dll?
    How? I only see *.exe from File--> Make "Project.exe"? How to change this Project Properties to Make "Project1.dll"

  6. #6
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Form and create dll

    Create a new project of ActiveX DLL .... copy the code over....

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Form and create dll

    Can I just import the form ? I try importing the form, So I not need to copy the code.

    One more thing, while browsing my project properties, I found this as the attach files. So It is possible to change the project type from standard Exe to ActiveX dll? Because I now on the standard exe..
    Attached Images Attached Images  

  8. #8
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Form and create dll

    Quote Originally Posted by matrik02
    I not yet create the create a standard exe. I just choose standard exe during design time. From there, It is possible to create dll? Because when I choose file--> It have Make "Project1.exe" . So What does't have Make "Project1.dll" ? How to switch? Does't I have to copy the code and form from standard exe and choose ActiveX dll? Any easier way to switch without copy the code?
    I already told you how to do it in post #3

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Form and create dll

    You cannot open up a project for one type, like a standard exe for example, and save it as another type, like a DLL for example
    Your answer make me confuse.I am not saving it. I just make the the dll from File -->Make Project.dll.

    I have try it and found it work.
    I open standard exe and From Project properites,I choose the properties type as ActiveXdll and from File--> I I go to "make project.dll" . I am able to create dll when I change the project type as ActiveXdll while I am on standard exe.

  10. #10
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Form and create dll

    Quote Originally Posted by matrik02
    Your answer make me confuse.I am not saving it. I just make the the dll from File -->Make Project.dll.

    I have try it and found it work.
    I open standard exe and From Project properites,I choose the properties type as ActiveXdll and from File--> I I go to "make project.dll" . I am able to create dll when I change the project type as ActiveXdll while I am on standard exe.


    That's exactly what I told you

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