all groups > c# > april 2008 > threads for saturday april 19
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
SoundPlayer on multi channel?
Posted by ckkwan@my-deja.com at 4/19/2008 6:51:40 PM
Dear All,
I am given a 5 channel sound card, and need to play different sound at
different channel.
How can I do that in csharp?
Or precisely, did the dotnet framework support this functionality?
Thanks In Advance.... more >>
Highligting property grid lines
Posted by colin at 4/19/2008 6:04:24 PM
Ive got my custom property grid to work ok,
but Id realy like to distinguish fields wich dont have their default value,
is there any way to specify diferent colors for different lines?
theres a couple of long pages on propertygrid on msdn,
but doesnt seem to tell how to do it, only alternative... more >>
Free Gift Opportunity to Attend Chris Howards Breakthrough To Success Event Compliments of the House
Posted by William Cullen at 4/19/2008 4:28:49 PM
http://champions.universalevents.com.au/bts.asp?wc=aue&fid=link&cli=CLA1055136... more >>
Lambda expression in dlinq attribute
Posted by Andrus at 4/19/2008 4:01:29 PM
I need to use lambda expressions or other way to
specify default query for dlinq entity type.
Code below causes compile error shown in comment.
How to fix ?
Maybe to use [QueryAttribute( "Supplier", "d=>
d.Discriminator==""Domestics"" ")] ?
Andrus.
using System;
using System.Linq;
//... more >>
Atomic operations
Posted by Jon Harrop at 4/19/2008 2:34:17 PM
Can read locks on a data structure be removed safely when updates are
limited to replacing a reference? In other words, is setting a reference an
atomic operation?
I have been assuming that all writes of <=1 word of data are atomic. Is this
actually documented anywhere?
--
Dr Jon D Harr... more >>
About SQLDataReader
Posted by Tony Johansson at 4/19/2008 2:20:20 PM
Hello!
I'm pretty sure that if you haven't an open a database connection when you
want to get something from the database a connection is temporarily open for
you and when you have got the data the connection is closed(returned to the
pool).
This doesn't seem to be right because I get er... more >>
about DataSet
Posted by Tony Johansson at 4/19/2008 11:13:50 AM
Hello!
I'm just wonder what it means when a DataSet controller is using XML to
represent data which is stored locally ?
Assume you execute a sql statement with a select statement which cause the
DataSet to be loaded with the selected data.
So these selected data is now stored local in memor... more >>
datatable and sql Adapter
Posted by daveL at 4/19/2008 8:41:46 AM
Hello,
c#2 , sqlserver 2005
I am parsing a Text File into 2 Datatables
Parent we'll say invoice
child well say Invoice Items
parent rows 10,000, child rows 30,000
the 2 Tables start out Empty, i get the table structures from the Database
"select top 0 from parenttable")
same for the item... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Global Assembly Cache - question
Posted by Piotrekk at 4/19/2008 8:11:56 AM
Hi
In my solution I have two projects.
First is Library project.
The second project uses this library ( dll ).
I am registering this assembly in global assembly cache ( by .net
configuration tool ).
Key pair is generated for the assembly using VS2005 ( I also use VS to
sign my assembly usin... more >>
Zip files in C#
Posted by dpchiesa@mailinator.com at 4/19/2008 7:28:43 AM
It is possible to manipulate Zip files in C#, using all managed code.
There are a number of ways to do it, some are commercial offerings,
some are royalty-free approaches, some are open source.
This one works pretty well.
http://www.codeplex.com/DotNetZip
it's free, all managed code.
... more >>
Creating assembly from multiple files at runtime
Posted by Andrus at 4/19/2008 12:03:39 AM
I need to create assembly at runtime from multiple pre-compiled obj and cs
files embedded into
resource file. I have found only samples which create assembly from single
file like
Microsoft.CSharp.CSharpCodeProvider provider = new
Microsoft.CSharp.CSharpCodeProvider
(new Dict... more >>
|