gpetrosh's Q&A profile
Visual C# Build Error MSB3021
Hello Not sure if this is the right forum but... I have been working on a project for a while now and have been able to build both debug and release compiles. Suddenly, I cannot build any thing! I get the following error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2313,9) : error MSB3021: Unable to copy file "obj\Debug\MyProj1.dll" to "bin\Debug\MyProj1.dll". Could not find file 'obj\Debug\MyProj1.dll'. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2313,9) : error MSB3021: Unable to copy file "obj\Debug\MyProj2.exe" to "bin\Debug\MyProj2.exe". Could not find file 'obj\Debug\MyProj2.exe'. C:\WINDOWS\Microsoft.NET\Framework\v2.0.507 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Pixel Perfect Collision, working...kinda
So I spent the night working up a way to do pixel perfect. Here is what I'm doing. Sudo. Init spite with texture Int32[,] = new Int32[texture.width,texture.height]; I then scan the texture data using GetData<Int32> and load in into the two-dimensional array above. So now I have these two arrays filled with the values from the texture, they come out like 16777215, -16711936 which is where my first question comes in. If i'm grabbing this data from GetData as an Int32(any other thing I can grab it as ) how can I tell what this color is, what do these numbers mean Anyways, from trial and error I figured out 16777215 was transparent so now I made a big *** loop to go through the two sprites and check to see if any pixels are both not tra ...Show All
Windows Forms key-value for ContextMenu
Hi, I have problems with combobox because they take the focus and that send the event 'Leave' in my opened forms (within my MDI) and if I put a combobox into a toolbar, the behavior is wierd when I try to send BringToFront() a form (It still takes the focus). So, I figured that a ContextMenu would solve my problem because it doesn't take the focus but I never managed to make a bindingsource to work with it. I created a typed dataset that I bound to a BindingSource (DataSource = to the typed dataset and DataMember = the table in the DataSet). Then I go to DataBindings, I set the text property to be linked with the Value Column from the Binding source. When I assign a constructed DataSet to ...Show All
.NET Development capture the console application ouput into a textfile
Hi all, I am trying to capture the console application output into the text file(write into the text file).Can anyone of you give me an idea how I can perform this Thanks, rama krishna Use the Console.SetOut method to assign your own TextWriter as needed. But this has nothing to do with XML. ...Show All
Visual Basic [VB.NET] How to merge many GIF Files into one file
I need to create a software that it merge many GIF File into one file container. My application has this form I want that when i click "Add File" it shows an OpenFileDialog and that add file's path in the ListBox And when I click "Merge File" It merge all GIF file present in ListBox And when I click "Split File" it split all GIF File present in a File Container and that It save GIF Files in the same directory of the File Container I tried to write the code but it change any bytes of the GIF Files when I merge :( and i don't know how to use Split Function in VB.NET [Off-Topic]I'm new in VB.NET and i don't know fine this new programming language Best Regards Flash What do you ...Show All
Visual FoxPro Visual C++ runtime Library - Buffer overrun detected
I have tried several times to conect to the Inernet by using Internet Explorer 7, but when I am trying there is the following message: Microsoft Visual C++ runtime librabry Buffer overrun detected Program c:\Program Files\Internent Explorer\IEXPLORE.EXE A buffer overrun has ben detected which has coruupted the program's internal state. The program cannot safely continue execution and must now be terminated. This start happening after I download the Internet Explorer 7. What can I do Thanks in advance, Janet A buffer overrun appears usually, when adding more information to a buffer than it was designed to hold. As I know this is a IE explorer security issue for IE6: http://www.mi ...Show All
Visual Basic Debugging Error! Interface not supported
Please assist! I'm a raw rookie-'ve been working in Visual studio.Net 2003.(3months) Writting basic windows form application- I've been succeful in building & debugging my solutions but all of a sudden I'm getting the attached error on all debugging of my solutions/projects.(Previously succefull solutions & new-this happens when debugging - I believe that experimenting with Web applications i've adjusted a profile or setting! Error Message: "Error while trying to run project. Unable to start debugging. No such interface supported" Can you please advise as I'm now stranded & can not progress! Tools>Options , I dont have an Import And Export setting in my menu set-up ...Show All
Game Technologies: DirectX, XNA, XACT, etc. User Friendly?
Hey is this SDK userfriendly to someone who doesn't know the first thing of Visual C# As in, do you need to learn C# for Visual Game Studio Express Yes, you do need to have a medium skill level in C# to develop with XNA. C# though is a very friendly language so don't be intimidated by that. Find a local college course, check out some books from the library, hit some sites up on line and you'd be ready to tackle XNA in just a short time if you really apply yourself. ...Show All
Microsoft ISV Community Center Forums [Access 2000] Error when importing text files of certain extensions
Hi all, encountered a problem when converting a Access 97 database to Access 2000. When running functions in certain forms that do importing or exporting of text files, via the Transfertext command, the following error message occurs: "Can't update. Database or object is read-only" This only happens when I import text files that do not have the extensions txt, csv, tab, asc, htm or html. ( http://support.microsoft.com/ kbid=247861 ), including files with no extensions. I've tried to resolve the problem by editing the relevant registry entries mentioned in the MS support page, but it didn't work. Updating to the latest MS Jet 3.5 service pack didn't work also. Has anyone encountered the same problem, and managed ...Show All
SQL Server Help with cube measures
I'm relatively new to AS but have managed to get a data mart, dimensions and cubes up and running in AS 2005 (SP1). I'm having difficulty trying to do something seemingly easy with respect to measures. One of my dimensions is Accounts. I have about 7 additional dimensions including Time. I have 5 measures. One of these measures is heavily used most all of the time. I need to filter this measure by the Account dimension to include only measures >= <defined_number>. The other measures should reflect this change also, but I also need to analyze other dimensions with or without the Accounts dimension in the crosstab. I need this to be put in the aggregations, not a temporary dynamic calculation. Aside from doing this at the database l ...Show All
.NET Development ObjectDisposedException
In the load event for my main form in my C# Windows Forms app, there is a case where I need to call this.Close(); When this happens, I get the ObjectDisposedException thrown. My main routine in program.cs looks like this: using (Form1 frm = new Form1()) { Application.Run(frm); } Any help at all is appreciated!! It would be more helpful to see the contents of your Load event handler. Do you know what object the ObjectDisposedException is being raised upon Or, is it thrown when you call Form.Close ...Show All
Visual C++ COM Port event handling
Hi all, I am trying to use COM port by writing codes using combinations of DCB, CreateFile, ReadFile, WriteFile, CreateEvent, WaitCommEvent etc. I also want to monitor EV_RLSDS event for detecting carrier (which is well known as CD you know). My questions are, 1. Can I use MSComm control for all these purposes or not 2. Is there any limitation of using MSComm control instead of code Your suggestions will be appreciated. Thanks. -efarook hint 1: Don't use MSComm. Use CreateFile and the basic I/O hint 2: Use a class for CSerial I/O like the one you find here http://www.naughter.com/serialport.html ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Converting from a string to Texture2D
I am new to XNA and have been playing around a little bit with a project. I am currently trying to call .Draw on a SpriteBatch object and dynamically set the paramater for the Texture2D. The line of code looks like this: spriteBatch.Draw(<Some String Here>, new Rectangle (currentMaze[0, 0].position.X, currentMaze[0, 0].position.Y, falseFalseFalseTrue.Width, falseFalseFalseTrue.Height), Color .White); This piece of code would be in a loop and the name of the Texture2D paramater would change. I tried the following line of code: spriteBatch.Draw((Texture2D)<String here>, new Rectangle (currentMaze[0, 0].position.X, currentMaze[0, 0].position.Y, falseFalseFalseTrue.Width, falseFalseFalseTrue.Height), Color .White); ...Show All
Windows Forms How to get more info about port using System.IO.Ports.SerialPort
I need to programatically find the particular port that is associated with my device (which is connected though a USB adapter). After inserting the USB connection for the device, a new port is displayed in the Device Manager under the "Ports (COM & LPT)" heading. The new port displays in the following manner: " Prolific USB-to-Serial Comm Port (COM5) ". When I use SerialPort.GetPortNames() all I get is "COM5". I can't figure out how to get the "Prolific USB-toSerial" part that is displayed in the Device Manager. Anyone know how to grab that thanks much, Ryan Try using the SerialPort.GetPortNames() method to find out which ports are available. Yo ...Show All
Visual Studio Team System Is there an equivalent of NUnit's Category feature?
Just wondering if there is a way to categorize unit tests I was poking around the TestView tool window and didn't see anything. Hi, Test View allows you to group by several fields which will give you real time categorization. If you are looking for archived categorization, that feature comes in the Team Edition for Testers in the Test Manager tool window in VS2005. In the upcoming Beta 1 of the next VS (as well as in the latest CTP) you'll find that tool in the Team Dev Edition too. Cheers, David ...Show All
