adi reuven's Q&A profile
Visual Studio SolutionEvents.ProjectRenamed will not fire off
Hi, I can't get the projectrenamed event to fire off. mSolutionEvents.ProjectRenamed += new projectRenamedEventHandler(onProjectRenamed); private void onProjectRenamed(Project Project, string OldName) { ProjectEventArgs e = new ProjectEventArgs(Project, OldName); // breakpoint here fails to fire FireEvent((EventArgs)e, (Delegate)eventList[ProjectRenamedEventKey]); } However, I got the solution opened, beforeclosing and after ...Show All
Windows Forms drawing over a panel
I'm trying to draw a simple graph using the "drawline" command. I have no problems drawing on a form, but I am unable to draw over a panel or a tab control. Ideally I would like to have a tab control that displays different graphs depending on which tab is selected. Can anyone give me some advise on where to look or any sample code on how to draw over tab controls and panels Thank you ...Show All
Visual Studio Team System How to simulate a button click in a web test
Some of my web tests are failing to simulate certain button clicks. This happens after I fix ViewState issues in the generated code (by removing the hard coded viewstate and replacing it with Context[ "$HIDDEN1.__VIEWSTATE" ]). I need to know how to simulate the button click in a C# coded web test. Thanks. Hi slumley, There is no special java script involved. I wonder if someone might be kind enough to give ...Show All
SQL Server How can we write C# code in sql.
Hello Anybody knows how to write c# in SQL All responses appreciated. thanks. There are many examples out there, one of them is http://www.codeproject.com/dotnet/CLR_in_Sql_Server_2005.asp . But anyway if you google for word like clr or c# in combonation with SQL Server 2005 you will find some good examples out there, depending of what you want to do (triggers, udts, udfs, procedures) HTH, Jens Suessmeyer. ...Show All
.NET Development .NET Runtime 2.0 Error Reporting
Hi, My application is running on 65 PC. After a few hours, this applications crash on 2-3 PC. I get no exception in my log files. I set the Application.ThreadException and AppDomain.CurrentDomain.UnhandledException exception event handlers. The last one is triggered with 'System.NullReferenceException: Object reference not set to an instance of an object.' but there is no stack trace available. I got no dump file, no popup window. I only get the ...Show All
Visual C# Changing width of scrollbar on combo box
I'm currently writing a C# application that will utilize a touchscreen as the primary interface method. Since I'm using a touchscreen and not a mouse, large, easy to hit controls are key. This hasn't been a problem for the most part, but I'm running into trouble in a situation where I use a combo box. I can change font size of the items listed in the combo box, so each row is tall enough to hit easily. The problem is that there are more item ...Show All
.NET Development Strange construct in template code
When creating an a new ASP.NET Web Service project in VS2005 Beta 2, I am curious about the template generating the 'Public Sub Service' procedure within the genrated class (as demonstrated below). Can anyone enlighten me as to what this procedure is designed for and what, if anything I should be doing with it <WebService( Namespace :="http://tempuri.org/")> _ <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ Pu ...Show All
SQL Server pros/cons of using Access 2003 as a front-end for SQL 2005
Hi, I'm creating a SQL 2005 database for a small company. I'm leaning towards using Access 2003 as a front-end for them, since it has a decent report writer and the adp projects seem to preserve SQL's schema relationships. But I've read some posts where Microsoft is frowning on adp projects. It would cost this company more money in the short-term, but am I better off building a custom .net winforms application instead and avoid Access 2003 I' ...Show All
Visual C++ How to use other DLL in COM DLL?
First, generate a project by the VS2005 of ATL DLL, and add a simple object into the project, then add the IShellExtInit and IContextMenu interface manually. Well, it is work fine. But if i invoke other DLL's function in the ATL DLL's project, it is will alway show an error as:(and the invoked DLL is surely 64-bit) Linking... Creating library x64\Debug\PWContext.lib and object x64\Debug\PWContext.exp Embedding manifest... Registering outp ...Show All
Visual Studio Tools for Office Install vsto 2005
Hello, i would like to install vsto 2005 with visual studio 2005 beta 2. I have first test the version 2003 (visual studio and vsto), and i will test the last version 2005 (i haven't uninstall the previous install). After install the version 2005 of visual studio standard edition, i don't see office project. I have search a moment, and i don't find an install to Visual Studio 2005 Tools. I can't create a office project I have find a visua ...Show All
Visual C# Using Excel to graph?
I have a database and I've spent some time trying to get Crystal Reports to graph some information from it in the way I want it but haven't had much luck at all. Is there a way to use Excel to do graphing and then somehow get those graphs onto a windows form in C# I've seen some posts about importing data into Excel and I suppose I could try to do things that way but it would be inreadibly useful if I could just let the user get all the graphs ...Show All
Windows Forms Drawing a textbox/combo
is there a way to override drawing a textbox or combo i have a MyTextBox control that inherits from textbox, i want it to draw normally if a boolean normal is set to true, or draw as a button/rectangle/frame (or sometrhing else) if the boo ...Show All
Visual C++ Converting from 'int' to 'string' to use AppendText
I want to display a decimal number in a RichTextBox by using AppendText. How do I convert (if I have to) the decimal number to a string so that the AppendText function will work You should take a look at sprintf_s http://msdn2.microsoft.com/en-us/library/ce3zzk1k(VS.80).aspx ...Show All
Windows Live Developer Forums Comment on Windows Live Messenger
Hello, i would simply like to comment on the scrolling humdinger on WLM. i don't like it, if I am in another conversation, I see that the shaded bar is folowing my mouse around. I also don't like that when I mouse over somebody's name it expands. ...Show All
Visual Studio Team System Need a fix to area bug
I am running Visual Studio Team Foundation Server Beta 3 Refresh and have discovered that if a user without sufficient permissions tries to create an Area in the Areas & Iterations dialog that an error is given to the user but the Area is still created. It appears that the Area was not completely created though, it shows up in that dialog list, but is not available to be used by work items and it cannot be deleted by anyone. When I (from a g ...Show All
