|
I don't mind the coding style, mine isn't perfect as well. But at least I have a good idea of how to solve this thing...
Big thanks!
|
|
|
|
|
You're welcome
|
|
|
|
|
I fail to see any logic between the two arrays.
If the arrays are small you could use the index as number and the value as groupnumber. Better would be to have a class with two integers and put that in an array somehow.
No matter how you do it, you'll have to define some logic between the numbers and the group there in.
V.
|
|
|
|
|
i fill combobox through datasource but at form load i have to show "None" default value of combobox. how i do it??
|
|
|
|
|
try setting it's Text property. Being bound you can not add Items programatically but the
Text property should work.
|
|
|
|
|
Add a "None" item to the collection before you bind it to the control?
modified on Wednesday, April 28, 2010 12:00 PM
|
|
|
|
|
items collection can not be modified when the datasource property is set...
|
|
|
|
|
not to the comboboxitems.
Add "None" to the dataset or whatever underlying collection the combobox is bound to.
|
|
|
|
|
Yes you can:
public bool AddItemToComboDataSource(ref ComboBox box, string displaymember_value, string valuemember_value)
{
bool succes = false;
try
{
DataView view = (DataView)box.DataSource;
DataRow row = view.Table.Rows[0];
row[0] = displaymember_value;
row[1] = valuemember_value;
view.Table.Rows.Add(row);
box.DataSource = view;
succes = true;
}
catch (Exception ex)
{
errormsg = ex.Message;
}
return succes;
}
Which is a little cheating, probably, but it works.
V.
|
|
|
|
|
hi
i want to run an dshow an application in my project and limit it to my MDI form !
can i do it? if yes how can i?
|
|
|
|
|
The answers here[^] should get you well on the way, if they work.
Good luck!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
hi
im new in codeproject i would begin programming a project in c# with web devlopper
if you have any document for begining and implementing a project with a web service and IIS and SQL server
finaly
thanks you very match
your friend
ABDELHAMID
from Morrocco
|
|
|
|
|
Welcome,
but you couldn't have gotten more things wrong in your post if you'd tried really hard.
1) All bold
2) Non specific question
3) Irrelevant subject
|
|
|
|
|
thanks you i would begin programin a n tier project
|
|
|
|
|
If you are a beginner then better to buy a beginner's book or use some online learning resources or even CodeProject having lot of articles to get a basic idea.And after getting an idea try to do an application and if you face any blocking issues Let us know we'll definitely help.Try to Google it first.Best of luck.
|
|
|
|
|
You shall find some articles here and on the internet that may help you out.
But nothing beats starting by reading a book.
|
|
|
|
|
Hi
My application needs to be able to playback multiple videos simultaneously and each video needs to be synched by time. I need an API that allows me to get frames from videos rather than just using Play(), Stop() etc. I know that using Microsoft.DirectX.AudioVideoPlayback I can get a frame but its very slow. So does anyone know a high speed way of getting frames from video files or any documents I can read?
Thanx
|
|
|
|
|
How to set Audio Input to default microphone for InProc speech recognition engine in sapi5.1(C#) ?
thanks!
|
|
|
|
|
In the C++ API, you can call SetInput() [^] with null to use the default microphone. I'm hoping the .NET API works the same way.
/ravi
|
|
|
|
|
Thanks my friend but I couldn't use it
I want to set the audio input for a Inproc engine and please help me ...
It's an emergency!
|
|
|
|
|
How can I use "ISpTranscript" to train the speech recognition engine in C# for a word by a wav file?
I have a code that shows the use of "ISpTranscript" but it's for c++ programmers , can you convert it to C# code?
HRESULT hr = S_OK;
// Bind a stream to an existing wavefile
hr = SPBindToFile( FILENAME, SPFM_READ_ONLY, &cpStream);
// Check hr
hr = cpStream.QueryInterface(&cpTranscript);
// Check hr
PWCHAR pwszTranscript;
hr = cpTranscript->GetTranscript(&pwszTranscript);
// Check hr
SomeOne said :
You should perhaps do some reading on COM interop. All you need to do is add a reference to the COM object and you'll be able to create instances of the class and call it's methods.
thanks
|
|
|
|
|
faslesabz wrote: You should perhaps do some reading on COM interop.
Then do it!
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Yes I know I've searched a lot but I didn't find any thing useful,I don't know what to read!
please give a link to read and learn
thanks my friend
|
|
|
|
|
If you can't find anything here[^] useful, or you don't understand, then perhaps you have chosen the wrong technology, or career.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|