Seas Comander's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Problem with Linker File...?
Hi, ... ... ... I'm using the Visual Studio 2005 Standard Edition with the Visual C++ and DirectX 10 and 9 and 8... I'm getting this kind of error from the compiler as below... 1>------ Build started: Project: Chapter 9_Project, Configuration: Debug Win32 ------ 1>Linking... 1>LINK : fatal error LNK1104: cannot open file 'libci.lib' 1>Build log was saved at "file://c:\Documents and Settings\Ly Heu\My Documents\C++ Codes\Chapter 9_Project\Chapter 9_Project\Debug\BuildLog.htm" 1>Chapter 9_Project - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== The compiler says it can't find the linker file libci.lib ... I think the new Visual S ...Show All
Windows Forms Error after adding new form
Hi, Can someone help me, I keep getting this error: The designer could not be shown for this file because none of the classes within it can be designed. Hide at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager) at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEv ...Show All
Visual C++ Using animated GIF image in Forms
Hi, I'm trying to use an animated gif image in a form within C++/CLI but so far without success. I looked at picturebox control but the image stay still, no animation. I browsed the NET to find any clue to my problem and got a few articles stating the fact that I have to make somekind of class that would rather display one at a time each frame found in my GIF. Any clue or easier way, any example on how to do it Thanks in advance, Stephane Please see these articles Add GIF-animation to your MFC and ATL projects with the help of CPictureEx and CPictureExWnd Adding GIF-animation using GDI+ ...Show All
Visual C# How do I wait for a flag?
Hi, I am having a problem with my program. The program is intended to run three tests on a device. Each test uses the same program, but different parameters. The program reads data from 2 RS232 devices every 10 seconds, using a TIMER object. This same object calibrates the data, displays it, stores it to disk and tests against the test paramters. I start my program, having set the first set of parameters. I then start my TIMER and run code in the TIMER Tick event until a set of conditions apply. This may take between 15 minutes to several hours. When the correct conditions apply, I set a flag to show that the test has completed. I then change the test parameters and start again. My problem is how to wait for the first tes ...Show All
Smart Device Development How can i open files using .net cf 1
Hello .. Please , In .NET CF 2 , I was using this code to open files with thire program ( like jpg , mpg , etc .. ) : Dim X As New ProcessStartInfo X.UseShellExecute = True X.FileName = FilePath Process.Start(X) X = Nothing But now , i am developing some programs on .NET cf 1 and i can't found " ProcessStartInfo " In .NET CF 1 .. So What should i do to open files in .NET CF 1 .. With my best regards ,, Hi, take a look at this answer from OpenNetCF. In opennet it is OpenNETCF.Diagnostics.Process. You would probably need version 1.4 for .Net CF 1 Pete ...Show All
.NET Development e-commerce web services
Hi, I have a web project about e-commerce web sites.I will design a web site.I want to search prices and products and collect informations in the commerce company web sites like amazon.com. To do best of my knowledge I have to use web services, but I havent any experience about it. Is there any sample project or article about this issue. Thanks. The internet appears to contain some articles that may be useful to you: http://search.live.com/results.aspx q=amazon+web+services&FORM=OPNSCH For the specific case of amazon.com, they have a developer resource site: http://developer.amazonwebservices.com/connect/index.jspa Thanks Alex ...Show All
.NET Development parameter is not valid
when trying to create a new bitmap object which is very big, for example 1500 x 1500 pixels I get an Exception Paramter is not valid. Is this a limitation to .Net or can i configure it somehow For example System.Drawing.Bitmap bm = new Bitmap(1600 x 1600) throws an "Parameter is not valid" exception. If i put a smaller size (200x200) everything works fine. I haven't changed anything and now, one time its working and the other not. I don't really know what is wrong with GDI+, but it drives me crazy. ...Show All
.NET Development errors adding a web service with sockets to a C++ project
Hi everyone, I have a web service which communicates via TCP to a C# program. When I invoke it's methods through a browser, they work fine and can communicate perfectly with the C# program. However, when I attempt to add the web service to a C++ MFC DLL I've created, I get multiple warnings, but with only 2 unique: 1) Warning 3 warning SDL4008 : skipping unrecognized extensibility element, with c:\Documents and Settings\*******\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 84 2) Warning 9 warning SDL4001 : only one SOAP port will be processed. c:\Documents and Settings\cpappas\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 104 I am assuming it is because the web service opens a s ...Show All
.NET Development How do you copy in a newer version of the current exe?
I am running my app on a LAN. When I produce an upgrade, it is not feasable to run the upgrade on all the PC's, so I am wanting to check the version of each file I am using on statup, and compare to a central folder. Any file that has been changed in the central folder will automatically get copied. I then close the app, so the user will restart with the new versions. This all works fine, except I cannot copy in the new exe, as it is being used. Is there any easy way to copy this file in, either on exit, or on startup Bryce, You need to have a "proxy" application that runs before your application, checks for a new version, if there isn't a new version it starts your application, and if ...Show All
.NET Development DllNotFoundException- path problems
Hello all, I've got a project that pinvokes an unmanaged DLL and everything runs smoothly with it. The problem begins when I publish the project and install it on a different computer- I get the DllNotFoundException when it's being called, and the oddest thing is that the message says the dll wasn't found on the project's bin\debug path. The problem is that I wish to have the dll on the application startup path, but cannot use Application.StartupPath within the DllImport Attribute, since it takes only consts. Does anyone know why does the application search for the dll in the bin\debug folder Is there anyway to change this (I've tried adding the app startup path to the environment path, didn't work) Or better yet, is there a way of using t ...Show All
Visual Studio Team System List all labels attached to a file/folder?
Here's another question from a customer that I couldn't answer. 1) How do you list all labels attached to a particular file or folder eg, if I'm curious about the file "foo.cs", how do I tell what labels have been applied to that file 2) Is there any way to show labels integrated with the version history for a particular file or folder I can certainly view the changeset history for "foo.cs", but what about its label history Isn't that a part of the overall source control history for that file I looked in the UI, and at the command line "TF LABEL" and "TF LABELS" as well as "TF HISTORY", but I couldn't figure out any way to do this. Thanks, Jeff ...Show All
Visual Studio Get the Version Control's Path for the currently selected node in the solution explore
How to get the Version Control's path for the currently selected node in the solution explore Thanks very much! Yuhang. Yuhang, Hi! The quick way to find an items path in source control (for Visual SourceSafe) is to select the item in Solution Explorer, then do File->Source Control->SourceSafe Properties. You should see the path in the SourceSafe database on the General tab, in the Name: field Thanks! -Brad Peterson ...Show All
Game Technologies: DirectX, XNA, XACT, etc. problem with importing .x files
Hi, I am using Blender to export a .x file either with animated bones or the simple skin mesh. Both files load fine into the dirextX viewer, but only the simple mesh gets read into XNA. The .x file with the animated bones gives the following error before starting any game specific code: Error 1 Error normalizing vertex bone weights. BoneWeightCollection does not contain any weighting values. C:\Documents and Settings\Leif\My Documents\Visual Studio 2005\Projects\testgame\testgame\assets\meshes\stinger-rigged-attack-slow.x testgame The .x file contains vertext bone weights (it plays just fine in the dirextX viewer). The file format is ASCII. Does anybody know why I have this type of error Cheers, Leif ...Show All
Visual C# robotics
Dear friends Any buddy have the coding of simple robotics. i mean a short program through which we can control our toy and throgh keyboard and mose we can move its location. i think there should be some hardware work, but plz help me. thanks in advance Ravi Yadav again, please stop cross posting. There is a response: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=845803&SiteID=1 ...Show All
Visual C++ unsigned short vs. wchar_t in SAX2 API
Hi all, I am writing some codes to parse XML document using SAX2. The program works well in vc6 but can not compile in vs2005. I define a class CIndexHandler to parse the XML, here is definition: class CIndexHandler : public SAXContentHandlerImpl ... class SAXContentHandlerImpl : public ISAXContentHandler ... The problem is that, some functions in class ISAXContentHandler have parameter type "unsigned short", but in class SAXContentHandlerImpl they are "wchar_t". This is OK in vc6, but can not work in vs2005. eg. ISAXContentHandler : IUnknown { virtual HRESULT __stdcall startPrefixMapping ( unsigned short * pwchPrefix, int cchPrefix, unsigned short * pwchUri, int cchUri ) = 0; ... class SAXContentHand ...Show All
