Carver42's Q&A profile
Visual Studio 2008 (Pre-release) Code formatting on Forum
What are people using to get the nice color syntax and formating for XAML samples they post on the forums thanks, Kiel See also How do I enter code examples in my posts and Post Code Coloring . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Designer view
I see some examples and/or videos on the net about using the design view of a game to just drag & drop previously created game components into. When I create a new Windows Game, I do not get a designer in my solution explorer. How are they adding a designer to an xna game Also, are there any links to tutorials on how to create a game component The actual code that the designer does for you is minimal. You're better off just adding a "Components.Add(new MyComponent(this))" line in the constructor of your game subclass. ...Show All
Visual Studio Team System Schema compare not working between local db and project
I am able to compare my database project with anything other than my local db (the db created by a "build"). When I attempt to compare with the local db, no differences are found, even if I have modified the local db. To reproduce: 1) Import data from DB #1 into Database Project. 2) Build database project. This will create Database #2 locally. 3) For Database #2, modify a table (add a column to it). 4) Run Schema compare and compare Database #2 with the database project. 5) It shows no differences. 6) Now do steps 3 and 4 but use Database #1. 7) It will show the differences. What am I doing wrong All of this steps from the fact that I do not want to hand edit scripts to modify tables. I want to use the GUI. Therefore I need to r ...Show All
SQL Server Problems Configuring HTTP Access to SQL Server 2005 Analysis Serveices on Windows XP
I tried to setup HTTP access to SQL Server 2005 Analysis Services on Windows XP, based on the technet article of the same name. On setting up the virtual directory properties step, I could not add the msmdpump.dll in the Add/Edit Application Extension Mapping as the OK button is greyed out. What needs to be done to enable adding msmdpump.dll Any help would be appreciated! Make sure that ".dll" is in the extension box (don't forget the period). And if the path to msmdpump.dll has an ellipse in the middle of it (...) after you browse to it and select it, click in the path text. The ellipse will go away and the ok button will become active. I had the same problem... ...Show All
Windows Forms Cannot add files to any deployment project
I have been merrily developing merge modules and deployment projects all week until this afternoon when suddenly I can no longer add any files to any of these projects. A colleague opened the same projects and also cannot add any files. After trying a number of different things to resolve this, the VS2005 IDE gave up the ghost and decided it wouldn't show me any menus or context menus.. however, a restart fixed this one. Has anyone seen anything like this before and is there a solution BTW, we are using VSTS if that might make any difference.. D ...Show All
Visual Studio 2008 (Pre-release) WS* and bindings in WCF
Hello. I have a question regarding WS*. There are at least 9 pre-bindings prepared in WCF and there's custom binding. How can I tell by looking at the code or config file if I'm conforming to WS* or not. For example, I'd like to use WS-Addressing when communicating with Java client. How can I specify I'm using WS-Addressing, or how can I tell if I'm using WS-Addressing or not. Others stuff I would like to do include WS-ReliableMessaging, how can I specify that I'm using WS* thing I think this has to do more with the knowledge of WS" specs but I didn't have anywhere else to ask for help. If anyone can help me out on this matter, that would be greatly appreciated. Thanks. Thanks for your reply. That r ...Show All
SQL Server Permissions issue- a previous windows group still has full cube rights
Previously, a windows group was added to a 'full access users' role. It was removed and the cube was processed and deployed, replacing rights, but people in that group still have rights to see the data. They are not listed in any roles. I've looked through all local windows groups on the supporting server and the group in question is not in any groups (ie, if they were in administrators, then they'd have full access through that). The people in the group are not administrators or domain administrators either. Is there somewhere else I could check on the machine to better find the source of the problem and get the group removed I just checked if other users that never had rights could see the cube an ...Show All
SQL Server How to build a Service Broker Endpoint
Hi first of all I should say I don't know anything about Serviec Broker I just want to use the SP_Send_dbmail stored procedure to send an email from SQL Server instance to an email address for example < aa@yahoo.com> in the Surface Area Configuration I faced a message indicating there is no Service Broker endpoint for this inctance. please tell me step by step and in detail what to do to be able to send an email from SQL Server and please try not to confuse me. thanks. pooyan. Hi As you said I executed select * from sys.transmission_queue. but there was no result set. what's the problem can it be because of security limitations Because I can't execute sp_send_ ...Show All
SQL Server Store T-SQL messages inside a file
Hi All, I am writing a automated backup script using job scheduler of the management studio and would like to know how can i copy the output messages given by the SQL Server to an external file automatically. Thanks in Advance Mitesh In the 'Job => Steps tab => Step => Edit job step => Advanced tab' you have the ability to specify an output file for the jobstep. Is that what you're looking for /Kenneth ...Show All
Visual Studio Express Editions spiral draw change
Howdy, Y'all... The below code draws a spiral...code shows that there are 4 textboxes asking for information for the user to vary the spiral, and a "go" button. It seems to work fine. However, I want the spiral to go from "out" to "in" rather than the way it is being drawn now ("in" to "out"). What is the best way to accomplish this Is a different formula in order, or can I store the points in some slick temporary fashion to be fed back into to the graphics paint in reverse order I don't expect you to do it for me...just help me point the way to the alternatives... Thanks, Nightowly ------------------------------ Imports system.drawing Imports system.drawing.dr ...Show All
Visual Studio Team System Unexplained warnings from a sproc containing a CTE
I have just imported the following sproc into datadude CTP6 (sorry about the formatting, I can't be bothered to go thru and change it). Note that the sproc contains a CTE: CREATE PROCEDURE csp_GetDependantStreams ( @pStreamDetailID INT ) AS BEGIN ; WITH StrDepCTE AS ( SELECT sd.StreamDetailID, sd.DependantStreamDetailID FROM StreamDependancy sd WHERE StreamDetailID = @pStreamDetailID UNION ALL SELECT sd.StreamDetailID, sd.DependantStreamDetailID FROM StreamDependancy sd INNER JOIN StrDepCTE sdc ON sd.StreamDetailID = s dc.DependantStreamDetailID ) SELECT dep.DependantStreamDetailID, str .StreamDetailDesc, str .EnabledFlag FROM StrDepCTE dep INNE ...Show All
Visual Studio Express Editions The Registration key you entered is not valid
Recently after the release of Visual Studio SP1, we've seen an increase in the number of customers who are unable to register they copy of Visual Studio Express. This is caused by the following actions: 1 . Customer Installs Visual Studio 2. Customer Registers Product but does not enter activation code 3. Customer installs SP1 4. Customer attempts to enter activation code 5. a Invalid Activation Code The solution to this problem is to reregister the product and obtain a new registration key. You can do this by selecting Help->Register Product . I am also having the exact same problem. My registration was successful, but no registration key provided. Everytime i clic ...Show All
Visual Studio Express Editions Programming a Virtual File System
Does anyone know to Program a virtual file system It is for game files Programming a Virtual File System A .zip archive with a password would be a very quick and practical alternative. Check out SharpZipLib . ...Show All
Visual Studio Performance Issue with Crystal Reports
I'm having a crystal reports performance issue within my VB 2005 Windows application I'm hoping someone can assist with. When I open a report after initial application startup, my hard drive spins like crazy and it takes approximately 20-25 seconds to display the report. Subsequent reports are very snappy and display almost immediately. I'm guessing the initial delay is related to components in the crystal reports engine being initialized. If this is the case, is there a way to initialize during application startup Anybody else experience the same issue By the way, the application was developed using VS2005 Professional Edition (in Visual Basic) and uses SQL Server 2005 Express Edition for the backend database. Thanks in advance fo ...Show All
Visual Studio Team System Customizing the trigger of the workitem alerts based on value in an custom field
It is possible to use th bissubscribe to customer e-mail alers on the event WorkItemChangedEvent I have been able to adapt the query to different user request but I do not seem to be able to customize the alert based on field that we have added to the template Example of query I have tried but that not trigger the alert "PortfolioProject" = 'LSZ' AND "CoreFields/StringFields/Field[ReferenceName='System.State']/NewValue" ='Assigned' AND "CoreFields/StringFields/Field[ReferenceName='CompanyA.Common.Product']/NewValue" = 'Internal' Is it only possible to query on "corefields" (I do not know that it is not possible to add a custom field to the actually E-mail notification, so this might b ...Show All
