|
Your program will be useless if it saves wav, that's raw data. You want to save as mp3.
You need the platform SDK to look at DirectShow.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
thanks for the suggestion.
can i get any sample of open source code ragarding on voice recording/playback..
|
|
|
|
|
I presume the DirectShow samples would include some.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Gud Morning All,
i have checkbox column in my datagridview,
when user checks the checkbox i wnt to fill other columns by some constant number.
where shuld i write the code & how to check whether checkbox is checked or not?
in our usual checkbox we can do it by->
checkbox1.checked=True
but for a checkbox as column in datagridview , there is no "checked" property.
so Will anyone please tell me how to do it?
Thanx
--Regards Priyanka.
priya
|
|
|
|
|
You can still hook up an event. Is this ASP.NET or winforms ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
hi,
my application is in vb.net(winforms)
priya
|
|
|
|
|
OK, then it's a lot easier. You should be able to attach click events to your columns, just by adding a click event in the column definition.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hallo,
Thank you so much for help.
but as i am new in programing, will you tell me how to add events to datagridview column,
at the time of column Definition?
--Regards Priya
priya
|
|
|
|
|
priya_p233 wrote: but as i am new in programing
In that case, you should forget about datagrids, and work through a beginner book on VB.NET, just the language, not any forms stuff.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
I've used VB.NET 2003 Standard to create a form using the wizard.
On the form, I had a bound textbox - txtUnitOfMeasurement.
This was bound to an MS Access table, tblSuppliersProducts, and a numeric field called UnitOfMeasurement.
This worked fine.
I then upgraded to VB.NET 2005 Express, and swapped my textbox for a combo box, and added the following settings to the combo:
Data Bindings - SelectedValue = tblSupplierProductsBindingSource.UnitOfMeasurement
Data Source = tblUnitOfMeasurementBindingSource
Display Member = UnitOfMeasurement
Value Member = MeasurementID
This too is fine, on my experimental dummy first record - it saves my changes to the UnitOfMeasurement field in tblSuppliersProducts - proving, to me, that it is bound correctly. However, when I press 'Add', it retains my previous combo box choice (which isn't a huge problem) on the new record, but when I fill in the remaining fields, and press Save, I get an error message saying that tblSuppliersProducts.UnitOfMeasurement is null.
I am obviously not doing something properly in between changing my text box for a combo box, but I don't know what.
Can you help?
|
|
|
|
|
Is your combo box perhaps binding again, and reseting the data source ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Thanks for your reply. I'll have to have a look.
Unfortunately, as I'm developing the app from home, I don't have access to it in my "real" job!
Another problem is the seemingly unnecessary lines of code that the form wizard throws in. I'm pretty new to all this, which makes it that bit harder for me to read what its done.
Oh well - a bit of debugging to do tonight, then!
|
|
|
|
|
Is it pssoble to use a VS.net wizard at runtim?
For example I want to use "TableAdapter Configuration Wizard" at runtime to generate Dataset.
|
|
|
|
|
I answered this in the C# forum, please don't cross post
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
tnx, but I posted this question in different forums because I didn't know where I should post it.
|
|
|
|
|
The menu has nothing to do with it. You need to add menu items which call code to do these things.
The OpenFileDialog class is what you need to do a lot of this ( i.e. it's where you will start )
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
You mean open a database ? Set the MDB to be your data source in your data layer. I assume it's format is predefined, or will you just look through it dynamically ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
cesar francisco wrote: this is the first intent to produce something useful after the earthshaking release of my "Hello, World!"
You're diving in a little too deep. However if you want to persist with this path, you should google on how to connect Access to VB.NET, you'll find more in depth answers than I can give here.
cesar francisco wrote: It has to be a way to call on the Create Database and Define Database algorithm again to create an other empty database and bind it to the GUI.
I'm not sure if ADO.NET does that, I've seen people using ADOX for this purpose.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi All,
Is there anyway in which you can pause a timer function?
for example when a certain button (say pause) is pressed, the timer1 is paused, and then when a button (say restart) is pressed timer1 continues from when it was paused.
Thanks in advance, you lot have been a great help!
Jaidev
|
|
|
|
|
I don't believe so, there are only stop and start methods.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
hi,
try this.
to start timer function
timer1.Enabled=true
to stop timer function
timer1.Enabled=false
hope this works
Nitin...
|
|
|
|
|
hai,
in my application vb.net
if ds.tables(0).rows.count>0 then
'do something
end if
i am getting error table 0 cant be found ,what would be the problem
plz send some details
thanks and regards,
surendra
surendra
|
|
|
|
|
Same as the last time I answered this. Your dataset doesn't contain any tables. Have you looked at where the dataset is created, and checked that any data is being returned ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
yes ur right,
i solved the problem
thanks alot,
take care ,
bye,
surendra
surendra
|
|
|
|