MatthiasH's Q&A profile
Windows Live Developer Forums Robot Invaders: terrible SDKs, please allow others/self-written ?
I think it's a great idea to have a contest about creating bots. Bots are growing very popular, and a contest like this is a great way to show off what messenger can do. The criteria are very acceptable too, especially integrating activities would be a lot of fun. I had some great bot ideas, and I was very very eager to work them out, but there was one major thing that spoilt it all: You are forced to use one of the three SDKs on the site to be eligible for the prizes. This might not appear to be a very controversial rule, after all it's Microsoft's contest, so microsoft makes up the rule. However, I am quite certain that anyone that actuall ...Show All
Visual Studio Team System Problems found when install TFS on a AD domain controller
I install TFS on a Windows 2003 Active Directory Domain Controller, using Single-Server depolyment mode. Everything seems ok during the installation, but after that, when I open the event log, some error appear found : Volume Shadow Copy services could not start, the error code is 0x8000FFFF. Does anyone encounter the same problem How to solve this Thanks! I see many people are having trouble installing Team System in a single machine. Even after installation, many cases it seems to fail during new project creation. I also had all possible errors found here in newsgroups. Here's a visual tour of the entire single machine setup process ...Show All
Visual Studio Express Editions const_cast of std::string::c_str() for winapi?
For some winapi structs and functions a non-const char (or wchar_t) is required. If my code uses the stl std::string, would it be acceptable to use const_cast on the c_str() member function Or is copying to a TCHAR array the best solution The situations I might envisage using such a const_cast would be where I'm fairly certain the system only copies the string (to a listbox, combobox or comboboxex list, for example) , rather than alters it . Would this be an acceptable use of const_cast or should I prefer using a temporary array to store a copy of the stl string and pass that instead to those windows functions or structs that mig ...Show All
SQL Server How to design this cube?
Hi, I have a question on designing the fact table. There are 2 tables in my database: OrderHeader,OrderDetail. And the OrderDetail table has different lines for different product. If the OrderDetail table is the fact table, how can I get the measure on how many orders we have I cannot simply use count(orderno) as the measure because the field,orderno, is duplicate in the OrderDetail table, and analysis services don't support "count distinct" for the measure. Or any ideas for redesigning this cube Thank you so much! Why do you say that analysis services doesn't support "count distinc ...Show All
Visual Studio Express Editions Service C# Express
Trying to create a simple service for "educational" purposes. Using msdn: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbtskaddinginstallerstoyourserviceapplication.asp To add installers to your service application In Solution Explorer , access Design view for the service for which you want to add an installation component. Click anywhere within the designer's surface. In the Description area of the Properties window, click the Add Installer link. Where is the Description area I have this so far: using System; using System.Collections.Generic; using System.Text; namespace Project1 { publi ...Show All
SQL Server Can't connect to SQL Server 2005
Hello, I have a problem with connecting to SQL Server 2005. I have a small network at home with a WLAN router connected to Internet. My notebook computer and desktop computer are connected to router. My SQL Server 2005 is installed on notebook computer and Microsoft Server Management Studio is installed on desktop computer. I wanted to add login so I could connect to it from desktop pc and a problem came up. When I tryed to add account (from desktop pc) to local group on notebook pc I couldn't do that becouse there wasn't offered desktop pc as a location. Also, when I try to make connection string in visual studio, i can se ...Show All
Visual Studio Team System How to refresh VS2005 workitem cache?
When I have already opened a WorkItem and somebody has altered it I get an error when trying to save. But closing and reopening doesn't cut it. It has cached the workitem. After a few minutes it seems to refresh the cache, but it is annoying to wait. Are there any ways to manually refresh the cache ( without restarting VS ) Thanks borge3000 My VS2005 (Team Suite Trial ed.) does not contain any Edit->Refresh workitem items, nor does pressing F5 refresh the workitem. I do have the Beta3 refresh Team Explorer... does that matter Borge3000 ...Show All
SQL Server Huge Log File
Hi, I have a log file that is 18.4 GB in size. I beleve the reason is because that DB stores images in the records in the image columns. What is a logfile Is mine too large Does the size of the logfile affect performance If so how do I make it smaller Any help would be appriceated. Thanks, A .net developer without a DBA. The log file records the transactions that have been applied to your database. The transactions are written to your data files but remain in the log file. It should be backed up and the backup stored securely. This backup will remove the transactions from the log file. The reason you want to b ...Show All
Software Development for Windows Vista ASP.NET And a State Machine Workflow
I recently read the MSDN magazine article, Windows Workflow Foundation, Part 2 (http://msdn.microsoft.com/msdnmag/issues/06/04/CuttingEdge/), where Dino Esposito demonstrates how to work with workflows in ASP.NET. Dinos' demonstration provides a helpful solution to working with Sequential workflows; however, it left me a little confused with how to work with a State Machine workflow. In the article, Dino demonstrates how to pass parameters to a Sequential workflow by using a Dictionary object, which is then passed as a parameter to the CreateWorkflow() method. The problem is that State Machine workflows pass parameters throug ...Show All
SQL Server SMO Connection String conversion
Hi, I am using SMO in my application to retrieve data from SQL Server in order to display it in the UI (such as DB list, tables list, etc.). Eventually the user has a connection definition screen, in which he inserts his data. The thing is that in the background my application needs to use this data to connect via OLE DB. Is there a way to convert the connection string generated by SMO to an OLE DB connection string Thanks. Hi, if you use the Microsoft.SqlServer.Management.Common. ServerConnection to create a server connection, you can use the constructor with the SQLConnection class and its appr ...Show All
Microsoft ISV Community Center Forums ListParagraphs collection in table
When I run this code on a simple doc containing bullet list paras, some of which are in a table and some not, only the list paras outside the table are found. The first red line counts only list paras outside the table. The second count (in a table cell with a list) finds no list paras. Any ideas how I can rectfy this Cheers, Mark If vTab.Cell(1, gReqIdCol).Range.Characters.Count > 2 Then temp = Application.ActiveWindow.Document.ListParagraphs.Count MsgBox "There are " & temp & " paras." With vTab.Cell(1, 1).Range vFound = False vIdx = 1 vLP = 1 Do temptab = .ListParagraph ...Show All
SQL Server No duplicates exist but get Msg 2627, Cannot insert duplicate key in object
On SQL Server 2000, a transaction of thousands of INSERTs contains these three consecutive INSERT statements: INSERT INTO PARAMETER_ATTRIBUTES ( ID , MIN_VALUE , MAX_VALUE ) VALUES ( '05b3b88a-f0f2-4e7e-a82f-73a7bd177a96' , 0 , 1 ) INSERT INTO PARAMETER_ATTRIBUTES ( ID , MIN_VALUE , MAX_VALUE ) VALUES ( '05e51bee-ac3b-4257-90f1-f34adcb185cb' , 0 , 128 ) INSERT INTO PARAMETER_ATTRIBUTES ( ID , MIN_VALUE , MAX_VALUE ) VALUES ( '05f33ded-979b-41ee-9d6c-ac5adc4d8635' , - 1000000000 , 1000000000 ) The transaction fails with a Msg 2627 error, Violation of PRIMARY KEY constraint 'ARR_Constraint2'. Cannot insert dup ...Show All
Visual Studio 2008 (Pre-release) Loading Page into TabItem
If I have a System.URI that points to some XAML in another assembly, how can I load that into the Content property of a TabItem I know this is easy in a Frame but I don't need navigation functionality. Thanks Michael When dealing with multiple tabs the LoadComponent method will reduce load time when the application is started. It's a far better method to use when a slowdown is noticed. Great reply Rob! ...Show All
Microsoft ISV Community Center Forums Business Score Card Accelerator Server
Can anyone assist with a deployment architecture recommendation for Business Score Card Accelerator Server I have a deployed sharepoint server, connecting to a 2005 instance. But when trying to install BSCA on either box, the installation fails because it is looking for a local instance of Sql server to be installed on the sharepoint server. Hi, Actually, your best bet would be to post this question to the BSM newsgroup as the product team does answer questions there and there is also a FAQ available. http://office.microsoft.com/en-us/assistance/HA100602251033.aspx I hope this helps, -brenda (ISV Buddy Team) ...Show All
Visual Studio 2008 (Pre-release) SvcUtil error in trace files
This is the message I an getting. Probably something silly relating to attributes. "The service encountered an error while generating metadata. See the trace files for more details." Where is this being generated and how do get to the details. This is being hosted in a console app. Thanks. Enable server side trace(verbose) and try to repro the problem,we should see some error messages in server side trace. -Thank you Madhu ...Show All
