Dave Balsillie's Q&A profile
Windows Forms Question
Hello: I am new to .NET and I am trying to create a simple application where i developed a control that allows you to draw different drawings. The control is derived from Control base class and I am doing my own painting logic. I have prov ...Show All
SQL Server Error when installing
i'm trying to install MS server 2000 components and I continuously get the same error. "A previous program installation created pending file operations on the installation machine. You must restart the computer before running setup." I've rebooted 100 times, turned the machine on and off, installed other programs, etc. and stil I get the error ONLY when I try to install the components. Please Help!!!! Thanks. ...Show All
SQL Server How to get the Row Number per Distinct Records?
Row Number Name Phone Number 1 John Doe (555) 123-1221 1 John Doe (555) 144-9989 2 Smith (666) 191-1201 3 Jane Doe (555) 188-0191 3 Jane Doe (555) 189-0192 3 Jane Doe (555) 190-0193 Here are the records I get back using a Grouping on "Name". I would like to assign a Row Number for each "Distinct" row. I've tried all the possible aggregate functions with n ...Show All
Visual C++ how to use graphics in a c++ compiler
how to use graphics in a c++ compiler for dev 4.9.2.2 and vc++2005 compiler you want display bitmap from resource or open external file Kuphryn ...Show All
SQL Server Management Studio connecting to remote Analysis services Server
Hi, When trying to connect to a remote analysis services server the option to change the authentication mode is grayed out. This means that I cannot connect to the server. Is there a way to tell Management Studio to use mixed mode for Analysis Services as is currently the case for my SQL Server installation Thanks in advance Jay I have a a similar problem. I'm trying to process a cube on a rem ...Show All
.NET Development COM+ application hangs
We have a COM+ application written using .net framework 1.1 the, this application is accessed by a group of asp.net web services, When deploying the application to win 2000 and IIS 5 the application runs smoothly (fast response and low memory usage), and win 2003 and IIS 6 the application hangs after few minutes with no exceptions thrown, we generated a memory dump for the process after it hanged and analyzed it using Wi ...Show All
SQL Server jobs on 2005
i copied couple of scheduled jobs from 2000 to 2005. They still take the same amount of time as 2000. Shouldn't they be quicker on 2005 anu suggestions ok pretty reasonable. Well lets say jobs like this: Process cubes Process shared dimensions Build tables Move tables from one database to another Create indexes Drop indexes does that help ...Show All
Visual Studio Team System Word defined as a recognized word in CustomDictionary.xml is still being flagged as a misspelling
I am using 'num' as the name of an integer parameter on a method. FxCop 1.32 flags this parameter as a violation of the IdentifiersShouldBeSpelledCorrectly rule. In an attempt to make FxCop accept 'num' as a recognized word, I added this word to my CustomDictionary.xml (located in the same directory as my FxCop project file). Unfortunately, FxCop still flags 'num' as a misspelling. IdentifiersShouldBeSpelledCorrectly also ...Show All
Windows Forms Referencing RichTextBox from outside the form class
I have made a class Startscreen and intialized it by the standard class Program: static class Program { /// <summary> /// The main entry point for the application. /// </summary> [ STAThread ] static void Main() { Application .EnableVisualStyles(); Application .SetCompatibleTextRenderingDefault( false ); // Startscreen s = new Startscreen(); //Application.Run(s); Appl ...Show All
Visual Studio error while installing VS 2005
I had VS installed on my computer but one day when I wanted to start it it poped up a message box saying: Unknow Error, I've tired to reinstall it but it didn't help, so I tried to remove it but couldn't so I thought I will remove it manualy, so I've deleted all off the VS files from Program Files, Application Data, Document&Setting etc. also removed a lot of registry entries but now when I want to start the setup during the loading a ...Show All
SQL Server permissions for developers not working after 2005 upgrade
Prior to our move to 2005...permissions were granted to developers by adding them to the following fixed database roles...db_ddladmin, db_datareader, db_datawriter, and db_securityadmin. They created their objects using 'dbo' as the owner. After upgrading to 2005, suddently they are having difficulty accessing their objects with this same security. Do they need permissions on the dbo schema It turned out not ...Show All
Visual C++ Cannot set VC++ Directories in the Options dialog of Visual C++ Express Edition
Details : The VC++ Directories page on the Options dialog does not have a list box for viewing and modifying the directories used during a build. Consequently, it is not possible to modify the build directories using the IDE UI. Workaround : C++ Directories can be added, removed or changed by modifying the VCProjectEngine.dll.express.config file located in the .\vc\vcpackages subdirectory of the Visual C++ Express Edition install locati ...Show All
.NET Development Format text to print???
I am using stringwriter to output text to print, but can't see how to format the text, e.g. align, bold/underline etc. I suspect that’s because the StringWriter class is used to output text to a stream. In order to change its appearance, you need to look at the output device (screen, printer, etc). That’s where you find the functionality the change the visible attributes of the text, probably by using GDI+ funct ...Show All
.NET Development VS2005 RC1 Dataset merge bad performance
Hi, We've just migrated from Beta2 to RC1, and we get very bad performance with the (Typed) Dataset's merge function. After analyzing with a profiling tool, we've discovered that the merge function calls the GetRowType many many times more that in the previous (2.0 beta2) version. for example - for a dataset with about 10 tables, one of them with 6000 rows: in Beta2 - GetRowType called 18 times. in Rc1 - almost 20,000 times. in Beta2 - 1-2 secon ...Show All
Windows Forms For consideration
Some of these would be better suited to the VS.NET team, I'm not sure how much the winforms team and the VS.NET team work together. 1) I know this would be difficult to implement, and not even sure if you guys have control over VS.NET,&nbs ...Show All
