Mattdrinks's Q&A profile
Windows Forms Design-time functionality at run-time
I am trying to find a way to paint a selection border around a control whenever it is active at run-time. I would like the border to be as similar as possible to the selection frame that is displayed around a selected control at  ...Show All
Visual Studio Express Editions Installing Express over Professional
In my spare time, I tutor some coders in more advanced C++/C#. Like me, they are independent developers, but unlike me, they don't make enough money to justify getting VS 2005 Pro. I have had in recent days some exercises that work in VC Pro, but not Express, and wish to know why. The only thing preventing me from testing in Express is the fact that it seems to have my install directory locked on to my existing Pro installation located at C:\ ...Show All
Visual Studio Express Editions To check multiple Checkboxes in CheckboxList using values from Array.
Hi All, I have an array which contains values of the checkboxes that I would like to check in the CheckBoxList. However, when I do a loop only 1 checkbox is checked. Is it a coding error I am using Microsoft Visual Web Developer 2005 Express Edition and am coding in VB.Net. I would really appreciate it if you could help or assist me. Thank you so much. tb_lessons.Text contains a String for eg: 2,3,4 Here is my code: ...Show All
.NET Development HttpWebRequest.BeginGetResponse - Why is TCP window size zero?
Hi, I have a server application that gets web pages from different web servers with HttpWebRequest.BeginGetResponse . The problem is that, after a while, one of my requests gets never answered. I've seen with the sniffer that the packet containing that request has a TCP Window Size of zero. This causes the server not to send the answer. Whan can be the cause for this Any clues Thanks, Fran ...Show All
SQL Server Support for Forms Authentication with Reporting Services
We are preparing to upgrade to SQL Server 2005. We want to implement Forms Authentication for Reporting Services. I read somewhere that to implement Forms Authentication for Reporting Services 2000 required the Enterprise Edition of the software. Is the same true for SQL Server 2005 or can we implement Forms Authentication with the standard edition I looked at the edition comparison chart on the Microsoft website but it wasn't clear. Thanks in ...Show All
Visual Basic Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Never say never, my friend! I ran into the same program you're having. The EXACT same problem.... Well.... I didn't have a pink panda.... But still.... The SHORT answer to your question is that you can't have transparency in a picturebox control without doing some pretty complex coding. If you w ...Show All
Visual C# Code Snippets and Intellisense
When I type "for", the "for" code snippet is selected in the intellisense list. How can I insert a code snippet directly from this list I now that I can select code snippets by pressing CTRL-K,CTRL-X , but is there the possibility to select the snippet from the intellisense list Thanks. Yes, you can insert the snippet directly from the IntelliSense list. When "for" comes up in IntelliSense, use any complet ...Show All
Visual Studio 2008 (Pre-release) Interactive pages like .asmx?
Will there be a feature in WCF that allows invoking of web service operations similar to how .asmx pages allow you to invoke WebMethods This is a very convenient feature, and useful for quick testing of services, where writing a full-blown client app is time-consuming. There is not a test page available currently, but we're working to make one available with 'developer tools' asap. Please bear with us while we ...Show All
.NET Development Populating Multiple Typed-DataTables with one SQL query
Hi All, I don't think this is possible, but if it is I'll be delighted!! I have a typed dataset with two datatables - lets say 'Person' and 'Car' - like this: Person - Columns: PersonID, Name, TelNum Car - Columns: CarID, PersonID, RegPlate, Colour . Each person can have mulitple cars. Now imagine I want all the cars for people called 'Smith'. In SQL this is easy - SELECT * FROM Person p INNER JOIN Car c ON c.CarID = p ...Show All
SQL Server Backup of tables
Hi Guys, I would like to take a backup of tables and further use them for manipulation purpose. (e.g.) Select * into arc_employee_ 07_07_2005 from employee Where 07_07_2005 is formatted from getdate(). How can i achieve this formate. Thanks in advance. You cannot specify an expression as table name for the INTO clause. You have to generate the name ...Show All
Visual Basic OpenFolderDialog
I could use a reference to any code classes for enabling the selection of a folder via a dialog window. thanks, Fred I am looking for information on how to obtain the path to a folder using an openfolderdialog similar to the openfiledialog. Fred ...Show All
SQL Server Maximum length sql statement that can be run in SQL CE
Hello Can anyone tell me what the maximum length sql statement SQL CE can run is Thank you Grainne There is no maximum limit on the number of characters that can be part of a SQL statement in SQL Mobile. Please review the SQL Mobile Books Online under the index heading 'maximum database object sizes' for more information. Darren ...Show All
.NET Development Possible to Cast from String representation of Type?
I am loading an xml file that contains both the type and value of an item. EG: < ListReturnItem itemName =" TargetID " itemType =" int "> 23 </ ListReturnItem > < ListReturnItem itemName =" TargetState " itemType =" PublicTargetState "> Enabled </ ListReturnItem > PublicTargetState is a predefined unumerated type. I need to be able to create a new object based on the xml value of itemType, which is a string ...Show All
Software Development for Windows Vista UI text that refers to UI labels/controls - Correct Style?
Hello, My question is slightly outside the realm of this forum, but it's the closest. What is the correct usage and format when referring to a UI control label Do I bold (or not) the name of the control in the UI string For instance, say I have a control label called "Settings." In the UI text that describes the procedure that involves the control, do I write: "To configure your system, click Settings .&quo ...Show All
SQL Server SQL Mobile Query
On the paper: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/med302_msdn_sql_mobile.asp frame=true While trying to complete the exercise, I encountered the following unexpected behaviour: While configuring the subscription for the SQL Mobile (from the tutorial – To complete the subscription) section, I encountered the following error – TITLE: Microsoft SQL Server Management Studio ------------- ...Show All
