Click here to Skip to main content
Page 1 of 616
Page Size: 10 · 25 · 50


Author filtered by: OriginalGriff [x]
Not an article by OriginalGriff
Forum Message 14 May 2013  
Normally, I'd suggest that you repost this as a tip, but in this case the chances of getting it passed even as that are not good. The problem is that there is nothing there - this contains no real i
Not an article by OriginalGriff
Forum Message 14 May 2013  
Have you considered posting it as a Blog instead? The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Answer 14 May 2013   license: CPOL
In all probability, you don't.AFAIK, the only version of windows that works on an ARM based processor is RT - and there is no guarantee that it will work.Start here:...
Database access doesn't work by OriginalGriff
Answer 14 May 2013   license: CPOL
The only place you are casting in that code fragment is when you try to get the value from the database:Console.WriteLine(lecteur.GetInt32(0));Which implies that the value in the first column of your table (or the "Sunfuki" table) is not an integer value.Have a look in SSMS at the table...
Forum Message 14 May 2013  
No, but you hum it and I'll try to sing along. Oooo! Bugger! You can't, can you? :laugh: The universe is composed of electrons, neutrons, protons and......morons. (ThePh
Re: Wisdom Teeth by OriginalGriff
Forum Message 14 May 2013  
I never got any to remove - does that mean you are going to get stupid now? :laugh: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantom
Forum Message 14 May 2013  
Dilithium crystals. The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Forum Message 14 May 2013  
The UK has a government department devoted to ensuring money flows in one direction only: HMRC[
Answer 14 May 2013   license: CPOL
You can't send a DataGridView to an email, any more than you could send a Button, and expect it to signal an event on your system when it was pressed. Suppose you could, and the remote system did not have .NET installed? What would happen then?Instead, set the mail body to HTML (use...
C#
Forum Message 14 May 2013  
<BangHeadOnDesk>Because it's lovely when you stop</BangHeadOnDesk> Amusing though. The universe is composed of electrons, neutrons, protons and......morons
Re: 38 Years by OriginalGriff
Forum Message 14 May 2013  
That is just so stupid! I mean: what ward do they vote in? The ward where the prison is? The ward where the court they were sentenced in is? Or the ward they were living in when they committed the cri
Forum Message 14 May 2013  
I think you have invented a new coding language: TXTCDZbangbangbang :laugh: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Forum Message 14 May 2013  
:thumbsup: For the idea. :thumbsdown: Because it will never happen... :sigh: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvot
Re: Not a good idea, perhaps by OriginalGriff
Forum Message 14 May 2013  
No, I don't think this is suitable as a tip. Sorry, but it isn't anything that useful - you didn't need even need it, you could have asked the person who gave you the file, and made a decision fro
Answer 14 May 2013   license: CPOL
You appear to have no value at all in eid, so the string just evaluates to:DELETE emp.*, emplogin.* FROM tbl_employee_details as [emp] LEFT JOIN tbl_user_login_access as [emplogin] ON emp.emp_id = emplogin.emp_id where emp.emp_id =SQL quite rightly throws a hissy fit and complains.Check...
C#
Forum Message 14 May 2013  
That's not an open prison. Open sewer, in places1. But not technically a prison. 1 I am thinking specifically of parts of Paris whi
Re: Darwin Awards contender? by OriginalGriff
Forum Message 14 May 2013  
Very appropriate IMHO! The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Forum Message 14 May 2013  
And for once, not pinin' for the fjords. ;) The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Forum Message 14 May 2013  
But then we get questions like "I guessed the answer, but why is 2 + 2 equal to a fish? I don't understand. SND CODZ URGNTZ" If only because most of 'em can't get the damn question right when it's
Forum Message 14 May 2013  
We have Prescoed, which seems to appear on the local news with another missing prisoner so often there is speculation it should have it's own programme... :laugh: The uni
Answer 14 May 2013   license: CPOL
You will. The clue is in the word new: ThanglishToTamilGUI tt = new ThanglishToTamilGUI(); String apper = tt.anz;Since you create a new instance, it will not have the values that the user entered into a different instance!Try just using the current value! Have a look at...
Forum Message 14 May 2013  
Taken from a variety of places, including Stack overflow: http://stackoverflow.com/questio
Modify an existing xml by OriginalGriff
Answer 14 May 2013   license: CPOL
An XML file normally has a header line such as you describe - it is optional, but recommended, and XDocument always adds it when you use the Save method.If it really disturbs you, you need to use an XmlWriter instead - it has an option to turn it off. XDocument doc = new...
Not a good idea, perhaps by OriginalGriff
Forum Message 14 May 2013  
Is it a good idea to open miscellaneous files you receive by email? Particularly if you have no idea what type it is (and presumably no idea what it does either)? Or would it be better to go back t
vb console application by OriginalGriff
Answer 14 May 2013   license: CPOL
"is it posible to take reference to c#."Yes. You can use assemblies from any .NET language in any other .NET language."how to get dll or reference file."Right click your project, and select "Add Reference". It's pretty obvious from there, but the exact details will depend on your...
C#
Answer 14 May 2013   license: CPOL
"ok but please give me url of page where i can ask question ."You mean you can't find the "support" link all on your own? :WTF:Try here: http://www.nopcommerce.com/boards/default.aspx[^]Or here: http://www.nopcommerce.com/p/541/nopcommerce-premium-support-services.aspx[^]
C#
Forum Message 14 May 2013  
That's Ok - there is bugger-all on worth watching anyway! The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Re: Google Easter Egg by OriginalGriff
Forum Message 14 May 2013  
Arggh, nooooo! My ears....bleep bloop, bleep bloop... :thumbsup: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Answer 14 May 2013   license: CPOL
Never, ever, accept code from a insecure website to handle anything to do with real money.You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third...
Answer 14 May 2013   license: CPOL
Take the virtual off the methods in CCircle. Try override instead.Any class that contains a virtual function is abstract by definition.
C++
Answer 14 May 2013   license: CPOL
Several things spring to mind:First off, you will only try to check details if the pasword is not blank - if the username is blank, you will check anyway. There are also better ways to check for empty stringsTry this:private void button1_Click(object sender, EventArgs e) { bool...
C#
Answer 14 May 2013   license: CPOL
Try Show instead of ShowDialog - it doesn't wait for the form to close before continuing.You might want to add the Form.TopMost = True as well, and possibly add a FormClosing event handler so that you only show one form if the user requests it twice.
Re: 38 Years by OriginalGriff
Forum Message 14 May 2013  
No, unfortunately yours is rather more repressive and unpleasant penal system than ours; ours is pretty free and easy, with TVs in cells, easy access to drugs and so on. "Human rights" and all that.
Re: Entity Frame work by OriginalGriff
Forum Message 14 May 2013  
Good for you! Now, if you have a question, perhaps you might want to tell us what it is? The universe is composed of electrons, neutrons, protons and......morons. (The
Answer 14 May 2013   license: CPOL
Try:SELECT username FROM MyTABLE WHERE userName LIKE '%a% ORDER BY userName ASC
Answer 14 May 2013   license: CPOL
First off, can I suggest that you only read the Sid and ContactId once per execution, and store them in a variable? Then ensure it returns only a single value:DECLARE @SID INTSet @SID = (SELECT TOP 1 Sid FROM MyTable WHERE Name=@Name)Then use the variable in each of your updates.
Not a tip by OriginalGriff
Forum Message 14 May 2013  
Sorry, but if someone can't work that out for themselves in less time than it would take to find this document, they really have no place opening Visual Studio at all! It's a "No" from me.
Forum Message 13 May 2013  
Trouble is, when you pressed the "publish" button, you first ticked the box marked "I have read and agree to the Contributors Agree
Re: Bug steak, anyone? by OriginalGriff
Forum Message 13 May 2013  
Um. You do know where manure comes from, right? And what vegetables grow in? So think about it: not only has every drop of water you drink already been through probably 6 sets of human kidneys a
Re: MQOTD by OriginalGriff
Forum Message 13 May 2013  
Total Remake. The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Not an article by OriginalGriff
Forum Message 13 May 2013  
I would normally suggest that you post it as a tip, but since the code is wide open to SQL Injection attack, I have to vote "No" instead. The universe is composed of elec
Forum Message 13 May 2013  
Not turned down, no - but I do put the price up. Only had it twice: once with some very old, very bad Basic (pre VB!) which was to be converted to Windows via VB. Horrible code, horrible job - Ende
Re: Boiling eggs by OriginalGriff
Forum Message 13 May 2013  
I just let 'em grow up, and then eat 'em when that are properly ready... The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Re: Not an article by OriginalGriff
Forum Message 13 May 2013  
I can't at the moment, I'm on my tablet, and its as much of a pain to do on that as for your phone! :laugh: Post a request here:
Re: Not an article by OriginalGriff
Forum Message 13 May 2013  
When you change it over, it'd be an idea to sort the fonts out - it looks odd with different sizes, try to just use the standard one! :laugh: The universe is composed of
Re: Missed Option by OriginalGriff
Forum Message 13 May 2013  
Well I'm not going if I can't bring the wife! The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Not an article by OriginalGriff
Forum Message 13 May 2013  
Have you considered posting it as a Tip instead? The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Forum Message 13 May 2013  
;) The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Forum Message 13 May 2013  
:laugh: :thumbsup: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Answer 13 May 2013   license: CPOL
Yes. But read this: http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/586c2599-347e-489e-863c-79ae6ce7b9c1[^] - you can get problems if you install them in the wrong order. (I did, with VS2008 years ago and it took me a day to sort the mess out)
C#

Page 1 of 616
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 15 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid