Guenter's Q&A profile
Visual C# Does someone have the sample or documentation icrosoft.WizardFramework in VS2005?
I have found vs2005 has this file,but there is no documentation about it. I hope someone can give some samples or documentation about it. Thanks a lot. My email is uumlwy@126.com msn is marian_winny@hotmail.com ...Show All
Visual C++ Getting LNK4224 with B2 - what's the story?
Hi David! When building projects with VS2005 B2 I'm now seeing lots of these: mymodname.obj : warning LNK4224: /COMMENT is no longer supported; ignored While the message is straightforward, what's the story behind it The "/COMMENT" was marked as depricated in VC2003 and is now consequently removed... You should use " #pragma comment" instead. The reason might be: more C++ conform. -- Greetings J ...Show All
Visual Basic checking properties of folders
Hi all, I am trying to run some processes to tidy up our SAN storage. A couple of the things I am struggling with are : 1) Checking the security of the folder properties to check who the owner is 2) Checking the security of the folder to check if "Inherit" is ticked 3) Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this ...Show All
Windows Forms How to access to Task Vision?
Plz give me an acccount of task vision, I don't know it! Thanks a lot! ...Show All
Visual C# Encrypting (Appended) text file
I need to append a txt file every minute or so.. I have to encrypt the line before saving. The new line will have line breaks...and the routine must support all chars. I can encrypt it using: private static string ES( string InputText, string Password) { RijndaelManaged RijndaelCipher = new RijndaelManaged (); // First we need to turn the input strings into a byte array. byte [] PlainText = System.Text. Encoding .Unic ...Show All
Visual Basic Operator Overloading and Enumerations?
Is there any chance that in future versions it will be possible to overload operators for enumerations I was very skeptical if it was really necessary to introduce this feature to VB. I almost never missed it. As someone with Pascal background I like speaking numbers, so I often use enumerations. <Flags()> _ Enum SampleEnum Value1 = 1 Value2 = 2 Value3 = 4 Value4 = 8 End Enum I would like to wri ...Show All
Windows Forms MouseDown in Client Area of MDI never fires?
Very strange; it never fires. Oddly (to me), if I assign a ContextMenu to the MDI form, it comes up fine with a right-click in the form, but it also comes up with a right-click on a MDI child form, unless the child has its own context menu. The problem I have is I create a context menu when the user clicks in a certain area of the MDI form; when that happens, the static MDI ContextMenu is also displayed. If I can detect the MouseDown ( ...Show All
Visual C# Locating an .exe's path
In my C# app I need to find the directory where another app is located. For example, say I need to know which directory Internet Explorer is run from. I know it's run from "C:\Program Files\Internet Explorer\", but how can I get that from within my app I can't hard code the path since on different machines it could be located in different directories. I found a thread which showed how to do it for your own app (Application.Execut ...Show All
Visual Basic Very slow speed on displaying controls in a form
How to improve the display performance on dynamics create controls on form load event The following code is very slow. Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .Location = New Point(0, 300) Me .Size = New Size(800, 300) Me .Refresh() Dim but As Button Dim x As Integer Dim y As Integer Dim bHeight As ...Show All
Visual Studio Express Editions Help Authoring
Will Express accept a chm help file If not what type of help file does Express require and is there a converter from chm to Thanks Take a look at this article : ...Show All
Windows Forms How can disable the context menu?
I have created a menu ContextMenu1, I hope the pop menu don't display in some situations, how I can do thinks! private void ContextMenu1_Popup(object sender, System.EventArgs e) { if (condition==true) { // Don't pop the menu, how can do I } } In VS 2005 with ContextMenuStrips, handle the ContextMenuStrip.Opening event, which gives you a CancelEventArgs argument. Set e.Cancel = true to cancel opening the ContextMenuStrip. ...Show All
Windows Forms beginer in need of help
I'm using Visual Basic 6 and I'm try to make a program that makes a list of items and that check that all the items that are enter are unique. This is the code I'm writing can someone kindly point out my mistakes. Option Explicit Private&n ...Show All
Visual Studio Team System Disconnected source control
I was wondering if Team System has the notion of disconnected source control. When I moved my laptop from the domain and opened up a project I was greeted with a couple errors and then my solution was no longer under source control. So now rather than checking out the file I have overwrite the readonly copy. Is there some way to have the file checked out and show it in the pending checkin so when I reconnect I can continue as i ...Show All
SQL Server Seems SCOPE_IDENTITY() returns @@identity+1 in SQL 2005
hi, In SQL 2005, seems SCOPE_IDENTITY () will return the next available identity key. This is different with SQL 2000, anybody knows why Microsoft change like this Thanks Bill I hope I am not telling you to suck eggs here, but nore that SCOPE_IDENTITY () returns the last identity field created in the current scope, not the last identity field returned period. Other than that, I am not sure why you are getting that. Try ...Show All
.NET Development .Net wsdl:import problem when parsing a wsdl made with websphere / java
Dear developers, using .Net as a client for a webservice, which seems to be build with IBM Webshere / Java, results in a wsdl parsing error with the following message: The HTML document does not contain Web service discovery information. From what I have discovered, the problem remains on parsing the wsdl:import statements which are included the wsdl because it is splitted into several wsdl files which are combined using the wsdl:import statemen ...Show All
