Melt16's Q&A profile
Visual C++ Binding Navagation Like buttons
I'm creating a program in Visual Studio 2005 Beta 2 (i dont have a subscription to msdn so i cant get thet CTP i'm just a student so the cost is a bit steep)using datasets and I want to allow the user to fill in text boxes and add fields without having to see the datagrids. In doing this I would like to add buttons to add (and save) a new item (row) to a dataset and also buttons to scroll through a data set (i tried this ->Binding ...Show All
Software Development for Windows Vista How to close multiple dialgs opened by one process ?
Dears, I want to close multiple dialogs opened by a process There is no main window in these dialogs. what should I do Ron Check here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=427649&SiteID=1 HTH ...Show All
SQL Server Sql Server 2005 Client Configuration Manager
How do you install the Sql Server Configuration Manager for clients Can't just copy the SQLServerManager.msc file to System32 - won't run - must have dependencies. ...Show All
SQL Server Registry Paths in SQL2005
I have an existing query I execute on SQL2000 to return me the port number SQL Server is listening on. declare @rc int, @dir nvarchar(5) exec @rc = master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE',N'Software\Microsoft\MSSQLServer\MSSQLServer\SuperSocketNetLib\Tcp',N'TcpPort', @dir output, 'no_output' select @dir Under SQL2000 @dir returns: 1433 Under SQL2005 I get an error: RegQueryValueEx() returned error 2, 'The system ca ...Show All
SQL Server Error while importing Text file using Import Export Wizard
Hi all i have text file where i can import it to excel to access or sql2000 without problem but when i import it using (sql2005 pro) i get this error message during the import O peration stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Success) - Prepare ...Show All
Windows Forms app.config
I am distributing an windows application to many users. I do not want these users to either know the configs or change it. I totally want to encrypt the settings. I have keys like connection string, folder paths etc in this. What is the&nb ...Show All
SQL Server "with <tablename> as" syntax help
I'm starting with: dtTimeIn bStatus --------------------------------------------------- 1899-12-30 12:00:00 &nbs ...Show All
Visual Studio Export to PDF, some columns go to another page
I tried to export my one page report ( 8.5” X 11” ) to PDF file, and I got two pages. Some of the columns of my report go to another page. How can I export my one page to one page PDF file correctly Thanks in advance. Long Hi, Victor, You need to change two kinds PageSizes, one is report PageSize , the other one is body PageSize . When you change the margins, you play aroun ...Show All
Game Technologies: DirectX, XNA, XACT, etc. VertexBuffers: Lock/Unlock and same memory address....
If i create only one static vertex buffer in my program and i do: Lock/Unlock....Lock/Unlock....Lock/Unlock....etc - all this calls return me same start memory address for vertex buffer data if this buffer not been recreated or not P.S. sorry for my english pls :) Tom is correct - it depends on what pool the VB was created in, what lock flags are used, etc. It will also depend on the driver behavior, and ...Show All
SQL Server ahh fer the luvva...
With a ForEach container, configured to loop through files in a directory, if I have a problem with a file.. can I direct the loop to skip on to the next file I'm processing structured files, first record of each is some header info, body records are in the middle, and then the last record is a trailer containg a checksum So, for each file in the directory, I split the records into three raw files, one for header rec(s) , one for ...Show All
Visual Studio Team System vsmdi relationship to TestCase/TestMethods
I am trying to determine how an entry inside the vsmdi file relates to a test case method. Each test case item in a test list appears to have a unique Guid and the relative path to the assembly that the test case belongs in. However it does not list the test class that the test case belongs to. This information is visible when viewed from the test manager, but does to appear to be stored on the filesystem. Does anyone know how this relationship ...Show All
Visual Studio Team System FxCop 1.30 compatibility with Vis Studio 2005 Professional Edition
We have been FxCop 1.30 including our own rules dlls within the .NET 2003 environment. Can someone tell me if we can continue to use this version and rule set with Visual Studio 2005 Professional Edition, which some of our new projects are being developed in If so how does one go about accomplishing this. If this is not possible what options are open to us as both .NET environments are still in use and will be for some time. Best regards ...Show All
Visual Studio Team System How to output text message from a test method (a function with [TestMethod] attribute) ?
Hi, I wanted to print some text messages from a unit test function. I tried using System::Console::WriteLine( ) which didn't work probably because the project was not a console application. I would like to know if there is any way to print to the output window Thank you, -me- I want to write text to the same stream that the Assert class uses. This is so my messages end up in the 'ErrorMessage' ...Show All
Visual Basic VB 2005 / VS 2005 Question
Will the Visual Basic.net or Visual Studio.net 2005 versions require developers to have their application users download any framework versions in order to use the developers applications If I am not mistaken, VB.net and VS.net 2003 required application users to have the 1.1 framework installed on their local machine in order to use the application. This was a discouraging requirement as some users still have a dial-up connection and were faced ...Show All
Visual C++ What's wrong in my code or in VS.NET2003 C++ compiler
I compile the following C++ code VS.NET2003 IDE and the compiler enter an infinit/endless compiling process, What's wrong within it Regards, Zhaohui Xing The code is given as following: //The testtempl.h #ifndef __TESTTEMPL_H__ #define __TESTTEMPL_H__ #include <stdlib.h> #include <stdio.h> #include <vector> template<int n> class MyTempl { public: std::vector<int> m_array; public: MyTempl() { &n ...Show All
