Arrakis777's Q&A profile
SQL Server I have one doubt using LIMIT
Hello everyone, I really need some help; I need to declare dinamicly an number of records to be pulled out of the table.. so I need to declare first DECLARE @NumberOfRecords int then DECLARE @i int set @i=0 and WHILE @i<@NumberOfReocords begin declare @Record int <-- Here is my Problem set @i= @i+1 end all the variables @NumberOfRecords, and the @Record are passed to a stored procedure. C ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D Audio
Has anyone had any luck with the implementing 3D audio dsp calculations using the emitter and listener Previous posts indicator there were problems back in October, but I don't know about now. Also on audio, are the friendly names for the SetVariable on the cue class documented anywhere Justin I was planning to create an audio-only game for my first project... but 3D audio was officially cut from XNAv1: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=884617&SiteID=1 ...Show All
Smart Device Development talk between multiple exes
Hello! I've an application which consists of two exes created in compact framework, and now I need a way to call a specific function in exe2 from exe1 while both are running. How should I do this Note that exe2 is NOT loaded as a library in exe1. Thanks, Martin which framework version (1.0 or 2.0 ) are you working in this might help: http://msdn2.microsoft.com/en-us/library/aa446520.aspx or this: http://whitepapers.techrepublic.com.com/webcast.aspx docid=137878 ...Show All
SQL Server Can I add a foriegn key on a indexed view to reference other table
Is there anybody familiar with indexed view here Can I add a foriegn key on a indexed view to reference other table Thanks! No, and you wouldn't want to. Put the constraint on the table - that's the real data. The view is just that - a view, on the data in the table. The fact that you can index the view doesn't change that. You can use INSTEAD OF triggers on views to get things to happen when data is modified through the view but that wouldn't replace a foreign key constraint, rather it would be subject to the constraint as it should be. ...Show All
Visual Studio Team System Branching from a labeled version after a move
Our problem is that when we were importing stuff from VSS into TFS we had to move some folders around to get a coherent folder strucutre for our source. Now, we need to branch from a labeled version that was labeled in VSS. We can find the label, but the contents of the label are the old file locations. When I try branching from the current location in the GUI, it can't find anything matching the label. When I try with the command line like so f:\newtest\tal\trading\oms\Tradesrv3>tf branch f:\newtest\TAL\trading\oms\tradesrv3 f:\newtest\tal\trading\branches\tradesrv3-v1.0.82.0 /version:L1.0.82.0 I get the error TF14064: Could not find label 1.0.82.0@$/TAL/trading/oms/tradesrv3 . When I try branching from the old loca ...Show All
Visual Studio Team System Label reports
Hi, I have some problem for generate some query, I want to do a report from my labels, but on this report I want to add all documents and code that belongs to my labels, any idea how can I do this G'day, I am not a great specialist in reporting, but I believe that "code in label" part of your report belongs to Version Control and is accessible through the object model rather than through data warehouse cubes. As for labeled documents - how do you mean Labels are related to source code control and documents are stored in SharePoint and those two are not related. Yours truly, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. help regarding a game
hi all, i need a source code of putting a ball into a basket somewhat like basketball or some similar game in xna.. can you please let me know the source code or site where i can find it It sounds like you basically want someone to write your game for you. I don't believe anyone here is going to do that. We'll be happy to help you with problems with your code, but you need to write it yourself. ...Show All
Visual C# ds.ReaXml(); in portuguese ???
Hi, I'm trying to read this XML( http://www.wunderground.com/auto/rss_full/global/stations/83780.xml units=both )in portuguese is there a way to do that (Web Application) When I open it in IE I read it in portuguese, but when I query it through .net it returns in english... Thanks You may need to modify the Headers and ensure that the language that is sent to the website is portugal. A quick way to verify this is to packet sniff both sessions and see if your web browser is sending the language header for portugal. ...Show All
Windows Forms DataGridViewTrackBarColumn?
Hello all, I want to put a trackbar in a datagridcell of datagridview. The trackbar must be visible in both editing and nonediting mode. Is possible Best Regards Sandro Peixoto Sure it's possible. Here's a tutorial on how to host a calendar control: http://msdn2.microsoft.com/en-gb/library/7tas5c80(VS.80).aspx And one for a numeric up down control: http://msdn2.microsoft.com/en-us/library/aa730881(VS.80).aspx I think those should get you started. ...Show All
Visual Studio 2008 (Pre-release) Link ResourceDictionary to Code-Created Object
Hi there Perhaps someone knows of an easy way to do this: I have a XAML resource that defines the look of a tab control. Now in CODE I create a new instance of a TabControl, but I have now idea how to hook that tab control up to the style defined in the resource. Here is the resource file. It is added as a XAML file in my project: < ResourceDictionary xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " > <!-- SimpleStyles: TabControl --> < Style TargetType = " {x:Type TabControl} " > < Setter Property = " OverridesDefaultStyle " Value = " True &qu ...Show All
SQL Server datetime datatype conversion
Hello I have 1 column in table with char datatype that stores datetime values (e.g.: 20061207091510 which translates to 2006-12-07 09:15:10). Is there a way to convert this string into datetime datatype to preserve the time part (hours:minutes:seconds Thanks, Lena SELECT CONVERT ( DATETIME , LEFT( '20061207091510' , 8 ), 112 )+ CONVERT ( DATETIME , SUBSTRING ( '20061207091510' , 9 , 2 ) + ':' + SUBSTRING ( '20061207091510' , 11 , 2 ) + ':' + SUBSTRING ( '20061207091510' , 13 , 2 ), 114 ) ...Show All
Software Development for Windows Vista Updates and "Works with Windows Vista"
Hello. If I certified my Software to get the "Works with Vista" Logo and the Software needs a Update to fix some Stuff. Is it necessary to repeat the Steps for Using the Logo Kind regards jping How about the Certified Logo program Recently, I spoke with a gentleman from Microsoft's ISV support team and he told me that you only need to get an application certified once. Subsequent updates/fixes/new features etc won't require going through testing again and you can use the logo. Is that true If so, great - I'll continue getting my software certified. If not, I might as well stop since it will be too costly to keep getting re-certified. Thanks, John. ...Show All
Visual Studio Team System Trial Expired, Microsoft Partner and I can't get the VS2005 Edition
Title summarizes the issue. I am hoping that someone can suggest a fix or resolution to this other than Microsoft because I've hit a brick wall with their Partner support. So please help...... We are a Certified Partner with ISV Competency. As such, we should receive the VS2005 Team Edition for Developers. Those discs have never been sent to us. Recently my trial started warning me and we looked through the stack of discs to find out we do not have the new discs yet. So I contacted our ISV Partner Account Manager and he opened up a support case to send the discs. I have received the shipment but the discs were not in there. Since then I've contacted the support line for Certified Partners and was informed that the discs had ...Show All
Windows Forms user control property using a generic list
Hello First, sorry about my bad english... that's because I'm from Argentina, so I speak spanish, not english. But I'll do my best so you can understand me... thanks. I'm developing an user control (similar to a sidebar), and one of its propertys is a list of the options that the control shows. Every option is defined by an object of the class "Opcion" defined on the same namespace of the control. Following the standar practice, I have defined a private generic list of the type "Opcion" that contains the options that the control must show, and a public get-set method to access this list, of the same type (generic List of "Opcion"). So, when I add a control on a form, on its property page there i ...Show All
SQL Server Primary & Secondary Server
Hello, I would like to know how do I carry out this two cases in efficient way: 1. I have two SQL 2005 servers running. One as primary, one as secondary. I would like to synchronize or replicate the transactions at real-time. 2. When primary goes down, I would like my secondary server to take place in needless of IP changes and application settings. If you have a good architecture on this, please share with me. I am not sure whether my questions are clear enough or not. I also will be reading some articles about these. Thank you in advance. Regards, Paing Hi, First of all this is not an easy question. You need to ask few questions to yourself (a) What is the level of availability you want for data (b) what ...Show All
