Pavel M.'s Q&A profile
Visual Studio Get Local Copy option on a Check Out
Hello, I am wondering if it is possible to specify "Get Local Copy" when you check out files to be selected by default. When I select it and then go to check out another file it is not checked anymore. It seems to always come back unchecked no matter what I do, and I did not see any options in either the source safe options, or in the SS.ini file specifying default values for this option. Surely there must be some way to set this option so that I can silently check out files without getting the latest version of the file. Thanks. My mistake, the option I am specifically referring to is Don't Get Local Copy. If this option is checked, I can check out a file without the version from the master source trunk being retriev ...Show All
Visual Basic FolderBrowserDialog1 fails when the user selects a folder name that's to long
I was wondering if anyone know how to prevent a user to select a foldername that does have a long length name. When I run this code: If Windows.Forms.DialogResult.OK Then If Windows.Forms.DialogResult.OK Then If FolderBrowserDialog1.ShowDialog() = DialogResult.OK Then txtFileDirectory.Text = FolderBrowserDialog1.SelectedPath lblInstall.Text = txtFileDirectory.Text btnContinue.Enabled = True End If End If End If I get a error if I select a foldername that has a long foldername length. I think more than 50 characters. Can anyone help Thank you.... B Your code looks rather strange with duplicate lines. The following code If FolderBrowserDialog1.ShowDialog() = Di ...Show All
Visual C++ /clr Error
// compile with: /clr #ifdef _MANAGED public ref class A { public: static void foobar(); // error C3280 }; #endif I compile the above in Visual Studio C++ 2005 with /clr and get error C3280. The documentation says if the /clr switch is set, it should compile as managed. error C3280: 'OSAPI::Net::Event::foobar' : a member-function of a managed type cannot be compiled as an unmanaged function So, why is a declaration in a compile unit that is built using managed code see this as compiling an unmanaged function Also, when the documentation says function, does the definition of function include method declarations I would say term "function" includes "member method declarations". ...Show All
Windows Forms what do I do if I want some code to execute after the installation
Where do I put it pls Thanks While Setup Projects offer far more customizability over a ClickOnce installer, they still leave much of the power of MSI outside of your reach... you may want to look into some custom code within the overall process ... even if it does not occur at the absolute end. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. mesh in xna
hello, i'm making a 3d game, i have made a mesh with 3d studio max 9 and i have used the biped tool for the mesh animation, now i need to put the mesh in my game, i'm using de xna framework, i have tried to export the .3ds file to .x file format, but the .x file format result in a big square and nothing else this only happend with the animated mesh because i have exported to .x file format the static meshes and these are perfect, somebody can tell me what kind of format's models are supported in the xna framework or how to export the animation of .3ds to .x file thank you in advance. p.s: i have exported the .3ds file using calgari gamespace 1.5 and 3d object converter, the two of those show the same thing. ...Show All
Visual FoxPro Setting up session defaults.
Hio all; I would like to set default session settings (Like talk, excl, etc) in all my forms. I am not sure if I should do this in the init of my baseform class, or somewhere else Thanks. The Init() is too late - you need this code in the LOAD() and the first command in the list should be SET TALK OFF But yes, your base form class is the place for it. ...Show All
SQL Server How to create a MAX Named Set for a date dimension?
I have an OLAP cube and I need to create a Named Set to return a latest date from a date dimension. For example I have the following dimension: [Account Period].[Account Period].[Prescription Date].[Prescription Date].12-July-2006 Based on this dimension structure, how to create a named set only to return the latest date in any grouping of the other dimensions. Or to create a named set is not the correct approach to this You can simply use the Tail function unless your date dimension contains dates into the future for forecasting or other measures: Tail([Account Period].[Account Period].[Prescription Date].Members,1) If you have dates into the future you can use a measure group to filter t ...Show All
Visual Studio Team System "TF53010: An unexpected condition has occurred in a Team Foundation component." during warehouse processing.
Hi all, Since last friday the warehouse will not longer process and as result of that most of the reports are frozen or show data that is out of date. In the eventlog there are always 2 error messages on the time the warehouse should be processed: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. ... Detailed Message: Create OLAP failed Exception Message: The following system error occurred: No mapping between account names and security IDs was done. . (type OperationException) followed by: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should ...Show All
Visual Basic Need help.. :/
How to click CommandButton1 in WorkSheet1 with CommandButton1 from WorkSheet2 Thank you We need a bit more information here - what version of vb are you using Assuming it's 2002 or later: Worksheet1 and worksheet2, are those winforms If so, how did you create their instances And would it be ok if you just ran the button handler method ...Show All
Visual C# Two way Communication between exe and dll
How could i acheive two way communication between the exe and my dll (without adding reference of each other in both ) thanks From your dll function call the exe with parameters Example, if your exe name is testExe, call it as Process.Start("testExe", ---parameters---) These parametes you can configure it in such a way that it calls a specific class method for a particular parameter. Do look into MSDN System.Diagostics namespace and it should be clear. mecspek ...Show All
.NET Development ASP.NET 2.0 Web Extension not enabled warning; but it is.
I'm working on a web service that is connecting to a Win 2k3 R2 Ent. server. For the particular web application ASP.NET 2.0 is enabled. Whenever I open the Visual Studio web service project I get the message The ASP.NET 2.0 Web extension has not been enabled on your Web server. Microsoft visual STudio has been designed for use with ASP.NET 2.0. Would you like to enable ASP.NET 2.0 on your Web server [Yes|No|Cancel]. When I check the server ASP.NET 2.0 *is* enabled and the default for the Web Application associated with the web service but pressing Yes doesn't stop the message from appearing the next time I open the project. Has anyone encountered this before, is there a workaround What am I missing Did you try this Installi ...Show All
SQL Server Issues connecting to SQL Server 2005 from SQL Server Mgmt Studio - Please help!!!
Hi Everyone, I am running into a problem and have been browsing the web and reading nonstop for answers with no success. My company just installed SQL Server 2005 and I am trying to connect to it via SQL Server Management Studio from my network computer in the same office building. When I browse for Local or Network Servers in the initial popup box at SQL Management Studio Startup, it doesn't show any servers at all. Is there something I need to enable on the Server using the Configuration Manager or one of the other tools to allow my network computer to "see" the SQL Server Any insight would be MUCH appreciated. Even a link to a how-to would suffice. Thank you. Is your server and your ...Show All
SQL Server Is this possible?
Hi guys, Is there any mechanism or tool to convert T-SQL query to its corresponding MDX query Please let me know. Sincerely, Amde Hi, The thing is I have a T-SQL query which works perfectly in a relational database. And I want to implement the same functionality in my Cube. So I am curious to know if I could achieve this thing. Sincerely, Amde ...Show All
SQL Server Question on restoring encrypted databases on different servers
I have run into problems trying to use backed-up encrypted databases. I have an ASP.Net/SqlServer 2005 website for which I have production, test, and development environments, each on its own box. I have set up encryption using Master Keys, Certificates, and Symmetric Keys using the following commands: CREATE MASTER KEY ENCRYPTION BY PASSWORD = ' password ' CREATE CERTIFICATE CERTIFICATE_NAME WITH SUBJECT = ' My Website ' CREATE SYMMETRIC KEY KEY_NAME WITH ALGORITHM = TRIPLE_DES ENCRYPTION BY CERTIFICATE CERTIFICATE_NAME . All databases have the same certificate and symmetric key names. The Production database has a different password than the development and test databases. I am running into proble ...Show All
Visual Studio Express Editions MSDN article: Managing a Music Collection Using Visual Basic Express and SQL Server Express
Anyone tried to run the ManageMusicSample project included the MSDN article "Managing a Music Collection Using Visual Basic Express and SQL Server Express" written by Brian A. Randell First a comment: At: http://msdn2.microsoft.com/en-us/library/ms345151.aspx you find the article I refer to BUT without the VB project to download. Why Don't know. At: http://www.microsoft.com/spanish/msdn/articulos/archivo/100904/voices/08ColMusicVBEx.asp you find the same article translated to spanish AND with the ManageMusicSample project attached for download. MSDN mistake Anyway, when I open the project in VB.net 2005 Express I get about 46 errors and 5 warnings (maybe because it was written in Visual Basic 2005 Express Editi ...Show All
