|
God how did I miss THAT. I'm so stupid
Works like a charm now. Thanks!
|
|
|
|
|
I dont think you can use a default Matrix, you need to probably just make it an identity matrix to start with.
xacc.ideIronScheme a R5RS-compliant Scheme on the DLR
The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."
|
|
|
|
|
I hate to say it but I'm still getting the same error, on the same line.
|
|
|
|
|
I just found out that drawing directly in the overriden OnPaint method does not give an error, while calling methods and passing the graphics object in it in does. Any idea on why this could be?
Thanks!
|
|
|
|
|
Hi,
My aim is to create a form in inches and to print it. i know the code for printing the form but the main problem is creating the form in inches as dimension if anyone knows how to do this please do let me know
sindhu tiwari
its me sid
|
|
|
|
|
The Graphics class provides two methods, Graphics.DpiX and Graphics.DpiY, that gives you the Dots-per-inch resolution of the Device Context:
public void SetSize(float xInches, float yInches)
{
Graphics g = Graphics.FromHwnd(this.Handle);
this.Size = new Size((int)(xInches * g.DpiX), (int)(yInches * g.DpiY));
g.Dispose();
}
|
|
|
|
|
Assuming you're using WinForms, you can assume that there are 72 dots (pixels) per inch, so multiply up by 72.
|
|
|
|
|
Pete O`Hanlon wrote: Assuming you're using WinForms, you can assume that there are 72 dots (pixels) per inch, so multiply up by 72.
I think it's mostly 96 dpi these days.
|
|
|
|
|
I want to access the FireBird directly without using .NET Provider. Is this possible? If Yes how? Can someone point me to some place from where I can get more info as well as a few examples also.
TIA
Yogi Yang
|
|
|
|
|
|
Have you considered using an ODBC connection?
"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
"There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib
"Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"
|
|
|
|
|
I want to avoid ADO as well as ODBC. Want direct access to the Engine without any middle man libs.
Yogi Yang
|
|
|
|
|
That wouldn't be worth the trouble.
|
|
|
|
|
I use their connector, have you tried it?
|
|
|
|
|
How can we Convert .NET Image/Bitmap to DIB so that I can pass the DIB to Windows API?
TIA
Yogi Yang
|
|
|
|
|
|
|
Hi
i have implemented a grid view in each there are certain textboxes and there is a button called popup besides first textbox of the row so what i want when i click this button it shud get the client id of first textbox in the row how can i achieve this
any help will be greatly appreciated
|
|
|
|
|
|
Yeah, i've seen this alot recently, done it a few times myself.
While your waiting for 10 minutes for your message to post, and the page to load. You notice something in your message and change it, and then click to post it again. This bypasses the "you have already posted this message" message, and when the page eventually loads, you have two messages, or more...
My current favourite word is: PIE!
I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for.
-The Undefeated
|
|
|
|
|
SK Genius wrote: This bypasses the "you have already posted this message" message, and when the page eventually loads, you have two messages, or more
Today the server response is bit slow while posting messages. I also just reported it in 'Suggestions/Bug Reports' forums. Something related to that?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Not really, from what i can tell, sending information goes quickly, but then reloading the page is what takes time.
Try this next time you post a message:
Click post, wait a moment, click stop. Go back to the forum and refresh it.
I bet you will see your message.
Although i imagine people will have different experiences depending on their location, and the current load on the CP servers.
The site is currently getting re-written anyway isn't it? So when it is re-launched it should be able to cope better under high load.
My current favourite word is: PIE!
I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for.
-The Undefeated
|
|
|
|
|
Hi
i have implemented a grid view in each there are certaing textboxes and there is a button called popup besides first textbox of the row so what i want when i click this button it shud get the client id of first textbox in the row how can i achieve this
any help will be greatly appreciated
|
|
|
|
|
e.Row.Cells[Index].Controls[Index].ClientID.ToString()
Remember the function should have "GridViewRowEventArgs e" as one of its arguments.
onclick() event of the button pass the clientId as an argument to the function to execute.
Long Live
|
|
|
|
|
Hi
can any one help me to convert Gregorian to Hijri ?
|
|
|
|