Sydney Maxwell's Q&A profile
Visual Studio Express Editions How can I open/convert vb 2005 express project in VB.Net 2003?
How can I open/convert vb 2005 express project in VB.Net 2003 Thanks in advance You can't. If it has any forms, they will use partial classes, one of many VB2005 features that are not in VB2003. The solution file is incompatible. It's a very, very manual process. ...Show All
Visual Studio Changing default behaviour of GenerateResource
Hi, The strongly typed resource class that's automatically generated by the designer from the .resx file results a in a class that's internal, whereas I'd like it to be public. The background to this is in a message I posted earlier today: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=187755&SiteID=1 It seems the problem should be solvable by customizing the build process somehow. This is what I've tried so far: 1) Modified GenerateResource task in the Microsoft.Common.Targets file so that PublicClass="true". Doesn't work--generated class is still internal. 2) Changed the Build Action of the ...Show All
SQL Server COLUMN SCOPE IN T-SQL STATEMENT
Greetings! I am having a problem with the following T-SQL query: SELECT ONO.ORDER_NO, ( SELECT COUNT(*) FROM ( SELECT * FROM Hydro_TIMES.dbo.TISTIACT AS iACT WHERE iACT.ORDER_NO = ONO.ORDER_NO ) AS INI ) AS ORDER_NUM FROM ( SELECT ORDER_NO FROM Hydro_TIMES.dbo.TISTIACT ) AS ONO When I run the query I get the following error message: Invalid column name 'ORDER_NO'. I have highlighed in red the place in the query where the error appears to be occuring. It seems that the sub-sub-query highlighted in green ...Show All
Visual Basic Retrieve the ID of a new row
I have two table: Category and Product. The second one has a column CategoryID referring to the Category ID. Now, I need to add a the same time a row on Category and a row on Product with Product.CategoryID =Category.ID If a create a new row on Category I don't know the ID value of this, because it's autonumber and I don't set it, it's automatically created. If I have to create just after that the row on Product, how can I set the CategoryID How can I find the value of ID of the new Category row just created Thanks in advance Dado What type of database are you using I know in SQL Server, you ca ...Show All
Windows Forms How to multi-select nodes in a TreeView?
How to make nodes multi-selected in a treeview control just like what I can do in the visual studio solution explorer. Thanks. There is not a method or property of the treeview control or the nodes collection that allows you to multi-select nodes....you would have to cutomize/extend the treeview control yourself. ...Show All
.NET Development app.config xsd. (Invalid schema elements)
Hi, In moving from .NET 1.1 to .NET 2.0 I note that the new configuration attributes and classes based on ConfigurationManager validate the app.config file. I receive several warnings and messages abount unknown elements in the config file, even though I have declared my config section and used all the necessary attributes. Is there a way to associate my configuration section with an XSD to stop this from happening. I wish to remove the messages which I see every time I build. I have posted on this topic before, but nobody seems to have an answer. I've been wondering the same thing. I'm thinking ...Show All
Visual Studio Tools for Office pivot table Line Graph.
I want to take a report on post testing process. Testing started on 1 Sep 2005 to 28 Feb 2006. In the data we have three columns 1.BugDetectedDate 2.BugFixedDate 3.BugNumber I wnat to plot a line graph where in X-axis is time in weeks. Y-axis is number of bugs. There should be two lines in same line graph one for bugs detected per week and another for bugs fixed per week for the whole testing period mentioned above. Hi, It's unclear reading from your post that you need help on creating this chart, or you need help on programmatically creating this chart. It's also not clear to me whether you ...Show All
Smart Device Development The SaveFileDialog Control
the Save File Dialog box always display the Main memory (My Documents folder). How to change it become the SD Card as default Hi albertkhor, We don't support changing the SaveFileDialog's default location to SD Card currently. Cheers, Anthony Wong [MSFT] ...Show All
Visual Studio Express Editions Phantom SQLEXPRESS
My installation for SQLExpress April CPT always fails because according to the installer, there are still components in http://lab.msdn.microsoft.com/express/uninstall/ that I haven't uninstalled. I already uninstalled everything. The weird thing is, I still have the SQLEXPRESS service running and the SQL Computer Manager . I have a haunch these two are the culprits. The problem is, I cant find them in "Add/Remove programs". I do have a SQL Server and MSDE. How can I uninstall that SQLEpress Could you try the clean up tool http://astebner.sts.winisp.net/Tools/vs2005_beta_cleanup_tool.zip ...Show All
Visual J# how to create DLL file in J# or convert J++ dll into J# dll
Please help me...I know nothing about J#. The following code is written by J++ for dll file. I need to either convert those code into J# or create new J# dll file. However, I have no clue how to start it. Could someone help me as soon as you can. I really appreciate it. I only have one day to finish this assignment. import java.io.*; /** * This class is designed to be packaged with a COM DLL output format. * The class has no standard entry points, other than the constructor. * Public methods will be exposed as methods on the default COM interface. * @com.register ( clsid= ...Show All
.NET Development Generating documentation for my XML
I work on an application that has a steadily growing number of configuration settings that can be specified in the application .config file. I would like to create documentation for this XML, similar to what I see in the .Net Framework reference (example : http://msdn2.microsoft.com/en-us/library/ms228256.aspx). Are there any tools (with the .Net SDK, NDoc, etc.) that allow me to generate XML documentation similar to what I see in Microsoft's docs Thanks, Andrew Brown Asset Management International Andrew, T he November 2006 CTP version for Sandcastle is now available for download at http://www.micro ...Show All
.NET Development How to pass parameter to attribute in XQuery? Thanks!
How to pass parameter to attribute in XQuery Thanks! I have stored the XML content (Part 3) to a XML field in a database of SQL 2005. When I run the code Part 1 in SQL Express Manager, I can get correct result, but when I run the code Part 2, the result is blank, why //------------------------------------------Part 1---------------------------------------------------------- select Bookmark.query('declare namespace Res=" http://www.hellocw.com/onlinebookmark "; //Res:Folder[@Id="a6dce8fe-749c-4e38-ab2f-3d03d9711b3d"]/Res:Bookmark') from cw_bookmark where userid='61809B69-4AD5-40E4-B456-D957C78DD99E' //------------------------------------- ...Show All
Visual C# Screen flicker
The problem is: I got a form with many labels and panels, in order to simulate the look and feel of a webpage table, the problem is that after all my controls are added, i get a lot of flicker when the form loads... this is a bad effect... how to get rid of it Now for some more information on the problem: the form consist of a TabControl wich inside has some user controls that holds the labels and else. In the user controls I define a background image of 1x400pixels to simulate a gradient, then the background color of the userControl is set to transparent so all its children inherit the color. The form and the control itself has the double ...Show All
SQL Server SSIS Package failing in SQL Agent only
Hi, I have an SSIS package that contains a single data-flow task: Exporting from a SQL Server table to a tab-delimited text file. When I run the package in BIDS or within SQL Server it runs fine, but if I try to run it from within a SQL Agent Job it fails. The step contains the following Command Line configuration: /DTS "\File System\GfKLoad1" /SERVER "SCSRV-DR2" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF When I run dtexec from a command prompt with that argument it works. Maybe because the package writes to a text file there are permission issues Any help is appreciated. I am getting th ...Show All
Visual C# using ExecCommand to copy in MSHTML
I am working on an editor using mshtml. I just cannot get cut / copy / paste to work with ExecCommand. All other command identifiers seem to be working well. Here is my code: public partial class Form1 : Form { private static HtmlDocument htmldoc; private bool fireonce = false; // fire previewkeydown only once public Form1( ) { InitializeComponent( ); } private void Form1_Load(object sender, EventArgs e) { webBrowser1.Navigate("about:blank"); webBrowser1.Select( ); } private void webBrowser1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { ...Show All
