Patrick Boyd's Q&A profile
Microsoft ISV Community Center Forums Buddy hasn't contacted me yet...
A few weeks (months) ago, I signed up for the Buddy program (great idea!). I got an e-mail stating that there were some matches several weeks after that. I picked a buddy from the list and got that confirmed. However, since then, I have not heard anything at all from my Buddy, who was (if I understand it well) supposed to contact me first. SA. Hello, Please send your name and email address to budsup@microsoft.com and we can connect you with your buddy. Thank you! Michelle (ISV Buddy Team) Become an ISV Buddy today! http://www.msdn.com/isv/isvbuddy Visi ...Show All
Visual C# Help please! How can I dynamically change for.ex. a grid cell fore color value w.r.t a condition?
I have a column in a DataGridView which I want to show it with a different fore color-dynamically-according to a field value. I tried to find an Inline if operator (like iif(bool, value1, value2) in other languages) but I can't in C#. Is there any operator for this goal in C# .Net 2005 Thank in advance. Thanks a lot Eisa , It's just I was looking. ...Show All
Visual Studio Express Editions Help me!!!
I have been trying to make a calculator in visual basic express editopn 2005 and am having some problems. After cursing for hours on end I have decided to plea for help. Obviously you need at least 2-digit numbers and I am trying to do it with buttons. So - I think I need some code and that takes the infornmation out of the textbox and makes that information a variable. I know the code to add the number on the end of this variable and add it to the textbox. I have tried this code (a is the name of my variable) a = textbox1.text Where have I gone wrong dim a as double if not double.tryparse(textbox1.text,a) then m ...Show All
Visual C# WH_MOUSE_LL Abilities
Is there a way I can use the LL mouse hook to capture other information besides which button was clicked For example, these are the events I'm wanting to watch for: Window State Change (Minimize, Restore, etc.) Which window control was clicked (Minbutton, Maxbutton, etc.) System Menu opened I know I can use the LL hook to find out which button was clicked and where the mouse is and such, but I'm having some trouble with the above information. Any help on this is very appreciated. --W form.windowstate maybe :) http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.ad ...Show All
Visual C# Do I use "ref" on a String passed to a DLL that needs PCHAR parameter?
I am confused about the use of "ref" on a string (sorry, newbie here). I am trying to interface to a DLL which requires a PCHAR type (pointer to a char type) to be passed to it. This says the DLL expects to receive a pointer to a string. Here's a snippet of my code: public Int32 GetDeviceCount() { return _MPUSBGetDeviceCount( ref vid_pid); } [DllImportAttribute("mpusbapi.dll", CharSet=CharSet.Auto)] public static extern Int32 _MPUSBGetDeviceCount( ref String vid_pid); However, if I use "ref" the DLL does not return the correct info (number of devices). If is don't use "ref" but pass the "String", I ge ...Show All
SQL Server What's my login?
Hello, I installed Visual Studio 2005 and SQL Server Express that comes with it. I have also downloaded Web Data Administrator for database management. What login do I enter to connect to SQL Express via Web Data Administrator SQL Express installed silently together with VS, and I was never asked to provide a default username/password. Any help PS. I am using Win XP Pro SP2 Thank you When SQL Server is installed through Visual Studio it installs using Windows Authentication only. Therefore, you should be able to connect to SQL Express using your Windows credentials. But you need to be logged into the m ...Show All
Visual C# Intellisense is missing a class.
Hi there. I've just created a new class and everything compiles fine. But now Intellisense doesnt list the class. I've re-checked the namespace and using lines over and over. I've closed the forms and re-opened and ive closed the solution and re-opened. Still doesnt work. Is there a way i can sort this out This used to happen in VS2003 but usually closing the files or solution would fix the problem. I've just checked the Class viewer and the class viewer shows the class exactly where i want it to be, yet still nothing in Intellisense. -Stark Sorry for the late reply. Thanks for the input and reccommendations. And once aga ...Show All
Visual Studio Team System error starting VS 2005 beta2
After installing VS 2005 beta2 I receive the next error when I try to start a new project (even when I start up VS and then close it without doing anything) The Microsoft.VisualStudio.QualityTools.TestCaseManagement.QualityToolsPackage, Microsoft.VisualStudio.QualityTools.TestCaseManagement, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ({A9405AE6-9AC6-4F0E-A03F-7AFE45F6FCB7}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'devenv /resetskippkgs' at the command prompt. I removed every release of VS an SQL and inst ...Show All
.NET Development SignedXML, Multiple Signature(s)
Hi. How to carry or have multiple signatures for the Referenced docs in a single XML file The case is, referenced docs should be signed by more than one person. It seems not tidy enough to have multiple xml files for the signatures instead of multiple signatures in one xml file. Though this is my assumption, would appreciate the input as to "one and only one Signature element could be in a SignedXML". Thanks in advance! I'm using SignedXML to add multiple x509 signatures to an xml document. I can verify all signatures by taking the last signature and checking it and them removing ...Show All
.NET Development How can I validate a XML with a local DTD??
Hi! I need your help... I'm trying to validate a XML file using a DTD located in my localhost, and I don't get it.... First, I found the problem with the "ProhibitDtd" attribute, the solution: // Set the validation settings. 1 XmlReaderSettings settings = new XmlReaderSettings (); 2 settings.ProhibitDtd = false ; 3 settings.ValidationType = ValidationType .DTD; 4 settings.Schemas.Add( null , XmlTextReader .Create(dtdXml,settings)); 5 settings.ValidationEventHandler += new ValidationEventHandler (MyValidationEventHandler); // Create the XmlReader object. 6 XmlReader rea ...Show All
Visual FoxPro problems on textbox in VFP
hi guys...i just want to ask about this problem on textbox in VFP...because compared to Visual Basic, when i try to press the backspace to erase the characters on it,it erases and goes to the beginning of the textbox...but on VFP, when i try to erase the characters on the textbox, it erases too but goes to other controls or sometimes if you have two textboxes,it will go the second textbox and then pressing backspace again will go back to the first textbox again...how i can make the cursor to go to the beggining of the textbox and wont go anywhere so that if ever i have values on other textboxes it wont be erased...thanks guys =) ...Show All
Visual Studio Team System Adding a node to the Team Explorer
Hi All, I have created a plugin for the Team Explorer of Visual Studio 2005. This plugin will add an extra node to the Team Explorer. Its title is "Contact". This node has three nodes inside it titled as "Project Contact", "Other Contact" and "Attach Conversation". When i debug the program it adds the node to the Team Explorer. But I want to add this node to my team explorer permanently. "How can I do this ". If anyone knows, please inform me. (With code snippet if possible!!!!) You need to package your solution as vsip and obtain a loadkey. Then inst ...Show All
Windows Forms how to bind when the number of parameters will vary
I have a contact management app with a checkedlistbox. I want the user to be able to check from one to however many items are on the list to produce a dataset where the contacts match any of the checked items. I know how to code the program and my sproc when the number of parameters is known, however I don't know how to do it& ...Show All
Windows Forms The Treeview Drag&Drop AND using custom TreeNode !
Here is the code that I use to carry out a drag & drop on my TreeView, it goes very well ! but when I use my own custom TreeNode (named : 'UsrTreeNode' and have some properties added) instead of the original 'System.Windows.Forms.TreeNode' , the drag & drop do not have any effect. I tried doing something like : 1) My own custom Tree ...Show All
Visual Basic Exception starting VB Snippet Editor RC
When starting the new snippet editor RC, I get the following exception: System.NullReferenceException: Object reference not set to an instance of an object. at SnippetEditor.SnippetPathsManager.get_SnippetsPath(Language lang) in D:\Documents and Settings\lorenzom\Desktop\Snippet Editor 2005 RTM RC\Snippet Editor 2005\Helper classes\SnippetPathsManager.vb:line 88 at SnippetEditor.SnippetExplorer.FillLanguage(Language lang) in D:\Documents and Settings\lorenzom\Desktop\Snippet Editor 2005 RTM RC\Snippet Editor 2005\UI Controls\SnippetExplorer.vb:line 139 at SnippetEditor.SnippetExplorer.FillTreeView() in ...Show All
