Re: [Quickfix-developers] Function problem in vb.net
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-11-15 15:24:38
|
Before you access a windows forms control you must make sure you are in the form thread. See Invoke and InvokeRequired. http://msdn2.microsoft.com/en-us/library/ system.windows.forms.control.invoke.aspx http://msdn2.microsoft.com/en-us/library/ system.windows.forms.control.invokerequired.aspx --oren On Nov 15, 2006, at 8:21 AM, cstrader wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > I have a weird problem in vb.net 2005 that is causing me major > headaches. The problem is that some commands given within > quickfix functions do not execute. > > For instance, > > This sub writes to both the console and the textbox: > Public Sub onCreate(ByVal sessionID As QuickFix.SessionID) > Implements QuickFix.Application.onCreate > > Console.write("ONCREATE") > > Form1.TextBox1.Text = "ONCREATE" > > End Sub > > But although this sub writes to the console, it does NOT write to > form1.textbox1!!! > > > > Public Sub onLogout(ByVal sessionID As QuickFix.SessionID) > Implements QuickFix.Application.onLogout > > Console.write("ONLOGOUT") > > Form1.TextBox1.Text = "LOGOUT" > > End Sub > > Also, the ToApp sub is OK in this regard, but the FromApp sub does > not print to the textbox either??? > > thanks! > > > chuck > > > > ----- Original Message ----- > From: John Haldi > To: cstrader > Sent: Wednesday, October 25, 2006 9:26 AM > Subject: RE: Any luck? > > Its very common for NetAdmins to disable pinging from external > IPs. But you need to get the broker's IT guy on the phone and > explain that you're trying to connect to their FIX engine and see > if he can determine whether there are any permission issues > preventing you from connecting. > > From: cstrader [mailto:cst...@cs...] > Sent: Wednesday, October 25, 2006 10:12 AM > To: John Haldi > Subject: Re: Any luck? > > No...but thanks for asking. > > If I can't ping the ip address my broker has given me, and there is > no reason that I can think of on my end, what do you think that means? > > > ----- Original Message ----- > From: John Haldi > To: cstrader > Sent: Wednesday, October 25, 2006 10:01 AM > Subject: Any luck? > > > > -------------------------------------- > John Haldi > Allagash Trading, LLC > 120 Broadway, 20th Floor > New York, NY 10271 > 212.433.3958 > jo...@al... > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |