ceedee's Q&A profile
Visual C++ Cannot open include file: 'StdAfx.h': No such file or directory
Hello, I am a newbie, please tell me what do I need to do to compile this in visual 2005 I am trying to compile some code from a friend for a poker game and i get this error: "c:\documents and settings\manlee wan\desktop\source\card.cpp(41) : fatal error C1083: Cannot open include file: 'StdAfx.h': No such file or directory Chair.cpp" For this code: " #include "StdAfx.h" #include ".\chair.h" CChair::CChair( void ) { flagDealer = 0; } CChair::~CChair( void ) { } #ifndef MARS void CChair::Draw(CPaintDC & dc, int xor, int yor ) { if ( myPlayerName.empty() ) dc.TextOut( xor, yor, "Empty" ,5); else { if ( ! f ...Show All
Visual Basic is there a way to modify code in vb.net on the fly when it is running?
is there a way to modify code in vb.net on the fly when it is running I vb 6 you could hit ctrl break then modify the code then hit F5 and the changes were made. in VB 7 u have to do a recompile after u make the changes for them to take affect. Does anyone know if there is a way to make changes and not recompile the code and have the changes take affect right away. Folks, Go to :- Tools | Options || Debugging | Edit and Continue | then make sure that "Allow me to edit VB files while debugging" is checked. cheers Martin ...Show All
SQL Server upgrading from SqlExpress2005 to SQLEXP2005Advanced
Hi, I am newbie with SqlExpress. I have SqlExpress2005 installed on my computer and created some databases on that. They are working fine. Now, for the sake of full text search and other facilities, I would like to upgrade this to SQLEXP2005Advanced. My questions are: 1. Shall I need to uninstall SqlExpress2005 first to install SqlExpress2005 2. How I can take backup of existing databases on SqlExpress2005 so that I can immediately restore them on SQLEXP2005Advanced Thanks in advance for any help in this regard.... Regs Tony No uninstall is required. When you run the SQLExpress Advanced setup it will ask you to select either a default instance or a named instance. Click the button to view existing instan ...Show All
Visual Studio Tools for Office Office Word 2003 component in .Net 2005
Hello. I've posted this mesage at "Visual C# Generals" forum, but I'll post again in this topic. Hello. I need to develop a plugin for Word in Visual C# and as a test, I have to do the following application : in a Word document, I have to insert a button and when I press it, a windows form must appear with a textbox. That textbox contains all I type in document. Can you help me with some examples and tutorials about how to develop Word plugins in Visual Studio .Net 2005 using Visual Studio Tools for Microsoft Office 2003 System Thanks' very much. Start with the links in Mike Hernandez's VSTO 2005 Resource List, posted at the top of this forum: http://forums.microsoft.com/MSDN/ShowPost.aspx P ...Show All
.NET Development c# sending records to webpage using Inet??
this function should help me sending records to webpage and waiting for response from it .. the response from web page write to me number and this number tell me the situation if the records is sent successfully or there is some validation error >>> this is the code for the function private void Send_Record( string id, string name, string age, string gender, string number, string dob) { string URL = "http://localhost/web/WebForm1.aspx username=123&password=123"; string Result; try { URL = (URL + ("&id=" + (id + ("&name=" + (name + ("&age=" + (age + ("&gender=" + (gender + ("&number=" + (number + ("&dob=" +dob))))))))) ...Show All
Visual Studio Team System Editing WITs in an existing project
Hello, I've been reading posts in this forum and also reading MSDN articles about editing Work Item Types on existing projects. I understand how to download/upload existing types, but I'm confused about the actual editing. Here's what I want to do. I want to edit the existing Task Work Item Type and change the behavior of the State and Reason fields. What we want to do is allow for additional information via the Reason dropdown when a Task is in the "Active" State. Examles additions to the dropdown list would be "In Development", "Not Started" etc. Is this something that is normally done with typical WIT customiztaion or do I need to edit the process template to do this Thank you as always, Graham ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA on IRC
Join us on IRC in #XNA on efnet We are growing a community where people can get real time help on their issues and work on projects together! Thanks, Ziggy Not bashing anyones channell (heh), but after being on both of the other channels on AfterNet and EFNet, I'll say that the one on Opa-Ages.com has the most "chatter". EFNet is cool though, I hear AfterNet is kinda like a grave...lol. ...Show All
SQL Server .NET Runtime Optimization error on SQL Server 2005
I posted this on the .NET Framework inside Sql Server forum as well. Sorry if the cross-post offends anybody. I upgraded my primary production server this morning to SQL 2005. Everything went fairly smoothly, but a couple of hours after my installation was complete, I found the following error in my event log: Source: .NET Runtime Optimization Service EventID: 1101 .NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002 I am a little stumped since we did not install Reporting Services. We only installed Database Serv ...Show All
Visual Studio Design Environment
When I started up Visual Studio .NET 2005 for the first time it asked me what design environment I would like. I choose the none specific on and would now like to change that. I've tried looking to the program documentation for help but have found none. Does anyone know how I could change the desgin evironment -Darwich Hello, Go to Tools->Options and click "Import and Export Settings...", select "Reset All Settings" and click next, then select "No, just reset..." and click next, then choose the profile you would like and click finish. -Luke ...Show All
.NET Development Programatically change XP Theme
Is there a way to programatically change the theme used by XP Thank you. Hi, Maybe you can find these articles useful : http://www.codeproject.com/managedcpp/ManagedUxTheme.asp df=100&forumid=16513&exp=0&select=1217662 and this one http://www.codeproject.com/csharp/xptheme.asp Hope this helps ...Show All
Visual C# MSVCR80.DLL
MSVCR80.DLL WAS NOT FOUND Hi, There are several issue similar to yours: http://forums.microsoft.com/msdn/showpost.aspx postid=15218&siteid=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=161926&SiteID=1 And MSVCR80.DLL download: http://www.dll-files.com/dllindex/dll-files.shtml msvcr80 Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. FX effect varying by time?
I have a Vertex Shader in an fx file that I created in NVIDIA FX Composer, and it contains a timer parameter as follows: float Timer : TIME < string UIWidget = "None"; >; I then use the Timer variable in my shader. In FX Composer I get the result I want, with the shader varying over time. In XNA, I just get the same deformation all of the time, like the timer is set to a constant value. Is there something special I need to set up to enable this Thanks, Bill This is a parameter semantic. It tells FX Composers to send the time to that shader parameter. XNA does not have built in functionality to do this for you. You have to send the time to your effect yourself. Edit - You might want to look into ...Show All
SQL Server Pivot Tables
Hi, I'm wanting to manipulate data between two tables in the following manner. Table1 Column1 Derived Column ValueX ValueY 1 0 100 100 2 0 &n ...Show All
Microsoft ISV Community Center Forums HTTP request - simple problem
I have a small server application (PHP) that is envoked with a URL and writes the attached parameters to a file. I want a client application to do the HTTP work. How do I call an URL from VBA without launcing a browser The URL (requested by a client application, not a browser) looks like http://www.test.com/fileWrite.php var1=234&var2=26&var3=4 Hi, You can use MSXML's XMLHTTP object to make requests. Here's an example: Private Sub Command1_Click() Dim HttpReq As New MSXML2 .XMLHTTP40 HttpReq.open "GET", "http://XMLSampleServer/CatalogServer.asp", False HttpReq.send MsgBox HttpReq.responseText End Sub ...Show All
.NET Development Dynamically remove textbox
I created textbox dynamically. i would like to remove them dynamically. ie i created one checked list box that will display some items. if user checked the item i would like to create a textbox and user unchecked it i like to remove the textbox. how do i do. pls help. thanks in advance. I need code sample. Thanks Arun Hi Arun, When you dynamically add a control to a form, you should always add the control to the Controls collection of the form (this will ensure proper cleanup of all references when the form closes). To remove a control from the form, you can simply remove it from the controls collection. Here's an example (it's in C#, let me know if you need a VB sample): ...Show All
