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 cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"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
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 »Program Exits
Author Topic: Program Exits (4 messages, Page 1 of 1)

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


Posted: Aug 18, 2004 02:10 PM          Msg. 1 of 4
I'm trying to develop a VB .NET program receiving up to the second stock quotes. I've tryed this simple test program to figure out what the problem is and it exits after less than 5 min without a reason. Can anyone help, please. Here is the code for the form.

Private s1 As String = "KLAC"
Private s2 As String = "NVLS"

Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
IQFeed.WatchSymbol(s1)
IQFeed.WatchSymbol(s2)
End Sub


Private Sub IQFeed_ReceiveMessage(ByVal sender As Object, ByVal e As AxIQFEEDXLib._IIQFeedXEvents_ReceiveMessageEvent) Handles IQFeed.ReceiveMessage
If (e.message.Chars(0) = "Q") Then
Dim message As String() = Split(e.message, ",")
If message(1) = s1 Then
lstOutput.Items.Add("S1 " & message(3))
ElseIf message(1) = s2 Then
lstOutput.Items.Add("S2 " & message(3))
End If
End If
End Sub

See very simple program, why does it exit...

jfcantin
-Interested User-
Posts: 20
Joined: May 18, 2004


Posted: Aug 18, 2004 02:44 PM          Msg. 2 of 4
Look at the following thread : http://forums.iqfeed.net/index.cfm?page=topic&topicID=150 posted a few days ago and you will have your answer.

You will probably need to implement the socket interface like most of the .net users.

I might be wrong, but it looks like you are using IQFeedX instead of IQFeedY.

JF

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


Posted: Aug 19, 2004 11:41 AM          Msg. 3 of 4
OK I see now that I should be using IQFeedY, but I don't see any examples for VB .NET. I tried the AX control, but it would shutdown my program right after it loged in. I'm currently trying to use the Com direction from reading other problems in this forum, but still having problems with tham. Does anyone have a simple watch symbol program in VB .NET that they could send me.

Thanks...

DTN_Natalie_H
-DTN Evangelist-
Posts: 175
Joined: May 10, 2004

DTN Market Access, LLC.


Posted: Aug 19, 2004 04:53 PM          Msg. 4 of 4
We have two .NET examples, one is CSharp and the other is VB. The VB one uses IQFeedY, and would be a good one for you to review. It is installed with the developer install package, and you can acccess the code/run it from Start menu->Programs->IQFeed->.NET Examples->Level1 VB.NET COM.

Natalie Hannan DTN Market Access, LLC.
 

 

Time: Mon May 6, 2024 6:50 PM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003