sugrhigh's Q&A profile
Visual C++ VC++ 2005 redistributable
Hi, I'm trying to get an MFC application compiled with VC++ 2005 to run on a machine with VC++ 2005 express. There seems to be a problem with the manifest (which I don't fully understand despite reading the info on msdn). The original error in the event log when I tried to run it said Microsoft.VC80.CRT not installed so I installed the platform SDK and also copied over the atlmfc directory from the development to target machine. I also downloaded the VC++ 2005 redistributable and installed it. When I installed it, I didn't get any confirmation that the installation was successful, the installer appears to quit after displaying the progress bar. Is this the correct behaviour Now I no longer get any messages in the event log but when I try ...Show All
Visual Basic sorting the files in a folder
how to sort the files in the folder according to the date modified/written i am getting the file (code snips) Dim dDir As New DirectoryInfo(pathIssueFile) Dim fInfo As FileInfo() fInfo = dDir.GetFiles("*.txt") is there any methods to sort the files [according to the file modified ] while Getfiles.. or any other methods.. avilable.. thanks in advance..... Textbox1 and Textbox2 are simply leftovers from a test and shouldn't be there. The usage of the FLArraySorter becomes - Dim DirInf As New IO.DirectoryInfo( My .Computer.FileSystem.CurrentDirectory) 'Set an appropriate directory the My nnamespace is dotnet 2.0 Dim fls() As IO.FileInfo = DirInf.GetFiles() Dim Sorter As New FlArraySorter Array.Sort(f ...Show All
Windows Live Developer Forums Problem 3D plugin setup in other languages or locations
Hello all, first congratulations for your new and amazing v4!! I tried to test it, but I have a setup problem. My Windows is configured in spanish language (ES). The setup stop with "be patient... your language and location is not available". I dont understand, why the language is a problem ... Please... when I can test it Thanks a lot! Alex Hi, It's really, with me occurs the same thing. My OS language is portuguese and i cant install Virtual Earth 3D. I dont know how the language is a limitation. Waiting for a solution.... buster ...Show All
Visual Studio Team System how to delete the file or folder in version control and keep disappeard?
in the source code explorer, I check in some files and folders mistakenly into the teamproject, I want to delete them, so I rightclick them, select the "delete" menu, I found the status became "Deleted", but those files and folders still appeared in the source code explorer, how to make them disappeared Thanks a lot! As Michal points out you have to commit the pending delete via a check-in. The delete operation does not delete the file from the store; the check-in of the delete operation does. --Ben Ryan ...Show All
Windows Forms Picture Resizing
Hi everyone who is a lot better at programming than me, I have a couple (5) radio buttons that the user uses to select different dimensions and a text box that has a file path for an image. I need a code that will resize the image to whichever radio button is selected and change the extension from the existing one to PNG. Can anyone help me not at all, I believe I have given (feel free to correct it, make me understand better) the code to do the job. I understand have you a file chosen to open I understand you have radio buttons which represent perhaps the width/height dimensions I understand you wish to resize the image, and perhaps save it, according to the dimensions chosen the above ...Show All
SQL Server advice/suggestions PIVOT
Hi all, Please look at the attached - I think it works, but I'm looking for some comments/advice. Included is table creation, samepl data and the t-sql statement. [code] SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[DBO].[ProductPriceComparison]') AND type in (N'U')) DROP TABLE [DBO].[ProductPriceComparison] CREATE TABLE [DBO].[ProductPriceComparison]( [CatalogueItemID] [nchar](8) NOT NULL, [RetailerName] [nvarchar](100) NOT NULL, [RetailerPrice] [money] NOT NULL, [RetailerPriceCheckDate] [datetime] NOT NULL, CONSTRAINT [PK_ProductPriceComparison] PRIMARY KEY CLUSTERED ( [CatalogueItemID] ASC, [RetailerName] ASC, [Retai ...Show All
Visual Studio Express Editions Problem with Compiling a class (keeps complaining about the constructor, please help)
Okay, I'm new to this community and this my first thread, so go easy on me, please. I felt that this problem of mine was specific enough to deserve its own thread, so here it is. I have this application written in C++ called Mastermind Squared. It has a class called GameBoardControl, which stores the data for what "pegs" are on the game board array and various functions dealing with those pegs. Any way, when I first compiled it, the following error came up: GameBoardControl.cpp .\GameBoardControl.cpp(5) : error C2511: 'GameBoardControl::GameBoardControl(void)' : overloaded member function not found in 'GameBoardControl' c:\documents and settings\ind study\my documents\visual studio 2005\projects\mastermind squared c++ ...Show All
Smart Device Development WindowsCE, CF + Rijndael encrypt., I'm stuck
I tried using StringBuilder instead of string, application threw a "Native exception error" everytime I was using StringBuilder ...Show All
Visual C++ re compling error - include\crtdefs.h(388) : fatal error C1017: invalid integer constant expression
Compiling... cotcltest.cpp c:\program files\microsoft visual studio 8\vc\include\crtdefs.h(388) : fatal error C1017: invalid integer constant expression I get the above message during compiling of any of my code from a previous version of MS C++. Do I have the correct crtdefs.h file. 75 kb 09/22/2005 10:48 p.m. Did you defined somewhere _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES If so make sure you have specified a value for it: #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 and not just #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES ...Show All
SQL Server Using a Dynamic XML Dataset
Is there a way to dynamically use an XML dataset as a datasource We got it to work. The problem that we are having is when multiple rows are returned in the dataset, it will not display them on the report, even though there is not a first wrapped around the Fields!whatever.value, the report is only displaying the first value that comes back. ...Show All
SQL Server Strange out of memory error on 2005
Hi, I am getting the following: spid53,Unknown,Failed Virtual Allocate Bytes: FAIL_VIRTUAL_RESERVE 262144 spid53,Unknown,Memory Manager <nl/> VM Reserved = 1662084 KB<nl/> VM Committed = 954940 KB <nl/> AWE Allocated = 0 KB <nl/> Reserved Memory = 1024 KB <nl/> Reserved Memory In Use = 0 KB ... <lots of memoryclerk/cachestore stuff) ... Followed by loads of 701s (There is insufficient system memory to run this query.) until the service is stopped. No new connections can be made at this time either. I'm running an ASP page under IIS 5.0 (on 2000) against the SQL Server. Connections are being pooled. The page just calls a stored procedure and passes some results back to the ...Show All
Visual Studio 2008 (Pre-release) How to host WPF content in Win32 API applications (non-.Net)?
Hi, I have a Win32 API application (not a .Net application) and would like to place a control on the main window to display loose Xaml or XBAPs. I guess that I must use the WebBrowser control. But how exactly should I use it There is some docs in MSDN regarding the IWpfHostSupport interface but it's too brief and has no sample. Can anyone provide me with links to samples or thorough description of how to use that interface Thanks, Igor Dear Igor, Interoperation in WPF and Win32 is possible. Have a look at this link : http://msdn2.microsoft.com/en-gb/library/ms742522.aspx HTH, Suprotim Agarwal ...Show All
SQL Server How to select a range of records with a boolean
I have a report with shipment lines and want to select a range of items with a boolean: if the item numbers are between 1 and 100, then I want a TRUE and when the itemnumbers are > 100 I want a FALSE. The parameters should be visible in the report so the user can select Yes (TRUE) of No (FALSE). ...Show All
Microsoft ISV Community Center Forums Null Values\counting records\null record set
Hello . I have A subform that is bound to a query. And I have put a counter [bound to a text box =Count(Fname or Lname)] on the form to count all of the records where i entered data into two certain feilds. In turn I send the data from that count feild to the main form to be displayed(in an textbox). It works fine except when I scroll to a record having a null value and none of the feilds show up. , the value of the conter on the subform is blank instead of zero and and #error is displayed on the main forms control. My Goal is to get a zero displayed in the textbox on the main form if the value is a null value in the counter on the sub form. I think it comming up blank because I have a null record set. The forms are connected to tables di ...Show All
Visual Studio Express Editions Matrix implementation problem
Hi everyone, I am implementing a matrix program which create matrix according to the values on a file and write to or read from files the values of the matrix. However, since I am not able to compile my program, I would like to ask you that whether my class si logically correct and whether it gives a compile time error or not. If there is unexpeted situations in my code, would you please help e to fix them class SymmetricMatrix { public: int index1; int index2; int **matrices; /* * Constructor that initializes an empty matrix with a given size. */ SymmetricMatrix(const int matrixSize){ size = matrixSize; matrices = new int*[size]; for(int a = 0; a < size; a++) matrices = new int[size]; // assigni ...Show All
