|
It's impossible to help you without more details.
Any condition on OS version can lead you to different flow in code, and that's just a shot in the dark.
You should probably setup a debug environment to find out why this happens
|
|
|
|
|
When I see this type of error, it normally indicates that you have a piece of code that relied on an external component that is 32 bit only, on a 64 bit machine. The test for this is amazingly simple - simply run
corflags /32bBIT+ executablename The app will now be forced to run as a 32 bit app.
|
|
|
|
|
Thanks, I'll give that a try.
|
|
|
|
|
redhuskie wrote: why the code runs fine, without error, on an xp machine and not on the win 7 machine. Aside from the OS difference, are the run-time environments on the different machines the same?
/ravi
|
|
|
|
|
What setting did you use when you compiled the application ? Can you compile it with the target set as "Any CPU" ?
Project/Properties/Build Tab/PlatForm target Drop-down
“But I don't want to go among mad people,” Alice remarked.
“Oh, you can't help that,” said the Cat: “we're all mad here. I'm mad. You're mad.”
“How do you know I'm mad?” said Alice.
“You must be," said the Cat, or you wouldn't have come here.” Lewis Carroll
|
|
|
|
|
Just tell me one thing, in which mode did you compile your program?
Debug or Release mode?
Next thing is Object reference problem as others said occurs when you dont create the object of a type.
|
|
|
|
|
Hi,
How can I send variables across web pages without using session or cookies?
Thanks in advance
|
|
|
|
|
This is strictly not a C# question, it belongs to ASP.NET forum.
Anyway, try this: Pass them as arguments in the url. E.g. http://www.mysite.com/?arg1=val1&arg2=val2&arg3=val3
Note than on most browsers, the length of the url is limited. Some browsers support only 2000 characters while other support upto 5000. Please use google to do some research.
modified 21-Jan-14 6:39am.
|
|
|
|
|
Psst! You forgot the query marker:
http://www.mysite.com/?arg1=val1&arg2=val2&arg3=val3
Without the '?' it's all a web address.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Fixed now. Thanks for pointing out. I'm out of tea (not coffee) today.
|
|
|
|
|
I have days like that too!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
OG, you are the man of the moment!!!!!!!
|
|
|
|
|
Rahul VB wrote:
OG, you are the man of the moment!!!!!!! He's gonna put this in his signature.
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
No he isn't!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
|
No bear today? Probably a good idea. The fur gets stuck in my teeth, too...
If you meant it's spelled with two "e"s.
How much is a "peg" of whisky? It's not a measure I am familiar with. And was it good whisky?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
oh oh yes sorry, OG you are speaking to a person who is 2 pegs down that too large(90 ml each).
Quote: The fur gets stuck in my teeth, too..
hey dont make fun of me...
one peg starts with 30ml( here we call it small).
next is 60 ml( medium).
and finally 90 ml(large).
If you want to become a hero just call the waiter say:
Quote: hey brother, one large please ....
and he will pop up another peg with "90ml". Now look around here and there people stare at you. Now to show off you finish that peg.
But when you come home you vomit like hell (just like me). So the best thing is sit at home watch TV and have your drink. My dad left me a johnnie walker black label. so i had that.
|
|
|
|
|
Roughly the same as pub measures here: 1/6 gil == 25ml, so a "large" would be a triple, maybe a little more.
Sleep well - and don;t forget to tie the room down to stop it spinning!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
haha great . I am fine, had a lemonade. Its much better. Which is your favorite scotch or whisky?
|
|
|
|
|
Depends on my mood.
A bit depressed, or angry and it's JD Green Label[^]
For a more reflective mood, it's Glenlivet 1912 (that being the year it was distilled) But I drink that very, very infrequently: the nearest bottle I know of is several hundred miles away, if indeed it still has any content left! And it costs a fortune! Worth it though...
I gave up serious drinking maybe half a dozen years back, and now I might have a glass of wine of an evening, or I might not have anything. Depends on how I feel at the time.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
|
I used the patches: from 20+ a day.
It wasn't easy, but it got easier - and I'm glad I did kick 'em in the end.
But I do know this: the only way to quit is to want to quit more than you want to smoke. If you don't have better mental reasons for quitting than you do for continuing then you won't stop - the real battle isn't the nicotine addiction (though that is pretty rough) it's the mental habit of smoking and the association of smoking with places and actions. So if you smoke when you drink beer - stop drinking beer for a few weeks; drink wine instead and don't create an association between wine and smoking.
"Wanting to quit" is what got me off drinking, smoking and several illegal narcotics...
Haven't found anything that makes me "want" to give up motorcycles or coffee though!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
|
You can use a database and store your data in a table and generate a unique key to identify the data and pass this key in the url query string. On the target page, extract the key and query the database to get the data.
Sharath Surendran wrote: <layer>is there a way we can send objects across the webpages. Yes, serialize the object and use the same technique stated above.
|
|
|
|
|