|
Hi Everyone,
I have searched and searched and I cannot find what I am looking for .. It is probably because I do not know the proper terminology of what I am trying to do.
I have a program that I created that does operations on ZIP files. I want to be able to be browsing my folders w/ Explorer and right click on the file, and have my application come up as a handler. (Like WinZip, you right click on a .ZIP file and WinZIP appears on the menu with some options , extract to, add to zip, etc). I want my program to have a place on that system menu that will say "Open with myprogram", and have Explorer open up my program and pass the name of the file to it.
Can someone point me in the right direction , please I would really appreciate it!
Thanks
|
|
|
|
|
Those are called "Shell Extensions". There are several articles here on Code Project about them.
led mike
|
|
|
|
|
Hi all, I am trying to capture sound from the microphone and send it over the network as a PDU to an ASTi radio. I can capture the sound once and when I send it over the network it sounds horrible. I think the problem could be because I am capturing the audio as a wave formatted audio. Is there anyway to capture audio from a microphone using say ULaw encoding or some raw buffer like that?
Thanks
|
|
|
|
|
Does anyone have an example of how to read the Height and Width of a JPG file
using .NET and c# BUT without loading the image into memory?
I have seen examples in C++ but have failed to translate the code. I know I
need to read the binary file stream and look for the headers but have still
got problems doing this.
Any help would be much appreciated.
Regards
Richard
|
|
|
|
|
Hello
Ach1lles wrote: I have seen examples in C++
You can use those C++ functions from your C# code using P/Invoke. You don't have to translate it.
Regards
|
|
|
|
|
I need to launch a ClickOnce application from another application. Any ideas on how I could do this? I don't really want to use a whole webbrowser control etc. and navigate to the URL.
|
|
|
|
|
C:\\Documents and Settings\\LOGGEDINUSERNAME\\Start Menu\\Programs\\ApplicationName.appref-ms
|
|
|
|
|
Data hiding is just a means by which one hides away data from the external world... example, the lungs of a person is not seen by anyone, but used for the internal working of the human being!
Data Encapusation allows to package all the contents of the object. They may or may not be public to the external world. Example, the skin is part of the human, and so is the lung. Together all the components of the human make up one whole being!
And finally Data Abstraction is the means by which one displays only what is required to the user. Sample - the mood of a person to a girl, a snake, a cat, a father, or a boss. Though they are all emotions, they differ based on the stimuli, and hence a portion of the whole is displayed to the person who requests it.
Thanks to my friend (P.J Lionel) - Shanu
|
|
|
|
|
|
Dear friends,
Pl, Show the Inhnacements in VS.net 2005 over 2003. If on this site or elsewhere it is shown already Pl give the link. I tried on codeproject and don't find either. May be it is on with some other keywords.
with Regrads
Dev
|
|
|
|
|
Search the microsoft website.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
I am using the DataGridView control in a WinForm. (Visual Studio 2005)
One of the columns is of this type:
DataGridViewComboBoxColumn
cbo = new DataGridViewComboBoxColumn();
cbo.DataSource = dt; //DataTable
cbo.DisplayMember = "User";
cbo.ValueMember = "IDUser";
dataGridView1.Columns.Insert(0, cbo);
Now, How to I can access to the properties of each comboBox? (SelectIndex, SelectValue, SelectText, ...)
The FindControl() method is only available in web applications.
Thanks and sorry for my english.
|
|
|
|
|
Its for my AR DS code editor, i need to open an XML (or TXT) file thats on the internet, but i havn't done anything with the internet in C# yet, so i have no idea what to do
|
|
|
|
|
You have to request the file from the web server. Use the HttpWebRequest class.
---
b { font-weight: normal; }
|
|
|
|
|
So i got this now
HttpWebRequest CodeList = (HttpWebRequest)<br />
WebRequest.Create("http://www.freewebs.com/csharpprojects/EC.txt");<br />
HttpWebResponse response = (HttpWebResponse)<br />
CodeList.GetResponse();<br />
Stream CodeStream = response.GetResponseStream();<br />
StreamReader SRs = new StreamReader(CodeStream, true);
Is that right? It seems to work, but i just want to be sure.
|
|
|
|
|
Yes, that's the way to use the HttpWebRequest class.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I was wondering how i could create a map on the desktop of the current user who is logged on?
Thanks in advance!
|
|
|
|
|
I think that you have to be more specific in your question.
What is it that you want to create a map of? The user? The desktop? Something else? What is it that you want the map to show?
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
Sorry about the confusion. Its my bad english.
I mean how to make a folder on the desktop of the current user who's logged on at that time.
Thanks in advance!
|
|
|
|
|
Hi!
You can use the Environment.GetFolderPath() method with Environment.SpecialFolder.DesktopDirectory as parameter to get the path to the current user's desktop.
Then it's just a matter of Directory.CreateDirectory()...
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
|
i want to create a custom control that is rendered and binded at runtime with some datasource . If i want to use that component in PHP and ASP3.0
that control should auromatically start working and should perform databinding automatically...what should i use for this . i want to add only reference of that dll in PHP and ASP3.0
please Help
Kamran
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
hello all :
i wanted send some information to a form that is on the web (http://www.cao.ir/farsi/fids/index.asp), with C# languge
i wanted to generate a code on c# that fill this form automatically & give me information after fill & post that but i don't know how can i do it !!
i can tell you that i wanted to produced a spider or robot to do it.
please guide & help me to find it out
Jope To hear from u soon
Kind Regards
|
|
|
|
|
Please don't cross post.
---
Request the page with the form, then parse the code to find the form tag and the fields in the form. Contruct the form data to post depending on the form fields, and use the POST method to send the form data in another request.
---
b { font-weight: normal; }
|
|
|
|