Hi all.
It is possible, to read text (label text maybe) from dll.
So i have a Main program, what is read "texts" from .dll.
I tryed so:
dll file:
Main program
Thx for the help
It is possible, to read text (label text maybe) from dll.
So i have a Main program, what is read "texts" from .dll.
I tryed so:
dll file:
Code:
Public Class dll_text
Public x_user As New String = "test name 1"
Public x2_user As New String = "test name 2"
End Class
Code:
Imports dll_text
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Label1.Text = Label1.Text = dll_text.x_user /*but it cant call to string, and dont work
End Sub
End Class