Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

A program im working on


Daniel Moss 1059625
 Share

Recommended Posts

Daniel Moss 1059625
Posted
Posted

I am working on a program similar to ServInfo but in VB.net and with more updated features, etc.

 

A demo of the version is here: http://www.linuxdb.co.uk/fi.zip

 

Any suggestions, coders, helpers etc, let me know im willing to make it good.

 

Thanks and let me know what you think so far!

Link to comment
Share on other sites

Paul Byrne
Posted
Posted

Hi Dan,

 

When I try to retrieve VATSIM info, I get this error:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.Net.WebException: The operation has timed out

at System.Net.WebClient.DownloadFile(Uri address, String fileName)

at Microsoft.VisualBasic.MyServices.Internal.WebClientCopy.DownloadFile(Uri address, String destinationFileName)

at Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address, String destinationFileName, ICredentials networkCredentials, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)

at Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String p[Mod - Happy Thoughts]word, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)

at Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String p[Mod - Happy Thoughts]word, Boolean showUI, Int32 connectionTimeout, Boolean overwrite)

at FlightInfo.form1.VATSIMDATA()

at FlightInfo.form1.VATSIMNETWORK_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

************** Loaded [Mod - Happy Thoughts]emblies **************

mscorlib

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

FlightInfo

[Mod - Happy Thoughts]embly Version: 1.0.1.5

Win32 Version: 1.1.1.4

CodeBase: file:///C:/Downloads/VATSIM/fi/FlightInfo.exe

----------------------------------------

Microsoft.VisualBasic

[Mod - Happy Thoughts]embly Version: 8.0.0.0

Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/[Mod - Happy Thoughts]embly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

----------------------------------------

System

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Windows.Forms

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Runtime.Remoting

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

----------------------------------------

System.Data

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/[Mod - Happy Thoughts]embly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

System.Xml

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Configuration

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

and if I select continue, the program seems to freeze any other attempt at downloading as the VATSIM button is greyed out.

 

Nice one for creating something for the community.

 

Cheers!

Paul.

Link to comment
Share on other sites

David Klain 874106
Posted
Posted

Daniel,

 

Since you are developing an applicaton that accesses VATSIM's data, I suggest you contact Ross Carlson (VP of Development) to sign an NDA and get it straight from the horse's mouth...

 

Dave

Link to comment
Share on other sites

Luke Kolin
Posted
Posted
Since you are developing an applicaton that accesses VATSIM's data, I suggest you contact Ross Carlson (VP of Development) to sign an NDA and get it straight from the horse's mouth...

 

When did an NDA start to be required to access a ServInfo feed?

 

Cheers!

 

Luke

... I spawn hundreds of children a day. They are daemons because they are easier to kill. The first four remain stubbornly alive despite my (and their) best efforts.

... Normal in my household makes you a member of a visible minority.

Link to comment
Share on other sites

Tim Krajcar
Posted
Posted
When did an NDA start to be required to access a ServInfo feed?

 

Cheers!

 

Luke

 

A suggestion and a requirement are not the same thing.

Tim Krajcar

Link to comment
Share on other sites

Daniel Moss 1059625
Posted
Posted

I am currently working on this error, i missed some vital error checking,

 

Hi Dan,

 

When I try to retrieve VATSIM info, I get this error:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.Net.WebException: The operation has timed out

at System.Net.WebClient.DownloadFile(Uri address, String fileName)

at Microsoft.VisualBasic.MyServices.Internal.WebClientCopy.DownloadFile(Uri address, String destinationFileName)

at Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address, String destinationFileName, ICredentials networkCredentials, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)

at Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String p[Mod - Happy Thoughts]word, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)

at Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String p[Mod - Happy Thoughts]word, Boolean showUI, Int32 connectionTimeout, Boolean overwrite)

at FlightInfo.form1.VATSIMDATA()

at FlightInfo.form1.VATSIMNETWORK_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

and if I select continue, the program seems to freeze any other attempt at downloading as the VATSIM button is greyed out.

 

Nice one for creating something for the community.

 

Cheers!

Paul.

 

Also why do i have to have permission to use data servinfo already uses?

 

Thanks

Daniel

Link to comment
Share on other sites

Paul Byrne
Posted
Posted

Hi Daniel,

 

I believe your reply about that should be to David.

 

As far as I know, you don't need to sign an NDA to access the data feed from the network. I think David was simply suggesting that if you were interested in creating some apps for VATSIM, you could contact Ross and have a chat with him. Other, more integrated apps probably will require an NDA. But for this, you don't need to.

 

That's my understanding of it anyway.

 

Cheers!

Paul.

Link to comment
Share on other sites

 Share