|
BUY A BOOK !!!!!!!!
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi to all,
I have one string "Ganges: River Of Life" & i want to replace ':' character with space. i have following code but it is not working.
str = "Ganges: River Of Life";
str.Replace(':',' ');
Anybody tell me why this happened?
Pravin
|
|
|
|
|
The reason is that Replace function doesn't modify its parameter, it just returns new string so your code should look like this:
str=str.Replace(':',' ');
|
|
|
|
|
thanks Giorgi Dalakishvili,
code is working now...! thanks again.
Pravin
|
|
|
|
|
Glad to help you
|
|
|
|
|
Is it possible to develop Automatic Number Plate Recognition system in C#? Definetely yes But are there some freeware computer vision libraries to do this? How many time and cost it should be?
Thanks.
|
|
|
|
|
dims12 wrote: Is it possible to develop Automatic Number Plate Recognition system in C#? Definetely yes But are there some freeware computer vision libraries to do this? How many time and cost it should be?
Yes.
Don't know.
The hint is in the name ("freeware").
|
|
|
|
|
hi there
firstly, get this open source control from here:http://www.pixel-technology.com/freeware/tessnet2/
Sample code i wrote for windows form c#: u can figure out the rest
openFileDialog1.ShowDialog();
Bitmap image = new Bitmap(openFileDialog1.FileName);
pictureBox1.Image = image;
tessnet2.Tesseract ocr = new Tesseract();
ocr.SetVariable("tessedit_char_whitelist", txtparameters.Text);
ocr.Init(@".\tessdata\", "eus", false);
List<tessnet2.Word> result = ocr.DoOCR(image, Rectangle.Empty);
foreach (tessnet2.Word word in result)
textBox1.Text += word.Text + "\r\n";
|
|
|
|
|
Hello friends
I have a Managed Application, working fine on mine system.
I want to install it on the clients machine .
and the databse is on the server so .
Do i need to make a dsn of it to connect with it.
|
|
|
|
|
w209 wrote: Do i need to make a dsn of it to connect with it.
If your server have a static IP, you can use that
|
|
|
|
|
it does not have a static ip
|
|
|
|
|
AFAIK, it requires a static IP to connect. ALternatively you can create a webservice and map it with a domain name, make your application contact to this webservice, and webservice to your database which is in same server.
|
|
|
|
|
Hi all,
I have a dropdown list on a c# webpage.
The page allows the user to select from a dropdown.
The page allows the user to click on a submit button after selecting.
Once the user selects and presses the dropdown, the system automatically refereshes the page and refereshes the dropdown to default state which doesn't allow me to capture the dropdownllst.SelectedValue.
Kinda frustrating, Any suggestions?
Thanks
|
|
|
|
|
post this in asp.net forum
My small attempt...
|
|
|
|
|
humblepgmr wrote: which doesn't allow me to capture the dropdownllst.SelectedValue.
Is viewstate disabled for your page ? Where you are trying to capture the selected item ?
|
|
|
|
|
hi all,
Is object value type or reference type or can be of both type !!!!
Thanks in advance.
Gaurav
|
|
|
|
|
It's a reference type. Value types are primitive types like int,char
|
|
|
|
|
N a v a n e e t h wrote: Value types are primitive types like int,char
And any user defined struct s.
|
|
|
|
|
hi
i have created on class library project in c#.net 2.0. I want to add drop down list web server control in class library project in c#.net. But i have seen that System.Web.UI namespace is not supported in this type of project. But i have to add it anyway.
Anyone has idea or code to implement this.
Please help me out.
|
|
|
|
|
I'm not sure whether it works or not:
Try to make a custom control which wraps drop down list, and use it on your web server project.
|
|
|
|
|
i think u should add the refrence on ur project,then will see it
regards
|
|
|
|
|
It's not clear to me how to specify a time in a DateTime object. I've read the Help files completely, but there's something basic I'm missing.
I know how to GET the pieces of a DateTime object (hours, minutes, etc). How do I *change* them?
At base, I want to be able to say "create a new DateTime object reflecting the Date Oct 5, 1945 and Time 1:07 PM, UTC".
Anybody?
(Modified, meant "object" not format.
|
|
|
|
|
Hi, DateTime type has many constructors, the following one is pretty general:
DateTime (Int32, Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, and second.
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Thanks, Luc. There was a page in the MSDN after all - under the "DateTime" member of the "DateTime" class (I may never understand this terminology):
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/O_T_System_DateTime_.ctor.htm
|
|
|
|
|
You mean, kinda like this:
DateTime myTime = new DateTime(1945, 10, 5, 13, 7, 0, DateTimeKind.Utc);
?
EDIT: Alas, beaten to it.
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|