|
Dim box As CheckComboBoxItem = DirectCast(Items(e.Index), CheckComboBoxItem)
http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx
|
|
|
|
|
technette wrote: http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx
It probably took you longer to register than it would have to search the forums for technette's answer. This gets asked weekly.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
|
|
|
|
|
Congrats to technette for doing the OP's work for them. The OP sure didn't learn much, other than to rely on the Internet when they can't figure out how to do a simple thing like that conversion
"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
|
|
|
|
|
yeah, it is obvious from birth that there is a web tool that converts any C# code to VB.NET
|
|
|
|
|
Yeah, it's called a brain
"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
|
|
|
|
|
|
Thanks. I've always wondered if anyone could find it on my personal site
How much longer until you are done with your MBA?
"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
|
|
|
|
|
He had a brain and thats why he thought of posting in a forum.
|
|
|
|
|
I'll give him credit for that
I guess I could have been nicer and pointed him to SharpDevelop's code converter. Though not perfect, it does pretty well.
"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
|
|
|
|
|
Thank you Technette. You are smarter than anyone who did not criticize and helped honestly. Rewards are waiting for you. Thanks again.
|
|
|
|
|
Its becomming a common thing here
|
|
|
|
|
You need to write, in pseudo code (or a computer language you are hapy with), a procedure that takes four parameters as follows:
DictionaryFile - the file name of a text file containing four letter words
StartWord - a four letter word (that you can assume is found in the DictionaryFile file)
EndWord - a four letter word (that you can assume is found in the DictionaryFile file)
ResultFile - the file name of a text file that will contain the result
The result is the shortest list of four letter words, starting with StartWord, and ending with EndWord, with a number of intermediate words that are to be found in the DictionaryFile file where each word differs from the previous word by precisely one letter.
For example, if StartWord = Spin, EndWord = Spot and DictionaryFile file contains
Spin
Spit
Spat
Spot
Span
then ResultFile should contain
Spin
Spit
Spot
Two examples of incorrect results:
Spin, Span, Spat, Spot (invalid as it takes 3 changes rather than 2)
Spin, Spon, Spot (invalid as spon is not a word)
Hint: Your solution should deal with the case where the dictionary file contains {AAAA,ABAA, ABZA, ABZZ, AAZZ} and the start and end word are AAAA and AAZZ respectively.
|
|
|
|
|
If this is a school assignment, then no one at the codeproject will want to help you. If you have solved the problem or are having problems with the problem than you can post it here, but no one will write the entire application for you.
Regards,
Thomas Stockwell
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.
Visit my Blog
|
|
|
|
|
I've left school, so I do not need to do school assignments. But thank you anyway.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Steven J Jowett wrote: left school, so I do not need to do school assignments. But thank you anyway.
"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
|
|
|
|
|
Geeze, do your own assignment
If you are stumped with a particular piece of code in your assignment, people may give you insight, not the solution to your assignment.
"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
|
|
|
|
|
This exact same crap has been posted before.
|
|
|
|
|
The idea of schools handing out assignments is to either as an excercise to help you learn, or for you to demonstrate what you know.
If we do this for you you will not learn, and it will only show what we know.
If you want help with this, then try and create a solution of your own first. If you get stuck then you can come to us for help. You MUST demonstrate that you have at least tried.
|
|
|
|
|
Colin Angus Mackay wrote: If you get stuck then you can come to us for help
Well, even he stucks somewhere than he should go to his teaher/instructor. A teacher would be anyday more than happy to help his student/
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Try to do your homework, when you are stuck , post your question and you would get help.
|
|
|
|
|
Dear All
Normally the query used to read Excel file is "SELECT * FROM SHEET1$"
Can anoyone help on how can we read specific columns using the query.
For Eg. If we wan to read only columns C, D, and F then is there anything like "SELECT C, D, F FROM SHEET1$"
Regards.
|
|
|
|
|
Has the thought occurred to you to go and look on MSDN? Have you tried:
Vipul Bhatt wrote: SELECT C, D, F FROM SHEET1$
and what was the result?
"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
|
|
|
|
|
Getting an error "No value given for one or more required parameters." if any of the following queries are used.
> SELECT C, D, F FROM SHEET1$
> SELECT COLUMN3, COLUMN4 FROM SHEET1$
And yes tried searching MSDN as well. The process is still on.
Regards.
|
|
|
|
|
|
Has anyone got any code for phase lock loops?
Cheers
Baz
|
|
|
|