Answer Questions
Keith Newton Merging namespaces as one
Is it possible to merge multiple namespaces as one The reason I want to do this is because I want to inherit someone elses control, but use my own namespace. Using my own namespace stops the UI design tools from working. What I need is to be able to make C# think my control exists within the other name space, while still existing in my namespace. Maybe I'm asking for to much. I was hoping to keep it unchanged ...Show All
Jarrod M. C# analog clock runs slow on some computers
Hi all, I have a problem with the System.Threading.Timer class that I am using for my clock. The clock runs faster on an Intel box than it does on an AMD box and it has nothing to do with the CPU speed. Has anyone come across this before Any suggestions would be much appreciated. Ok, I have found that it is not a cpu problem as I have another box with an AMD Duron XP 1000MHz(5x200) which runs at the correct speed. I have tried it on another co ...Show All
GWBasic How to share 2.0 app/user settings across multiple projects in a solution?
I'm working on understanding how the app.config and user.config settings work (2.0 way), and everything is fine when I'm working in one project. I'm going to need a way, though, to share the app.config and user.settings across mulitple projects. So for example when I'm in "ProjectB" I need to access the namespace "ProjectA" settings... ProjectA.Properties.Settings.Default.someVar; The problem is it keeps saying that it can't accesss Settings ...Show All
quresh Welcome to the HD DVD Interactivity Authoring Forum!
Welcome to our Forum! This Forum is for people who want to discuss any topic related to authoring interactivity for HD DVD discs: questions and answers, comments, and feedback are all welcome here. Also, please check out other resources for HD DVD authors at http://www.microsoft.com/windows/windowsmedia/forpros/hddvd/default.aspx Enjoy! Sincerely, Steve Geffner Lead Program Manager, HD DVD Microsoft ...Show All
Er Hazmo help me -- sound project --
hi i want to record sound and save it as wav file i want to record voices that come out from speakers and also that we want to enter by micophone. and the example that you gave me only record voices that enter the computer, this is my problem Yes, no problem. Take look at the article again and be creative! The full recording code is allready writen and documented i ...Show All
Math Nerd converting from nvarchar to money
Operating system: Win XP Languages: ASP.NET, C#, SQL Server 2000 Hello, and thank you for reviewing this post~! Can someone tell me how to cast an nvarchar to money using C# Thanks in advanced! well there is no such thing as an nvarchar in C# so I assume you are referring to a string if so you can use decimal.Parse(string) the nvarchar comes from the ...Show All
Shawn Weitzel How to handle Call Interrupt with in the game
Hi How to handle call interrupt in a game developed using .Net 2003 with C#.Please let me know if any one as done this. Thanking in Advance You're going to have to be much more specific about what it is you are trying to accomplish if you want to get an answer. ...Show All
st23am23 Tab control
I have got a form where is tabControl with 2 tabPages. In each tabPage there is an textBox control. What I want is, when I click on tabPage ( 1 or 2), to textBox on this tabPage to be selected (to be cursor in it). Can you help me Ok, you need to listen to SelectedTabChanged event on the TabControl (double click on the control will automaticly give you this event) in the handler you need to write: if(tabControl1.SelectedTab == t ...Show All
Kriptic Questions about Objects in C#
1. Do we need to pass objects by ref, if we want to have the changes made in a calling function 2. And the same question for the objects passed by Remoting 3. Do we really gain performance in calling Dispose method of DataSet while leaving from a function(the dataset is no longer required) If yes, then what does the Dispose do there Is it freeing the memory occupied by the objects If yes, then basic definition of GC itself gone righ ...Show All
hurf0rd How can I send mail without disable McAee VirusScan ?
Each time I want to send mail I must click disable property of McAee VirusScan. Could I let program do this instead I have to do this This is my code for sending mail : MailMessage msg=new MailMessage(); msg.From=" pham.vanphuc@pcv.com.vn "; msg.To=txtTo.Text; msg.Subject=txtSubject.Text; &nb ...Show All
Boatman Hibernate and Suspend
hi ppl,,, i have an application that will be able to shut down system, rboot hibernate and suspend.. i allready worked out the hibernate and suspend.. but i just dont find the way to hibernate and suspend ( actually i dont know if those 2 are diferent things lol) .. so does anybody know how to do it thx mig16 thanks,, everything compile but this: protected bool CheckEntryPo ...Show All
Khamul Timeout error
I'm using beta2 and I tried to follow the first thread code. All works fine, but I get a timeout on the line "smtp.Send(mailMessage)". I have tried some servers, all required SSL at port 465 and all fail. Can you help me My code is below: MailMessage mailMessage = new MailMessage (); mailMessage.To.Add( new MailAddress ( "a23619@alunos.det.ua.pt" )); mailMessage.Subject = "Exception occured" ; mailMessage.From = new MailAddress ( " ...Show All
Lionel Dictionaries and the objects they contain!
I was just wondering, is there some way to synchronize the modification of objects that are in dictionaries (or any other IEnumerable interface for that matter), if they are modified without referring to the dictionary I find that this code snippet doesnt work (I might be too naive): foobar bar = new foobar(); bar.setText("hollathere"); Dictionary <string, foobar> someDict = new Dictionary<string, foobar>(); someDict.Add("handl ...Show All
Thomas D. Greer ASP DataGrid event handling
Hi all I have created datagrid programatically from code behind page and attached event handler " this .DataGrid.PageIndexChanged += new System.Web.UI.WebControls.DataGridPageChangedEventHandler( this .DataGrid_PageIndexChanged);" but when i click on next page in the datagrid the event is not raised and i am unable to execute the code in the below given method private void DataGrid_PageIndexChanged( object source, System.We ...Show All
M. Mondok Passing text to a text box from an MDI Parent to Child`
Hi All, This is probably a stupid question but I am trying to rewrite a program that is in VB.net to C# - both 2003. In VB I displayed a child form with the following code: Dim child As New RichText child.MdiParent = Me child.txtLoadCommand.Text = strBuffer ' *** I can't do this bit in C# child.Show() In C# I'm using the following code: ChildRichText newMDIChild = new ChildRichText(); newMDIChild.MdiParent = this ; // S ...Show All
