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)




"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"Excellent datafeed !!!" - Comment from Arely
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
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: Sun May 26, 2024 2:57 PM CFBB v1.2.0 5 ms.
© AderSoftware 2002-2003