shamrock17's Q&A profile
Visual Studio Simulate DependentUpon with DTE class
I'd like to know if it is possible to create the following project file structure (dependency) with the DTE class. <EmbeddedResource Include="UserControl1.resx"> <DependentUpon>UserControl1.cs</DependentUpon> </EmbeddedResource> <Compile Include="UserControl1.cs"> <SubType>UserControl</SubType> </Compile> <Compile Include="U ...Show All
Visual Studio Team System Cannot See the Distributed System Designers Options
Hi I have been trying to install the VS2005 to get the Distributed System Designers . But have not been able to get the Appication designers/ Datacenter designers in my VS2005. I am able to see all other kind of projects. Please advcie how can i get them. Is it a small module to be installed or the version that we have is not correct. Please send the download information for correct modules... Regards C P Singh If you ...Show All
Visual C# How do I access the application Form Name?
Please excuse this question. I'm currently learning C# "on my own". My application is an MDI with several child forms and I want to enable/disable the buttons on the active form by calling a method that will accomplish this for each form that calls it. I created a test app and thought I had the solution; however, I am at a stopping point and can not figure out how to solve this. Can someone please show me what I am ...Show All
Windows Forms Is it possible to use the IDE's code editor control in your own program?
I've got a project that involves compiling code at runtime from a textbox. I'd like to have the usual syntax highlighting and whatnot from the IDE in my program. I know that's a big ask, but I just wondered whether the control in the IDE is defined anywhere as a common control I can use. If not, what are the alternatives for a code editor control Thanks, Aaron. What you have out of the box is the RichTextBox, you should implment the syntax ...Show All
SQL Server failure in starting the process for the user instance
High everybody, I have a set of winforms (.NET 2.0 assemblies) ( 6 total ) that each tries to open a connection to the same Database file using the same connection string. In the connection string, UserInstance is set to true. If each winform is started manually after opening the session on the computer, the connection to the database performs well for every winform. If the same winforms are automatically started at the opening of the u ...Show All
Visual Studio Reportviewer and credential
Hi, I would like to create a link between my report server (SSRS 2005) and my ERP But when I compile I have this message : The request failed with HTTP status 401: Unauthorized. I add a network credential as I saw in sample. But I have another if (!IsPostBack) { ReportViewer2.ServerReport.DisplayName = "Text Report Viewer" ; ReportViewer2.ServerReport.Report ...Show All
Visual C++ wcsstr with a const return type in rc1 header
Hi 40th Floor! > _CRTIMP __checkReturn _CONST_RETURN wchar_t * __cdecl wcsstr(__in_z > const wchar_t * _Str, __in_z const wchar_t * _SubStr); > > What's the deal with the "const" on the return in > > ...\Microsoft Visual Studio 8\VC\include\string.h > > when the docs I see show > > *wchar_t *wcsstr( const wchar_t* */_string_/, *const* *wchar_t* > */_strCharSet_/ *);* It seems that the docs (or the standard) are wrong :-) ...Show All
Visual C# Error accessing win32, VC++ 2005 dll in C# 2005
I'm trying to call a win32 library function that I have authored in VC++ 2005 from C# 2005. I get an exception from the C# program that reads "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." I cannot step into the function in the dll for some unknown reason, so I have no idea which parameter is causing the problem. Here's the function declaration in VC++ PEAKDETECT_API void ...Show All
Windows Forms application.run
I can't understand what does Application.Run method really do. It load a form, but how can I reference to this form after that If I create a new instance of the form in main sub and then I pass it to Application.Run, I have the&n ...Show All
Software Development for Windows Vista Developing Composite Activity
Hello, I want to develope a composite activity with an invokemethod and an eventsink. This will use a correlation parameter and my idea it's to set the parameter on the first activity to use it on the second one... How do I develop an activity like this Is there any examples Regards, M The Expense Reporting sample at http://www.windowsworkflow.net/downloads has a composite ...Show All
Visual Studio Express Editions newbie vb.netexpress2005 "Patrice Pelland" lost p76 and more
Hi all, trying to get started. Item: Savefiledialog, openfile dialog p77 of book item 2 "click the little blue disc ..." on tool strip . I cant see it anyone got a screeen shot or other help P76 when I drag in savefiledialog thats what I get but book indicates this action should associate with menuStrip Toolstrip and Tool tip. Dragged those in too anyway Stiil cant "wire" from teh "little blue disc" I ...Show All
Windows Forms problems modifying access db data...
Hi, I have an access database with these tables: TableName : General Columns : ID, Name, etc... TableName : Blah Columns : ID, Whaever, etc... TableName : Buh Columns : ID, Date, etc... Now, ID is supposed to be a primary key in all tables, and in the ta ...Show All
.NET Development Sorting Does Not Work for Select Function in DataTable in Framework 2.0
Hi, I would like to report a bug in DataTable select function. I entered statement 1 in red below but col4 is not sorted. Sorting works for statements 2 and 3. Would like to confirm if this is a bug and when it will be fixed. Thanks in advance. Problem Description: Sample code namespace testDataFilterSort { public partial class Form1 : Form { public Form1() { InitializeComponent(); DataSet lds_data = n ...Show All
Visual Studio Copying files
Dumb question of the day but can someone please tell me why this works (ie, it lists files): <ItemGroup> <MyFiles Include=" \\someserver\someshare\droppath\somebuild\Debug\*.dll " /> </ItemGroup> <Target Name="Build" > <Message Text="@(MyFiles)" /> </Target> and this doesn't: <ItemGroup> <MyFiles Include=" $(DropLocation)\$(BuildNumber)\Debug\*. ...Show All
Visual Studio 2008 (Pre-release) Modal Anything!
Hi, I know this is problably an over discussed topic, but really, when are we finally going to have a modal window dialog By that I mean a dialog that can be show modal and have nice rounded edges and so forth The .ShowDialog window is really ugly and I really need nice modal windows at this point, seeing as the MessageBox itsel is really ugly, I need to make my own MessageBoxes and create Modal Input windows. Please can anyone help me ...Show All
