|
how can i record voice and store it in files
record from the mic
|
|
|
|
|
|
Hi
I'm trying to auto-uninstall a COM service from componentservices with the help of Regsvcs.exe's /u command, but my code doesn't seem to work.
I have a deployment project, which in CustomAction/uninstall uses af custom install class to, among other things, unistall the service.
I have checked that my assemblypath(see code) is correct. I have tried to run Regsvcs /u from a command prompt, and the result is as expected - the service dissapears from the componentservices. When I use Regsvcs /fc during install via my custom install class it works. The service places itself nicely into componentservices. The only mysterious thing I can observe during the whole uninstallation process is, that the BeforeUninstall event seems to fire very late in the uninstall process.
Can anyone tell me, why this code whont delete the service from the componentservices?
<br />
private string regsvcsPath = Environment.GetEnvironmentVariable("windir") + @"\Microsoft.NET\Framework\v2.0.50727\regsvcs.exe";<br />
<br />
public CustomInstaller()<br />
{<br />
InitializeComponent();<br />
this.BeforeUninstall += new InstallEventHandler(CustomInstaller_BeforeUninstall);<br />
}<br />
<br />
void CustomInstaller_BeforeUninstall(object sender, InstallEventArgs e)<br />
{<br />
try<br />
{<br />
string parameters = @" /u " + this.Context.Parameters["assemblypath"];<br />
ProcessStartInfo psi = new ProcessStartInfo(this.regsvcsPath, parameters);<br />
Process.Start(psi);<br />
}<br />
catch (Exception ex)<br />
{<br />
MessageBox.Show(ex.ToString(), "Uninstall error");<br />
}<br />
}
|
|
|
|
|
i need to recode sound from the mic and paly it when i need
plz help me
it is part of my graduation project
Mayood
|
|
|
|
|
Did you even try searching the articles here?
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
HTTP has been In use by the WWW global Information Initiative since 1990 and nowadays It Is one of the most widely used protocols on the Internet
HTTP application have historically allowed three different formats for the representation of date/time stamps (described In RFC 2616)
1. RFC 1123 format, for example
Sun, 06 Nov 2005 08:49:37 GMT
2. RFC 1036 format, for example
Sunday, 06-Nov-05 08:49:37 GMT
3. ANSI C's asctime() format, for example
Sun Nov 6 08:49:37 2005
An Implementation Is not HTTP 1.1 compliant If It fails to understand one of the above date/time formats
Question 1
You are require to write an HTTP 1.1 compliant program to parse a string containing one of the above date/time formats. The program must detect the date/time format automatically based on the Input string and store the result In the following object
Class MyDate
{
public Int day; /*1 to 31*/
public Int month; /*1 to 12*/
public Int year; /*1970 to 9999*/
public Int hour; /*0 to 23*/
public Int minute; /*0 to 59*/
public Int second; /*0 to 59*/
public Int dayofweek; /* 0= Sun, 1=Mon,etc* /
}
Question 2
Develop a program to display the system date/time In the RFC 1123 format(as show In example)
==============================
This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.
|
|
|
|
|
We don't do your homework.
If you have a specific problem then post parts of the code where you're stuck.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
|
rockxuyenmandem wrote: i don't know how to do hikhik
I don't know if I do, as I have no clue what it is.
---
b { font-weight: normal; }
|
|
|
|
|
To be a good programmer you must work hard.
Learn, learn and learn :->
Best regards, Alexey.
|
|
|
|
|
rockxuyenmandem wrote: This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.
I think it is fair to say that if you cannot pass your exam on your own then you are not going to get very far in the work place. You must learn how to do this otherwise the rest of your course is going to just get more and more difficult.
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
My: Website | Blog
|
|
|
|
|
This is a c++ faq, but the element is completely relevant nonetheless.
http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.2
|
|
|
|
|
Is it possible to change a java applet in C# Windows Form Application(or ASP.NET) without rewriting all code?
|
|
|
|
|
You will have to rewrite the sectiosn that have different syntrax. And change API calls.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi:
I am working with DirectX.Capture application in visual studio .NET 2003 IDE and coding in c#, now i have error and the can't load form but no other error in build project(coding).
The Error is:
Unhandled Exception: OutOfMemoryException.
The program '[1812] CaptureTest.exe' has exited with code 0 (0x0
zzz:
ranandbe
-- modified at 1:08 Friday 28th April, 2006
|
|
|
|
|
you need more RAM. Most likely you have som repetion statement that dosn't exit giving you the exception when it has run for some time
How terrible is wisdom when it brings no profit to the wise
|
|
|
|
|
I'm finally starting on C#.
Something I haven't had success with so far is reading/writing a table with the following XML format into a Hashtable object. (at this point in time the reading is the priority)
<br />
<table><br />
<item key="testkey">key value</item><br />
<item key="testkey2">key value2</item><br />
<item key="testkey3">key value3</item><br />
</table><br />
Both the key and the value are strings.
Any suggestions will be most welcome.
Happy programming!!
-- modified at 0:51 Friday 28th April, 2006
|
|
|
|
|
Put the xml in an XmlDocument object. The items will be the nodes in the child nodes collection of DocumentElement.
---
b { font-weight: normal; }
|
|
|
|
|
Hello everyone,
I'm creating program for File Monitoring using "FileSystemWatcher" class. The purpose is for notifying user with message box whenever there was some folder/file creation.
My question is how can we know about the author/owner of a new file/folder?
Renata
|
|
|
|
|
How do you mean ? If it's a word doc or something, it may have some metadata you can examine, otherwise, the only info that windows has is who was logged in when they created it, which would be at the moment you get your message. So, 'you just created a folder' is the best you can do, I'd have thought.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi, is there any way to get index/indices of a row where the content of a column is as specified. For example, the following table named "employee" contains 3 columns with 4 datarows.
[employee]
(emp_id)•(emp_name)•(salary)
00001 Johan 30000
00002 Joseph 35000
00003 Jack 28000
00004 Jane 32000
I'd like to find the index of a row where emp_name is "Joseph". Is there any way to get it? I've tried to use IndexOf() method to get it but it asks for a datarow as its parameter which i don't even know where it is in the table -_-"
DataTable dt = ds.Tables["employee"];
int i = dt.Rows.IndexOf(); <-- don't know what to put here.
Thank you so much.
KiT
|
|
|
|
|
<br />
DataTable dt=ds.Tables["employee"];<br />
DataRow[] arr=dt.Select("emp_name='Joseph'");<br />
textBox1.Text=arr[0].ItemArray["emp_id"].ToString();<br />
Worth noting, if you have several persons named Joseph you simply can not take the first one.
To obtain uniqueness it is better to work with the id-column.
HTH
|
|
|
|
|
hi everyone,
i'm developing an application that will work like a web service. my problem is I don't know how to generate an http chunked response correctly. on the http chunked response, i'm getting a wrong size for my data size or chunk size. so i'm not sending the whole message. please advice :*(
|
|
|
|
|
I am using OleDBConnection to connect Access97 file. While connecting using wizard and clicking on testconnection button it shows an error "MSysAccounts table cannot open"
How can i connect to Access97 by OleDbConnection
Thanks In advance
Panal
|
|
|
|
|
<code>
string ms_connection = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;User Id=admin;Password=;";
OleDbConnection mc_connection = new OleDbConnection(ms_connection);
string ms_sql = "select * from table";
OleDbCommand mc_command = new OleDbCommand(ms_sql, mc_connection);
OleDbDataReader rReader = mc_command.ExecuteReader();
rReader.Read();
</code>
or words to that effect
Web design and hosting
http://www.kayess.com.au
-- modified at 8:15 Friday 28th April, 2006
|
|
|
|