Menthos's Q&A profile
Visual Studio How to open Source Control (VSS) solution from command line in VS2003 / VS2005?
Hi, I'm trying to open and run a VS2003 solution file that is in Source Control (VSS). Is there a way to do that using command line I appreciate for any help. Thanks! Does 'devenv /build Release /project "C:\foo.vdproj" "C:\foo.sln"' work for a solution that is not under source control I don't believe building a solution has anything to do with source control. ...Show All
Software Development for Windows Vista XPS don't open in IE7 anymore
hello, I have a problem with XPSviewer.exe. When I try to open a *.xps file with IE7 I receive the error: XPS Viewer has enconutered a problem and needs to close. We are sorry for the inconvenience . I use an Xp SP2. I tried everything: reinstall .Net Framework about 3 times, reinstall XPS Essential pack, MSXML 6 , no luck. All I found is the event id 1000, source : application error with the error: Faulting application xpsviewer.exe, version 3.0.6920.0, faulting module , version 0.0.0.0, fault address 0x00000000. Any ideeas Thanks. I got a similar XPS+IE7 problem, except that I use Windows x64. Even after re-installing or repairing .NET Framework 3.0 (x64 version, as the x86 ...Show All
Visual C++ Help with variable/String
hi i was wondering if anyone could help. i am using this small bit of code that will work only in the Event where it is placed but i want to be able to change the data that it holds throughout the program, im using MS VS 2005 C++ and here is the code String^ Species Species= "Dog"; MessageBox::Show( Species); I would like to be able to change the data in the String^ Species from anywhere and not just within the { }. can anyone plz help. thanks Sorry for the delayed answer. If you're using: A^ a = gcnew A(); a->Species = "event1"; inside a function(event handler) then you'll lose it because you have to keep a reference to that object "a" you created. If the event handlers are inside the same class A then use it like this: ref c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HLSL Grammar ... Tokens?
Hi, I am currently working on a HLSL parser, and while the HLSL grammar can be found in the online reference I've got a few questions about the tokens to be used. Especially, I couldn't figure out how T_TYPE_ID and T_NON_TYPE_ID should be defined.. I've got a few ideas that seem to work but would rather use the 'official' definition and not have mine break at some random point in the future. Also, the assignment operator tokens aren't quite clear. The grammar lists quite a few possible assignment operators (<<=, >>=, *=, /=, +=, -=, %=, &=, |=, ^=) but i'm not quite clear how I should map these to the five tokens used in AssignmentExpr (T_OP_ME, T_OP_DE, T_OP_RE, T_OP_AE and T_OP_SE). Right now it doesn't really matter, but ...Show All
Windows Forms ComboBox and 2 Tables. Source/Destination
Hello, Im trying to update a field in a table (FK) using the values from another table using a comboBox. I need for the combobox to get its value from a Table (COD/DESC) and update the COD of the second table. Is this possible I tried setting the DataSorce,DisplayMember and ValueMember to the table that has the list of CODs and DESCs. Then I set the DataBindings to the table I want to modify, (Text, SelectedValue). All this with no success. Can someone give me a hand -Thanks Never mind I figured it out. I had to bind directly to the dataset instead of to the bindingsource of the table that had the values. ...Show All
Visual Studio Tools for Office Excel & C/C++
Hi People! I have developed at some time ago an application that runs as windows service. Now i've to integrate this application with Excel... Until here no problem... The problem begin when i try to access the Excel application object Activex, when the application is running as service. The excel runs the installation wizard, as if it need some plugin or library that is not installed. The observation is that the Office (2000/ XP/ 2003) is installed seted up as complete (all the software possible). And the wizard belongs to appear ever time i use the integration from the software (in service mode). Any ideia how i can mitigate the problem, maintainning the application as windows service and accessing the Excel ...Show All
Visual Studio Express Editions Is it possible to compile .CP?
I am converting about some old CodeWarrior projects to Visual Express. For whatever reason, using a .cp extension for c++ files was the custom with Codewarror way back when. Is there any way to get Visual Express to recognize them as a .cpp file I don't want to have to rename everything and reorganize on the Mac side too. Thanks in Advance, Mark Mark Coniglio wrote: Well, I did add the files, but it doesn't seem to recognize .cp as a valid C/C++ extension. In codewarrior you could define extension/compiler associations. Is there a way to do this in Visual Studio 2005 Express You might try telling Windows, not Visual C++, that .cp is an extension for a C++ file. Just look up CPP in an ...Show All
Windows Forms Understanding the differences between DataGridView and DataGrid
I am attempting to understand the differences between the .Net 2.0 DataGridView control and the predacessor (the DataGrid control). In doing so I created a sample application that uses the northwind database to display information from the customers table. When using the DataGrid control I can sort and filter the data from the table, as shown here-- private void Form1_Load( object sender, EventArgs e) { this .customersTableAdapter.Fill( this .nwindDataSet.Customers); DataView dvCustomers = new DataView (nwindDataSet.Customers); dvCustomers.Sort = "ContactName" ; dvCustomers.RowFilter = "Country = 'France'" ; customersDataGrid.DataSource = dvCustomers; } W ...Show All
Visual C# BitArray Constructor ?
Hello, I will try to explain me in English… So, i use BitArray : byte [] Alarm = new byte [1]; Alarm[0] = 0xff; BitArray b = new BitArray (Alarm[0]); => Size of b : 8 bit But if i make this : byte [] Alarm = new byte [1]; Alarm[0] = 0x01; BitArray b = new BitArray (Alarm[0]); => Size of b : 1 bit. I do'nt understant this. Could somebody explain me Thanks. JOOP. this code: byte [] Alarm = new byte [1]; Alarm[0] = 0xff; BitArray b = new BitArray (Alarm[0]); will result in a size of 255. This has to do with the constructor you are using. Your passing a single byte as parameter and the closest c ...Show All
Windows Forms How can I apply sql commands on a dataset?
for example, I read data from a xml file into a data set, DataSet dSales = new DataSet(); dSales.ReadXml("Sales.xml"); How can I apply sql commands on the dataset dSales like, select sum(FQty),sum(FAmount) from dSales.Table["Sales"] group by F01 . hi, simply you creat a dataView from your dataset.table, and perform all rules you want from it, unfortunatly not all the sql commands are available for example you can't chose fields from more than one table you are abide to single table, if you want data from 2 tables you create 2 dataviews one for each table, search MSDN for System.Data.DataView class also functions like groupby is not available but the ...Show All
Commerce Server Commerce Server 2007 Performance Guide is now available online!
At long last, the performance guide for CS2007 is up on Microsoft.com for download at http://www.microsoft.com/downloads/details.aspx FamilyId=E79691F0-BE0F-40A6-940C-5D3A679C5526&displaylang=en . Enjoy! Hi Colin, The Starter Site has the VSTS test available. When you download the Starter Site and unzip the files there are two more zip files one of them UnitTests.zip has the unit test. Good luck, -Max ...Show All
Smart Device Development Windows Media Player control and Compact Framework 2.0
I am developing an app for PocketPC (Mobile 5, WMP10, VS2005, C#, CF2) that has to be able to playback wmv videos. Following Alex Feinman's directions ( MSDN , for example) I've been able to embed WMP10 control in a CF2 form and play videos. Well, till now I have just tested on emulator (device emulator 2.0 beta). My problem is that WMP control not behaves according to the changes I make on its properties. For example, If I change uimode property to none, WMP is supposed to hide playback&volume controls, but nothing happens. Fullscreen mode works but as I have not been able to catch click events, any click exits fullscreen and I didn't figure out yet how to detect that. Does anyone know if WMP10 control on PocketPC supports raising ev ...Show All
Visual Studio Build Number
Hi everyone, I'm trying to customize my solution. I have a file .wdproj to deploy the solution in which i have several targets and items to copy, move, and delete files. the problem is that I want to assing a build number for each specific build done during the daily basis. I've done it before with MSBuild and the TFSBuild.proj in the source control, but this .wdproj is inside the my solution. The output folder is pointing to some randon directory in my computer. Please any suggestions. Thank you, Chris Doloriert. hi what if what I want is all the directories and files including the bin folder to copied to some directory for example Test2006711.1, where 2006711 is the current date and .1 is the ve ...Show All
SQL Server ProClarity Slicersel parameters
Hi, I am using ProClarity 6.1 and E nterprise version of analysis server 2005. (not sure if I need an proclarity update or a fix for ProClarity because i guess there is a newer version 6.2) Because of one of the performance optimizations that I did after following some blogs on the net, I can't specify slicerSel parameters to my proclarity graphs! Let me explain: I have a slicer in Proclarity graph for which I used to specify a url querystring parameter as slicerSel=xxxxxx. This was working until I modified the dimension. The modification: initially my dimension had the following attributes: Key, Name. Now I just have one attribute Name, whose key column points to KEY (db) and Name column points to NAME (db). because of this ...Show All
Visual Studio Team System Can't delete orphaned version control project
Because of a typo while merging, I've managed to create an oprhaned project in version control. It's listed in the Source Control Explorer as a project but I can't delete it, it's not listed as a team foundation project in team explorer though. I have no pending checkouts. When selecting the project in Source Control Explorer and then going to delete I get the following error: --------------------------- Microsoft Visual Studio --------------------------- TF10169: Unsupported pending change attempted on team project folder $/LD. Use the Project Creation Wizard in Team Explorer to create a project or the TfsDeleteProject tool to delete one. --------------------------- OK --------------------------- Trying the following at the c ...Show All
