FanCheng's Q&A profile
Windows Forms Disable input to controls on a form without disabling?
Is there a way I prevent user input (mouse and key events) for a control (or all controls on a panel) without disabling it I have a smart client application where accesses to the server are done on background threads. To prevent new interaction with the controls until the running access is done, I want to prevent new events. When disabling the panel all controls "blink" in a rather anoying way (when they are greyed out and then enabled). Instead ...Show All
SQL Server Problem with CASE Expression
Hi, all here, I have a problem with CASE expression in my SQL staments. the problem is: when I tried to just partly update the column a , I used the CASE expression : set a=case when b=null then 'null' end the result was strange: then all the values for column a turned to null . so what is the problem tho Thanks a lot in advance for any guidance. The issue is with your comparison of the column value against NULL usin ...Show All
Visual C++ copiling vc++ code in VS 2005
hi While compiling my vc++ application in VS 2005. i faced the link errorsas following. Any help will really help me a lot. 1 file(s) copied. link /NOLOGO /SUBSYSTEM:windows /DLL /INCREMENTAL:no /MAP:FULL /OPT:REF /DEBUGTYPE:CV /IMPLIB:..\DBG\TmtData.LIB /MAP:TmtData.map /OUT:..\DBG\TmtData. DLL @TmtData.files /BASE:@t:\tcomponents\Make\TmtCommon.Lod,TmtData Creating library ..\DBG\TmtData.LIB and object ..\DBG\TmtData.exp tcbs ...Show All
.NET Development Creating Winform dynamically from XML
Hey guys, I am extremly new to this whole .NET development and as such, Im trying to get my feet wet. Basically what I am trying to accomplish is read in an XML file with various winform definitions and somehow parse through it, building up a winform dynamically (for windows MOBILE). Does anyone have an example of how to do this - I cant seem to find one. Thanks Sounds like Avalon and XAML. ...Show All
Visual Basic User control parent name (extender object).
In VB6, if I wanted to know the name a user control was given when placed on a form, or by the user (e.g. MyControl3, MyButton5), I used the extender* object. How do I retrieve the name my control is given when placed on a form in VB05 I would like this to be displayed like a caption on my user control. That is, if the end user places one of my controls on a form, the caption will (e.g.) read "Button1", "Button2" etc. ...Show All
Visual Studio Express Editions Exception thrown in a ClickOnce installation
Hi again, Sorry, but I have another ClickOnce problem. My program runs without exception in the development environment, but the ClickOnce RUN version throws an exception in the form.Load event. Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles MyBase .Load Try Dim fileStr As String = "..\Images\" doorPic(0) = Image.FromFile(fileStr + "Door1.gif&quo ...Show All
Windows Forms How to read XUL UI ???
Hi, Still trying to find an answer How can I read the text (get content) from windows (for ex. Netscape7 or messenger) that was written using XUL (XML-based User Interface Language) Thank you ...Show All
Visual Studio Tools for Office VSTO Requirements
Hi I have just installed VS 2005 Professional and the VSTO 2005 runtime. But I don't have VSTO options inside Visual Studio. What are the explicit requirements for VSTO Do they only run on VS Team Systems best regards Anders Visual Studio Tools for Office is not included with Visual Studio Professional. The VSTO runtime also does not install the tools; it only provides the framework for the tools and for your ...Show All
Visual Studio Tools for Office The Ultimate VSTO Outlook deployment package
I'm working on a solution with a custom installer class and custom prerequisites in VS2005 to make the VSTO Outlook deployment as painless as possible. I'd really like input and feedback on the work: http://weblogs.asp.net/mnissen/archive/2005/10/14/427508.aspx Thanks for any insight! Mads, Can you post a project with all the components and settings. I've reviewed your document and am having problems particularly with RC1 deploymen ...Show All
Windows Forms Creating Windows forms without Visual Studio ?
Hello, I am an ASP.NET developer, but I know nothing about Windows Forms ... I am used to programming in NotePad, so I wonder if it's possible to develop Windows applications on NotePad too. I do not own Visual Studio ... Thanks all ...Show All
Smart Device Development Soft Input Panel
Does anyone know of a way of invoking just the keyboard part of the Input Panel I don't want the users to be able to access the options or be able to choose a different input method. Please, any help on this I would greatly appreciate. You can use SipSetCurrentIM to specify the keyboard input method. However you can't stop the user from then changing this to another method e.g. letter recognizer etc Peter ...Show All
Visual Studio Tools for Office VSTO excel update question
Hi, I have created a VSTO excel application. I have added a listObject control to it which loads the data from the database at the run time. Now, on the click of the button on the sheet, I wish to update the data back to the database. I want to do all this programmatically. how can this be achieved. Please help!!!!! Regards, Harry, I'm looking at this example and from this link and the following documentatio ...Show All
Visual Studio Express Editions Debugger & Forms Designer in Beta 2 fails
I was using C# Express Beta 1 for long time, today I installed C# Express Beta 2 but after that I can not create WindowsForms project or open WinForms/Project Settings/Resources When I try to create new WinForms project I get warning as follows Package "Visual studio Settings and Project Designers package" has failed to load properly ( GUID = xxxxx) .... Would you like to disable loading of this package in future ..... <Yes> <No> ...Show All
Visual Studio Team System How to delete a /$folder from Source Control?
After deleting a team project using the " TFSDeleteProject", although all the work items and sharepoint site and reports are all gone, the source control project is not being deleted. I've tried "TFSDeleteProject" with the "/force" option and also followed the instruction on this discussion forum: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=4809&SiteID=1&PageID=2 with no luck. Is there any way of deleting thi ...Show All
Windows Forms How to Pass Events for Handling To Parent Control In C# Windows Application
Hi, I have a Form that contains a number of elements including a dataGrid, several buttons, and a user control. Although, I have defined Key Events Handling in the Main Form, it seems that the Key Events are actually being forwarded to the child control that is focused at the time the key event is executed. Is there any way to forward events from a child control to a parent From the KeyPress event help: To handle keyboard eve ...Show All
