5
Answers

calling a c# dll with vb6

Miguel

Miguel

15y
4.3k
1
Hi all! I'm really new to vb6 and have some knowledge of C# and would like to create a vb6 program that calls a C# dll but I've found a huge problem which is, I always get a "dll runtime error 453". I've been googling for some hours and can't find the solution for this problem... please help. thanks a lot B33bs (here's the code sample... it's just an example) Private Declare Function func Lib "C:\Documents and Settings\...\dllnewAtt.dll" () As String Private Sub Command1_Click() Dim nSpeed As String nSpeed = func() Form1.Text1.Text = nSpeed End Sub
Answers (5)
0
Senthilkumar

Senthilkumar

NA 15.2k 2.4m 12y
Hi,

Very difficult to answer without debugging the application.
But i suggest you to assign the css class from the server side to the control before update the ajax update panel.