Mutola's Q&A profile
Visual C++ Specifying an output folder in VCBuild.exe command line
Hi, I have a VS 2005 solution that contains VC++ and C# projects. I need to build each project in the solution separately. I build my projects using a NAnt script in which C# projects are built with MSBuild and the VC++ projects are built with VCBuild. The problem I am having is that I need to output the assemblies created by the VCBuild tool to specific folder and I do not know how to do this from the VCBuild command line…this is how the NAnt task looks so far for a VC++ project: < target name = " NetWrapper " > < exec program = " C:\Program Files\Microsoft Visual Studio 8\VC\vcpackages\VCBuild.exe " > < arg line = " C:\NetWrapper\NetWrapper\NetWrapper.vcproj debug|Win3 ...Show All
.NET Development after publish the program, if i wanna change the data from Access database, where i can edit it?
hi i have a program with MS access database after i publish and install the program at the other PC where i can edit the database without re-publishing the program thx for your attention hunb Review - http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.startuppath.aspx Eg. Where db is published to sub directory data. Dim MyDBPath As String = Application.StartupPath & "\data\mydb.mdb" rgds, Martin. ...Show All
Windows Forms Add icon to gridview
Hopefully a simple question for you folks..how do I add an icon to the gridview i.e. if column 1 is 0 show icon 1 else show icon 2 etc. This is a easy in a listview but need to do it in a gridview Hope you can help Cheers ...Show All
Microsoft ISV Community Center Forums Highlighting cells within a worksheet
Several of us in our office have a fantasy golf league and we administrate it off-line using an excel spreadsheet (we haven't found a free website that lets us tailor the rules to the way we like it.) Anyway, it is a salary cap format, meaning that only one golfer can be on one team at a time. To keep track of this, one of our worksheets has a list of all the golfers. That same worksheet also has every team's roster. For all golfers that are on someone's roster, I manually highlight that same name in the master list of golfers so it is easy to see who is taken and who is available. What I'd like to be able to do is have it automatically highlight that golfer's name in the master list when it appears in the individual team roster's page (an ...Show All
Windows Forms publishing an adressbook application
hi, i'm using visual c# express edition i made an adress book that saves and loads data from a SQL database, i'm a totally begginer, so when i choosed "publish" from the "build" menu i was able to have the program as a setup file, it can run on my PC but it cannot run on others although i have installed SQL server 2005 on the other pc, the adressbook setup gives a missing files error , i think it a database file path problem , i attached the .mdf database file with the setup file, thanks in advance amr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. (search) 3d prog to create/edit *.x files directly
Hy @ all. I'm searching a 3d prog to create/edit *.x files directly, without all the exporting/importing issues. The only one I knew is MeshX, are there any others gonzo883. As I mentioned in my post here , you can download Softimage XSI Mod Tool with the X file addon and import/edit/export at your leisure. ...Show All
.NET Development .NET program in autostart
I've created a very simple "hello world" program with C# 2.0 (VS2005) and placed this program into the autostart folder. On startup the console window shows up, but it remains empty for several seconds. Only after about 5 seconds the "hello world" message appears in the console. I tested the program on a different computer (the hardware is pretty much the same) and the delay is much shorter (about 1 sec). I guess that it has to do something with the initial setup of the CLR. How can I speed this up I did another test: I reduced the program to the absolute minimum (nothing is outputted, there are no dependencies): namespace HelloWorld { class Program { static void Main(string[] ar ...Show All
SQL Server select from linked server using join, "The multi-part identifier could not be bound."
Hello, i am facing a bizarre problem, accessing data from a remote server which has been linked to my sql. My SQL server is 2005 and the remote server is SQL 2000. i have linked the remote server (called LinkedServer) so that when i run this query: SELECT * FROM LinkedServer.SomeDB.dbo.SomeTable executes successfully! However, when i run a similar query like this: SELECT Column1 AS Col1, LinkedServer.SomeDB.dbo.SomeTable.Column2 as Col2, Alias.Column3 as Col3 FROM LinkedServer.SomeDB.dbo.SomeTable INNER JOIN LinkedServer.SomeDB.dbo.SomeOtherTable1 ON LinkedServer.SomeDB.dbo.SomeTable.Column3 = LinkedServer.SomeDB.dbo.SomeOtherTable1.Column3 INNER JOIN LinkedServer.SomeDB.dbo.SomeOtherTable2 AS Alias ON LinkedServer.SomeDB.dbo.So ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Detecting a controller button press?
I'm using the following code to toggle my grid on/off at runtime: if ( GamePad .GetState( PlayerIndex .One).Buttons.Y == ButtonState .Pressed) grid1.ShowGrid = !grid1.ShowGrid; But it's badly flawed, in that the Y button is "Pressed" every time the button is down (eg. if I hold it down for 1 second, it would toggle 60 times). How can I reliably find if a button was pressed (eg. it's initial down state), without having to keep track of Up/Down states for every button myself I was hoping for a nicer answer :( It seems that everyone is now going to have to write a class that includs variables to say whether every button has already been pressed, so they can correctly advance menu screen ...Show All
.NET Development Changes made to multiple tables
Hello all, This may sound rather silly (a newbie question...), but is there a way to have more than one table in a dataset, and to have the dataAdapter updated afterwards with changes that were made to all tables If not (as I believe would be the case), what is the easiest way to go about this Am I obliged to create a dataAdapter & dataset for each table if I wish to minimize the usage of dataAdapter.update dataAdapter.fill methods (initializing/filling the Dset & Dadapter upon Form load, then having a certain point to update, instead of updating with every click event and the likes..) Hope this was coherent enough , thanks for any answer.. 1)注 的 示名:jesuiszcl 2)注 Windows Live ID: jesuiszcl@hotmail.com 3)如何 到本 :路 。。。 ...Show All
.NET Development ASP.net Web Site Administration Tool doesn't work at all
ASP.net Web Site Administration Tool doesn't work at all This is first time i click on it then i would get "an error was encountered. Please return to the previous page and try again" I have visual studio 2003 and 2005 installed both the 1.4+ and 2.0 framework are installed What can i do The forums at http://forums.asp.net are better equipped to answer this question. Thanks. ...Show All
Visual Studio Team System Exception while creating Team Project programmatically
Hi, Has anybody tried creating a project programmatically using PCW (Project Creation Wizard). I have a code that uses vsipunit.dll and VsipUnit.UnitTestFramework.dll. I am getting following error: ---------------------------------------------------------------------------------------- Error while executing tests : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not find file 'C:\WINDOWS\TEMP\-evnofn0.dll'. File name: 'C:\WINDOWS\TEMP\-evnofn0.dll' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Project to Windows Project
I was wondering if there is a easy way to recompile an Xbox 360 project to a Windows project, because I can't always be connected to my xbox to test out what i'm working on since the xbox is shared by the family. So can I make a change to my program an recompile it for windows so I can see if my change worked and once i'm done making changes to the program I can then build it for the xbox and try it out. Thanks Japu wrote: How many probability has of which this method changes in the future Joe wrote about this over on http://blogs.msdn.com/joen/archive/2006/11/29/stay-on-target-stay-on-target.aspx ...Show All
Visual Studio 2008 (Pre-release) Problem: Xbap won't design xaml in subfolders; IDE goes "Whoops"
In Visual Studio 2k5, I create an Xbap app, runs fine w/ F5, displays in IE 7 no problem. The App.xaml <Application> element has an attribute StartupUri="HomePage.xaml" which is correct, app runs, no problems. In the project, if I use Add New Item to add a Page (WPF) in the default (base) folder, it works fine. The IDE designer works, the page can be navigated to at runtime, everything's great. If I try Add New Item and create a page in a subfolder, the page is created as before (with the xaml & .cs) but the xaml won't design visually. If I try to flip to the design tab, I get a Whoops message, saying error reading designer file. The App.xaml file's <Application> element's StartupUri attribute now shows as a ...Show All
.NET Development extract part of a bitmap
Hi, I have a bitmap, and would like to create a new bitmap by extracting a (rectangular) part of the existing bitmap. What is the best way to do this I've actually just looked into this myself and this seems to work, perhaps with a bit more tinckering.... Bitmap myExtractedPortion = new Bitmap (width, height); Rectangle destinationRect = new Rectangle(0, 0 , width, height ); Graphics myGraphics = Graphics.FromImage(Image)myExtractedPortion); myGraphics.DrawImage(Image.FromFile(" file.jpg "), destinationRect, srcX, srcY, myExtractedPortion.Width, myExtractedPortion.Height, GraphicsUnit.Pixel); myExtractedPortion.Save(" newFile.jpg ", System.Drawing.Imaging.ImageFormat.Jpg); ...Show All
