|
Create a integer variable. Set it to 0 to begin with. Increment it by one every time a city is clicked.
When you have finished, output the integer. This is the number of times cities were clicked.
Simon
|
|
|
|
|
krishnavaradharajan wrote: licking a city
Ooh yuck . I'd rather not lick a city - it tastes all concretey.
|
|
|
|
|
Pete O'Hanlon wrote: I'd rather not lick a city - it tastes all concretey.
Yeah. And all the graffiti leaves my tounge looking really funny...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
That's a typo; he meant "clitty".
|
|
|
|
|
Pete O'Hanlon wrote: rather not lick a city - it tastes all concretey.
Probably more than just concretey
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
hi,
I have to find the width and height of glyphs in xps document using only the indices attribute in wpf.
I tried with the formula,
width = (advancewidth*fontsize)/ 100;
but advancewidth is an optional one .At that time what i should use to calculate width.
For eg:
<Glyphs
FontUri = "C:\WINDOWS\Fonts\TIMES.TTF"
FontRenderingEmSize = "14"
Indices="75;45;68,49"
StyleSimulations = "BoldSimulation"
UnicodeString = "hai"
Fill = "Black"
OriginX = "0"
OriginY = "150"
/>
Is there any possiblity to get the width and height from the fontfile used in the xps document.if yes how?
Plz reply
|
|
|
|
|
i need to create public folder on exchange server 2003 in c#
i looking for the most simple way
thank you.
|
|
|
|
|
Hi friends ,
I am using visual studio 2003.In my project I have a combobox populated directly from a dataset using 'displaymember' and 'valuemember' properties.But sometimes my combobox is hanging ie , it can be selected with scroll of mouse but pulldown is not working.Any way to correct this issue friends ?
with warm regards
|
|
|
|
|
|
Brother ,
Thanxxxxx a lot for your reply.The same code I used in my project.Yaa but the problem was with frame work.I converted project in to VS 2005.It is working fine there.Also conversion cleared a lots of unhandled exceptions in my project.Once again thanxx for your reply...Take care
|
|
|
|
|
Hi everybody i am exactly what my name suggests a newbie to programming world but i have matured in C# basically so i know some internal stuff(creating simple apps. and codes) but the next step i want to achieve is connecting with databases so not yet ready to make the big jump i want to just do this .....
I have an excel file (Office 2007) and i want to display the information in the file in the textboxes of the C# application so when i googled it all i get is OLEDB which i am not very sure and i remeber using VS2005 and connecting to SQL2005 and retrieving data but since now i am using its all LINQ i guess but as i said earlier i dun want to go near the SQL yet .........i know i know i am bit long winded pls forgive me but pls need an answer or may be a simple article on this would be helpful...tks to the future answer guy before hand
|
|
|
|
|
First, you should google "punctuation" so you can type lucid messages.
Second, you didn't google hard enough (or lied about doing it), because I found dozens of examples of reading an Excel file.
Here's one.[^]
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I would like to drag and drop a row in DataGridView on .net framework 2.0 the row is a file detail from window explorer.
<br />
private void dGV_fileUpload_DragDrop(object sender, DragEventArgs e)<br />
{<br />
<br />
Object fileName = (Object)e.Data.GetData(typeof(????));<br />
<br />
FileInfo file = new FileInfo(fileName);<br />
DataGridViewRow row = new DataGridViewRow();<br />
row.CreateCells(dGV_fileUpload);<br />
row.Cells[0].Value = file.Name;<br />
row.Cells[1].Value = GetFileSize(file.Length);<br />
row.Cells[2].Value = file.LastAccessTime.ToString();<br />
this.dGV_fileUpload.Rows.Add(row);<br />
}<br />
modified on Wednesday, September 24, 2008 5:44 AM
|
|
|
|
|
|
How to work with PrintDialog?
I want to Print for example a Doc File that has opened in my application
What should I do for it?
Hello Friends
|
|
|
|
|
How to know shutdown using c#?
Not using service or SessionEnding event.
Thanks a lot!
|
|
|
|
|
You can use the InitiateSystemShutdown[^] function.
You'll need to use pinvoke to call it from C#. pinvoke.net[^] will help you find the right signature for the declaration.
(Alternatively, you can use WMI if you prefer. Just google it)
Simon
|
|
|
|
|
Hi,
I have a desktop Human Resource (HR) application developed in WPF that does some employee management work for the HR,I need to implement user groups based security,meaning that I need to manage users who can access the system(username /password) and also give them CRUD Right and Screen Rights.Is that any basic framework I can build over or should I start from scratch? Any feedback, suggestion regarding this?
Thanks in advance.
|
|
|
|
|
\root\cimv2
Do you know if the above wmi path is looking at the registry?
if so, please let me know where in the registry I can find it.
Thanks.
|
|
|
|
|
root\cimv2 is a WMI namespace.
Although much of the info obtainable from the classes in that
namespace may ultimately be stored in the registry, there is no
connection between the namespace and the registry.
Windows Management Instrumentation[^]
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi I have a dataset which its views don't appear in any datamember list.
I created another project and added the same database,in that new project every thing is working fine.so I just removed the dataset and added it again but the problem persists.
can any one help me? should I correct any configuration setting?
by the way I haven't changed any configuration in any project and I am using VS2008.
thanx
|
|
|
|
|
How to work with Shortcut & Keyboard
For Example I want Manage Keys like "Ctrl+F" for Search
How to do it?
Thanks in advance
Hello Friends
|
|
|
|
|
private void frmFormName_KeyDown(object sender, KeyEventArgs e)<br />
{ <br />
if (e.Control && e.KeyCode == Keys.F)<br />
{ <br />
MessageBox.Show("Conbination key CTRL+F is pressed"); <br />
}<br />
}
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Thank you very much
Hello Friends
|
|
|
|
|
You are welcome.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|