Alex cai's Q&A profile
Windows Forms Themes on Windows Forms
Is there a way of applying different themes on Windows Forms For example, what if I want to apply Office 2003/7 theme If its possible, please also let me know what I would need (maybe DLLs or something) and where to get the stuff. ...Show All
Visual Studio Team System Installing Team Explorer over Visual Studio 2005 Professional
Are there any adverse side-effects to installing Team Explorer on a computer with Visual STudio 2005 Pro installed i.e. will the Visual Studio 2005 Premier Partner edition affect the Pro installation at all Nothing I'm aware of. Your source control plugin will have TFS added and you may need to set that to whatever you are working in (VSS, Starteam, etc). Otherwise VS2005 will have Team Explorer as an option since Team Explorer is integrated into VS2005. Is there something in particular that you are worried about ...Show All
Visual Basic Converting types to a Generic "interface"
Hi there So i have been playing with generics and found a problem, which is not present in non generic class implementations. This might be hard to explain so i have written a little code sample, so you could get a better understanding of my problem heres my interfaces and implementations: Public Interface Interaction Function speak() As String End Interface Public Interface Race( Of T As Interaction) Function Interact() As T Function Type() As String End Interface Public Class RobotInteraction Implements Interaction Public Function speak() As String Implements ...Show All
Visual Studio Express Editions No Debug?
My new installation of the Feb05 CTP VC# Express seems to have come without a debug capability. I don't recall seeing that as a feature missing from the express editions. Both the Solution Configurations and Solution Platforms list boxes are blank and disabled. The Project Configuration tabs have no Debug/Release/All Configurations selection capability. In short, there appears to be no way of setting up a debug build although I can set the settings in the Debug tab of the Project Configuration tabs. Is this a problem with my installation of a feature (lack thereof) of the Express editions Speedo ...Show All
SQL Server Connection Manager to connect ot Access mdb
How do you setup a conntection in ssis to connect to an access mdb I have used DTS to upload access tables to sql and want to do the same in the new ssis services. I migrated the DTS package but the connection in created for the access mdb does not work in ssis and is shown to be be illegal. The migration did not post any errors when it migrated the package. Use a OLE DB ConnectionManager. What is yourmigrated package using Why is it illegal What error message do you get -Jamie ...Show All
SQL Server Error OutPut in Custom Source Component
For the Custome source Component ErrorOutput, should I go for asynchronous / synchronous Output. If i go for synchronous output // Create the error output. IDTSOutput90 errorOutput = ComponentMetaData.OutputCollection.New(); errorOutput.IsErrorOut = true; errorOutput.Name = "ErrorOutput"; errorOutput.SynchronousInputID = What Id is required here ; errorOutput.ExclusionGroup = 1; Is it the IDTSOutput90 InPut.ID / OutPut.ID which should be assigned. Thanks Regards Anil Yes. In a transform or destination I would override SetUsageType to do this, add both columns at the same time., For a source ...Show All
.NET Development How do you find a "First Chance Exception" recorded in Debug Output
I am getting the following line "A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll" in my debug output I do not know what is causing it (break points on every try/catch I could think of didn't provide any hints). The program runs and performs as expected How do you go about finding out what is causing these There is a rather lot of them occuring, and I'd rather not have them if possible Menue Debug -> Exception -> Common Runtime Exceptions -> System -> Argument Exception little_Attila ...Show All
Windows Forms Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
This is throwing me for a loop. I have a modeless form open with a richtextobx. I am using FileSystemWatch to monitor changes on a text log file. When changes are found I check to see how much the file has grown, and then read and append the new portion to the RTB. The log watcher form comes up, does its initial paint (which is NOT driven by FSW) all is OK. Some moments later when the log file first changes, and FSW gives the event, I marshal it back to the GUI thread for updating the RTB, but get this odd error. I have done this pretty much already in previous VS.NET without a hitch. As far as I know my window handle has been created at the ...Show All
Smart Device Development How Do you modify the Schema of TASKS DATABASE on WM2005?
Does anyone know how to modify the EDB schema of the "tasks database" on WM2005 Once the device boots shell32.exe already has mounted and has locks on the database preventing me from appending new columns to the schema. On Pre-WM2005 the developer could add columns without problems, but with WM2005 you can't - Does anyone know how to force shell32.exe to close all handles/sessions to the "tasks database" Thanks, Jim Row Dallas TX If you go through the POOM APIs or the Managed PocketOutlook library you can add custom properties e.g. t.Properties.Add("MyCustomProperty", typeof(string)); t.Properties("MyCustomProperty") = ...Show All
Visual Studio Problems installing sdk for 2005 april
I have VS2003 and VS2005 on my PC. I also have sdk march 2006 installed .Now I want to install sdk april 2006 but it fails because I don't have mshelp 2.0 . I can't even remove me prev version of sdk from the same reason. Don't know what it is and why I need it. Thanks Avi No solution here The error code is 1603 Avi ...Show All
Visual C# How to Clear TreeView nodes?
Hi. In my application, I run a BackgroundWorker to load content from the net. In BackgroundWorkers RunWorderCompleted event handler I want to populate a treeview based on the received content. But first I need to clear the whole treeview. When I try to clear the nodes using myTreeView.Nodes.Clear(), a TargetInvocationException is thrown. I never saw that before, so I think that background worker is to blame. Any suggestions how to clear the TreeView be careful with Invoke and BeginInvoke MSDN says: Control.Invoke (Delegate) : Executes a delegate on the thread that owns the control's underlying windo ...Show All
Windows Forms problem about TreeView.SelectedImageIndex property
hello, I have problem. The TreeView, I can't make it work! the TreeView.SelectedImageIndex property, why is it there I don't need or want the image that belongs to the selected treenode to be changed. I just want it to keep in it's original state. But whenever a node is selected, it's image changes, and I can't find out a great deal I can do about that! I tried to draw the treeview myself, but it was irritatingly not simple enough. Can anyone give me any solution ImageList_AddIcon(hImg1 , LoadIcon(hInst , MAKEINTRESOURCE(IDI_CLDFLD))); ImageList_AddIcon(hImg1 , LoadIcon(hInst , MAKEI ...Show All
Windows Forms grid, dataset, datarow
Simple question (I think), but I'm struggling with this. I'm passing a dataset and a datarow to a new form by reference. The new form uses the dataset to populate a datagrid. I want to be able to select a row in the grid, and fill the datarow with that rows data and then close the form. Then in the calling form, I will use the filled in& ...Show All
Visual Basic ComboBox
I have a combobox question, two parts: When using a combobox, normally the items are added to the drop down list by using items.add. Is there a way to have the list of items but not be hard coded into the code or require some type of database In another language I messed with, there was a string table that would be a part of the application but provided a central location for list items. Is there a way to associate items in a listbox or combobox with an alternative id... example... Alaska... AK... North Carolina... NC... in a list box... the full name of the states would be listed, but the abbreviations of ...Show All
Windows Forms Walkthrough of new Layout Properties
Windows Forms 2.0 Layout Introducing the LayoutEngine Windows Forms now has a powerful new concept of a LayoutEngine. LayoutEngine is a way of creating pluggable layouts for your controls. For WindowsForms 2.0, there are two new LayoutEngines, which have been exposed as panels you can drop onto your form. These are FlowLayoutPanel and TableLayoutPanel. New properties/methods Old ...Show All
