Monday, October 27, 2008
Can't Access My Dashboard
Monday, October 20, 2008
How to Get Office Version Programmatically
a few searches and here is the answer so far :
1- use this VBS code [^]:
Set objWord = CreateObject("Word.Application")
Wscript.Echo "Version: " & objWord.Version
Wscript.Echo "Build: " & objWord.Build
objWord.Quit
2- find the Word application path and check the file version (C#) [^] :
read the registry key in "Software\Microsoft\Windows\CurrentVersion\App Paths" to find winword.exe key, and then in the key find Path's value that refer to exe file of Word app.
//looks inside CURRENT_USER:
RegistryKey _mainKey = Registry.CurrentUser;
_mainKey = _mainKey.OpenSubKey(
"Software\Microsoft\Windows\CurrentVersion\App Paths\\"
+ "winword.exe", false);
if (_mainKey == null)
{
//looks inside LOCAL_MACHINE:
_mainKey = Registry.LocalMachine;
_mainKey = _mainKey.OpenSubKey(
"Software\Microsoft\Windows\CurrentVersion\App Paths\\"
+ "winword.exe", false);
}
if (_mainKey == null)
throw new Exception("it does not exist!");
MessageBox.Show(
System.Diagnostics.FileVersionInfo.GetVersionInfo(
_mainKey.GetValue(string.Empty).ToString()).FileVersion);
3- use Microsoft.Office name space in .Net [^]
just this code :
//be aware of exceptions
MessageBox.Show(
new Microsoft.Office.Interop.Word.Application().Version);
Saturday, October 18, 2008
Censorship
What I'm going to say is about these two movies, in WALL-E the IRIB television changed the female character EVE to a male robot Evan to protect us from evil male/female relations between those robots and in the Next movie the 96 min movie converted to a 50 min movie with no ending I was watching it when the movie ends and a commercial started waiting for the rest of movie but there was no rest. the movie left just for heaven's sake.
Wednesday, October 15, 2008
Deception Point
Dan Brown like always made a excellent story he could make us wait eagerly for 20 chapter to tell us where one of the story heroes is going to, I'd rather not to tell the plot but if you want to know you can see here. I read Da Vinci Code in Persian (translated) so can't be sure if it was not censored but the last rows of book are very similar to Angles & Demons, the story ends up in BED. the other point that I noticed was the names, like Senator Sedgewick S/e/x/ton that pronounced like S/e/x/teen or president Zack Herney that pronounced like h/o/r/ny or Corky Marlinson the chubby astrophysicist with that strange name, Dan have should some some ideas!
find out more at : here & here & here & here
my book shelf link : http://www.shelfari.com/o1517168334/shelf
Dan Brown official site : http://www.danbrown.com
Sunday, October 12, 2008
Once Upon A December
http://rapidshare.com/files/153215469/ONCE_UPON_A_DECEMBER.mp3
Hope you enjoy it, I found it in my collections and do not remember where i got it.
the lyric is from Allmusicals.com
Dancing bears,
Painted wings,
Things I almost remember,
And a song someone sings
Once upon a December.
Someone holds me safe and warm.
Horses prance through a silver storm.
Figures dancing gracefully
Across my memory...
(Instrumental interlude)
Someone holds me safe and warm.
Horses prance through a silver storm.
Figures dancing gracefully
Across my memory...
Far away, long ago,
Glowing dim as an ember,
Things my heart
Used to know,
Things it yearns to remember...
And a song
Someone sings
Once upon a December
Thursday, October 09, 2008
Terminal
It's about a man with no country, when he arrive from a fictional country around Russia the JFK
airport staff tell him that rebels take his country and therefore he his citizen of nowhere and he should wait until U.S government accept his country then he finds himself prisoned in airport no way out no way in, like always tom hanks acts perfect.
I liked this movie.
First Image by the GeoEye-1
this satellite is actually designed for NGA (National Geospatial-Intelligence Agency) and the agency paid half of $502 million built satellite's cost.
it's somehow odd that even Google does SPYING on people, a search engine building spy satellites! with this you can not even be safe in your home knowing that Google in addition of other things may be standing above you right now.
having this wonderful res will make Google customers crazy (they can't have the best res, it's government restricted but a very good portion of it)
Source : http://blog.wired.com/wiredscience/2008/10/geoeye-1-super.html
Tuesday, October 07, 2008
Quotes
He, who laughs last, thinks slowest.
Everyone has a photographic memory. Some don’t have film.
A day without sunshine is like, well, night.
On the other hand, you have different fingers.
Change is inevitable, except from a vending machine.
I just got lost in thought. It was unfamiliar territory.
When the chips are down, the buffalo is empty.
Seen it all, done it all, can’t remember most of it.
Those who live by the sword get shot by those who don’t.
I feel like I’m diagonally parked in a parallel universe.
He’s not dead, he’s electroencephalographically challenged.
You have the right to remain silent. Anything you say will be misquoted, then used against you.
I wonder how much deeper the ocean would be without sponges.
Honk if you love peace and quiet.
Despite the cost of living, have you noticed how it remains so popular?
Nothing is foolproof to a sufficiently talented fool.
It is hard to understand how a cemetery raised its burial cost and blamed it on the cost of living.
The 50-50-90 rule: Anytime you have a 50-50 chance of getting something right, there’s a 90% probability you’ll get it wrong.
It is said that if you line up all the cars in the world end to end, someone would be stupid enough to try and pass them.
You can’t have everything, where would you put it?
Latest survey shows that 3 out of 4 people make up 75% of the world’s population.
The things that come to those that wait may be the things left by those who got there first.
A fine is a tax for doing wrong. A tax is a fine for doing well.
It was recently discovered that research causes cancer in rats.
Everybody lies, but it doesn’t matter since nobody listens.
I wished the buck stopped here, as I could use a few.
I started out with nothing, and I still have most of it.
Light travels faster than sound. This is why some people appear bright until you hear them speak
From : funtasticus.com