PureBytes Links
Trading Reference Links
|
Al,
You can not test it that way !
This is C++ code that I have used internally in AB. In order
to check it out you would need a Visual C++ compiler, write a sample
applicaiton,
compile it and so on.
Good heavens
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Al
Venosa
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, November 09, 2003 2:56
PM
Subject: Re: [amibroker] Re: AmiBroker
4.48.0 BETA released
Tomasz:
I went to the Microsoft link that you gave
below, copied (ctl-c) some of the HTML code, and pasted (ctl-v) it into this
email (see below). It worked fine. But when I go back to AB and copy
selected colored text and try to paste it into this message, it does not
paste. I'm using XP Home and OE6. I realize you may not have any more ideas,
but in previous versions of AB, I could easily copy and paste code into OE6
(except each line was double-spaced after pasting). I CAN get it to work if I
first paste the code into a text editor like TextPad or ConText, then copy and
paste from there into OE6. But not directly from AB to OE6. Also, I cannot
replicate this problem with my laptop. It works just fine, and it is equipped
with XP Home and OE6, too. Very weird.
Al V.
// CopyHtml() - Copies given HTML to the clipboard.// The HTML/BODY
blanket is provided, so you only need to// call it like
CallHtml("<b>This is a test</b>");void CopyHTML(char
*html) { // Create temporary buffer for HTML
header... char *buf = new char [400 +
strlen(html)]; if(!buf)
return; // Get clipboard id for HTML
format... static int cfid = 0;
if(!cfid) cfid = RegisterClipboardFormat("HTML
Format"); // Create a template string for the HTML
header...
strcpy(buf,
"Version:0.9\r\n"
"StartHTML:00000000\r\n"
"EndHTML:00000000\r\n"
"StartFragment:00000000\r\n"
"EndFragment:00000000\r\n"
"<html><body>\r\n"
"<!--StartFragment -->\r\n"); // Append the
HTML... strcat(buf, html);
strcat(buf, "\r\n"); // Finish up the HTML
format...
strcat(buf,
"<!--EndFragment-->\r\n"
"</body>\r\n"
"</html>");
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Tomasz Janeczko
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, November 09, 2003 8:42
AM
Subject: Re: [amibroker] Re: AmiBroker
4.48.0 BETA released
Hello,
Sorry, but this has to be something with your
Word.
It works fine with my Word 2000, Outlook Express 6 and any
other application.
In 4.48.0 I was using my code
but in 4.48.1 I have
used code that was WRITTEN and PUBLISHED BY MICROSOFT
here:
<A
href="">http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q274/3/08.asp&NoWebContent=1
If Microsoft code does not work with Microsoft products
then I have run out of ideas.
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Ken Close
To: <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, November 09, 2003 1:56
PM
Subject: RE: [amibroker] Re:
AmiBroker 4.48.0 BETA released
<SPAN
>Seeing this
message, I tried opening Word and copy pasting and it worked.
<SPAN
>
<SPAN
>When I click
reply or new message in OUTLOOK (not Outlook Express), Word is my editor
and so it opens within Outlook.
<SPAN
>
<SPAN
>I can not paste
into the Word program used as an Outlook Editor, but I can paste directly
into Word opened standalone.
<SPAN
>
<SPAN
>Curious.
<SPAN
>
<SPAN
>Plus, I was wrong
in my previous message. The icon shows the selection “collected” to
the clipboard from the AA window.
<SPAN
>
<SPAN
>Outlook and
Outlook Express is the culprit.
<SPAN
>
<SPAN
>Now,
I just went and recopied the pasted code in Word, and now it pastes
directly into the message here in the Outlook
window.
<SPAN
>
<SPAN
>So, I can now
make a two step process when I need to paste code into a message, so while
a little inconvenient, I have an acceptable workaround, so it is not
necessary to keep fooling with this AFAIAC.
<SPAN
>
<SPAN
>Ken
<SPAN
>
<SPAN
>
<SPAN
>-----Original
Message-----From: Al
Venosa [mailto:advenosa@xxxxxxxxxxxx] <SPAN
>Sent: Sunday, November 09, 2003 7:44
AMTo:
amibroker@xxxxxxxxxxxxxxx<SPAN
>Subject: Re: [amibroker] Re:
AmiBroker 4.48.0 BETA released
<SPAN
>
<SPAN
>TJ:
<SPAN
>
<SPAN
>I hate to say this, but it still doesn't paste
into OE6, although it now pastes fine into Word.
<SPAN
>
<SPAN
>AV
<BLOCKQUOTE
>
<SPAN
>----- Original Message -----
<FONT face=Arial
size=2><SPAN
>From:<FONT
face=Arial size=2> <A
title=amibroker@xxxxxx href="">Tomasz
Janeczko
<SPAN
>To:<FONT
face=Arial size=2> <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
<SPAN
>Sent:<FONT
face=Arial size=2>
Sunday, November 09, 2003 6:41 AM
<SPAN
>Subject:<FONT
face=Arial size=2> Re:
[amibroker] Re: AmiBroker 4.48.0 BETA released
<SPAN
>
<SPAN
>Al, and all having problems with html
copy:
<SPAN
>
<SPAN
>Please try just released version 4.48.1.
Hopefully it will address your problems.
<SPAN
>(I could not really find out by myself because
old version worked on all my testing machines
anyway)
<SPAN
>
<SPAN
>Best regards,Tomasz
Janeczkoamibroker.com
<BLOCKQUOTE
>
<SPAN
>----- Original Message
-----
<FONT face=Arial
size=2><SPAN
>From:<FONT
face=Arial size=2>
Al
Venosa
<SPAN
>To:<FONT
face=Arial size=2>
<A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
<SPAN
>Sent:<FONT
face=Arial size=2>
Sunday, November 09, 2003 3:02 AM
<SPAN
>Subject:<FONT
face=Arial size=2>
Re: [amibroker] Re: AmiBroker 4.48.0 BETA
released
<SPAN
>
<SPAN
>TJ:
<SPAN
>
<SPAN
>I just tried it on my WinXP laptop, and it
works fine. Hitting CTL-C and CTL-V pastes nice colored text into OE6
and Word. So, there is something wrong with my desktop. Any
ideas?
<SPAN
>
<SPAN
>Al V.
<BLOCKQUOTE
>
<SPAN
>----- Original Message
-----
<FONT face=Arial
size=2><SPAN
>From:<FONT
face=Arial size=2>
<A title=advenosa@xxxxxxxxxxxx
href="">Al Venosa
<SPAN
>To:<FONT
face=Arial size=2>
<A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
<SPAN
>Sent:<FONT
face=Arial size=2>
Saturday, November 08, 2003 8:47 PM
<SPAN
>Subject:<FONT
face=Arial size=2>
Re: [amibroker] Re: AmiBroker 4.48.0 BETA
released
<SPAN
>
<SPAN
>Weird. Even if I use the mouse to
Copy/Paste, it still doesn't work. I am using WinXP and OfficeXP,
not Win2000. What's really funny is when I go to Word2002 and hit
Paste/Special using the mouse and select Formatted Text (RTF), it
works (I get nice colored text). If I choose Unformatted Text, I get
regular black and white text. If I simply use the keyboard and press
CTL-V or use the mouse and press Edit/Paste, nothing gets pasted.
Unfortunately, OE6 does not have the Paste/Special function, so I
still can't paste in OE6.
<SPAN
>
<SPAN
>AV
<BLOCKQUOTE
>
<SPAN
>----- Original Message
-----
<FONT face=Arial
size=2><SPAN
>From:<FONT
face=Arial size=2><SPAN
> <A
title=bvandyke@xxxxxxx href="">bvandyke
<SPAN
>To:<FONT
face=Arial size=2><SPAN
> <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
<SPAN
>Sent:<FONT
face=Arial size=2><SPAN
> Saturday, November
08, 2003 8:33 PM
<SPAN
>Subject:<FONT
face=Arial size=2><SPAN
> [amibroker] Re:
AmiBroker 4.48.0 BETA released
<SPAN
>
<FONT
face="Courier New" size=2><SPAN
>Al,<FONT
face="Courier New" size=2><SPAN
><FONT
face="Courier New">I'm using Word 2000 and i can paste into it
after copying from AA to <FONT
face="Courier New">Clipboard by using Control-C. I don't use
Outlook so i don't know <FONT
face="Courier New">about it. I can paste into WordPad also.
Weird that yours won't <FONT
face="Courier New">paste into Word 200. I get it to all work
also by using the Mouse, <FONT
face="Courier New">which you might consider if you haven't
before. Sorry i can't be of <FONT
face="Courier New">more help.<FONT
face="Courier New">Bill<FONT
face="Courier New">--- In amibroker@xxxxxxxxxxxxxxx, "Al Venosa"
<advenosa@xxxx> wrote:<FONT
face="Courier New">> TJ:<FONT
face="Courier New">> <FONT
face="Courier New">> I use Outlook Express version 6. I
selected some AFL code, pressed <FONT
face="Courier New">CTL-C, and went to Outlook Express (or Word),
and pressed CTL-V, and <FONT
face="Courier New">nothing got pasted. I also tried TextPad and
ConText, and it pasted <FONT
face="Courier New">fine into both of those text editors. But for
some reason, it <FONT
face="Courier New">doesn't want to paste into OE-6 or Word. In
previous versions of AB, <FONT
face="Courier New">it pasted just fine into OE6 and Word.
>
> Al
V.>
----- Original Message ----- <FONT
face="Courier New">> From: Tomasz Janeczko
> To:
amibroker@xxxxxxxxxxxxxxx <FONT
face="Courier New">> Sent: Saturday, November 08,
2003 8:04 PM<FONT
face="Courier New">> Subject: Re: [amibroker]
AmiBroker 4.48.0 BETA released<FONT
face="Courier New">> <FONT
face="Courier New">> <FONT
face="Courier New">> Al,<FONT
face="Courier New">> <FONT
face="Courier New">> Should work with CTRL+C. It
has been checked with Outlook <FONT
face="Courier New">Express version 6.0<FONT
face="Courier New">> What version do you use ? Is
it Outlook Express or Outlook <FONT
face="Courier New">(these are two different
programs).>
>
Dreamweaver is a HTML editor from Macromedia. I have added this
feature for myself
:-)>
since I am writing a lot of things involving HTML editing (for
example S&C
traders tips) and wanted<FONT
face="Courier New">> to save myself time
copying-pasting colorized code from AFL <FONT
face="Courier New">editor to Dreamweaver.<FONT
face="Courier New">> <FONT
face="Courier New">> Best
regards,<FONT
face="Courier New">> Tomasz
Janeczko<FONT
face="Courier New">>
amibroker.com<FONT
face="Courier New">> ----- Original
Message ----- <FONT
face="Courier New">> From: Al Venosa
<FONT
face="Courier New">> To:
amibroker@xxxxxxxxxxxxxxx <FONT
face="Courier New">> Sent: Sunday,
November 09, 2003 1:29 AM<FONT
face="Courier New">> Subject: Re:
[amibroker] AmiBroker 4.48.0 BETA
released>
>
<FONT
face="Courier New">>
TJ:>
<FONT
face="Courier New">> Thanks a lot for
the improvements. When I try to select AFL
code from the AA
window, copy it using CTL-C, and paste it into an
email I want to send
out in Outlook Express, nothing gets pasted
now. What should I be
doing differently? Also, what's Dreamweaver?
>
<FONT
face="Courier New">> Al
Venosa>
>
<FONT
face="Courier New">>
---<FONT
face="Courier New">> Outgoing mail is
certified Virus Free.<FONT
face="Courier New">> Checked by AVG
anti-virus system (<A
href="">http://www.grisoft.com).<FONT
face="Courier New">> Version: 6.0.525 /
Virus Database: 322 - Release Date: <FONT
face="Courier New">10/9/2003<FONT
face="Courier New">> <FONT
face="Courier New">> <FONT
face="Courier New">> Send BUG REPORTS
to bugs@xxxx<FONT
face="Courier New">> Send SUGGESTIONS
to suggest@xxxx<FONT
face="Courier New">>
-----------------------------------------<FONT
face="Courier New">> Post
AmiQuote-related messages ONLY to: <FONT
face="Courier New">amiquote@xxxxxxxxxxxxxxx
<FONT
face="Courier New">> (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT
face="Courier New">>
--------------------------------------------<FONT
face="Courier New">> Check group FAQ
at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
<FONT
face="Courier New">> Your use of Yahoo!
Groups is subject to the Yahoo! Terms of <FONT
face="Courier New">Service. <FONT
face="Courier New">> <FONT
face="Courier New">> <FONT
face="Courier New">>
Yahoo! Groups Sponsor <FONT
face="Courier New">>
<FONT
face="Courier New">>
>
> Send
BUG REPORTS to bugs@xxxx<FONT
face="Courier New">> Send SUGGESTIONS to
suggest@xxxx<FONT
face="Courier New">>
-----------------------------------------<FONT
face="Courier New">> Post AmiQuote-related messages
ONLY to: amiquote@xxxxxxxxxxxxxxx <FONT
face="Courier New">> (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT
face="Courier New">>
--------------------------------------------<FONT
face="Courier New">> Check group FAQ at:
<A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your
use of Yahoo! Groups is subject to the Yahoo! Terms of
<FONT
face="Courier New">Service.
<SPAN
><FONT
face="Courier New" size=2>Send BUG
REPORTS to bugs@xxxxxxxxxxxxx<FONT
face="Courier New" size=2><SPAN
><FONT
face="Courier New">Send SUGGESTIONS to
suggest@xxxxxxxxxxxxx<FONT
face="Courier New">-----------------------------------------<FONT
face="Courier New">Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx <FONT
face="Courier New">(Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT
face="Courier New">--------------------------------------------<FONT
face="Courier New">Check group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
<SPAN
>Your use of Yahoo! Groups is subject to
the Yahoo! Terms of
Service.
<BLOCKQUOTE
>
<SPAN
>---Outgoing
mail is certified Virus Free.Checked by AVG anti-virus system
(<A
href="">http://www.grisoft.com).Version:
6.0.525 / Virus Database: 322 - Release Date:
10/9/2003
<SPAN
><FONT
face="Courier New" size=2>Send BUG
REPORTS to bugs@xxxxxxxxxxxxx<FONT
face="Courier New" size=2><SPAN
><FONT
face="Courier New">Send SUGGESTIONS to
suggest@xxxxxxxxxxxxx<FONT
face="Courier New">-----------------------------------------<FONT
face="Courier New">Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx <FONT
face="Courier New">(Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT
face="Courier New">--------------------------------------------<FONT
face="Courier New">Check group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
<SPAN
>Your use of Yahoo! Groups is subject to the
Yahoo! Terms of
Service.
<SPAN
><FONT
face="Courier New" size=2>Send BUG
REPORTS to bugs@xxxxxxxxxxxxx<FONT
face="Courier New" size=2><SPAN
><FONT
face="Courier New">Send SUGGESTIONS to
suggest@xxxxxxxxxxxxx<FONT
face="Courier New">-----------------------------------------<FONT
face="Courier New">Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx <FONT
face="Courier New">(Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT
face="Courier New">--------------------------------------------<FONT
face="Courier New">Check group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
<SPAN
>Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of
Service.
<SPAN
>
<SPAN
><FONT face="Courier New"
size=2>Send BUG REPORTS to
bugs@xxxxxxxxxxxxx<FONT face="Courier New"
size=2><SPAN
><FONT
face="Courier New">Send SUGGESTIONS to
suggest@xxxxxxxxxxxxx<FONT
face="Courier New">-----------------------------------------<FONT
face="Courier New">Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx <FONT
face="Courier New">(Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT
face="Courier New">--------------------------------------------<FONT
face="Courier New">Check group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
<SPAN
>Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of
Service.
<BLOCKQUOTE
>
<SPAN
>---Outgoing
mail is certified Virus Free.Checked by AVG anti-virus system (<A
href="">http://www.grisoft.com).Version:
6.0.537 / Virus Database: 332 - Release Date:
11/6/2003
<SPAN
><FONT
face="Courier New" size=2>Send BUG REPORTS
to bugs@xxxxxxxxxxxxx<FONT face="Courier New"
size=2><SPAN
><FONT
face="Courier New">Send SUGGESTIONS to
suggest@xxxxxxxxxxxxx<FONT
face="Courier New">-----------------------------------------<FONT
face="Courier New">Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx (Web
page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT
face="Courier New">--------------------------------------------<FONT
face="Courier New">Check group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
<SPAN
>Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of
Service.
Send BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend
SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|