Answer Questions
Lewis Lee Recording Voice Messages from skype
Hi Does anybody have an idea of how to go about recording a Voice Message and then saving it to an mp3 or wav format.. Any help would be great, even links to sites which have relevant information. Thanx a lot :) I would have a look at the Skype Starter kit as it allows you to program and have fun with the Skype systems... http://msdn.microsoft.com/vstudio/express/visualcsharp/starterkit/default.aspx#skype Hi Glenn ...Show All
BeckyE How do I login to a website and download files in C#?
Hi, I'm trying to write a C# program that can supply a username and password to a website's login screen. After my C# program logs into the website, it needs to select a checkbox next to the file name it wishes to download. Then my program needs to select the download button at the bottom of the web page so it can download the file to a local path. The name of the website file my program needs to download from this website change ...Show All
gdf How to determine if Object A is the same object as Object B
Hello, Take the following method (C#).. void MyMethod( object a, object b) { //Some code here... } ...and call it with the following code... MyClass x = new MyClass(); MyClass y = x; MyMethod(x, y); What's the best method within MyMethod() to determine if both parameters are one and the same object Should I be using object.ReferenceEquals() or just plain if (x == y) Thanks in advance for your ...Show All
Takashi kawasaki fullscreen
I want to create a fullscreen window in which I can draw in. I dont want any window frame to be visible, or the windows toolbar to be visible. I tried doing this with a regular winform, and changing the dimensions to the screen dimensions, but the window frame and toolbar were still visible. How should I go about entering into some kind of fullscreen mode in which I can draw in Creating a window that covers ev ...Show All
Sogran SIMPLE instructions to REMOVE Windows Desktop Search
I have written to MS without receiving a simple, non-MIS/IT description of how to remove this horribly intrusive add-on, that installed itself DESPITE clicking on DO NOT INSTALL. So (and without getting into the politics of who is behind this), all I want is the easy way to remove this program. I have gone into Add/Remove Programs and YES, clicked on Show Updates, but there is NOTHING clearly identified as Windows Desktop Search. ALSO, ...Show All
Mystus Calling C# DLL from C code
Hi, I've seen plenty of examples of calling C++ or C code in dlls from C#. I want to be able to call C# methods etc from C code in much the same way as C++ can be called from C. Many thanks Mike Alan, Many thanks for your reply. I never thought about turning the C# into a COM object so thanks for the pointer. I have downloaded the book and now the hard part starts :-) Cheers Mike ...Show All
SCOSwriter ExecuteScalar erro
{ SqlConnection conn = new SqlConnection (); conn.ConnectionString = "Data Source=(local);" + "Initial Catalog=bd;" + "Integrated Security=SSPI;" ; SqlCommand sqlComm = new SqlCommand ( "SELECT * FROM utilizador WHERE user=@user;" , conn); sqlComm.Parameters.Add( "@user" , SqlDbType .VarChar); sqlComm.Parameters[ "@user" ].Value = user.Text; ...Show All
Tom Nguyen How to store a TreeView state and restore it back
hi everyone, My code looks like this dataentryTreeView.Dispose() ; // disposes off the old tree InitializedataentryTreeView(); // again rebuilds the tree with the updated information return true ; Everytime i add,update or delete a node from my treeview it disposes the old tree view and rebuilds a new tree with updated information but the problem i am loosing the previous state of the tree view so it's becoming hard to nav ...Show All
Jim Danger A lot of radiobutton
Hi, I have a webpage with 15 questions and for each question I have 5 radiobutton, and what I want to know is how can I get the checked one from each group dinamically... Thanks In C# void FIndRadioButtonLists(Control parent) { foreach(Control c in parent.Controls) { FindRadioButtonLists(c); if (c is RadioButtonList) { // Do something to the radio button list. } } In other words, you call th ...Show All
Brad Eck When does P/Invoke free a DLL from memory again ?
From MSDN "a closer look at platform invoke" it listed the steps when an unmanaged functions is called 1. Locate DLL containing function. 2. Load this DLL into memory 3. Locate the function in memory and push its agruments onto the stack. 4. Transfer control to unmanaged function. The first function I intend to call from the unmanaged DLL initialises alot of global variables which subsequent calls can use. Can I hol ...Show All
Johan Nordberg equivalent of split but the separator be a nomber
helo i try to use if exists a method like split but a separator is a number of caractere In that case you can use string strText=" FirstwithSecondcaractereTreewithFoorcaractere "; foreach(string strItem in Regex.Split(strText," caractere ")){ Console.WriteLine(strItem); } Hope this helps!! -Jay The string. Split method allows you to split a string only be a specified character. If you wish ...Show All
Chris_Guzak How to edit any .cs file from my C# application?
I want to replace all the private modifiers to public modifiers, in any given .cs file, using C# application. Why would you want that anyway here is something you can do (although I dont recomennd it) StreamReader r = new SreamReader("myapp.cs"); string text = r.ReadToEnd().Replace("private", "public"); r.Close(); StreamWriter w = new StreamWriter("myapp.cs"); w.Write(text); w.Flush(); w.Close(); ...Show All
MReinhardt How to convert an integer number to alphabet
Is it possible in .NET to convert an integer number to alphabet Like this: 1 ---> One 2 ---> Two .... I don't want to create a mothod for this, I need a .NET module, like Int32.Parse(). Thanks for any help. Check this article http://www.codeproject.com/samples/number_to_text_converter.asp As I think, there isn't a .NET function to do that, but there are some samples to do that simply! I'd see ...Show All
Gyða Eval in VB equivalent in C#
What whould be an equivalent commant in C# to the Eval in VB Thank you. There isn't one built in ( as far as I know ), but you probably could use the CodeDom to evaluate it. Also see if http://www.codeproject.com/csharp/ExpressionEvaluator.asp#xx1246441xx is what you are looking for What are you trying to achieve ...Show All
joey_sal Incorporate C# Code
What is a good book for intermediate/Advance users of C# And how difficult or easy is it to incorporate a C# source file into a Window Application...Say you have an application that you can enter 20 grades and get the sum of the grades then the average of the grades then print out what grade the student earned ....Can you implement this in a window application....I know you would take some steps in setting the behavior of the text ...Show All
