matthew doig's Q&A profile
SQL Server MDAC and SQL Server 2005
In the SQL Server 2005 upgrade advisor help file it states the following... "Upgrade Advisor detected an older version of MDAC. MDAC versions before MDAC 2.8 SP1 do not support named instances. To allow application connections to named instances, upgrade to MDAC 2.8 SP1." I've installed our application which uses ADO (not ADO.NET) to connect to an SQL Server named instance on a client machine. Our application installs MDAC 2.6. ...Show All
Visual Basic Understanding late binding
I started a project with Options Strict Off and decided to turn it on after reading about it. I got the error regarding late binding being disallowed. I have checked some books, online help and several postings on this site about binding. I basically understand the difference between early and late binding, but I don't know how to fix my code to comply with Options Strick On. Here's the code. It is in a private su ...Show All
Windows Forms Jet database engine/mdb file - issues?
Hi, I have used the Jet database engine in .NET for an application in the past, and did not have any issues at all. I am working on a much bigger application, but can't see any obvious pitfalls (a few million rows perhaps is all I&nbs ...Show All
Visual Studio Team System Team project creation failure. Initialization for plugin "Microsoft.Pcw.wss" failed with error:
Hi MS Staff, We're getting an error 'Event Description: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "Client found response content type of 'text/html', but expected 'text/xml'. The request failed with the error message:' when attempting to create a new team project. I've inserted the error log below. Any ideas Thanks, Tony Bierman HNI Corporation 05/04/2005 04:09:19.616 | Module: ELeadServiceMediator | URL for eLead ...Show All
Smart Device Development Can't append menu items to command bar menu after migration from EVC4
Hi I've migrated my project from EVC4 to VS2005. It's targeting Pocket PC 2003. I'm trying to append menus to a CCommandBar like this: CMenu *menu = AfxGetMainWnd()->GetMenu(); CMenu *submenu = menu->GetSubmenu(0); submenu->InsertMenu(0, MF_BYPOSITION, 100100, L"test"); AfxGetMainWnd()->DrawMenuBar(); The function doesn't return any errors, and in fact the number of items returned by submenu()->GetMenuItemCount() increases b ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX - From TransformedColored to PositionColored
Hi, I am trying to get a good understanding of the Projection and View and I'm stuck. I'm trying to draw exact same shape with PositionColored as I did with TransformedColored but I can't get it exactly the same. Here is what I'm doing... With TransformedColored I had this code ('this' ref is my custom defined triangle shape and PointA, PointB, PointC have coordinates mapped 1 to 1 to the form coordinates): ... mVerts[0] = new Custom ...Show All
Visual C# Question About Threads
i want to creat form using thread but the form disappear i write this private void button1_Click(object sender, EventArgs e) { Thread T = new Thread(CreateForm); T.Start(); } void CreateForm() { Form2 f = new Form2(); f.Show(); } The Show method shows a modeless form, which means that the code that created it keeps on running. In this case, that means the thread ends. Yo ...Show All
Visual Basic Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
Visual C# Confused about Generic Collections.
I hope somebody can help me to understand and clarify few doubts that I have . Obviously i have read about generics and I am trying to understand the limitation of the collections that come out of the box. Example of most common Collection i use BindingList<t> Collection<t> Dictionary<k,v> etc etc When should I start Inheriting from those and start adding stuff Is the for each "getEnumerator" c# already implemented a ...Show All
Visual Studio 2008 (Pre-release) WinFX Runtime Components Beta 2 crashes during installation.
Hi, I can't manage to install the latest WinFX Runtime Components Beta 2 (May release). I'm now using the winfxrc.exe, but it crashes during installation. I’ve completely uninstalled all previous versions. I’ve read former posts in forums and performed the steps from there and also in the prerelease document. I have removed the InfoCard Service according to 2.7 and I have also used the uninstall tool according to 2.8 in the prerelease d ...Show All
Visual Studio Team System Bug Rates Report - Getting very weird report
The report "Bug Rates" used to work great. It shows us how many Work Items were in the System, how many were resolved, new active etc. (the way it should). I exported 250 Work Items from one of our products as a trial for TFS, threw them into Excel, and published. This worked great. The Report showed a huge spike of Work Items. Now, I've gone through all those Work Items, and instead of having them assigned to me, I have them assigned to " ...Show All
.NET Development (Jet 4.0 OleDB) Parseing Excel Files fails...
Hi, I am using the oledb 4.0 driver for querying an excel file and parseing it out in c# winforms. The problem is the files have a large header (10 rows of text) so what is happening is some of the numeric columns are simply not getting picked up, just a null is returned. For example: The xls file has 10 rows of header info... customer names and legal disclaimers etc starting on row 11 we get data lets say ...Show All
Visual Studio Express Editions manually installing C++ on another machine
i'm trying to install visuall c++ on another laptop by downloading the .img file to mine. but wen i take the cd to the other laptop, all i get is the 3rd party burning software trying to copy the cd.it doesn't have a setup.exe file so im lost. Help please Can it be that you burned the actual image as a file on the cd and not the image file as an image If this is the case you could download daemon tools a ...Show All
Visual Studio Tools for Office Table insertion in Word
Is there a way to override the table insertion tool in Word Here's a little background on what I'm trying to do. I want to check to see if the current point in the document is hidden before the table insert happens. I want to insert a blank space before the hidden area when a table is inserted. I'm basically trying to prevent the user from inserting table in hidden areas. Since there doesn't appear to be a way to detect when the cursor is place ...Show All
Visual Studio Write Attribute relation to COM+ in the AssemblyInfo.cs programmatically.
Hello. I want to know about adding attributes relation to COM+ in the AssemblyInfo.cs programmatically. There is as below. [assembly: ApplicationID("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")] [assembly: ApplicationActivation(ActivationOption.Library)] [assembly: ApplicationName("AppName")] [assembly: ApplicationAccessControl(Value = true, AccessChecksLevel = Acces ...Show All
