chuchi's Q&A profile
Visual C# key press help
How can i know if SHIFT+L keys are pressed i know how to capture just 1 key but how do i capture combinations Thanks Hi In the KeyDown event of your control you can use the Shift property of the KeyEventArgs to determine if Shift was pressed and used in conjunction with the KeyCode property to determine the key pressed will then tell you whether Shift+L was pressed: if(e.Shift == true && e.KeyCode == Keys.L) { MessageBox.Show("Shift and L were pressed"); } HTH ...Show All
Visual C# anonymous methods and serialization
I am developing a server-side framework in C# that handles rapidly changing data (i.e. > 50k updates per second) and I need to offer a .NET Remoting interface into which client apps can query, in real-time, state across hundreds of thousands of objects. I want to let the client-side app developer have as much freedom as possible to develop the query. From my basic understanding of C# 2.0, it seems like anonymous methods could possibly be useful here. Particularly if a method can be defined in the client, serialized and passed through the Remoting interface, and then executed on the server. Assuming that all of the referenced types ar ...Show All
Visual Studio Team System Deleting a Team Project
Hi, is there any way to delete a Team Project created by me From Team Explorer exists the remove option but I couldn't find one to delete all the different parts of a Team Project (SCC, Project Portal, Work Items, etc). Is it possible Thanks a lot LucasC In VSTF Beta 3, I can not even find the deleteteamproject.exe file. Can someone confirm that it is supposed to be present, and if so, where I've installed the data tier, app tier, full client, and have searched on all of them, to no avail. ...Show All
Windows Forms Enabling a tool bar Via MDI Child
I have a situation where I want to use a login screen for determining which toolbar to load on my MDI parent application. But, I can't seem to make it work. I first load the MDI parent and then Load a Child form for the login page. Once the person logs in I can't enable the toolbar on the MDI parent from the child. &nbs ...Show All
Visual Studio Team System Unable to publish new project tasks
Hi there, I am using VS2005 Team Edition For Software Achitects. The VS Team Foundation Server is the latest one - the RC. I have a project which is using MSF process template. I am trying to create new tasks from Microsoft Project. When I try to publish them, I get the following error: TF80070: Team Foundation encountered an error while performing the operation. It is recommended that you save your work and restart the application. I rebooted the system, but still the same problem occurs. Any ideas how to fix this Regards, George Jordanov Ivanov We are following up offline on this. I'll post the resolution once we have ...Show All
Windows Forms how to active a special tabpage after confirm the messagebox?
hi i have a tabcontrol on my form , and it contains several tabpages. on tabpage1 , there is a button, when the user click that button , a messagebox appears.if the user click "yes" , to confirm the dialog box, tabpage1 shoul be hide and tabpage2 should be shown. how can i do that thank u for your attention I think it can be to do like this: step1: private bool confirmExit() { if ((MessageBox.Show("Are you sure ", "MyApp", MessageBoxButtons.YesNo) ...Show All
Visual C++ ActiveX "Object required" error
hello sorry if you have replied to my previous question, i didn't have the chance to read your answer (thread deleted) I have this error that stop me from using an ActiveX that i have just programmed and checked using the control test container. "Object Required" (error is fired when i try to attach a variable to my control) Thanks a lot for your time Olivier Thanks Tom. My problem was solved by installing again Visual Studio 2005, but your solution is obviously better. So if I have again the same problem, I'll know what to do. Jaime Montoya jaimemontoya@jaimemontoya.com www.jaimemontoya.com ...Show All
Windows Forms SuspendLayout() confusion - When and when NOT to call it ?
Hallo there! I'm new to this forum, greets to you all. I have a question about the SuspendLayout() - ResumeLayout() pair, I'm not sure if I understandd correctly when and where they're really supposed to get used, and where absolutely not. I made a UserControl, of which I draw alle the content myself. First, I used a bitmap whre I drew all the stuff i ...Show All
SQL Server How can I create more instances of the Analysis services server?
Hi, all here, I now have a question about how can I create more instances of the analysis services server Currently I only have one instance of the analysis services server. Thanks a lot for in advance for any guidance and help. On SQL SERVER 2005, I think you have to install SQL SERVER 2005, select only Analysis Services, and use a named instance in the installation. ...Show All
Visual C++ msvcprtd.lib(MSVCP80D.dll) : error LNK2005
I am having problems to port our product from vc7.0 to vc2005: Linking... LINK : warning LNK4076: invalid incremental status file '..\..\..\bigworld\tools\worldeditor\BigBang-debug.ilk'; linking nonincrementally msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::allocator<unsigned short>::allocator<unsigned short>(void)" ( 0 $allocator@G@std@@QAE@XZ) already defined in edgizmo.lib(solid_shape_mesh.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::allocator<unsigned short>::allocator<unsigned short>(class std::allocator<unsigned shor ...Show All
.NET Development ASP.Net web application problem.
I have downloaded a web application from internet and while trying to debug the application using VS 2003, I am getting following error. Unable to start debugging on the web server. The project is not confgured to be debugged. Debug is set to true in web.config and I aspnet has got all the permissions required. When I start application without debugging, It displays some errors in web.config file. I commented those lines but then It gives error in the default.aspx page. The problem is with the tag Inherits="xyz" It is not able to load object xyz. Can someone plz tell me what the exact problem is I have found on s ...Show All
Windows Forms Navigate to another Form
Okay, i'm guessing this can be done really easily but I'm having problems trying to figure it out. I am building a VB app and I want to navigate from one form to another. I know in VB6 this was easy you just write myform.show() and the other form would pop up. I can't find the solution for this now. Imports System.Data Imports System.Data.Ol ...Show All
Visual Studio Team System Web Recording is not working ..Pls help me Figure out
When i try recording a Webtest My Recording doesnt work. The Record options seem to be Greyed out (disabled).. The Browser loads Up pretty quickly when i click on a new webstest But then its all greyed out I have seen this before . please help me in figuring this out. I dont want to reinstall my Visual Studio2005 Thanks Roy Can you try killing all your iexplore.exe processes and trying again You're not running devenv.exe using RunAs are you This is a known issue that I believe we're planning on fixing in the service pack. Hopefully we can put out a hotfix in the near future, too. ...Show All
.NET Development bug in serialport.close() ?
Hi ! Here is my problem ... I developped in C# a class heriting from SerialPort. It contains functions structured like this : serialPort.open(); ....write....read.... ans so on; serialPort.close(); I use a timer to run theses functions every miliseconds. After a time, the application freeze. When i debug using "break all", i see a green arrow pointing serialPort.close(). When i press F11 to go to the next instruction, i can't see any yellow arrow. The green one disappear and my application stay freezed. When i break all a second time, the green arrow reappear pointing the serialPort.close() function etc.... The only solution is to ...Show All
Software Development for Windows Vista Vistual Studio 2005 error on Vista Feb CTP (5308)
A fresh install of Vista 5308, with a fresh install of Visual Studio 2005 pro and as soon as I fire it up, Vista shuts it down... no specific error, just the standard dialog. Can someone verify that this actually operates for me The only other thing on the box ATM is Office 2003. Hi, Yes I have got your configuration working I am running:- Vista 5308 Visual Studio 2005 Pro Office 2003 Pro Try login in as the local Administrator on the workstation if you are not already doing that to see if it works, all the problems I had were to do with security. Regards Alex ...Show All
