Answer Questions
majinmunkee Making It Fullscreen
I'm writing an application which runs automatically when Windows starts and I want make it fullscreen but without taskbar and Start button. I also want disable red button (x) for shutting form in upper right corner of the screen. Could somebody post source code in C# for this tasks. I'll be greatfull, because I'm not very experienced in C#. In Form properties: FormBorderStyle = none using System.R ...Show All
Naveen K S Resume Next
I've got VB6 and VB.NET code that I'm converting over to C#. In Vb there is a "resume next" statement. What is the statement in C# to convert "Resume Next" ie Try 'more vb code 'some line caused an exception End Try Catch Resume Next End Catch Thanks, /dz Peter, Have a visit of the http://thedailywtf.com/ , and you will see that cod ...Show All
Ravi D logging in CSharp
hi, i am looking for a simple way of logging (event and errors) in my WebService application. can anyone please let me know best possible option for logging or where can i find a simple comparision of using different logging options. e.g., System.Diagnostics.EventLog, Log4Net Etc. will really appreciate. rnv You can use Microsoft EnterPrize Library(Pattern & Practices) for loggin errore and events ...Show All
cobaltsoft Desktop search does not think Outlook is installed
I recently installed windows desktop search on my XP SP1 machine running Exchange 2003 in cached mode connecting to an Exchange 2003 server. Windows desktop search won't let me select Outlook because it doesn't think I have it installed. I checked from IE and Outlook is set to my default mail client. Any suggestions of other things to check is appreciated, searching through my mailbox and .PST files would be great! Thanks. ...Show All
Dave Colbeck "Simple" task becomming extremely frustrating (textbox.text and integers)
Thanks for the help TAG. I got that part working. Now I have a new problem. How do you append values to the end of another value I don't want to add the values, just apped it (ie. 0 + 1 + 1 = 011, not 2). Here's the code I'm using right now: iTempBin = iTempBin & iBin % 2; All I get is the number 0 when I try to do this. The result should not be 0. Edit: I figured this out. Results b ...Show All
Dorwin C# Needs a Property keyword like MC++ has now
I've said this before, even directly to Anders, and I'll say it again: C# needs a simpler way to declare properties. Don't believe me Check out this video of a John Lam talk about the future of programming languages that espouses dynamic programming langauges like Ruby: http://www.ftponline.com/channels/net/reports/vsliveto/2006/multimedia/lam.aspx About 1/5 of the way into the presentation he gives this example of a piece of code everybo ...Show All
Mark Tomlinson - MSFT Various functionality missing from Visual C# 2005 beta2?
I can't find code definition window, some of the refactoring stuff, and some of the debugger stuff. And they appear to be missing from customize-commands too. I did notice something strange when i was messing around the settings importer/exporter. One of the times I was playing with, there was a bunch of 'key' errors related to this functionality stated above. I seem to recall seeing somewhe ...Show All
Manach How to get <summary> <remark>, etc desriptions to display in dlls
Hi, We are a developing an API. Currently the the descriptions are surrounded by <summary> </summary> tags. We compiled and the user has installed the dlls on to their machine. They added a reference to the API.dll and can use the methods but the only thing that displays in the intellisense are the methods headers. How do we get the descriptions to display. Are we using the wrong tag Thanks. ...Show All
wacher Append records to existing StreamWriter file
I've been writing text files in several apps with no problems until I tried to write/append to a file. Now, from what I could 'glean' from the numerous books/websites out there, to append records to an existing file one needs to set the StreamWriter to true like this: m_objOutput = new StreamWriter( strFileName, true ); The output file gets created; however, when I run my app, nothing is written to the file. I haven't been able to find ...Show All
Luis Neves Insert to Access DB from C# webform
I have a web form, where values are submitted and displayed on a table on a form. What I want the user to be able to do is view these values, and if they are satisfied with them, submit them to a table in an Access database by clicking one submit button. Any suggestions I don't understand what data you are prompting the user to insert, then bulk inserting. You are dynamically creating a table, but what ...Show All
Balaji K What C# version should I get?
I fell off the VC++ wagon in 2000 for Delphi. I now find that I need to climb back on and get with C# .NET. I have scoured Microsoft’s marketing site along with this forum. Although plenty is said about VS 2005, I’ve read conflicting information and I can’t seem to find whether C# 2005 is even being sold separately… much less what’s its feature matrix is. I am currently using the Express version of C#2005 and have some questions towa ...Show All
Freshabd Close 'X' button problem on child form
Post smallest amount of code of a single Form that reproduces this. By default clicking the x will close the form. Are you still having this problem Thanks, Karen All of the child forms have a common factor and that is they all use while loops. I am collecting a ton of serial data and looping works best. Does the loop have something to do with it, I would expect the App.doevents() to handle the event correctly when it f ...Show All
npvw Using OS to open files
I am currently writing an app that extracts files from a database and attempts to open them using Process.Start(); It works fine as long as the file type has an association, but if there is no association, I get an exception. What we are looking to have is for the OS to handle it just as if you tried to open a file from Windows Explorer and the file type is unassociated, you get a Windows Dialog (Windows cannot open this file) What d ...Show All
Marco2006 DragDrop registratation did not succeed.
I have a C++ Windows Forms application that displays OpenGL in a NativeWindow contained by a Form that allows drag and drop. This application works fine when compiled with Visual Studio .Net 2003. When I compile this app with Visual Studio .Net 2005 and run it, I get the following error: And exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll. Addition information: DragDrop registration did not succ ...Show All
Jayvardhansingh Why string needs to be passed as ref, even though it is reference type?
Hi, I want to pass the string value to a function and the changes should refelect in the called function. What I thought was if I pass the string normally (without using ref keyword) this will work since string is a reference type. If we are passing any userdefined class reference it is working. Why it is not working for string even though it is a reference type Example: public void fun() { Strin ...Show All
