Search found 343 matches

by HsiaLin
Sun Mar 08, 2009 4:26 pm
Forum: Technical
Topic: Get TMemo strings
Replies: 4
Views: 11796

String S; for (int i = 0; i <Memo1>Lines->Count; i++) { S = Memo1->Lines->Strings [i]; switch(i) { case 0: Edit0->Text = S; break; case 1: Edit1->Text = S; break; case 2: Edit2->Text = S; break; case 3: Edit3->Text = S; break; //etc...etc default: ShowMessage("Unhandled switch statement!") } }
by HsiaLin
Sun Mar 08, 2009 4:18 pm
Forum: Technical
Topic: URLDownloadToFile
Replies: 12
Views: 33446

Thank you for the help Aris, i appreciate it. I do think it is a change in the way threads are done in 2009. Something is amiss and I am having a hard time tracing it it down. btw, my code was all scrunched up like yours also, i just flattened it out for better readability in the post :-) Hopefully ...
by HsiaLin
Sun Mar 08, 2009 7:48 am
Forum: Technical
Topic: URLDownloadToFile
Replies: 12
Views: 33446

Oh I forgot to say...on my lan, 192.168.0.190 is a mini http server, the ip i use the app on is 192.168.0.194. Now I can use a download manager type program like FlashGet and download the binary files fine, so I know the server works ok. Heres a net url that crashes the compile in 2009 for me also, ...
by HsiaLin
Sun Mar 08, 2009 7:30 am
Forum: Technical
Topic: URLDownloadToFile
Replies: 12
Views: 33446

Theres a world of difference between 2007 and 2009 versions, thats one of the problems I think. Also, I am using the app on a local area network to try transferring files. Can you download files via LAN compiling it with 2007? If so I may have to reinstall it. :)
by HsiaLin
Sat Mar 07, 2009 8:42 pm
Forum: Technical
Topic: URLDownloadToFile
Replies: 12
Views: 33446

URLDownloadToFile

Hello all, I am trying to learn how to use the progressbar with URLDownloadToFile() in which comes on the Dev Journal CD, its from the InternetDownload.zip within the January03Code.zip file. I can get it to work for text...ie an html file ok, but when i try a binary file like an .iso or .rar it imme...
by HsiaLin
Mon Jan 26, 2009 2:07 am
Forum: Technical
Topic: Case statements question
Replies: 2
Views: 8959

Thanks Barium.
by HsiaLin
Sat Jan 24, 2009 3:06 pm
Forum: Technical
Topic: Case statements question
Replies: 2
Views: 8959

Case statements question

Hello all, Is there a way in C++ Builder to use case statements the way linux can do? IE ....if you have case 0 thru 9 is there a way to test this case without actually typing in case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: doSomething(); break; Is there a case 0: ...
by HsiaLin
Fri Oct 17, 2008 2:18 am
Forum: Technical
Topic: Unicode newbie
Replies: 7
Views: 34636

Update 1 is going out now, new version is

"CodeGear™ C++Builder® 2009 Version 12.0.3197.17370 Copyright © 2008 Embarcadero Technologies, Inc. All Rights Reserved."


Just an FYI :--)
by HsiaLin
Mon Oct 13, 2008 1:12 pm
Forum: Technical
Topic: Unicode newbie
Replies: 7
Views: 34636

I thank you very much friend. I now understand the underlying framwork of 2009. By the way, RAD 2009 is rapidly winning me over. Possibly the best IDE ever made IMO, especially with the addition of the DDevExtensions from http://andy.jgknet.de/blog/?page_id=10 Once again, thank you for your insight ...
by HsiaLin
Sun Oct 12, 2008 6:22 pm
Forum: Technical
Topic: Unicode newbie
Replies: 7
Views: 34636

Unicode newbie

Hello all, I have been trying out the new 2009 c++ builder the last few days. Other than logos and the way settings are laid out it seems to mimick 2007 pretty good. My question is simple and will probably sound silly to most of you pro coders, but if you could tip me on how to do this simple thing ...
by HsiaLin
Thu Feb 28, 2008 5:43 pm
Forum: Technical
Topic: TCollectionItems issues
Replies: 2
Views: 9742

Wow, thank you mate, thats exactly what I needed to know. I was trying to go about it all wrong. Much appreciated. I`m not advanced in doing things the borland way but I am getting there. Again thank you.
by HsiaLin
Wed Feb 27, 2008 2:17 pm
Forum: Technical
Topic: TCollectionItems issues
Replies: 2
Views: 9742

TCollectionItems issues

Hello, Does anyone here have any sample source on how to add a TCollection to...say a TMemo control? I`m finding this to be unreasonably hard to do. I`m using CB2007. I have found doing this with delphi code to appear rather simple, but porting anything over to CB gets that dreaded __tpdsc_ unresolv...
by HsiaLin
Sun Jul 08, 2007 6:33 pm
Forum: Articles
Topic: C++Builder 2006 Articles
Replies: 7
Views: 45225

I just tried BDS and am very disappointed. Seems they are trying to turn BCB ide into MSVC ide. Everything that made BCB great seems to be disappearing with each build that is released. The only thing thats easy to do in 2006/2007 versions is clicking the X to close it down.