|
me too.
and do u know about Red Black Tree?
if u have document of it, can u send me?
my email: hk171284@yahoo.com
thanks alot!!!
|
|
|
|
|
When i try to implement text to speech application asp.net using Microsoft Speech Lib com component .
Im getting the following error
Class Not Registered : Com Interopable Exception
SpVoice voice = new SpVoice();
voice.Speak("Welcome to Sindhu synergy",SpeechVoiceSpeakFlags.SVSFDefault);
trtyrt trhrt r rtrtytrr t
|
|
|
|
|
You need to register your com object, with regsvr32. browse to the folder the dll is in ( in a command window ) and type regsvr32 dllname.dll
It may need a command switch, but I don't think so, I think registering is the default.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
hi all
i have two DataTable in DataSet....
also have One common column...
i want to join these two DataTables using that common column
and single dataTable as result.
<>
DataTable examgrade;
DataTable students;
examgrade = new DataTable();
examgrade.Columns.Add("STUDENTID", typeof(int));
examgrade.Columns.Add("GRADE", typeof(string));
addExamgrade(101, "A");
addExamgrade(102, "B-");
addExamgrade(500, "C");
addExamgrade(150, "FAIL");
students = new DataTable();
students.Columns.Add("STUDENTID", typeof(int));
students.Columns.Add("STUDENTNAME", typeof(string));
students.Columns.Add("YEARENROLLED", typeof(int));
addstudent(400, "Fred", 1982);
addstudent(300, "John", 1975);
addstudent(100, "Mark", 2003);
addstudent(500, "Mary", 1960);
addstudent(150, "Jane", 2002);
DataSet ds = new DataSet();
ds.Tables.Add(examgrade);
ds.Tables.Add(students);
DataColumn dcParentStudentID = ds.Tables[0].Columns["STUDENTID"];
DataColumn dcParentGrade = ds.Tables[0].Columns["GRADE"];
DataColumn dcChildStudentID = ds.Tables[1].Columns["STUDENTID"];
DataColumn dcChildStudentName = ds.Tables[1].Columns["STUDENTNAME"];
DataColumn dcChildYearEnrolled = ds.Tables[1].Columns["YEARENROLLED"];
DataRelation dr = new DataRelation("join", new
DataColumn[] { dcParentStudentID }, new
DataColumn[] { dcChildStudentID }, false);
ds.Relations.Add(dr);
private void addExamgrade(int studentID, string grade)
{
DataRow dr = examgrade.NewRow();
dr["STUDENTID"] = studentID;
dr["GRADE"] = grade;
examgrade.Rows.Add(dr);
}
private void addstudent(int studentID, string studentname, int
yearenrolled)
{
DataRow dr = students.NewRow();
dr["STUDENTID"] = studentID;
dr["STUDENTNAME"] = studentname;
dr["YEARENROLLED"] = yearenrolled;
students.Rows.Add(dr);
}
<>
but what after this???
Sheetal.
-- modified at 5:30 Friday 18th August, 2006
|
|
|
|
|
plz help me....anybody?
bye bye.
|
|
|
|
|
how can i store picture in database as binary
and select as binary to imagebox
thanks for help
MD_NADA
|
|
|
|
|
I have several ComboBoxes which have a string "(null)" added as the first item and then the rest of the list is populated from a List (of strongly-typed classes).
When I try and set the SelectedItem (or SelectedIndex) property, internally it is selected but it's not updating the UI. E.g.
if (itemToLoad == null)
{
comboBox.SelectedItem = "(null)";
}
else
{
comboBox.SelectedItem = itemToLoad;
}
Now if in the debugger (or later on in the code) the SelectedItem is queried it shows that comboBox has the correct item selected but it has not changed the text in comboBox to reflect the change.
Any ideas on why this is happening and/or how to fix it?
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
Never mind, it was application specific code which was doing this.
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
Is there a good tutorial somewhere on Setup projects?
I can manage adding files and putting them in the right directory, but also want to show some extra info, perform command line commands and execute some sql statements (changing or updating tables, ...).
Also being able to provide some choices (which language etc) and creating a config file would be nice.
I don't have a good idea where to start with this stuff.
tnx for the info !
I've found a living worth working for, but I haven't found work worth living for.
<marquee>
|
|
|
|
|
Hi,
I don't know if the setup projects available in Visual Studio will allow you to do something like what you want. You could try to use this
Do your best to be the best
-- modified at 6:24 Friday 18th August, 2006
|
|
|
|
|
|
Hi gurus,
I am facing a problem while validating float,date,time values in string variables in c#. Can Anybody tell me the way to validate the values.
plz help.
thanks in advance.
Nitin...
|
|
|
|
|
Use Double.TryParse or DateTime.TryParse .
"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." - Rick Cook www.troschuetz.de
|
|
|
|
|
hi,
i checked the way you suggested,
it worked with double.tryparse but there is no such option like datetime.tryparse.
please check this out.
thanks.
Nitin.
|
|
|
|
|
There is a DateTime.TryParse method! It's new with the Framework 2.0 but as you found double.TryParse you're clearly using this version. Maybe you misspelled.
"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." - Rick Cook www.troschuetz.de
|
|
|
|
|
Hi,
thanks for your reply but sorry to say i cant find DateTime.TryParse.
|
|
|
|
|
|
hi,
thanks for the link. it suggest that DateTime.TryParse exits.
but dont know which version of .net m using i cant find DateTime.TryParse.
i ll hv to check the version.
thanks
|
|
|
|
|
You don't know which .NET version you are using? Huh?
Well if you can't use it, then you have .NET 1.1, otherwise .NET 2.0.
But you can also use DateTime.Parse() and catch the exception
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Hi,
Use the try catch block !
try
{
DateTime.Parse(textBox1.Text)
// code if it is date !
}
catch(Exception ex)
{
//error code
}
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
|
hi guys!
need some help
i want to develop an application which retrieves all the client machines within a network and install a client application on the selected client machine.
something like "ENTERPRISE DEPLOYMENT".
i m trying to use winsocks for transferring files and installing them on client but not getting it done in a proper manner.
can any one help me out and tell what to do.. is my approach wrong..
any help , guideline link ..
thanx.
abhinav
|
|
|
|
|
Hi,
abhinish wrote: but not getting it done in a proper manner.
What problem you are facing ? Please specify details of the problem.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
thanx for the reply anant
the problem is if i even copy the setup files on client pc it will display the setup wizard.. but i want to do the installation in background without any user interaction
is there any other way to install the setup..
i m quite confused..
any guidence in which direction i should work..
abhinav
|
|
|
|
|
Hi,
abhinish wrote: but i want to do the installation in background without any user interaction
Does your application need the default setup package ? means you can directly do the copy and run the program exe ? Is it possible in ur case ?
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|