Kirangazz's Q&A profile
Visual Studio 2008 (Pre-release) Why simple large forms are rendered that slow?
Hi Some project, like the one that I’ve been working on the past 2 years, require large forms, combined from hundreds of controls, a single form can go 10 or 20 pages long. We are currently using Microsoft InfoPath 2003 with the .NET framework, and although it is not that fast, rendering of a large from with a 1000 text boxes for example will take couple of seconds. Of course our forms are much complex than jus ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Pivot/center point in x.file
I'm a total newbie, so appoligize if this is a stupid question. How can I set the pivot point of my 3d model (x.file). I'm loading a car model and the pivot point is set to the left side of the car. I want the pivot point to be at the center of the car for easier formulas for moving/rotating the car. How can I do this If I approaches this the wrong way pleas tell me. You can use this function: D3DXCompute ...Show All
Visual C++ Converting Entered TEXT into integer
My only apology is that I am a long time C programmer and I want to manipulate things directly. Now that said, someone please direct me in the correct way to analyze a TEXT string in visual C++. Basically I want to read a string from a user enterable text window convert it into an integer and check it for proper range and send it to an embedded system in raw 16 bit form. My difficulty appears to be that there is no way to go dire ...Show All
Visual Studio Tools for Office VS2005 Beta 2 and German Excel 2003 SP1 not working ?
Hi, I've installed VS 2005 Beta2 and tried to create an Excel Workbook Project. Messagebox: --------------------------- Microsoft Visual Studio --------------------------- Microsoft Office Excel 2003 SP1 or newer is not installed on this computer. You must install a version of Microsoft Office Excel 2003 that supports Microsoft Visual Studio Tools for the Microsoft Office System projects. --------------------------- OK Hilfe &nb ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the ...Show All
Smart Device Development Enterprise Library for .NET Framework 2.0 in Medium Trust
http://www.microsoft.com/downloads/details.aspx familyid=5A14E870-406B-4F2A-B723-97BA84AE80B5&displaylang=en Does anyone got Enterprise Library for .NET Framework 2.0 working on ASP.Net 2 Medium Trust. I found that Medium Trust doesn't likes these components and giving Full Trust seems to be the only option. I get the following error : [PolicyException: Required permissions cannot be acquired.] System.Security.SecurityM ...Show All
Visual C++ <fstream> Problem
In class yesterday I was testing to see if my program would read fro a text file and output its contents to a new file. Well the built solution was successful. Then I ade 2 files, an "ifile.dat and ofile.dat". I input "10, 20, 30" each on a new line, and placed both text files in the debug folder with the program. After running the program nothing was read and or written. y teach didnt even know what was wrong with it. ...Show All
Visual Studio Help system lacking in Visual Studio 2005 Beta
I am concerned about the lack of features such as the "Search in Previous Results", "Search Titles Only", etc. in the help file included in VS 2005. I certainly hope this is rectified before tyhe product's ship date. The lack of these features makes searching tedious and inaccurate. What does everyone else think Hello, This is good feedback, thanks for posting. The "Search in Previous Results" and "S ...Show All
Visual Studio Team System using FXCOP from within VS.NET 2005 - Where are the settings stored?
In VS.NET 2005 project properties has an option to enable which FXCOP rules should the project output be checked for. Now where this setting being saved, in the project(.csproj..) itself How can I specify to VS.NET to use an external .FXCOP project file that I have created Thanks & Regards Pradeep Kumar You are right, the settings are stored within the csproj itself (which itself is a MSBuild project). Is there a reason why you wa ...Show All
Visual C# Encrypt Passwords in the code
Hello Everyone, My code contains username and password and I want to somehow hide it...I'm using .NET 2.0 what is the best way to do it...Any examples... Thanks, Harsimrat Do you mean hide it in memory so that a hacker couldn’t do a memory dump and see the plain text If so... take a look at the new SecureString class in the 2.0 Framework. You can find an example of using SecureString here . ...Show All
Visual C++ ostream::seekp not working.
After I converted the following from VC 6.0 to VS 2005, the seekp() call stopped working. Can anyone confirm that this is a bug, or have I configured something incorrectly std::osftream myStream; myStream.open( " myFile ", std::ios_base::out | std::ios_base::app ); myStream << < xml version=\"1.0\" >\n<LogFile>\n"; myStream << "</LogFile>"; . . . ...Show All
Windows Forms PNG pictures in pictureBox
I've tried to add a transparent PNG to a picturebox but i can't get it to work. It looks good in the form-designer but when i start the program i only get a grey box. I've tried with a PNG that's not transparent and it also looks good in the designer but this time i get a black box when i start the program. Is it possible to use (transparent) PNGs in pictureboxes and how do you do it It should wor ...Show All
Visual Basic How to create 32bpp icons
i've found lots os examples for a diferent kind of thing to do on vb.net, but now i'm trying to breate 32bpp icons from an image. the folowing example uses a simple way to get icons from a bitmap, "Alph.bmp" is in 32bpp with alpha chanel, but the result gives-me a white backround. Public Shared Function From32bppBMP() As Icon Dim bmp As New Bitmap("Alph.bmp") Dim HI As IntPtr = bmp.GetHicon Dim a A ...Show All
SQL Server YTD calculations performance
Hi, I'm having problems with a calculated measure which is being used for returning year to date sales from the product dimension. The problem is that the performance is incredibly slow even on a very small subset of the data, and I haven't actually managed to have the sample query (below) return as of yet (I've had it running for 45+ minutes). The measure is very simple: CREATE MEMBER CURRENTCUBE.[MEASURES].[Sales YTD] AS Aggregate(PeriodsT ...Show All
.NET Development Regular expression
Hi, In the below paragraph how do i get the lines between "((" and "))" my result is Reporting by Rebecca Harrison, editing by Greg Mahlich; Johannesburg newsroom +27 11 775 3159; rebecca.harrison@reuters.com can anyone give the regex to obtaining this input is MultiChoice said it welcomed competition, which would ensure more choice and programme diversity. "It will be good for the pay-TV indust ...Show All
