Fadzli's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Capture output from other compilers
Hi. Not sure whether this question belongs in this forum or a more generic MSBuild one, but here goes. From reading responses to questions about using non Microsoft compilers (e.g. gcc) with MSBuild/XNABuild it seems that the conventional wisdom is to use the Exec task. However, the documentation for this states "One disadvantage of using the Exec task rather than a more specific task is that it cannot gather output from the tool or command that it runs." I am investigating MSBuild/XNABuild for use in a potentially multi-platform project, and would like to know if this caveat would mean that the display/parsing of compilation errors would be suppressed when using, for instance, gcc. The ideal goal would be to use Visual Studio as ...Show All
.NET Development Connection to Access
Hi, I'm new to .NET and in need of help. I've tried desperately to connect to Access (without using the connection wizard - which does work) but I just can't get it to work. If possible has someone got a basic connection code that they know should work to start me off. Thanks in advance Richard There's a very full-featured ADO.NET 2.0 Provider for SQLite available in the public domain: http://sqlite.phxsoftware.com Robert ...Show All
SQL Server update statement
Newbie Question: Im trying to update a table column to a new value and I receive an error, here is my statement: USE PD51_Data; GO UPDATE CASENUMBERS SET CaseNumTypeID = 130 WHERE CaseNumTypeID = 101 AND CaseNumber BETWEEN 199999 AND 600001; GO I receive this error Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '9368----' to data type int. What did I forget Pig, What are the datatypes for the following columns: caseNumbers caseNumTypeId caseNumber My guess is that one of the fields -- maybe caseNumber -- is a varchar and contains the string '9368----'. Dave ...Show All
Visual C# Referencing .Net 2.0 dll in .Net 1.1 application !?
Hi , I want to refer a dll created in .Net 2.0 in a .Net 1.1 Windows application. How do I do that Thanks in advance Aseem Chiplonkar Software engineer. Hi, This may be a lil stupid but here is what I understand from your reply Create a wrapper web service ( in VS2005 ) for the dll in VS 2005. And then refer that web service in VS 2003 project Can you please explain more Thanks, Aseem Chiplonkar Software engineer ...Show All
Visual Studio 2008 (Pre-release) problem orcas converts old sln and vcproj files
Prior to winfx beta 2 and related orcas release I could work with my older sln and vcproj files just fine and run my non-winfx code. However with the latest orcas release it wants to convert to the newer 9.0 format. Canceling the conversion means you can't work with non-winfx code. Is there a way to turn that off or two have two versions of vs 2005 on the same machine. One with orcas and one without. Hi David, I'm working to get the project folks to take a look at this situation. In the mean time, can you confirm that you're talking about .vcproj files, and not .vbproj or .csproj In other words, this is a question about C++ projects If so, I'll be doubly confused because there are no changes to the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem with DirectX and Visual Studio 2k5
Hey, I've noticed something very wierd. I am using Visual Studio 2k5 for sometime but I've never tried to complile my previous Direct3D relelated projects on this release of Visual Studio, maybe because it never occured because the machine that I was developing them had 2k3. Now for the Problem if you create a Win32 default application with MFC support (or not) that you try to write the following stuff you get linker errors and sometimes complier errors. I've never had them before and I don't know why they are occur. I checked for the Project Properties, altered some stuff (such the use of precompiled headers etc with no luck :S). The DirectX samples compile fine but I don't know the cause of the pr ...Show All
Visual Studio Express Editions Error "The string binding is invalid" on application exit
Hello again, I am getting an error when my application exits. It happens after the last object of the main function is destroyed. I guess it happens during the destruction of the static objects, but I can’t find which one because the debugger says there is no source code available for the location of the error. These are the messages sent to the output window at the application exit: The thread 'Win32 Thread' (0xb00) has exited with code 0 (0x0). The thread 'DebuggerRCThread::ThreadProcStatic' (0xf7c) has exited with code 0 (0x0). First-chance exception at 0x7c812a5b (kernel32.dll) in padol.exe: 0xC0020001: The string binding is invalid. Unhandled exception at 0x7c812a5b (kernel32.dll) in padol.exe: 0xC0020001: The string bind ...Show All
Windows Forms Listview
VS2005 c# I want to add subitems for each field in my sql.(The Sql changes) Can anyone show me how - thanks in advance. foreach ( DataRow dr in dt.Rows) { ListViewItem lvi = new ListViewItem (dr[0].ToString()); oLstV.Tag = dr; oLstV.Items .Add (lvi); //For each field in my sql add sub item to the line } The problem is the number of fields within the sql change, so I dont know how many there are. Found it: //For each field in the sql add a sub item. foreach ( DataColumn column in dt.Columns) { _Lvi.SubItems.Add(dr[column ].ToString()); } oLstV.Items.Add(_Lvi); ...Show All
Visual Studio Express Editions image with grid coordinates?
Hi, Is there any way to define an image with grid coordinates in order to use the mouse over event Ken Hi, I would like to take a picture box and when the mouse is over one area of the image click on that area and do something. Then if the mouse was moved to a different area of the same image click on that area and do something else. Ken ...Show All
Microsoft ISV Community Center Forums iexplore.exe - Application Error
I get the following error message when I close my internet explorer. The instruction at "0x62304320" referenced memory at "0x62304320", The memory could not be "read". Click on OK to terminate that program. Any ideas what is causing this From what I have read it is because of add ons that you have or spyware. One IE add on that I had was yahoo toolbar. I removed it and the problem stopped. Perhaps you have google toolbar or some sort of spyware. ...Show All
SQL Server Exporting Database Diagrams - SQL server 2005
Hi, I'm trying to export my Database Diagrams to a new database. I've managed to do it by right clicking on the database->tasks>export data and followed the wizard instructions. The tables and Data Diagram show up fine on the new database however all the primary keys/relations/ are not present. Is there a way of copying the whole diagram to include all the primary keys and table relations Thanks :) There is more info here: http://msdn2.microsoft.com/en-us/library/ms171977(VS.80).aspx But it sounds like there may be some SSIS options you need to set. Which destination are you using And why export the diagram ...Show All
Visual C++ VS2005 linker error with typeid
Hi, I have the following code: _pReturnValue = (typeid (*pDevice)).name (); This piece of code used to compile and run fine on VC2003 and VC 6.1, but in VS2005 it gives the following error: error LNK2019: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_ name@type_info@@QBEPBDXZ) referenced in function "protected: char const * __thiscall CNiDeviceSpyAutoLogger::_GetDerivedClassName(class C4882Device const *)" ( _GetDerivedClassName@CNiDeviceSpyAutoLogger@@IAEPBDPBVC4882Device@@@Z ) Can someone tell me what I need to do to get this code compiling and linking again Thank you, Anand You c ...Show All
Visual Studio 2008 (Pre-release) orcas alpha
maybe it is not 100% linq related (I personaly think that it is ;p) on friday first public alpha of vs orcas has been relased (or is it vs2k5 on net4 steroids ) http://www.microsoft.com/downloads/details.aspx FamilyID=82243606-d16d-445c-8949-9ee8c10cda2e&DisplayLang=en aviable as vpc image. some info @ dowload page sorry crzyz118 - You seem not to be hax0r enough ;ppp try ZERO instead of "o" to all: any comments on vs "orcas" for me it was quite dissapointing - simple int a[]={1,2,3} var res=from aa in a select a; does not complile (feature not implemented) and there is no System.Query at all and no net3 templates system.addin is only new thing as far as I can see (propably somethi ...Show All
Smart Device Development [Smartphone-c#] Word files
hi! i have created an application that open a specific *.doc file in a directory. but when i try to run it the smartphone gives an error on the "Microsoft.Office.Interop.Word.dll"... i have tryed to import the dll and copy it on the phone, but it doesn't work... why //-------------------------------------------------// this is the error message: TypeLoadException was unhandled" Corpo: "File or assembly name ' Microsoft . Office .Interop. Word , Version=10.0.4504.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35', or one of its dependencies, was not found. not as far as I know im afraid. you can open pocket word docs etc... (mobile word) on PPC or devices that have the p ...Show All
Visual Basic Save data from a listbox to a .CSV file.
Hi, I am pretty new to Visual Studio, but know enough about SQL. I am working on creating some applications with VB to access my SQL database. I created a listbox that is extracting some data from a table. I am trying to Save that data to a .CSV file, but I am having major issues. I would really appretiate it if someone could help me and explain why my code is not working. I used examples to get to this code, but lack of experience is helping me to get stuck at this point. Thanks!!! Code: Try With sdlgTextFile .AddExtension = True .CheckPathExists = True .CreatePrompt = False .OverwritePrompt = True .ValidateNames = True .ShowHelp = True .DefaultExt = "txt" .FileName = filename .Filter = _ "CSV Fil ...Show All
