shrinidhiBK's Q&A profile
Visual Studio TFS Client in RC0?
Hi all, I have the DVD of VS 2005 RC0 Team Suite from the PDC. I have installed it, but I do not get the option from my tools menu to connect to the Team Server. Did this get moved The help says it's in the tools menu.... thanks, James Hi, The VSTS Suite will not have any Team Foundation functionality until Team Explorer is installed. This will be part of Team Foundation Server setup package. See the following thread: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=100941 Regards, Vikram ...Show All
Visual C++ ultra fast binary writes
Hello, can anyone please help... This is a bit of a general question. My C knowledge is limited to the K&R book. I have used the fsutil tool on windows xp and noticed that the command: fsutil file createnew c:\$delthis.bin 1234567890 which creates a file over a gigabyte in size is extremely fast - it takes about a second on a PIII 800MHz with 256MB memory. This seems to be amazing given that it zeros the whole file, rather than simply creating a directory entry. If I wanted to code a 10 line program in C to do exactly the same (for simplicity with hard coded values - no parameter options) and run just as quick ...Show All
SQL Server Deployment
Hello, I was reading some article which said, the reporting service (sql server 2005)does not have many capabilities and so, after initial development of reports you can deploy it to a custom website or an application and then use .net to enhance report functionalities... How to do this..Please help me.! Thanks, Shankar - do you have a specific question about deployment Reporting services provides for many reporting capabilities and deployment options. These are documented in the Books Online that comes with the product. Please use this as your first reference when evaluating the product's capabilities. Good luck, ...Show All
.NET Development AccessViolationException when client is terminated
Hi, We have just migrated our client/server application to .Net 2.0. After that we constant get an unhandled AccessViolationException in the server program when the client program is terminated! The only stack trace I can get is: at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult(SafeCloseSocket socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored) at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt ...Show All
.NET Development GUI thread, memory leak and Garbage collection
Hi all, I seem to be chewing up memory at a nasty rate when my app runs. It has a polling loop and not surprisingly this is the part that keeps doing it. I think I've located the line that is my main offender and its when I marshal to get back onto the GUI thread so I can update my controls. private void KPI_ScreenUpdate( KPI KPIType) { if ( this .InvokeRequired) this .Invoke( new KPI_ScreenUpdateDelegate (KPI_ScreenUpdate), new object [] { KPIType }); else { DPL_Units_Through.Value = myKPI_Shift.Units_Through; DPL_Shift_Time.Value = tmpElapsed.ToString(); // blah blah ...Show All
Visual Studio How do I create an application.extension.config file using MSBuild?
Hi, I'm using MSBuild to build an executable program (exe) from VB.net source code. How do I get MSBuild to output an ApplicationName.exe.config file Thanks, Damian MSBuild does not generate .CONFIG files on its own. The only thing it can do for you is copy an existing .CONFIG file from your project to the final bin directory. So, if you have a file in your project called "APP.CONFIG", then MSBuild will copy this file to the bin directory as " AssemblyName .EXE.CONFIG". ...Show All
.NET Development Secure Class Library: Raise events from minimum permission assembly
Hello, I'm writing a class library as a wrapper to another unmanaged DLL. That unmanaged DLL has functions that do callbacks. For those functions, I created internal delegates which were sent as function pointers. When the delegates were called back from the unmanaged DLL, I raised events that I created as wrappers to those functions. All worked well up to this point. Then, I tried to create a secure class library. For my assembly, I requested minimum permissions of UnmanagedCode and ControlAppDomain, and refused any other permissions. SecurityExceptions started to occur. After a while of tracing and debugging, it se ...Show All
Visual Studio Add-In Wizard problem in VS 2005 Beta 2
Hi, I'm trying to build an Add-in with the VS 2005 Beta 2 wizard. After completing the wizard and pressing F5, I can see the Add-in in the "Tools - Add-in Manager". The Add-in itself, however, is not shown in the Tools menu. While running in Debug mode, the line : Command command = commands.AddNamedCommand2(addInInstance, "MyAddin4" , "MyAddin4" , "Executes the command for MyAddin4" , true , 59, ref contextGUIDS, ( int ) vsCommandStatus .vsCommandStatusSupported+( int ) vsCommandStatus .vsCommandStatusEnabled, ( int ) vsCommandStyle .vsCommandStylePictAndText, vsCommandControlType .vsCommandControlTypeButton); wh ...Show All
Visual Studio VS.NET 2005 Team suite Edition Beta 2 English - Setup fails
I tried to install "VS.NET 2005 Team suite Edition Beta 2 English" serveral times setup fails to install following two components . . SQL Server 2005 Mobile Edition . and Microsoft Device Emulator Version 1.0 Beta 2 . Appreciate any help get installtion right Thanks PDesai . copied setup error log below . ***EndOfSession***[04/20/05,19:34:11] .NET Compact Framework 1.0 SP3: [2] Error code 1618 for this component means "Another installation is already in progress. Complete that installation before proceeding with this install. " [04/20/05,19:34:12] .NET Compact Framework 1.0 SP3: [2] Setup Failed on component .NET Compact Framework 1.0 S ...Show All
SQL Server Compress or Compact Database with SQL Express
How do you Compress or Compact a Database with SQL Express If feedback is of benefit, this would be a useful feature to include with SSME. Regards, Flavelle ...Show All
Visual C++ __box
Hi all! I got a sample in Microsoft Developer about c++, but I can run in VS2003 and in VC++.NET Express I can't run this sample. --------------------------------------------------- System::Globalization::NumberFormatInfo* nfi = new System::Globalization::NumberFormatInfo(); txtFileText->Text = String::Concat(txtFileText->Text, (__box(myNextInt)->ToChar(nfi)).ToString()); I think this error is code __box... Anybody know how I can this Ps. Sorry my English. Hi Sergio, As you mentioned this is old syntax. You can use the compiler option /CLr:oldSyntax as mentioned at http://msdn2.microsoft.com/en-us/library/ ...Show All
Windows Forms Acrobat Nightmares! Need help printing
Hi all, I'm completely stuck and need some help. In fact I'm so stuck i dreamed about it all last night!! What is the EASIEST way to get Acrobat 7.0 to batch print a certain folder AUTOMATICALLY when I run a program. Now I know there is Advanced->Batch Processing and then run the print process, but I can't figure out how&nbs ...Show All
Visual C# menu items calling forms
I've been trying to find information on how to call forms from menu items. The help system isn't helpfull. Can someone point me to some helpful information including sample code Thakyou, How about using the click function from MenuItem class and then displaying the form using Form.Show() function ...Show All
SQL Server Treat two columns as one?
Hi all, Is there a method to treat two columns as one, in order to use count(col) E.g.: for the following table ID Col1 Col2 ------------------ 1 A B 2 A B 3 A C The solution is: Col1 Col2 Expr ----------------- A B 2 A C 1 So, how can it be expressed in sql how many records there are with the same values for col1&col2 Kind regards, Nele Hi Nele, I think this is what you want: SELECT Col1, Col2, COUNT(*) AS Expr FROM YourTable GROUP BY Col1, Col2 -- Hugo Ko ...Show All
Windows Forms Can Control Event Handlers Be Interrupted?
I have spent more than a week over a very frustrating problem. I have a custom control derived from System.Windows.Forms.Control. In its MouseMove event handler (of the custom control, not the calling ap), I have just this and only this simple code to move the control horizontally when the user drags it: if (mouseDown) { this .Left = this .Location.X+Control.MousePosition.X-oldMouseX; oldMouseX = Control.MousePosition.X; this .Invalidate(); } mouseDown is a bool set and unset by MouseDown and MouseUp respectively. oldMouseX is a global int updated to ...Show All
