VisualCron_nat.dll not found - VisualCron - Forum

Community forum

josegarciacamara
2014-05-13T10:14:08Z
Hi,
I'm trying to develope my first VisualCron API vb.net code...

The guide say that there are 3 important files... but I only have two dll files. I have not visulacron_nat.dll file.

Can any one say me where is this file?

Thanks!
Best Regards,

Joseupe
Support
2014-05-13T10:16:36Z
The two dll files are enough - you do not need more files. Thanks
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
josegarciacamara
2014-05-13T10:36:09Z
Hi,
I get errors regarding not defined types. (VS 2013 express for web)



Type 'VisualCronAPI_Client' is undefined C:\Users\Jose\documents\visual studio 2013\Projects\WebApplication5\WebApplication5\WebForm1.aspx.vb 12 22 WebApplication5
Error 2
Type 'VisualCronAPI_Server' is undefined C:\Users\Jose\documents\visual studio 2013\Projects\WebApplication5\WebApplication5\WebForm1.aspx.vb 13 18 WebApplication5
Error 3
Type 'Connection' is undefined. C:\Users\Jose\documents\visual studio 2013\Projects\WebApplication5\WebApplication5\WebForm1.aspx.vb 14 25 WebApplication5
Support
2014-05-13T10:51:46Z
Sounds strange. Are you using;

imports VisualCron.dll
imports VisualCronAPI.dll
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
josegarciacamara
2014-05-13T11:00:54Z
This is the code, just the sample code in a button click event.

Quote:


Imports VisualCronAPI
Imports VisualCron

Public Class WebForm1
Inherits System.Web.UI.Page


Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

End Sub

Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

Dim c As New VisualCronAPI_Client
Dim s As VisualCronAPI_Server
Dim conn As New Connection
conn.ConnectionType = ConnectionT_Local
s = c.Connect(conn, True)
MsgBox(s.InSync)
End Sub
End Class

Support
2014-05-13T11:40:38Z
Why do you get underscores like this "VisualCronAPI_Client"? Which version are you using really? It seems like you use the old *.tlb file?

If you have referenced VisualCronAPI you should just use Client and not VisualCronAPI_Client.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
josegarciacamara
2014-05-13T12:44:31Z
Hi,
Now it works!

I get the sample from C:\Program Files (x86)\VisualCron\API\docVisualCronAPI.pdf file.
I download the same document from your web.

I think this document is not up to date.

Do you know where can I get an up to date API documentation?

Thanks,

Best Regards,

Joseupe.
Support
2014-05-13T12:49:02Z
We do not have any specific documentation updated. But we have a c# sample project which should cover most things. It is located in the installation folder here:

C:\Program Files (x86)\VisualCron\API\samples\TestClient
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top