Armored77's Q&A profile
.NET Development Edit Policy File
Using WSE Settings 3.0, in the "Policy" folder, into Edit Application Policy you will find the "Add", "Rename", "Remove" and "Replace" buttons. What about the "Update" button, just to edit and change some value in one previous policy file Is it possible to afford in some way This is a problem, mainly when you start testing the actual samples or chan ...Show All
Visual C# Very Flaky IDE problems
Whenever I provide a DialogResult MessageBox....YesNo... Whatever the result, Yes or No....my form will close. If result is Yes...the code IS executed...then the form will close. DialogResult = MessageBox .Show( "Are you sure you want to stop the engine " , "Stop" , MessageBoxButtons .YesNo, MessageBoxIcon .Warning); if (DialogResult == DialogResult .Yes) { } note* It appears this will only happen when th ...Show All
Windows Forms Reload Form
I need to reload a form. Reset everything to it's default values as if the form was just opened. It's the only form in the project. How can this be done Thanks, Zath One way of doing this would be to use code similar to: Dim test As New Form1 test.Show() Me .Close() This code being run (obviously from Form1 itself). I did ...Show All
Visual Studio Tools for Office Office automation - getting a built-in constant with late binding from .NET
Hello everybody, Because my application has to target multiple versions of Office I've chosen to use late binding. I don't want to hard code the constants (for example Outlook.OlItemType.olMailItem) but to get them at runtime through late binding. How could I do this from C# or Visual Basic .NET Best regards, Gabriela Babriela, you can do t ...Show All
Windows Forms .application file not found
When I try to install a application I get http error 404 File not found for myapp.application file even it exist on my hard drive. How can I correct this. Thank's Sorin Sandu Romania All the three mime types are needed to be specified : .application application/x-ms-application .deploy application/octer-stream .manifest application/manifest u dont have to add the mapping of .application to use dfsvc.exe. If the mime ty ...Show All
Visual Studio Team System MSBuild call is not in TFSBuild.proj
In Beta 2 it was possible to add properties to the MSBuild call in the TeamBuild.proj file and later access them from projects. Beta 3 doesn't have that call anymore in the TFSBuild.proj... My questions are: - Is it possible to set the properties from the TFSBuild.proj file - Where is the call to MSBuild located in Beta 3 Yes, it is possible. You will need to use TfsBuild.rsp file to pass options to msbuild call. This fil ...Show All
Visual Studio Express Editions cannot display user control in test container
why Could you please be more clear in what's the error the test container is throwing Thank you, Bhanu. ...Show All
Visual Studio sgen.exe failed due to spaces in keyfile's path. How can I work around this?
sgen.exe is getting called like this (complete outout can be seen if necessary, only putting here relevant info: [vmsbuild] C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\sgen.exe /assembly:"c:\Documents and ....dll" /proxytypes /compiler:"/keyfile:c:\Documents and Settings\dansan\My Documents\src\ProjA\060608-FixScripts\SolutionFile s\Development.snk" /compiler:/delaysign- [vmsbuild] The "SGen" task i ...Show All
Windows Forms Read and view PDF files like adobe activeX
Hi, How to read and view PDF files like adobe activeX Thank's Alexei If you want to read PDF files, you must install Adobe Acrobat or Adobe Acrobat Reader on your computer, to get the ActiveX control which you must use : Acrobat 6.0 : Program Files\Adobe\Acrobat 6.0\Acrobat\ActiveX folder Adobe Reader 6.0 : Program Files\Adobe\Acrobat 6.0\Reader/ActiveX folder Acrobat 5.x: Program Files\Adobe\Acrobat 5.0\Acrobat\ActiveX folder Adobe ...Show All
Visual Studio Express Editions Embedded application Icon in exe
Hi, I have had a new icon to my project, setting Build Action to Embedded Resource. Using the application tab in the project properties, select this icon as application Icon. The result is that the ICON is not embedded in the "exe" but in a separate folder. how can I embed it in the "exe". Regards hi, i guess the question is about how can the application icon take effect and appear on the exe file , right ...Show All
Software Development for Windows Vista Problem with Lab6 - Exercise 2
I followed all the instruction up to the point where is says to: " Right-click on the FabrikamWorkflows project in the Solution Explorer and select Publish as web service " I get the following message box when I try to publish as web service: --------------------------- Microsoft Development Environment --------------------------- The web service could not be published because there is no workflow in the project that use ...Show All
Visual Studio Express Editions 'System.EventArgs' is a 'type' but is used like a 'variable'
Whats wrong with my code below Can you correct it private void txtusername_TextChanged( object sender, EventArgs e) { if (EventArgs (e) == Keys .Enter) this .txtpassword.Focus(); } } Try the KeyPressed Event and it will work fine. private void txtusername_KeyPress( object sender, System.Windows.Forms.KeyPressEventArgs e) { if (e.KeyChar == ( char )Keys.Enter) { Console.Write("a&quo ...Show All
Windows Forms Custom order of categories in PropertyGrid
Hi, I need to know how change the order of the categories in the PropertyGrid. Thank's Alexei Hi, I have found solution: For the first category (in my order) I have added character '\r' 256 times. For the second I have added character '\r' 2 ...Show All
.NET Development WinForms Vs WebForms
Where can I get the list of pros & cons generally speaking WinForms are Richable but not reachable , on the contrary WebForms are Reachable (but not richable due to performance factors). so the question is : can we have a form that is both richable and reachable at the same time . the answer is simply , yes "Click-Once deployment ". there was an old article about hosting a windows form over IIS , and this would lead to the death of bro ...Show All
Visual C# Win32 API: C++ to C#.NET
Is there any tool out there to convert a Win32 API to .NET or atleast provide code to reference methods of the API. Do you mean that you want to call the Windows API directly from C# If so, you use P/Invoke to do so. See www.pinvoke.net for details. ...Show All
