Gary G. Little's Q&A profile
Visual Studio Express Editions Obtain files
Hi, I have unintentionally modified the time.h, time.inl, and maybe other files. Don't you know where can I download them Thanks santiago cgraus wrote: Why don't you install the IDE on another computer and copy them, or just reinstall it locally Seems like the easiest way to ensure you have a clean system. 1. To be safe, be sure to uninstall the IDE first. 2. Then delete anything that might be left in Program Files\Microsoft Visual Studio 8\ (so that your mangled files won't be preserved as the most recent). Then, I would consider running VC++ in a limited user account ...Show All
Visual C++ CreateProcess issue
I am using the following code in order to start an MFC Win application from another MFC win application that is currently running: int CTransfer::StartNewProcess(CString szNewProcess) { STARTUPINFO si; PROCESS_INFORMATION pi; char szProcess[128]; strcpy(szProcess , (LPCTSTR)szNewProcess); ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); ZeroMemory( &pi, sizeof(pi) ); szNewProcess += ".exe"; // Start the child process. if( !CreateProcess( NULL, // No module name (use command line). szProcess, // Command line. NULL, // Process handle not inheritable. NULL, // Thread ha ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Installation Problems
I've just installed the DirectX SDK and am getting results not listed by other forums and people. Previously, I used to program with DX8 and had no problems in setting up dependencies and references. However, with the DX9 installation, it doesn't recognize any dependencies or references. I've downloaded the latest update (June 2005 ed. of DX9SDK), and still have problems. I'm running the .NET framework 1.1 and using C#, C++, and Visual Basic to no avail. The references in the .NET tab (right-click references then click add reference) should have Microsoft.DirectX, but it isn't there. Without these dependen ...Show All
.NET Development Updating a tableadapter.
In VS2005, when using the update method of the table adapter using a stored procedure, I can use the SourceColumn property of the parameters collection to map the TableAdapter columns to the parameters in the stored procedure. However, I would like to be able to explicitly specify the values of one of the sprocs parameters i.e. not take it from a column. MSDN suggests that there is a value property that I can assign, but I can find it. Thanks, David McKinney. Hi! TableAdapter have UpdateCommand, DeleteCommand, etc. Each command can use Parameters collection. You need to add parameter there. ...Show All
SQL Server Problems with LOOKUP component (repost)
Hello, Can anyone address these: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=142849&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=142837&SiteID=1 -Jamie Thanks Wenyang, I've submitted it via the product feedback centre. People, if you want to vote for this to be done then go here: http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=5ee6da3e-4d8b-4ada-a526-1034c11d6763 -Jamie ...Show All
SQL Server Matrix column visibility
Hello, I have one column group and three static columns. I'd like to control static column visibility property depending on a field value. I.e. Hidden: =Fields!GroupId<>5. But I'm not able to find visibility property in column object. Neither in properties explorer nor RDL documentation. I'm only able to set hidden property in textbox objects. I have RS 2005. Thank you for any idea. Jirka Nouza This would definitely be nice to have... is there any way to hack around this ...Show All
Visual C++ How to call CreateDispatch()
Hi, I am try to call Managed dll from unmanaged C++ wrapper. I have Renderer.dll and convert to Renderer.tlb and regasm Renderer.dll. Is that correct regasm Renderer.dll to register or regasm Renderer.tlb I got an error when I try regasm Renderer.tlb -- not .NET assemply. The wrapper created by MFC DLL project is: class CRendererObject: public COleDispatchDriver { public: . public: void a() }; I call the wrapper as CRendererOjbect rObj; int error = 0; CoInitialize(NULL); if (!rOjb.CreateDispatch("Renderer.CRendererOjbect") error = 0; if (!error) rOjb.a(); CreateDispatch() returns error with "invalid class s ...Show All
Visual Basic Access and VB
Hi all, If I have a form created on MS Access, could I copy it exactly the same form to VB form, so that users could exactly perform operations the same on Access form thanks again for caring Any suggestion and comments would be Acceptable so if the post has been posted 2 times You can create a winform to exactly duplicate the Access form. But you won't be able to "copy" and "paste" the access form or any of its controls to a winform ...Show All
.NET Development Named Pipes in C#
I need to pass data from one process to another. In the "Visual C++ Version 6" world I would have used a global named pipe for this task. I'm developing in C# and would like to know what construct there is for either creating named pipes or for a "new" technique to pass data from one process to the other. One other specific is that the process producing the information, i.e., filling the pipe, is a service created using C#. The service, when it receives a command needs to reply with a small amount of data to the process that sent the command to the service. I was planning to do this via a pipe. The ...Show All
Windows Forms How to make a copy of ToolStripItem
Dear all, In order to make a copy of ToolStripItem which contains whole features of orginal ToolStripItem (events, properties ...). I look at some article which have property clone support copy object. However, i don't know how to do. Every body have done my issue before please give me your ideas. Thanks for your help. Hi TaylorMichaelL , This is the first situation so I have make a lot of problem, your idea approriate with me. Please give me example code or links. Thanks a lot. Steven. ...Show All
SQL Server Put in order pages according to user's choice
Hi! I would like to put in order pages that They have already been predefine order in a main page that define the order what the pages will show it in a PDF File. I am trying to set parameters in the XML label Report Name main page according to user's choice... but I don't get it! Can anybody help me Thank you very much! ...Show All
Visual C++ Upgrade issues
Ok, I've upgraded to 2005 from 2003. First problem: all shortcut keys are changed! How do I restore them to the 2003 settings Specifically, when I installed 2003, I remember being asked which type of developer I am. I choose C++ and it setup all my shortcut keys to match what I was used too from vc 6.0. Now, I've installed 2005 but I'm not asked the same question. Nor can I find in the multitude of options where to set this. Can someone point me in the right direction on this Thanks, Scott Tool + Options, Environment, Keyboard. ...Show All
SQL Server send mail task error
Hi All, I am trying to use Send Mail Task to send mails within my package and I get the following error. "The server response was: 5.7.1 Unable to relay for test@mail.com". Can anyone help me on this Thanks Talk to the person who manages you SMTP server. Simply put mail servers are secured and only accept messages for certain addresses. To relay a mail is to accept the mesage from a client or server and then send it on to the next stage or the final destination (server). Often you only relay for your own domain. If your mail server was an open relay, not secured, then it would accept ...Show All
Windows Forms Windows Forms application closes unexpectedly
Hi, we have a quite large Windows Forms application (one small executable and about 30 assemblies). On several client PCs (Windows XP SP2) the application suddenly disappears (like a crash but without an exception). We register a ThreadExceptionHandler with the application instance to catch otherwise not caught exceptions, which normally works. But in the case of the above issue the application seems to close without calling the Form.OnClosing handle; we always ask the user if the application may be closed, but in the case of the problem no message box is displayed. In our internal logs i see several garbage collector cleanup for some ...Show All
SQL Server User Instance...
ok just letting everyone else I am getting the Failed to Generate A User Instance error. I had no problems with my sql server and C# application on my own computer ( windows xp sp2) but once I moved the program to our terminal server and setup sql express on there I had nothing but problems. I get the failed to generate a user instance error on connecting to the DB from within my C# application. So far I have tried deleting the local settings folder that holdes the sql server data. I have also set the sql server to run as "local system" instead of "network service". I figured that might work as it has worked forevers, but ...Show All
