Zuni's Q&A profile
Windows Forms Icon Library
I thought I remember Soma or someone saying in a web chat that MS would supply a big icon library that includes all the std MS icons that Vs and Office use. Did this happen I can't seem to find it in the RC. I've looked in location given in the help file for the image library but its not there. Is the image library provided in the Express Editions ...Show All
Windows Forms To convert pixel into inces or viceversa
Hi, Plz tell me the exaxt method to convert pixels into inches or vice versa through C#. net. Thanks, Hitesh Converting between the two requires knowing the DPI you are currently in. Normally windows runs at 96 DPI so if you’ve got a 1 inch long line on the screen there are 96 pixels being used to display it (provided the overall resolution relates properly to the size of the monitor). With simple math you can use this value as you need it. In most cases though you will want to determine the current screen DPI... to do that you need only instantiate an instance of the Graphics class that is bound to your form or another con ...Show All
.NET Development 64 Bit Local Debugger on Whidbey FINAL
Will the local debugger on VS.NET 2005 FINAL RELEASE be able to debug 64 Bit apps Remote debugger sucks a little bit. Thx in advance Martin Jochen -- You are actually still using the remote debugging infrastructure under the hood even though you are remote debugging to the same machine. This is because VS is a 32-bit application in Whidbey. However, as you have noted, they do a good job of hiding it and in my debugging using VS it seems to work pretty well. The major omission being no edit and continue on 64-bit projects is however a CLR limitation. Most applications however correctly run as agnostic code, in which case if ...Show All
Visual C# Thread problem
Hi.. I created a thread to watch for closing a window... i make a loop for watching the process that have a Main window..and when a windows closes to do something Anyway my problem is that my CPU goes nuts.. from 3% goes to 90 100% and i gived to someone else and sad that is working fine.. And my CPU is a INTEL Pentium 4 3.2 Ghz and i Have 1Gb Ram.. the hardware shouldn`t be a problem OK, let's say we have a Form called MyForm with a Button called button1 and a Label called label1: // First add the following to the MyForm class: private int wmShellHook; [DllImport("user32.dll", CharSet = CharSet.Auto)] pr ...Show All
Windows Forms Testing Methodology
I was wondering if the experienced developers out there would mind sharing their thoughts on how they test their critters. I'm currently planning on creating some test harness' so that I can write some nunit tests, but I can foresee some potential pitfalls related to code access security etc. What I'd like is: 1. If you have some code out  ...Show All
Windows Live Developer Forums Language help
how do you change the language on sn messenger beta if you know please email me on XBOX3601409@gnmail.com ...Show All
Windows Forms Can't Add Rows to Datagridview
Hi, I am trying to add a row to a DataGridView that is bound to my database. object[] values = {"new opperation", opperation_size, "1"}; myDataGrid.Rows.Add(values); seems to throw an exception (I tried putting it in a try/catch block and the catch would always go off) I was wondering if it is something wrong with my code, or is it that I just can't add rows to it while it is databound It worked perfectly before I bound it to my database. Thank you -Bryan St. Amour Yes, it throughs the following exception, which explains all the situation System.InvalidOperationException: Rows cannot be p ...Show All
Visual Studio Express Editions Project : error PRJ0003 : Error spawning 'midl.exe'
This what I get when Building Project : error PRJ0003 : Error spawning 'midl.exe' I don't see midl.exe In E:\Program Files\Microsoft Visual Studio 8\VC\bin the use of midl.exe indicates that is use a preprocessor why isn't midl.exe in my visual studio 8 folder PS : I use VC++ 2005 Express ok, what about http://www.microsoft.com/downloads/details.aspx FamilyID=25ae0cd6-783b-4968-a841-38a2743307d9&DisplayLang=en ...Show All
Visual Studio Report Footer
As far as I know there is no Report Footer feature in MS Reporting Services. I'm trying to mimic it with playing with visibility option. There is a problem if I use page footer hidden content still occupies space so I should not use page footer but I can not find a solution to print something bottom of the page inside the body itself. Is there anybody implemented report footer any suggestion thanks, Harun# Any objects you place at the bottom of the report body will appear at the end of the report. Is that what you mean by a report footer -Albert ...Show All
Windows Forms can clients access remote database (SQL)....?
I want the clients to install an aplication that uses a database, without actualy installing the database on the local computer. therefore clients will be accessing the database remotly from our server. the problem is that it seems that clickonce does not support this service. please provide me with any tips, hints or information related to this subject. thanks for your help. The reason that it's failing is that you're trying to use an IP address in conjunction with a named instance name. You can use one or the other. If you want to use an IP address, then the port number is used to identify the i ...Show All
.NET Development Manipulating Excel spreadsheet with ASP.net
I have tried to manipulate a Microsoft Excel spreadsheet with ASP.net a couple of times before, but I always ran into the same problem. The EXCEL.EXE process will never die. What is the best way to solve this problem Also, previously, I have tried to use ADO.net to manipulate my data. What are some of my other options, and which one is more efficient Thank you in advance. Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx tabind ...Show All
Windows Forms clickonce manifest error
hi, i deployed an application using clickonce and when i try to execute it i get an error saying "Unable to continue. The application is improperly formatted. PLease contact the application publisher.". On this messagebox there is a details button. When i click the details button it opens up a error log file. In the log file the error is describe ...Show All
Visual Studio Express Editions Good and Free Tutorials
hi, i hope if anyone encounter a good free tutorial for C# to share it with us here in this thread. very good tutorial for OOP's concepts very well organized tutorial for C# basics Index for many tutorials online arranged in groups this is the best free dictionary i found for computer terms note there are many tabs in the result but most of computer terms in technology or wiki this is a list of terms that used in computer field i still prefer the previous one hope that will be helpfull I found this resource to be very helpful. http://cs ...Show All
.NET Development CPU utilization
hi everybody I have a application where i need to sample CPU cycles(that is how much CPU is utilized in that PC).....Please suggest me a way how to achieve that.....i m not able to think of nything by which i can get around this Thanks in advance kunal s patel you can do so by adding performance counters for CPU utilization and timer. On timer tick you can get the latest value of CPU utilization. If you need step by info , check following url for similar post http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_21290173.html ...Show All
Windows Forms Overriding OnPaint on ComboBox
Hello, I'm newbie in C# and .NET and I need to use user control inherited from combobox. So, in constructor I set: SetStyle(ControlStyles.UserPaint | ControlStyles.DoubleBuffer | ControlStyles.AllPaintingInWmPaint, true); Now I can free paint over my combobox, but over everything I painted is uggly black box, which represents the place where the new typed text is placed. This text is draw by standard system font Black on White, and ignores font settings in control params. Can anyone say me, why the control behaves like this Thanx The bad news is that the ComboBox use ...Show All
