Michael J. Liu's Q&A profile
.NET Development Setting "Text" variable in combo box
Hi! Normally, my combo box is non-editable and has items in it. However, when I don't have any items, I want to offer a "< New >" option, which users would select, then they'd type in the name in the combo box, and a new option would be selected. So, here's what I tried: private void ClientComboBox_SelectedIndexChanged( object sender, System.EventArgs e) { &n ...Show All
SQL Server Wishlist: MOST WANTED Tasks, Sources, Transformations, and Destinations?
Until there's an Integration Services 2.0, what custom components would you most like to see examples of The documentation team is starting work on the 2nd Web refresh of Books Online and SQL Server samples, anticipated for release around April, and may be able to incorporate some requests as samples or BOL topics. I scanned Kirk's "Requests" thread and, although many requests are for tweaks to existing SSIS widgets, I noted the following ...Show All
Visual Studio VC++ error while compiling
Hi When i compile any file in VC++ 2005 express, I get the following error: c1xx : fatal error C1083: Cannot open compiler intermediate file: 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\_CL_6fd3eb94ex': Permission denied I cant figure out what to do here Also, trying to uninstall this beta express edition(to install the release version), it virtually hangs the PC and does not uninstall the VC# and VC++ expresses. I am using the uninstall tool ...Show All
Visual Studio How to get the build order via an EnvDTE API?
I have an addin that needs to know the build order as it is listed in the VS Solution|Project Build Order dialog. While analysing the dependencies for the projects is great (and works for projects that have an expressed dependency), I found that the project build order for unrelated projects is fixed (and frequently relied upon by solutions), but as far as I can tell there is no way to figure that order out programatically. The build order ...Show All
Visual C# Drawing Windows borders on user controls
Hi, I have a user control which I have created, but for the life of me I cannot figure out how to give this control a border like Windows XP common controls have (with visual styles enabled). I have used the familiar CreateParams way for a while now, using WS_BORDER for FixedSingle and WS_EX_STATICEDGE for Fixed3D, but these both give pre-WindowsXP border styles. How would I be able to create the nice, blue border Windows XP common controls h ...Show All
Smart Device Development IrDA connection and Emulator
Hi all! I can't figure out how to emulate the IrDA port in the Device Emulator that is shipped with Visual Studio 2005. I have installed AciveSync 4.0 but, every time I call the IrDAClient.DiscoverDevices methods, it doesn't recognize any device, unless there is a mobile phone with a IrDA port (Nokia 6610). What is the problem Marco Minerva, marco.minerva@tiscali.it Let me investigate a little and I'll post a reply back to this me ...Show All
Software Development for Windows Vista Dependency Property
I have a custom activity derived from HandleExternalEventActivity that I have generated from a interface using the wca.exe tool. On this activity there is a dependencyproperty Approved (type bool) generated. The value of the property is set in the eventhandler for the activity. I have placed my activity inside a while activity that I have set up to have a Declarative Rule Condition that is set up like !this.pageApproved.Approved When I deb ...Show All
Visual C++ iostream.h
Ciao a tutti, sto provando a usare visual c++: ho creato un'applicazione console con il seguente sorgente: // // PRIMO.CPP // Il primo esempio in C++ // #include <iostream.h> main() { cout << " CIAO MONDO! "; return (0); } Ma compilando mi da errore: dice che non puo includere il file iostream.h Io pensavo che le librerie venissero trovate in automatico. Cosa devo impostare grazie ciao:) ...Show All
.NET Development First asp.net webform
Greetings. I am learning asp.net with vb to manage my husband's online medical study. I need to get info. from forms into a simple online database in Access. Yes, this is utterly primitive, but I really do need some assistance. My server supports asp.net 1 and ado.net. The first thing I need to do is convert my html forms (which were pre-migration running perl .cgi scripts) to asp.net. I have done that only in the cosmetic sense (no code ...Show All
Visual Studio Team System web.config file section replacement
The Visual Studio 2005 Web Deployment Projects add-in ( http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx ) enables you to change the web.config file during compilation. Can Team Build do the same I have installed the Web Deployment Projects add-in on the Team Build server. I added the following code to the the TFSBuild.proj file. It builds successfully but does not do the replacement. < ItemGroup > < W ...Show All
Windows Forms Importing ActiveX Controls into .NET
I am experiencing a problem when adding ActiveX controls onto a form in .NET when the account I am logged into on XP does not have full administrator rights. I can successfully add the control to the Toolbox, however when I try and create a control, eg the Microsoft Rich Text Control 6.0, on the form the references are successfully created and then I get the following error: "One or more of the types in the assembly unable to load ...Show All
Visual Basic numeric calculations problems
Hi guys, I have a problem in working out some calculations within a form. My form is called, claddagh_database, which is linked to data from an access database using Jet 4.0 I have some fields with money values in, Total value inc VAt, Deposit, Stage Payment & Balance Payment. In access I had a field called Money Due, which was calculated using the expression Sum=([Total Value Inc Vat]-[Deposit]-[Stage Payment]-[Balance Payment] This t ...Show All
Visual Studio Tools for Office Display the Content of the Uploaded file in the InfoPath Form.
Dear Friends, I have some problem regarding InfoPath 2003. How can I display the Content of the Uploaded file in the Infopath Form. For Example ...if I upload the one Excel Sheet file (.xls)...After uploaded...The Form will display the Excel Sheet content on it (Obviously in the same Form). My Questions is it possible . Anyone can help me . Vasanth. Hi Vasanth, Unfortunately, there is no control in InfoPath to do this. Keep in mi ...Show All
.NET Development ObjectFromLresult Interop Question
I am attempting to get a reference to the currently open IE browser objects and am having trouble getting a call to return the desired object. I am getting the handles for the browsers objects by enumerating using the Interop call: [DllImport("user32.Dll")] public static extern int EnumWindows(IECallBack x, int y); This is working fine and I am able to both the IEFrame and the "Internet Explorer_Server" window h ...Show All
Visual Studio Express Editions Failed to start monitoring changes
i'm not sure if this problem belong to this forum, but it started only after a start to use visual studio express (web developer). when i try to build a website i get the folowing error: "Error 1 An error occurred loading a configuration file: Failed to start monitoring changes to 'Z:\lina\a\pics' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base a ...Show All
