|
Thank You Very Much.
|
|
|
|
|
Dear Friends,
I want to know that how line art based programs like autocad. Or progrms where we can draw circles or lines, drag them, join two lines at a point are developed. Please guide me if you have source code of any small program please post it or email it I will be very much thankful to you.
|
|
|
|
|
hi,
System.Drawing.Drawing2D[^]
is the namespace you need to explore.
to acheive advanced functionality , obviously you will have to use mathematics formulae etc.
|
|
|
|
|
Hello,
I created a composite control and one of the properties isn't initiating on the design mode and i get ,because of other function which uses this value, an error massage.
[Bindable(true),<br />
Category("Cells"),<br />
DefaultValue(typeof(Color),"White"),<br />
Description("The cells Color of the table")]<br />
public Color CellsColor<br />
{<br />
get<br />
{<br />
<br />
EnsureChildControls();<br />
if (((object)ViewState["CellsColor"]) == null)<br />
return Color.White;<br />
return ((Color)ViewState["CellsColor"]);<br />
}<br />
set<br />
{<br />
<br />
EnsureChildControls();<br />
if (value.IsSystemColor)<br />
DataGrid.ItemStyle.BackColor = Color.White;<br />
else<br />
DataGrid.ItemStyle.BackColor = (Color)value;<br />
ViewState["CellsColor"] = DGrec.ItemStyle.BackColor;<br />
<br />
}<br />
}
i get the error massage when i drag the control to a page for the first time,
after i change the value in the property box also for the first time,
the variable gets the proper value and the error massage clears so i can see the actual control in the design view.
is someone familiar with the property initiation and why i get this error?
|
|
|
|
|
I want to write a texteditor which possesses a margin for linenumbering. I don't know how to implement
such a margin. Can anyone tell me some tutorials or how to do that?
Thank you in advance!
|
|
|
|
|
|
|
How to open next page by clicking on Button
|
|
|
|
|
Response.Redirect("NextPage.aspx");
---
Eat Bytes Everyday.
Zakaria Bin Abdur Rouf
zakaria7@gmail.com
|
|
|
|
|
In order to add an user control to my winform project,
Do I have to create "Windows Control Library Project" then
make a refrence to it or can I directly create an user control
and show it on my form? If so how?
I did created it directly in my winform project but then I do not see
it on toolbox?
Thanks
|
|
|
|
|
If the UserControl is in the same project it must be compield first.
|
|
|
|
|
Hi,
Have you tried to do a right mouse click on the toolbox, and click on "Choose Items"?? Then it will open a form where you can select the items of the toolbox...
|
|
|
|
|
when I did "Choose Items" , "Choose Toolbox Items" dialog comes, and in that
you can chose net or com components which system knows them before some how.
In my case, my user control in my project and I have rebuilt several times,
but I never seen it on toolbox so can not use it.
Do I have to create a seperate project (window control library type)for only user controls and make a refrence from my form project? Or can I add user
controls to the current project directly?
Thanks for your help.
Muharrem
|
|
|
|
|
how to Disable Logon promt of Crystal Report Viwer used by writing a command sql in c#
|
|
|
|
|
how to display time into the textbox! can you help me!
|
|
|
|
|
What time do you want to display? Please be a bit more specific about what you're trying to do.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
TextBox1.Text = DateTime.Now.ToShortDate();
---
Eat Bytes Everyday.
Zakaria Bin Abdur Rouf
zakaria7@gmail.com
|
|
|
|
|
I had a Menuitem with that i handeled the Click even for it by: Click += new System.EventHandler( .....
than after i added a range to that menuitem : Blabla[i].MenuItems.AddRange(XYZ);
and did the same
Blabla[i].Click += new System.EventHandler(method);
Now....when i'm clicking on the menuitem Blabla , nothing happens (unless i add an empty Range... wich equals to not adding range at all)
any1 knows how can i fix that?
Thx ahead!!!
|
|
|
|
|
vedmack wrote: Why AddRange to to certain MenuItem disables the EventHandler of that MenuItem???
MSDN topic of MenuItem.Click Event[^] clearly states that the event is not raised, if the MenuItems property for the MenuItem contains any items.
vedmack wrote: how to avoid it?
I doubt you can suppress this behaviour and wonder why you want to. In case you want to get informed that a menu item's list of menu items is going to be displayed, you can subscribe to the MenuItem.Popup Event[^].
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Hi
I need some link for a software which I can use in my own dot net application to capture number of still cars via Handheld device running on Win CE 4.2 or later. I've tried some I found after googling but they dont serve the purpose.
Thanks a lot.
Don't Quit
|
|
|
|
|
Every one that I've seen, that's any good, requires training for the plate your going to read (because of the different fonts used in each plate), or isn't free or anywhere close to cheap. Some are even proprietary and only exist in the vendors own systems and are not for sale at all.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi Dave!Thanks for you reply.I'm aware of the fact that this software is not going to be available for free. Can u Pls give me links which works on the WinCE 4.2 or better platform.
Don't Quit
|
|
|
|
|
Windows CE?? I don't know of any. It's full Windows 2000/XP/2003 or nothing, AFAIK.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Please help;
For a couple days I've been battling with writing a report that has to tables linked by a Inner join.
I think I found a work around. I'm using an SQL SERVER database.
Crystal was creating the following query:
SELECT t_EMPINFO.c_EmpFName,
t_EMPINFO.c_EmpCode,
t_Employee_Salary.c_TotalIncome, t_Employee_Salary.c_TotalDeduction,
t_Employee_Salary.c_TotalSalary
FROM t_EMPINFO INNER JOIN
t_Employee_Salary ON t_EMPINFO.c_EmpID = t_Employee_Salary.c_EmpId
WHERE (t_EMPINFO.c_Softdelete = '1') AND (t_Employee_Salary.c_SoftDelete = '1') AND (t_Employee_Salary.c_Year = 'PARAMETER1') AND (t_Employee_Salary.c_Month = 'PARAMETER2')
IN Above Query In place of PARAMETER1 and PARAMETER2 I want to pass Differnt value at the run time (e.g 2007 , 01 ) how it's set dynamically
I have questions though:
1) Is it possible to change the sql that crystal generates without writing my own sql command?
Thanks again for all of your help on this!
|
|
|
|
|
ReportDocument rd = new ReportDocument();
rd.Load(ReportPath);
rd.SetParameterValue("@PARAMETER1", "valueAsYouWish");
crystalReportViewer1.ReportSource = rd;
|
|
|
|