Douglas H. Troy's Q&A profile
Visual C++ usb voltage graph output to flash
I am looking for some code pref C++ that will moniter usb voltage spikes and output data for use in a flash or java environment graph, which will be monitored every 10 seconds, the voltage amount does not need to be calculated just the instances of the spikes. Hello Re: usb voltage graph output to flash Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use an appropriate newsgroup . OTP Thanks Damien ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Dream-Build-Play: Where are thou?
Well, on the webpage it states: The Dream-Build-Play Challenge #1 starts the week of February 5 th , 2007. Brush up your skills this weekend and be ready first thing next week. And if I know how to read a calender right, then that run has passed, and we should have that thing now. So whats the status on that Do anybody know My team is falling apart because we have to wait and wait and wait, and the deadlines keep exspanding. Whats the deal Firstly, please search the forums. This item is already being discussed more than is required in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1175287&SiteID=1 Secondly 2 posts in 30 minutes asking the same question - is the edi ...Show All
SQL Server Workload Governor Removed
Hello, I am in the process of porting over an application from Access To SQL implementing SQL Server 2005 Express. My intention is to implement this database on a full time server and upgrade to a full blown version of SQL later. Am I correct in assuming that there is not limit on the number of concurrent connections to SQL Server Express since it was stated that the "Workload Governor" has been removed Or does something else control the number of users that can be simultaneously connected to the server. My reason for asking is I have 7 machines that need to access the server. I also have 2 databases that need to be accessed from each machine. If there is no limit, I will keep my databases seperate. However, if there is a ...Show All
Visual Studio Team System Data Generation of Foreign keys -- failing (CTP 7)
I am trying to use the data generation plans to generate some test data. however, it seems that foreign keys columns are a problem. I keep getting an error Error 420 The data type of column <my column> is Int. The selected data generator 'Foreign Key' with the selected output 'Output' does not generate data that can be converted to this type. Select a different data generator. can anyone shed some light on a work around If you create a dgen plan against a normal int column and make changes to the generator properties, we will not automatically switch over to a foreign key generator when you add the foreign key relationship and a schema diff is triggered. This is to preserve settings you may ha ...Show All
SQL Server How to Restore the msdb DatBase
Hi, i have reinstalled the SQL Server before it i have taken backup of both master and msdb database.Because there were many scduled jobs. After Installation i want recreate those scduled job. That i think i can get by restoring msdb. But it is not restoring how can i restore it. Or there is any way to get the all scduled job list so that i can recreate it manully. Regards Sanjay Hi jens, i am tryning restore after stopping SQL Server Agent is stopped. But it is giving the error massage that "The backup of the system database on device E:\EcoSystemDatabasebackup\msdb_2006070200.BAK can not be restored because it was created by a different version of the server (1342184 ...Show All
SQL Server How do you search for textvalues with wildcards in xml?
What I want to do is search for a text string inside a xml tag using my own wildcards. For example: The following xml is stored in a column in the database. < MetaData > < MetaFields > < MetaField Id = " 20 " Key = " x " > erwrw </ MetaField > < MetaField Id = " 23 " Key = " x " > Foxvalue </ MetaField > < MetaField Id = " 24 " Key = " x " > adsas </ MetaField> < MetaField Id = " 25 " Key = " x " > Varde1 </ MetaField > </ MetaFields > </ MetaData > How can I search the xml to see if any of the /MetaData/MetaFields/MetaField values contains Fox* In xquery there is ...Show All
.NET Development .CreateParameter question
I am returning a CLOB from a stored procedure and am using the createParameter method. Is this possible How should my CreateParameter look like This is what I have but doesnt work. I have tried all parameter combinations from method. Set oCmd = Server.CreateObject("ADODB.COMMAND") With oCmd .ActiveConnection = conn .CommandType = adCmdText .CommandText = sql .Parameters.Append .CreateParameter("returned_clob") end with ...Show All
Windows Live Developer Forums Finding polylines that start or end at a given pushpin
I'm working on an app that is plotting people on a map based on their address. Based on the "connections" between the people I would like to draw polylines between them. The connections are defined within the scope of the application, however, an example might be that if I have a pushpin for my address on the map, and a pushpin for my mom's address on the map, then I'd like a polyline drawn between the two pushpins since there is a relationship between the two people (I know my mom, because she's my mom). What I'm struggling with is the best way to determine if a polyline starts or ends at a given pushpin. I've been experimenting with using the VEPushpin.OnMouseOverCallback, and the map.LatLongToPixel and map.PixelToLatLong. ...Show All
Visual C# Executable Resources
So I've written this class library that launches an external application (.exe) and does something with the standard output provided back to it. This external application I have been packaging up in the installer and gets deployed in the same directory as the hosting application, however I was working with resources the other day, and I would like for that external application to not be accessable from the user, but only from within the calling application. The calling application makes use of the ProcessStartInfo class to start up an instance of this class, but I see it only calls executables that have a file path known to them. Question : Is there anyway I can add the executable as a resource by adding a new resx file, adding t ...Show All
Windows Live Developer Forums Loading a GeoRSS Line
I am trying to display a path with several thousand points that would be saved in a GeoRSS file. I have several questions: 1) Can VE load a Simple GeoRSS line such as follows <georss:line> 47.68557 -122.48971 47.68589 -122.48983 ... many more points ..... 47.78449 -122.54008 </georss:line> 2) If the above is not readable by VE, is there a recommended format for this 3) Are there any performance tricks I should be aware of in order to speed up the loading and zoom/pan operations Thanks for the help. Enrique Within the VE API you can access every shape layer VEMap.GetShapeLayerByIndex(index); and every shape: VEShapeLayer.GetShapeByIndex(index); The VEShape cla ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX vs Native DirectX performance
Greetings, I'm sure many people asked this before but no one has ever been able to answer this for me :( I've searched high and low (on this forum too) but theres no answer to this question: Whats the performance difference between MDX and DX I'm currently writing a little 2D engine in MDX, and its quite fun to do! But it doesn't perform that well, I've managed to get a few performance gains due to me revising my own code, but it just doesn't quite cut it. Also when is this MDX 2.0 gonna be released Or is that XNA And what are the main differences between MDX1 and XNA Thanks in advance. Managed DX is basically a wrapper for the DX API. If you're not getting performance near that of native C++ and DirectX your code prob ...Show All
Visual C++ Handling Ctrl-Break quickly and efficiently in a Windows GUI app
I have a Windows GUI application written with Visual C++. When my program is busy, I display the hourglass cursor and want to allow the user to hit Ctrl-Break to signal my program to stop processing. To do this today, I use PeekMessage to watch for a WM_KEYDOWN message, check if it's VK_CANCEL, and if so, terminate my operation. The problem is that PeekMessage will return the first WM_KEYDOWN message that it finds in my message queue. So if I do not specify PM_REMOVE in the call to PeekMessage, then the WM_KEYDOWN for the Ctrl-Break could get hidden behind the WM_KEYDOWN for any other key that the user happens to hit. But, if I do specify PM_REMOVE, I'm not in a position to handle the keystrokes at that moment (because my program is bu ...Show All
Visual Studio Team System iteration milestone dates - report
What is the recommended method to store milestone dates for a particular iteration Management wants a report that will show when a particular team project's iteration completed a milestone like "testing complete". We could then give them a report that goes across all team projects that would give them this high level progress report on iterations. Thanks for the response. Could you please give me an idea of how you think you will be implementing it in the next release Should a milestone date be its own work item type, or just a property of an existing work item...like a task ...Show All
SQL Server SSIS-jobs fails after installing SP2
On my laptop I've got SQL2005 developper edition SP1 with 3 SSIS-jobs scheduled through SQL-agent. These 3 SSIS-jobs are in fact maintenance plans which are also used on our production SQLServers. These take backups (full, transactional), Cleanup old backups, reorganize indexes, update stats ... One of these jobs runs every hour to take transaction logbackups. After installing SP2 this started failing. When I opened the sources of that job in visual studio It seemed like the unit of thime was changed for cleanup jobs fe cleanup bak-files after 4 days changed into after 4 hours. The backup task for transactional backups which had the property to do that for all databases whas changed into specific databases which no database sel ...Show All
Visual Studio Express Editions Macros with Visual Studio Express Edition
Hi, I've recently installed the VSEE for cpp. I wanted to add some VS macros, but could not find the macro IDE. Nor could I record one. Are macros supported in VSEE Any help in this matter will be highly appreciated. Thanks in advance. Sarang. Macros are not supported with the Express Editions. The only extensibility feature of the Express Editions is the ability to add custom templates (but not create them directly). - Dennis ...Show All
