Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"Everything is working great with the API. I love it." - Comment from Calvin
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »Can't get simple program to work with IQFeedY...
Author Topic: Can't get simple program to work with IQFeedY... (1 messages, Page 1 of 1)

gklangreck
-Interested User-
Posts: 3
Joined: Aug 18, 2004


Posted: Sep 3, 2004 09:17 AM          Msg. 1 of 1
Can't get simple VB .NET program to work with IQFeedY. I draged the AX control to the form and used it that way. I also tried using the COM way and could not get anything to work. Can someone please help with this simple program...

Here is the code for the form...

Public Class Form1
Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim strName As String = "IQFEED_DEMO"
Dim strVersion As String = "1"
Dim strKey As String = "0.11111111"
Try
IQFeedY.RegisterClientApp(strName, strVersion, strKey)
IQFeedY.SetAutoLogin("000000", "0000")
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
End Sub

Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
IQFeedY.WatchSymbol("KLAC")
End Sub

Private Sub IQFeedY_QuoteMessage(ByVal sender As Object, ByVal e As AxIQFEEDYLib._DIQFeedYEvents_QuoteMessageEvent) Handles IQFeedY.QuoteMessage
lstOutput.Items.Add(e.strQuoteData)
End Sub

Private Sub IQFeedY_IQConnectStatus(ByVal sender As Object, ByVal e As AxIQFEEDYLib._DIQFeedYEvents_IQConnectStatusEvent) Handles IQFeedY.IQConnectStatus
lstOutput.Items.Add("Connection Code " & e.lStatus.ToString)
End Sub
End Class
 

 

Time: Sat May 4, 2024 11:57 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003