Click here to Skip to main content
15,907,326 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: move reports form a datagridview to another Pin
lordgara18-Feb-09 5:21
lordgara18-Feb-09 5:21 
QuestionVB.NET Pin
Umesh_8617-Feb-09 20:22
Umesh_8617-Feb-09 20:22 
AnswerRe: VB.NET Pin
Vimalsoft(Pty) Ltd17-Feb-09 21:51
professionalVimalsoft(Pty) Ltd17-Feb-09 21:51 
QuestionNeed Autocomplete Textbox With Text and Value Property Pin
Jagz W17-Feb-09 19:17
professionalJagz W17-Feb-09 19:17 
AnswerRe: Need Autocomplete Textbox With Text and Value Property Pin
dan!sh 17-Feb-09 20:17
professional dan!sh 17-Feb-09 20:17 
QuestionGet Pen Drive Serial No. Not Drive No Pin
Vikash Yadav17-Feb-09 18:56
Vikash Yadav17-Feb-09 18:56 
Questionvb2008 doesn't call a sub in a form Called through assembly Pin
Aiman Farouk Mohamed17-Feb-09 18:46
Aiman Farouk Mohamed17-Feb-09 18:46 
AnswerRe: vb2008 doesn't call a sub in a form Called through assembly Pin
kvelu.d17-Feb-09 19:22
kvelu.d17-Feb-09 19:22 
just two days back only i solved this problem, Try this below code and this may help you to find out your solution

******This is your windows application or class library project, but it should be "Public Module"******
Public Module TestModule
    Public Sub Test()
        MsgBox("Test successfully completed")
    End Sub
End Module


******Below Code to your Current Project******
Imports System.Reflection


******Use the below code at any event or funtions******
Dim Path As String = "......\"
Dim FileName As String = "XXXX.dll" 'Or "XXXX.exe"
Dim FileAssembly As Assembly = Reflection.Assembly.LoadFile(Path & FileName)
Dim ModuleName As String = "TestModule"
Dim SubName As String = "Test"
Dim RefType As Type = FileAssembly.GetType(FileAssembly.GetName.Name & "." & ModuleName)
Dim MyForm As Form = New Form
RefType.InvokeMember(SubName, BindingFlags.InvokeMethod, Nothing, MyForm, Nothing)


Please tell me the above codes are working or not.......
GeneralRe: vb2008 doesn't call a sub in a form Called through assembly Pin
Aiman Farouk Mohamed18-Feb-09 0:30
Aiman Farouk Mohamed18-Feb-09 0:30 
QuestionCreate setup project using own code Pin
kvelu.d17-Feb-09 17:58
kvelu.d17-Feb-09 17:58 
AnswerRe: Create setup project using own code Pin
Dave Kreskowiak17-Feb-09 18:02
mveDave Kreskowiak17-Feb-09 18:02 
GeneralRe: Create setup project using own code Pin
kvelu.d17-Feb-09 18:12
kvelu.d17-Feb-09 18:12 
GeneralRe: Create setup project using own code Pin
Vimalsoft(Pty) Ltd17-Feb-09 21:54
professionalVimalsoft(Pty) Ltd17-Feb-09 21:54 
GeneralRe: Create setup project using own code Pin
Dave Kreskowiak18-Feb-09 1:35
mveDave Kreskowiak18-Feb-09 1:35 
GeneralRe: Create setup project using own code Pin
Vimalsoft(Pty) Ltd17-Feb-09 21:56
professionalVimalsoft(Pty) Ltd17-Feb-09 21:56 
GeneralRe: Create setup project using own code Pin
Dave Kreskowiak18-Feb-09 1:34
mveDave Kreskowiak18-Feb-09 1:34 
GeneralRe: Create setup project using own code Pin
Vimalsoft(Pty) Ltd18-Feb-09 1:40
professionalVimalsoft(Pty) Ltd18-Feb-09 1:40 
Question[Message Deleted] Pin
scothyhut17-Feb-09 17:45
scothyhut17-Feb-09 17:45 
AnswerRe: Threading problem Pin
Christian Graus17-Feb-09 17:55
protectorChristian Graus17-Feb-09 17:55 
Questionis it possible? Pin
sathyan_829417-Feb-09 17:29
sathyan_829417-Feb-09 17:29 
AnswerRe: is it possible? Pin
Christian Graus17-Feb-09 17:54
protectorChristian Graus17-Feb-09 17:54 
QuestionError in Loading DriveinfoEx.dll Pin
Vikash Yadav17-Feb-09 17:15
Vikash Yadav17-Feb-09 17:15 
GeneralRe: Error in Loading DriveinfoEx.dll Pin
Luc Pattyn17-Feb-09 17:40
sitebuilderLuc Pattyn17-Feb-09 17:40 
QuestionSMTP email (gmail) Pin
Amanjot17-Feb-09 16:05
Amanjot17-Feb-09 16:05 
AnswerRe: SMTP email (gmail) Pin
Christian Graus17-Feb-09 16:07
protectorChristian Graus17-Feb-09 16:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.