Click here to Skip to main content
11,716,249 members (88,077 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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
Edited 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 at 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 at 24-Nov-12 16:26pm
   
Sorry For This Error
Nelek at 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
0 Sergey Alexandrovich Kryukov 664
1 Maciej Los 340
2 Richard MacCutchan 280
3 F-ES Sitecore 240
4 OriginalGriff 175
0 Sergey Alexandrovich Kryukov 1,029
1 Maciej Los 464
2 Richard MacCutchan 430
3 CHill60 415
4 OriginalGriff 415


Advertise | Privacy | Mobile
Web03 | 2.8.150901.1 | Last Updated 24 Nov 2012
Copyright © CodeProject, 1999-2015
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