Hu Xinrui's Q&A profile
Windows Forms Adding plug-in assemblies to ClickOnce manifest
I have a shell application that dynamically loads plug-in assemblies at runtime. I can use ClickOnce to deploy the shell application just fine. However, these plug-ins are not referenced by the application so they don't show up as available to add from the "publish" settings screen. I can get things to work if I add the plug-ins as a "Content" item into the shell project but that's pretty ugly. All I'm looking for is the updater to be able to detect if new plug-ins are available and, if so, download. This was easy to do with the Updater block, since you identified each file to be checked manually. What is the equivalent way to do this using ...Show All
Visual Studio Express Editions Strange error when trying to create a new project.
I recently opened a project that I had already created and edited it. After saving and closing, I went to create a new project, and now I get this error: Access to the path 'C:\...' is denied. I don't understand what is going on, just a few minutes ago I could create new projects. Also, when I try to open an already existing solution or project file, I get an error saying: Unable to read the project file 'example.vbproj'. The path is not of legal form. What in the world does that mean! lol Any help as to how I did this (I'm sure I messed something up when editing my other project since software doesn't just screw up on its ...Show All
Visual Studio Team System VSP1014 Error during instrumentation
I am trying to profile our C/C++ application and get this error when trying to instrument our largest DLL (12 meg): Error VSP1014 : Code discovery analysis failed during processing image '|2'. Has anyone seen this and know what is wrong Roger Roger, this usually means that your C++ application has a statically linked library for which .pdb symbols are not available. The only workaround for this problem in V1 is if you can get the third-party code into a DLL. ...Show All
Smart Device Development Can't change Label BackColor in designer (VS2005 Final)
Hello, The environment Visual Studio 2005 Final, Smart Device Application for Windows Mobile 2003, using .NET Compact Framework 2.0. The problem I have uninstalled VS2005 Beta 2 (using the automatic uninstall tool) and then installed VS2005 Final. When I add a Label control to a blank form in the designer, I can't set the Label BackColor to a Web or Custom Color. It seems that when the underlying Form has the System BackColor "Window", it affects the Label controls. If the underlying Form has a Web or Custom color - the BackColor of the Label can be changed - however the BackColor in the list of Properties  ...Show All
Windows Forms Problem with picture box
Hi, I have problem with binding picturebox to a data set. I have MS Access 2003 database with just one table: Persons: id (AutoNumber) - Primary key name (Text) - not required adress (Text) - not required photo (OleObject) - not required I have created data source using wizard, and placed appropriate controls (by dragging them from datasource) on my form. Visual studio automatically created personsDataBindingNavigator, personsBindingSource etc. Then I created click event for photoPictureBox control, which displays OpenFileDialog, and then sets photoPictureBox.Image property to chosen image. private void photoPictureBox_Cl ...Show All
Visual C++ Invoke the MS C++ Compiler at the run time
Hello, I really don't know if this related to this forum, But I thought a lot and I found it suitable. All I just want is invoke the MS compiler at the run time and give it the suitable parameters for compilation. and get the errors of it. This is really a useful for our project. Will we invoke it using the shell api!! Thanks, Mustafa ELBanna Yes! The compiler is just a normal console program, so you can redirect the output accordingly. The pathes and environment variables should be set correct. ...Show All
SQL Server Does a checkpoint file record a package's state
The state of a package at any one point in time is determined by the values in all of its user variables as these are the only properties in the package that can be changed and persisted throughout the runtime of the package. Is the package's state stored in a checkpoint file in the event that the package fails In other words are the user variable values stored in the checkpoint file Thanks Jamie I disagree, I believe this is only true for simple variables. I have stored a recordset in a variable and this wasn't stored in the checkpoint file. Either object types aren't supported or there is something about wh ...Show All
Windows Forms Why does the ClickOnce 'Install' button generate an xml page instead of starting download?
Hello, I just published my application for ClickOnce deployment to my web site. When I click on the Install button on the publish\publish.htm page on my website, the browser returns the contents of an xml file and does not start the download. Does anyone know what might be causing this Any help or suggestions would be greatly appreciated. Thanks! Jason I have the exact same problem, on my pc running vista it works perfectly but on xp using IE 6 it doesn't work and i had it test on a few other people's computer they have the same problem they get the xml also the webhost have the mime types set and t ...Show All
Visual C# Regarding Class
Hi, I'm facing a small problem and it would be great if someone could help me. Imagine I have a class which has a property called say "setvalue". Now the class should be designed in such a way that when I create an object of this class, lets say that the object is objClass, there should be a value set for the property "setvalue". For example like objClass.setvalue=1; .If no value is set I should get an error during compile time itself. Can someone tell me how I can do this. It would be great if you can provide me the code too. Thanx & Regards, Frenzy Just take the value as a a ...Show All
Visual Studio Team System Error 28806 - TFS Single Server Install
TFS single server install, not an upgrade, RC. Near end, receive the error... Error 28806.An unexpected error has occurred. Verify that SQL Server 2005 Reporting Services report server is installed and running, and that you have sufficient privileges to access it. For more information, see the setup logs. Here are the log entries. MSI (s) (68!C0) [15:12:07:467]: Product: Microsoft Visual Studio 2005 Team Foundation Server - ENU -- Error 28806.An unexpected error has occurred. Verify that SQL Server 2005 Reporting Services report server is installed and running, and that you have sufficient privileges to ...Show All
Architecture Entities
I'm starting the following project: A multi database (SQL Server, Oracle and Firebird) using Winforms in the presentation layer and Web Services in the middle tier. My principal question is about the best way to implement the entities transit between the layers. I'm thinking in this option: a typed dataset based entities without the default adapters created by the VS 2005. Instead I will use a Helper class to factoring the multi database feature and generate the required DataAdapters. I'm free from develop own class for each entity of my system and I could use the benefits of binding and serialization of the datasets. In addition, I wi ...Show All
Visual Basic Referencing the current DataRow?
Ok. So I have set-up a form which includes a datagrid. Now I want to implement a "cut and paste" function. i.e. Allow the user to cut a database record from within the tablegrid view and paste it as a new copied record. How do you find out what is the "current" selected row within the datagrid MRW Hi, For System.Windows.Forms.DataGrid class, there's CurrentRowIndex property. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformsdatagridclasscurrentrowindextopic.asp For System.Windows.Forms.DataGridView class, there's CurrentRow ...Show All
.NET Development Icons for files - by extension
Hi, I'm trying to populate a treeview with files in a folder and would like to show the icons for the file. How can I get the icons when I have the extension For example, ".doc" would give me the icon with the w. I want it to look like Explorer and have all registered files show icons. Thanks Thanks, David, but I belive that only gets icons from within the file. That's OK for excutables, etc. But, I'm also looking to get an icon associated with data and other files. See my .doc example above. At the moment, I'm doing an Explorer look-alike, and want to see icons for everything (eve ...Show All
Microsoft ISV Community Center Forums The official welcome post
Welcome to the ISV architecture forum. The goal of this community is to create a forum where architects from Independent Solution Vendors (ISV’s) can discuss solutions architecture and how to implement these using the Microsoft platform. Since no application is an island, topics can include Identity and Access management, how to integrate and interoperate with other platforms and systems as well as other topics architects care about such as security, related tools and processes. A broad architecture forum will of course create some overlap with other one-topic-forums, but with an ISV specific forum I hope we can disc ...Show All
Visual Studio runtime crystal reporting
hello, I found craxddrt.dll used for runtime crystal reporting in VB6. I need to do runtime reporting in c#.net. Is there any dll like craxddrt.dll which can be used in c#.net for runtime reporting. If there is then can any one send me the dll i will be very much thankful. Is there any alternative for run time reporting in c#.net. MrBenz, Could you clarify your question a litte more with some sort of sample of what you are trying to accomplish Are you talking about having a generic application that will open reports from a folder or are you talking about an application that emb ...Show All
