Midreading is very difficult indeed :-) I will try to be more clear in describing my problem.
In your last screenshot you have shared a host directory "inetpub". Try to copy a zip-file to this directory, any zipfile is alright.
In te virtual pc, right click on the zipfile in the shared folder...
That's a lot of information, but it does not help me fix my problem. The screenprints differ from my version of virtual pc.
Also I don't want to give full access to the host machine. I only want to share a single folder using the folder icon shown in the statusbar of vpc, when vpc is not...
I would like to add a VPC shared folder to be treated as a secure location, these folders are hosted by my local pc anyway.
Network shares can be marked as intranet zone to get rid of popups like "There is an unspecified security risk".
I cannot do this for VPC shared folders because they do...
I don't think its the kind of flicker from graphical functions.
Try this to reproduce the problem and watch the scrollbar move from top to bottom. You only need a TForm with TTimer and TMemo
//---------------------------------------------------------------------------
void __fastcall...
Hi James,
I am using BCB6.
I know that to get rid of flicker when painting, you can set the DoubleBuffered property of the PaintBox.
This type of flicker is different. I have already found that it is caused by moving the cursor to the end of the box.
When I remove the linesMemo1->SelStart =...
I use a text control to show the data read from a serial port.
The DoubleBuffered property of the TMemo is set to true.
AnsiString as;
char buf[1024];
class SerialPort *sp;
...
...
...
sp1->Read( buf, 1024, len );
if( len ) {
as = Memo1->Text;
buf[len] = '\0';
as += buf...
Who can explain why cat_printf doesn't do what I expect, concatenate to Edit1->Text
Edit1->Text.cat_printf( "%s","text");
Edit1->Text is not affected!
=================================
Computer programmers don't byte, they nibble a bit
This version has a thread to read from the serial port. I deliberately did not use events because we need a window handle to send the events. I do not have plans to put it in a component yet. The idea is, when I leave it in a class there are no compiler dependencies.
I have replaced the zip on...
Hi James,
I modified a simple class to communicate with the serial port. Found the original on the codeproject site.
I will start with a receiving thread tomorrow.
This zip contains a test project written in bcb6
http://hennep.xs4all.nl/cpp/BcbSerialClass.zip
It only starts the log function...
At first sight it looked too good.
I have installed the TMS trial component. When I run the project it asks for a .pas file. (VaComm1.pas)
The TMS component is also written in pascal.
$75 is not too bad. I need it for a project and takes me at least one day to create a simple component myself...
I need a component to access the serial port in CBuilder. There is a lot to find on the web but most of it delphi or msvc. Does anyone know of a vcl component that is written in c++ instead of pascal?
I need to run multiple instances to address several usb2serial converters.
many thanks in...
Your code does not always work. Once you have written a small inmage in the top-left corner, you cannot resize the image anymore.
Please try this: int iTopMost = 1000, iLeftMost = 1000;
Image2->Canvas->Draw(100, 100, Image1->Picture->Graphic);
//Once you have written to the canvas...
I hoped that I could do the job without calculating the size of Image2 and expected that AutoSize would do this for me.
So I have to create a new control. A descendant of TScrollBox and TImage.
If you might find another control that's more suitable, please let me know before I finish my own :-)...
I tried tis code:
TGraphic *g = Image1->Picture->Graphic;
Image2->AutoSize = true;
Image2->Canvas->Draw(100,100,g);
Image2->Canvas->Draw(10000,10000,g);
I expected Image2 to expand to the size needed to fit the expanded image. Image2, width 700, height 500, fits snug inside...
I want to build an application that shows images like a flow chart. Which component would be the best choice to draw the pictures.
I mean a TImage has a canvas on which I can draw, but it does not have scroll bars. A TScrollBox does have the bars but no canvas.
Does anybody know of a VCL...
I would like to align text in a TStringGrid. Not only the numbers in the cells but also the caption in the first (fixed) row.
The only thing I could think of is to add spaces in front of the number. This does not work with the caption in the first row when the user can change ColWidth run-time...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.