Arno Nel's Q&A profile
Windows Forms Message boxes
How do I change the options of a message box ie The buttons (making yes and no buttons) The product that I'm using is Visual J# 2005 Express Edition Beta. A response would be greatly apreciated as I am on a very tight schedule. Thank you When you need a quick response, you should try to post as much information as possible, so that the people who could help you dont have to come back and ask additional questions, like: What ...Show All
Microsoft ISV Community Center Forums Security of source code in vba
Hello, I have written an add-in using VBA in excel that I want to sell. It began as some programs to help me do things I do every day, but eventually grew enough and is useful enough that I think there will be some interest in it. However I am concerned about the security of my source code when distributing the add-in. From searching on the internet I have found at least one program that promises to unlock any protection in VBA. Wh ...Show All
Smart Device Development Serialport XON/XOFF Handshake State
Hello all I found the following problem/speciallty in SerialPort I/O with XON/XOFF handshaking. When the SerielPort is opened and set to xonxoff handshaking it is ready to send files, so it is in xon state. When I send a file to the reciever and my device recieves an xoff after the transmition is complete it is then in xoff mode. After this I can't send anymore files because the port is blocked in xoff and my reciever won't send an ...Show All
Windows Forms System.Security.Permissions exception when loading a DLL from a network
hello, I am making a DLL reference to a dll residing over a network. Everytime I do that, it gives me a system.security.permissions exception. Is there any work around. I do know that we can go to the VS.NET wizards and set the assembly to ...Show All
SQL Server Issue incorporating third parameter in report
I'm having issues incorporating a third parameter into my existing 2 parameters. I currently have them all defined and referenced in all queries, but the problem is with the criteria I think. I can get 2 of them to work together either 1&2 or 2&3 (by removing the other one), but not 1,2&3 at the same time. I'm using or conditions. Is there something I'm missing thanks. Like I said all my datase ...Show All
Smart Device Development VS2005 connet to windows 5.0 pocket pc device error
Dear experts, When I connet to windows 5.0 pocket pc device in VS2005,display one error message: connect false,device is not exit. But I can ping the PDA device in my PC. PDA is HP2190,OS is windows mobile 5.0. Could you help me Thanks and regard, collysun Is it connected via Active Sync If not, VS won’t be able to connect unless you follow this procedure: http://blogs.msdn.com/vsdteam/archive/2005/01/05/347332.a ...Show All
Visual Studio Automated regexp replace on *.cs file in pre-build script?
Hi, I have a data tier assembly (with a dataset in it which is cross utilized in the client tier as well the web services tier. I do this hard coupling on purpose for reasons that I am not going to get in to right now). Because the generated web service proxies contain the same dataset but in a different namespace I have namespace conflicts in my client tier compilation. There are a number of solutions to this - I am focusing on a few poss ...Show All
Software Development for Windows Vista How to evalute a workflow parameter in a rule based condition?
Using the PDC bits, I'm trying to assign a rule based condition to an IfElse branch. The rule wants to references a workflow parameter initialized by the host application when the workflow is started. For instance the host initializes a parameter called Name with the value "Test". The IfElse branch1 condition's rule is trying to evaluate a predicate like Name == "Test". What do I need to do to specify in the rule that Name i ...Show All
Visual Studio 2008 (Pre-release) ItemsControl styling
I have the following, Items in wrappanel doesnt seem to wrap < DataTemplate x:Key = " myt " > < TextBlock Text = " {Binding} " Padding = " 3 " Width = " 25 " Height = " 25 " > </ TextBlock > </ DataTemplate > < Style x:Key = " myT " TargetType = " {x:Type ItemsControl} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type ItemsContr ...Show All
Visual Studio Team System Problem with MSSCCI Provider
Hi I've installed the latest version of the provider and tried to open a solution from tfs. It starts working fine(very slow) and gets all the folders and the csproj files but thats about it. It looks like its working but thats as far as it would go. no cs files! After few attempts, removed this version and installed the beta2 version and now it works. Avi Hello, could you provide some mor ...Show All
Visual C# Handling currency in C#
Dear all, Thx for your helps in previous message posted. I would like to ask when handling data related to currency and money, is there any recommendations from Microsoft Is data type 'decimal' the best way to handle currency Best, Gabriel A normal approuch is to use the Decimal struct to store currency values. But this only stores the numeric of a currency. When you want a full string to display on you use ...Show All
Windows Forms error: null is not valid value for stream
Dim strm As System.IO.Stream = Me .GetType().Assembly.GetManifestResourceStream("fullbuttonface.bmp") _buttonFace = New Bitmap(strm) May be the bitmap file is not part of the assembly, how do I put it in the assembly Thanks u re so right Chris, u save my life with your idea: MyWindows.fullbuttonface.bmp That s perfect. Thanks to karthik as well. Thanks a lot guys ...Show All
Windows Forms "Cannot find keycodev2.dll or invalid keycode"
Hi, I created winforms and was able to deployed it using NTD. I used VS.Net 2002 and VB.Net. I have crystal reports in my forms. Everything is working except when i tried to view the reports in client (Win 2000, installed w/ . ...Show All
SQL Server MAX dont know what type is returning
Hi guys, I'm doing some function in the SQLExpress using the max func and I cant figure out if its returning null or empty string. It always return null even it's returning index. Please help. Here's is the sample data of the table that I'm manipuilating code name code name code_1 name_1 code_2 name_2 tues_2 name_4 code_4 ...Show All
Visual C# webBrowser1_CanGoBackChanged event doesn't fire!?
I created a windows forms app with a browser control embedded. Actually, it is practically the code sample found in chapter 35 of this C# book, here: http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764575341,descCd-download_code.html Although, the webBrowser1_CanGoBack property does change, I can't seem to trigger the CanGoBackChanged event! Nothing outlandish here: <code> private void webBrowser1_CanGoBackChanged(object sender, Eve ...Show All
