Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline josegarciacamara  
#1 Posted : Tuesday, May 13, 2014 11:14:08 AM(UTC)
josegarciacamara

Rank: No customer

Joined: 3/6/2013(UTC)
Posts: 4
Spain
Location: Tordera

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

Edited by moderator Tuesday, May 13, 2014 1:50:02 PM(UTC)  | Reason: Not specified

Offline Support  
#2 Posted : Tuesday, May 13, 2014 11:16:36 AM(UTC)
Support

Rank: Official support

Medals:
Joined: 2/23/2008(UTC)
Posts: 9,300

Thanks: 566 times
Was thanked: 321 time(s) in 309 post(s)
The two dll files are enough - you do not need more files. Thanks
Henrik
Support
http://www.visualcron.com

Please like VisualCron on facebook!
Offline josegarciacamara  
#3 Posted : Tuesday, May 13, 2014 11:36:09 AM(UTC)
josegarciacamara

Rank: No customer

Joined: 3/6/2013(UTC)
Posts: 4
Spain
Location: Tordera

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
Offline Support  
#4 Posted : Tuesday, May 13, 2014 11:51:46 AM(UTC)
Support

Rank: Official support

Medals:
Joined: 2/23/2008(UTC)
Posts: 9,300

Thanks: 566 times
Was thanked: 321 time(s) in 309 post(s)
Sounds strange. Are you using;

imports VisualCron.dll
imports VisualCronAPI.dll
Henrik
Support
http://www.visualcron.com

Please like VisualCron on facebook!
Offline josegarciacamara  
#5 Posted : Tuesday, May 13, 2014 12:00:54 PM(UTC)
josegarciacamara

Rank: No customer

Joined: 3/6/2013(UTC)
Posts: 4
Spain
Location: Tordera

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
Offline Support  
#6 Posted : Tuesday, May 13, 2014 12:40:38 PM(UTC)
Support

Rank: Official support

Medals:
Joined: 2/23/2008(UTC)
Posts: 9,300

Thanks: 566 times
Was thanked: 321 time(s) in 309 post(s)
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.

Edited by user Tuesday, May 13, 2014 12:41:57 PM(UTC)  | Reason: Not specified

Henrik
Support
http://www.visualcron.com

Please like VisualCron on facebook!
Offline josegarciacamara  
#7 Posted : Tuesday, May 13, 2014 1:44:31 PM(UTC)
josegarciacamara

Rank: No customer

Joined: 3/6/2013(UTC)
Posts: 4
Spain
Location: Tordera

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.
Offline Support  
#8 Posted : Tuesday, May 13, 2014 1:49:02 PM(UTC)
Support

Rank: Official support

Medals:
Joined: 2/23/2008(UTC)
Posts: 9,300

Thanks: 566 times
Was thanked: 321 time(s) in 309 post(s)
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!
Users browsing this topic
Guest (2)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2016, Yet Another Forum.NET
This page was generated in 0.249 seconds.
Scroll to Top