|
Dave Kreskowiak wrote: You cannot mute individual processes.
As far as I remember this is possible on Vista. I'm not sure there an API call for that, though.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Maybe you can replace the relevant sound files with a sound file that is 0 seconds of silence or something like that?
just be careful if it's a commercial thing with an evil license that promises eternal doom to people who try to mod it
|
|
|
|
|
Hi Team,
The required functional logic is to convert audio formats VOX file to MP3 format.What exactly I m looking for a logic to fullfill the above functionality.
Could anybody help me out from this scenario.
Thanks & Regards
Tarun Singh
Sr. Software Engineer. (IT)
ZENTA
|
|
|
|
|
not done that before but what i suggest is you find out how both file formats are stored i.e. the raw data of each file.
then write an algorithm to write the mp3 file in its correct format based on the values you read from the VOX file
|
|
|
|
|
I'm writing a Word add-in in .NET 3.5 and have some user settings in my app.config.
When installed at a user, where are these settings stored?
When the user save a setting, it's not stored in the .config file where the DLL is, and I can not find it anywhere else...
Anyone who knows?
- Anders
|
|
|
|
|
User settings are written to isolated storage, e.g. C:\Documents and Settings\Administrator\Local Settings\Application
Data\My Company\My Word Addin\1.1.0.0"
|
|
|
|
|
Thanks.
I'm using Vista though, and "local settings" is a redirect and no matter what I do I'm denied access
Any ideas?
- Anders
|
|
|
|
|
Under Vista, it's in the C:\ProgramData\username folder. The ProgramData folder is hidden, so you'll have to "show hidden folders and files" in Explorer to see it.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hello,
I have a global connection object.
I have few methods, each of them do database operations, each of the method use one connection object. In order to use the transactions do I need to use a global command object too?
class operation
{
OracleConnection oCon = new OracleConnection();
MethoodA()
MethoodB()
MethoodC()
}
MethodA()
{
Command object is used for database operation
}
Will this Command Object will also be a global variable access to all the Methods?
Regards,
Pavas
|
|
|
|
|
Why global connection?
Just have the methods create the connection as an when needed
|
|
|
|
|
Its a Windows service. And it does lot of operation hence I created a global connection.
Also I need to implement the Transactions between different methods which do different operation on database.
Please suggest what can be the good approach
Regards,
Pavas
|
|
|
|
|
ok i see why you went for a global then, cant say if that is still the best option but i dont know what exactly you are doing.
What difference do the methods have, do they need different commands?
if so you would change the global command with each method, so may as well just create the command you need in the method and pass to connection
|
|
|
|
|
each of the method have different sql operations and they insert records in the database.
My question is, I want an approch to implement the transaction.
Regards,
Pavas
|
|
|
|
|
All you need is the Connection and Transaction objects. You create the Transaction from the Connection, something like:
DbTransaction tran = conn.BeginTransaction();
Then, you can do everything off of these objects (create the commands from the connection, etc.); be sure to set the command's Transaction property approriately; so you'd have something like:
DbConnection conn = GetConnection();
DbTransaction tran = conn.BeginTransaction();
bool success = true;
...
success = MethodA(conn, tran);
success = success && MethodB(conn, tran);
success = success && MethodC(conn, tran);
if(!success)
tran.Rollback();
else
tran.Commit();
...
private bool MethodA(DbConnection conn, DbTransaction tran)
{
bool result = true;
DbCommand comm = conn.CreateCommand();
comm.CommandText = ...
comm.Transaction = tran;
...
return result;
}
...
private bool MethodB(DbConnection conn, DbTransaction tran)
...
private bool MethodC(DbConnection conn, DbTransaction tran)
...
If you want to make the Connection and Transaction objects class-level variables and have the methods access them that way instead of passing them in, is up to you; I just prefer this way.
Keep It Simple Stupid! (KISS)
|
|
|
|
|
This is of great help. I was looking for an approch like this.
Regards,
Pavas
|
|
|
|
|
Hi
I have to convert a pdf file into doc/word file with all the images and formatting preserved. Searched all the options,tried all the free libraries but nothing seems to be working.
Anyone having idea ??????????
Thanks
Don't walk as if u rule the world,walk as if u don't care who tha Hell rules the world ...
|
|
|
|
|
How do I do that? Did some google search but couldnt find any good result
|
|
|
|
|
ListView.Items.Count;
Are you sure you searched?
|
|
|
|
|
i did searched but i got results that were irrelevant. thanks anyway
|
|
|
|
|
how to give printing view ,to form in word formatting
|
|
|
|
|
Hi,
if you just want to print the form, have a look here:
http://msdn.microsoft.com/en-us/library/6he9hz8c.aspx[^]
But if you want a more sophisticated view (like Word) you should try sth called "report generator". There are several products like Crystal Reports, List Label (german) etc... Also some free generators are available.
Regards
Sebastian
|
|
|
|
|
Oh just an addition. There is a control called Report Viewer. This one can take files with the extension rdlc. If you open such a file in VS2008, then you can create a report. This means that VS has its own report generator out of the box.
Regards
Sebastian
|
|
|
|
|
Hi,
Where will i find caspol.exe for 64 bit?
Thanks in advance,
Regards, Subramanyeswari
|
|
|
|
|
|