Click here to Skip to main content
12,406,342 members (29,184 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
Hi guys
i want to know how can i load dll class library in load event using code like
UserControl TestContainer Form In Visual Studio
When I Press Load Button And Select File Its Load
Thanks



ok but it's can work with UserControl Library Or No
Send And Revise Data From TextBox Just Ex.
Posted 23-Nov-12 13:30pm
Updated 24-Nov-12 10:23am
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

hi dear,
you can use

Assembly.LoadFrom (String)

or [DLLImport] function

[DllImport("KERNEL32.DLL", EntryPoint="MoveFileW",  SetLastError=true,
CharSet=CharSet.Unicode, ExactSpelling=true,
CallingConvention=CallingConvention.StdCall)]
public static extern bool MoveFile(String src, String dst);
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

At Frist Thanks For Answer.

But If This Library Is A UserControl Can I View It , Send And Revise Data From Tools Like TextBox Or This For Assembly Method Only.

And Thanks For Answer Again.
  Permalink  
Comments
Nelek 24-Nov-12 8:55am
   
Please don't post solutions to add information, to ask something or to comment another user.
- To add information to your message, you can use the widget "Improve question" / "Improve solution" at the bottom of your text.
- To ask/answer a user, you can use the widget "Have a question or comment?" (as I am doing right now with you) or the widget "reply" in another comment.
Ahmed Emad Mohamed 24-Nov-12 16:26pm
   
Sorry For This Error
Nelek 25-Nov-12 5:32am
   
No problem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160730.1 | Last Updated 24 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100