michael.wu's Q&A profile
Windows Forms Lost Article I cannot locate about WinForm Concurrency
Ok. I have been searching for an article that I read 4 months ago, and can't find it. Maybe someone here has seen it. I have searched on keywords, and looked about 1000+ pages trying to find it with search tools. The article was about handling concurrency in a windows form application. The author explicitly says "since web environment is disconnected,&nb ...Show All
Visual Basic tableadapter.insert
I've been using this handy little function tableadapter.insert, but now I'm trying to figure out why I have to specify the parameters individually, rather than putting them into a nice array or collection. It seems like it should be able to be done. Here's the concept: I have a sequential file that contains data. I can parse this thing into multiple array elements, each containing the data for a field in an access table. Then, even if I had 50 fields, I could just call dim myDataArray(100) as string for i=0 to 99 'put some data in each array element next i tableadapter.insert(myDataArray) and it would work. But it does ...Show All
SQL Server DTS Migration from SQL Server 2000
I’m currently evaluating SQL Server 2005 to what advantages there would be to upgrading from SQL Server 2000. Our existing systems make much use of DTS so it critical for us to be able to run SQL Server 2000 DTS packages in SQL Server 2005. Having installed the Enterprise SQL Server 2005 CTP successfully on a new Windows 2003 server and following the advice to install Legacy Components I find the Migration Wizard (under Legacy> Data Transformation Services) fails with the following error after entering source and target dialogs: This wizard will close because it encountered the following error: Additional Inf ...Show All
Windows Forms Need a fuction to avoid strange characters in e-mail
I'm writing an application where POP mail is one functionality. Not a big problem, but the mail including headers comes as quoted_printable, which means extended ASII characters are displayed like =E9 etc. Does anybody know of a method to parse e-mail messages and convert these codes to the correct characters As far as I know, there is no  ...Show All
Windows Forms Custom Actions: FolderBrowserDialog not working properly
I have added an installer class with the wizard and use a custom action to start my custom action in the installer class. But when I try to show a Folder Browse Dialog, the folders are missing, so there is nothing to browse with! All the buttons are there OK. Imports System.ComponentModel Imports System.Configuration.Install Public Class Installer Public Sub New () MyBase .New() 'This call is required by the Component Designer. InitializeComponent() 'Add initialization code after the call to InitializeComponent End Sub Public ...Show All
Visual C++ CWinFormsDialog in MFC
Is there any way of instantiating a CWinFormsDialog directly from an MFC MDI application's MainFrame object I have studied your MFC Windows Forms integration sample and noticed that the forms are instantiated either as doc-templates or created from a CFormView in an external DLL. I was hoping to open a winformdialog directly from the mainframe menu, but I am starting too see the limitations of the integration of winforms in MFC. Is there any other way of dealing with this issue Does the winform have to originate from a dynamically created document or could it be instatiated directly. I am trying to use it as a floating setti ...Show All
Visual Studio Team System How to build project's default platform?
Hi there How can I build the default platform of a project without enumerating all possible platforms in the <ConfigurationToBuild>-List An empty <PlatformToBuild></PlatformToBuild> aborts the build process. On the other hand a list with all possible plattforms will emerge MSB4126 warnings and what's worse, will break the build process in certain circumstances*. Thanks Volker * for details see my post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=433646&SiteID=1 There is not currently a way to build the default platform / configuration for particular projects. In loo ...Show All
Visual Studio Visual Source Safe Command Line
Hi! What can be the advantages we can get by using the Visual Source Safe Command Line In any automated build environement with multiple code trees, the command line is much more simple and reliable when trying to create a specific version of the code set. Although the GUI is fine, the automation interface does not provide a simple method to get the "latest" version of a file that is PINNED to a prior version. Automated creation of command lines is also easy due to the simple syntax, and by logging them to a file, one can always see what was attempted, and repeat or test a single step by simply cutting the line from the fi ...Show All
Visual Studio Visual Studio 2003/System Components Do not Match
This is the error message I get from Visual studio .Net 2003 Professional. Setup cannot detect the required version of Visual Studio .NET on this computer. Before you install this product, you must install a matching regional language version of Visual Studio .NET 2003. I also got a suggestion from another forum for changing to the registry to resolve the issues, but I do not fully understand how to make those changes (listed below) to the registry. Can someone help [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Setup\VS\BuildNumber] “1033”=”7.1.3088” You shouldn ...Show All
Windows Forms Hidden Fields
Hi, I have a problem with hidden fields. Is there a possibility to hide fields from the Designer, which have the Property visible=false I have dialogs, which have a lot of hidden fields, so that the designing of these dialogs is very difficult. Thanks for your help Thorsten hmmm. . . do you ever show these hidden controls or are they just holders for data if you answer no to the former and yes to the latter, I suggest you are probably looking at things completely backwards. You shouldn't be using controls as a data structure to hold your data. The controls are the presentation layer - the ...Show All
.NET Development Test Message. Please ignore
Test Message. Please ignore Please consider posting test messages as comments, rather than questions. That helps us track question statistics more accurately so we can see which forums need more attention. TIA. ...Show All
Software Development for Windows Vista Problem creating a custom activity with setstate
Today I wanted to create a custom activity that does the following: First a question is asked using the MessageBox class. The user can click Yes or No. Based on the answer the workflow has to change to a different state. I added a property Question of type string to my activity. Also I added a property Confirmed of type boolean to store the answer of the user. Then I added a Code activity and programmed the question part. Then I added an IfElse Activity to my activity. The condition is based on the Confirmed property. Now I wanted to a SetState Activity to both branches in my IfElse activity. ...Show All
Visual Studio Express Editions Data not updating: VB 2005 Express Tutorial
Hi! I'm new to VB and databases, so I'm working thru the below linked tutorial provided by MSDN: http://msdn2.microsoft.com/en-us/library/es6f6ht5.aspx My code is correct and I have followed the directions to a T. However, I cannot get my database to save changes using either the BindingNavigator control or by (attempting) to force it to update using the TableAdapter.Update() function. Here is all the code I have for the lesson: Public Class Form1 Private Sub AddressesBindingNavigatorSaveItem_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles AddressesBindingNavig ...Show All
Visual C# Problem loading web forms
I am new in C# and I am building a simple web form with just a label, but when I try to run it, comes a messages saying that the page cannot be loaded. What coud it be Is it user permissions or somethig Thanks I had similar problem but now it is ok. what i did is simple. the problem is with the configuration of Internet explorer, not with the server or code. do the following on internet explorere. Tools -> Internet Options -> then on Programs tab, click the Reset web settings button. Now it should work good luck ...Show All
Visual Studio Express Editions Updating a combo box
I am new to VB express and have what is probably a basic question that I just can't seem to find an answer to. I have a Vendor form which has several bound combo boxes on it. These controls display data from a parent Vendor table and a few related tables such as City. I can get the form to display, add, edit and save information for these vendors but I can not seem to figure out how to update the look up tables (or combo boxes). An example (the one I am struggling with) is the City combo box on the form. It nicely displays the values (that I have plugged in manually to a separate City table) in a dropdown and saves my selection back to the ...Show All
