Click here to Skip to main content
12,759,704 members (32,859 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB VB.NET
I have tried to convert this code on the internet using the converter but when i put the converted code in the form it has an error... can you please help me with this code..

qc.OnQuote += new QuoteEventHandler(qc_OnQuote);

 static void qc_OnQuote(object sender, QuoteEventArgs args)
            QuoteClient qc = (QuoteClient)sender;
            if (s_bQuote)
Posted 25-Feb-13 0:31am
Updated 25-Feb-13 0:33am
CHill60 25-Feb-13 5:33am
Why not try posting the converted code and telling us what the error is
CodeMaster_Noob 25-Feb-13 5:35am
need more info to help you.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Make sure you define s_bQuote somewhere in your code.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Because of
qc.OnQuote is not defined in first line.
Member 9363513 25-Feb-13 6:36am
The OnQuote is an event in QuoteClient class

dim qc=new QuoteClient

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170217.1 | Last Updated 25 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100