I need to create a Table of the weeks and dates of the Mondays of a year. I select the first Monday of the year from a MonthCalendar.
The Table values are as follows:
Week integer (1, 2, 3..52)
DateName string (Jan 7, Jan 14, Jan 21..Dec 30)
WeekName string (1/7, 1/14. 1/21..12/30)
Can...
Thanks for your reply but I resolved the problem myself and it works with no problem. I have incorporated the solution an existing program that reads the graphics from a graphics folder. The following are my changes:
procedure TForm_Main.Button_PrintClick(Sender: TObject);
Var
MyPic...
PROBLEM SOLVED. THANKS FOR ALL OF THE WORK YOU DID.
I have one more request. I need to print to the Canvas. Can you provide me the changes to print to the canvas rather than to the screen? Once I can ptint to the Canvas I am home free.
Delphi XE2
Brigade bmp "Brigade.bmp"
SigFlags bmp "SigFlags.bmp"
BRCC32.exe
BRCC32 MyPic
The RES file is created corectly. I found a RES viewer program, "Resource Hacker", which displays both of my images corectly.
Made correction, changed BitMap_1 to Brigade. 'Resource BitMap not found'.
The problem seems to be with the RES file. I have created MyPic.RES several times.
How can I verify that the RES fil is good?
I made changes, placed Image1 on the form and ran program with the following error message:
Project TestPrint.exe raised exception class EResNotFound with message 'Resource BitMap not found'.
What next?
I made the correction and the program now has the message "Resouce Brigade not found".
From this I expect there is a problem with the MyPic.RES file. I have repeatedly run BRCC32 PyPic.RC and continually gotten the same resulte. When I created the MyPic.RC file I use the following in the Command...
...I have created a RES fil;e that contains two graphics. I have created a Procedure that I found on the Internet as follows:
implementation
{$R *.dfm}
{$R MyPic.RES}
procedure TForm_Main.Button_PrintClick(Sender: TObject);
Var
MyPic: TBitMap;
: TResourceStream;
begin
try
MyPic...
I need to include two bit files in a Delphi XE2 Program. I need to create a RES file. I have a RC file as follows:
MyPic.RC
Brigade BMP "Brigade.bmp"
Flags BMP "SigFlags,bmp"
When I run:
BRCC32 MyPic.RC
the file MyPic.RC cannot be found. MyPic.Rc is in the E:/DelphiRes directory. I have...
ADDITIONAL INFORMATION
I have tried to reinstall Windows since I have the problem is within Windows. Windows required me to uninstall several programs including Delphi 7 and Delphi XE2, Delphi XE@ uninstalled with no problem, I get the following error message when I try to uninstall Delphi 7...
I received the following error in Delphi XE2 in a Windows 7 machine:
Project Membership.exe raised exception class Exception with message "Error creating object. Please verify that Microsoft Data Access Components 2.1 (or later) have been properly installed".
I have deleted Delphi XE2...
I need to be able to change the color of a DBGrid Row by the CellClick event which I use for another purpose. I need the changed color to remain when I go to another Row. I want all Rows that I CellClick to change their color.
I have a program that captures customer information. It works. When I add an exception it activates the exception for all inputs including those that are valid. If I comment out the Exception it works. Here is the key portion of my code.
protected void Page_Load(object sender, EventArgs e)
{...
I am getting the following error message in a Delphi EX@ program that I am modifing, "Class TButton not found". I get the message when I Compile. I have checked on every Button in the program and I cannnot find a problem. What can be causing this?
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.