Skidmark's Q&A profile
.NET Development RC0 - when?
Does anybody know, when the RC0 of VS will be made available via MSDN subscriptions (hopefully along with a SQL-Server CTP/RC which then meets the framework version of that vs) Thanks, Klaus Hi, There is an update for this question. The RC1 will be released in September. Somasegar has made a blog post regarding this. http://blogs.msdn.com/somasegar/archive/2005/08/22/451026.aspx Regards, Vikram ...Show All
Visual C# datagridview associated with some date event
First of all...hi @ all :) I hope someone can help me with this problem: i need a datagrideview that read one month and retrieve days of that month,for example: User chose January from a combobox,then the datagridview shows in columns every day of january from day 1 to last day of month selected (in this case, 31). After this problem,i have other problems to ask......but...better once at time :) Any help appreciated!! Regards. Philip W wrote: Hi, Can you not use the supplied DateTimePicker Control Thank you for reply :) Well,im new to this type of programming (a lot of C program ...Show All
.NET Development How To: Invoke an Application to Restart
I have an application that needs to restart after specific settings have been changed. As of right now I simply issue an information box to the user alerting them that the settings will not take effect until the application has been restarted. But what I really want to do is be able to prompt the user and allow them to choose to restart the application by clicking a button. Is there a way to have a .Net application restart itself Hi, There is no automatic way to have a .NET app restart itself. Is this application you are referring to a Windows Application If its a Windows Application, then can use the Process.Start() from Windows ...Show All
Smart Device Development Drawing exception....
Hi, I have written following code for Smartphone app in .net 1.0 // Draw background private void DrawBackGround(PaintEventArgs e) { // Draw lines Pen blackPen = new Pen(Color.Black); // Create coordinates of points that define line. int x1 = 10; int y1 = 10; int x2 = 50; int y2 = 10; // Draw line to screen. e.Graphics.DrawLine(blackPen,x1,y1,x2,y2); } when code reaches...e.Graphics.DrawLine() line....it gives following exception... "An unhandled exception of type 'System.NullReferenceException' occurred in AppName.exe" .. I don't know why...... Thanks for your help. ...Show All
Windows Forms Rounded corner in panel
Hi everybody, I 've tried to find some tutorials or any other help, but just couldn't find enything that works. So my question is, how can I make a CustomPanel with rounded corners. I already have a CustomPanel class with some features like gradient backgroundcolors and custom border etc. but I just can't add rounded corners. It just can't be that complicated... Thanks for any help. ...Show All
Visual C# Problem in getting handle using WindowFromAccessibleObject
Hi All! I am having a problem in obtaining the handle of a particular accessible object using WindowFromAccessibleObject. First, let me show you my code: private static string GetWindow(IAccessible iAccessibleControl) { try { ...Show All
Windows Forms Automated Printer Install
Hello, was wondering if it's possible to automate printer installs on the print server Not actually installing printers on users systems, but into the print server itself. My organization has over 50 printers and we're planning a server upgrade. I've taken it upon myself to attempt to create a .Net program that can install all the printers to our print ser ...Show All
Visual Studio Tools for Office VSTO Excel Databinding Performance
Hello All, In old versions of Excel (e.g. 2002) where we retrieved a dataset to programmatically populate a worksheet, it was often necessary to iterate every row and column. This often resulted in bad performance for large datasets. Does the new VSTO method that uses a worksheet ListObject yield better performance What is the most performant way to bind an Excel workbook to large volumes of data Is this a new feature of VSTO or could it be done in VBA Thanks in anticipation, Christian VSTO ListObject uses many tricks to resize itself to fit the data and to populate the data, a ...Show All
Visual Studio 2008 (Pre-release) Convert between Func<T> and Expression<T>
Are there facilities to convert a Func<T> and an Expression<T> in order to use something that was intended to be used as a predicate and use it instead as an expression tree -Scott Do you mean implicit conversion operators on Expression<T> that convert to Func<T> ...Show All
Visual Studio Team System Create a new tree field in workitem
Hi, Is it possible to create a new custom field (treepath) in work item, like area or iteration Thanks, Michael Hi Michael, I'm sorry to say that this is not supported in V1. Since this has been a frequent request, I'm forwarding this to our PM for consideration for a future release. Thanks. -Mareen. ...Show All
Windows Forms Event for Dynamically Created Controls
Hi All, i have a form which creates the controls according to the no of records present in dataset and then these are binded to the certain row of the table of the dataset and my code for this is Sub createcontrols() Dim newtextbox As TextBox Dim newbutton As Button Dim x& ...Show All
Visual Studio Beta2 microsoft.common.targets errors
There are 57 warnings when I created new project after failing to convert from beta1, some of the warnings are listed below. Anybody knows why are these warnings < ResolveAssemblyReferencesDependsOn > Warning 1 The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'CustomBeforeMicrosoftCommonTargets' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. Expected 'Property' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. R:\WINNT\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 18 10 Miscellane ...Show All
.NET Development Exception Text
I recently downloaded a program that was created with .Net & Visual Basic, I think. Anyway, everything was working fine until I tried to upgrade to the new version. I was told to uninstall the old version, then install the new version. Well I did and it has not worked since. I even tried going back to the old version. The message I keep getting is: System.InvalidCastException: Cast from string "12/13/2005" to type 'Date' is not valid. Any ideas This was a very useful program for me to use at work. I miss it! Thanks. Dear HMSDME, I suggest there is an issue between your regional s ...Show All
Visual Basic Calling common subs from other subs
This may be perhaps one of the hardest questions to word with possibly the easiest answer. Back in college when I programmed C++, you could call a common function from within another function, passing data along as you did so., ex: (I'm not remembering the exact code, and since its c++, not VB, it might be a bit extraneous to put it all here) but, ...Show All
Visual Studio Express Editions error - can't switch to design view
When I click the design view button, after a pause I get the following error message: Package Load Failure Package 'Visual Web Developer Trident Designer Package' has failed to load properly ( GUID = { <snipped> }. Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future You may us ...Show All
