Elizabeth Maher MS's Q&A profile
Visual Studio 2008 (Pre-release) Modify Window Chrome via templates?
I've been playing around with Avalon for quite some time. I love it and am really looking forward to what people can create with it. My only gripe is the fact that the Avalon application resides inside a regular window chrome. Now, I understand why this was done, but does anyone else see a need to allow for customization of the window chrome Could anyone explain to me how Microsoft Max accomplished this Finally, I've opened up a suggestion on MSDN Product Feedback. If you think that customization of the window chrome should be allowed without Win32 calls, vote on it! http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbacki ...Show All
Visual C# How to build an editor like DataSourceListEditor?
How do I make an editor like the DataSourceListEditor in VS.NET 2005 That editor really handy. Instead of showing a dialog, just click to drop down and close up, so good huh If I understand the question, you want to create a control where you click a drop down and it shows a dialog In the first instance, this would be a dialog, it's just being controlled differently, it's being shown in response to a click on an arrow, and hidden again when you click outside the control, which I assume means it has mouse capture and then closes itself when you click outside it's bounds. ...Show All
.NET Development Need some direction
Hi, I'm building a card games windows forms app that will allow users to get together and play over the Internet. I would to like to include chat too. I prefer a smart client with auto update and SQL Server as back-end. The app will be downloadable from a web site and users must use the Internet to communicate with the server without need for extra ports to be opened. Users will create rooms and play in teams up to 4-6 people. I need some direction on what technologies to use. Should I use sockets web services Some samples will be great. I'm an expert programmer in desktop and web apps, but I never did network programming. How difficult ...Show All
Visual Basic How to use ArrayList in my game?
Hi everyone, I'm a newbie in this forum. Currently I'm working on a game and I need help on how to use arraylist in my game. Maybe I shall explain a bit on my game :) It's a VB.net game where a chicken has to eat up all the seed which are scattered on the ground. Hence, my question is that how do I make use of ArrayList for the seed in order to make my seed disappear after eating and redraw themselves after all the seed has been eaten for the first round --Maria-- Hi Maria, It's nice to have another woman on the forum. Here's how to declare an arraylist Dim a As ...Show All
Windows Forms clear dataGrid
Hi there, I was just wondering how to clear a DataSet. I couldn't find the right method in the MSDN Library. Thanks Chris Since you are using C#, set the Datasource = Null. 'Nothing' is a VB construct. ...Show All
Visual C# Uploading a text file to a server
Hello, when running the code below, it returns the error message: "The requested URI is invalid for this FTP command.". I have confirmed the FTP URI is correct and working through a standalone FTP client as well as windows explorer, the domain\username and password are also valid auths. I've also downloaded two seperate classes similiar to the code below, from MSDN, and I'm getting this same error message whatever I do. Any ideas -- Thanks. protected void Upload(string fileName) { Stream requestStream = null; FileStream fileStream = null; FtpWebResponse uploadResponse = null; try { FtpWebRequest uploadRequest ...Show All
Visual Studio 2008 (Pre-release) control template question
If I have the following template, how to refer to 'sv1' when the button is clicked < ControlTemplate > < Border CornerRadius = " 10 " Height = " 300 " Width = " 200 " > < StackPanel Orientation = " Vertical " > < RepeatButton Style = " {StaticResource upbtn} " /> < ScrollViewer VerticalScrollBarVisibility = " Hidden " HorizontalScrollBarVisibility = " Hidden " x:Name = " sv1 " > < ItemsPresenter Height = " 240 " /> </ ScrollViewer > < RepeatButton Style = " {StaticResource downbtn} " /> </ StackPanel > </ Border > </ ControlTemplate & ...Show All
Visual C# VS2005 C#, COM and frustration ??
Hello Everyone, I wrote a small dll in VS 2005 so that can be used in other projects, to my surprise VS 2005 C# dll cannot be used in CS 2003 projects. I thought to make a COM wrapper..I did that created a tlb file but cant register I used the tool ( regasm ). Below is the sample program and if someone can let me know the exact things to do to get this simple thing working. namespace Something { public interface S { void Check(string p, out string t) } public class Check1 : S { public void Check(string p, out string t) { // do the code here } ...Show All
Visual Studio Team System About Quality of Service Requirements
It seems like the quality of service requirements are really important for the MSF Agile process. I'm reading the guidance, but I just don't get the idea of this work items. Can anybody give me examples of quality of service requirements and the way the would be handled in the MSF Agile process How do you discover them How do the have to be developed What has to do the developer with them How do they fit in the general project schedule Thanks. Check out my blog on LAAAM from a few weeks ago. I elaborate a bit on the scenario-driven approach to identify quality attributes (aka quality of service requirements) in the context o ...Show All
Visual Studio Team System Team Build (not building web sites)
Thanks for your help in advance. I cannot get my team builds to include web site projects. To test I created a new Team Project (with all defaults) with a brand new Solution & Web Service project (with all defaults). Then I created a Team Build (with all defaults). When I run the build, there are no errors - in fact it reports success, but it processes the SLN, but my project never is built. Any advice What's more is that I have another solution with a web site that does build correctly (that's frustrating). So, I compare the settings between my new one (that does not work) and the other one (that does work) and cannot see ANY d ...Show All
Visual Studio Express Editions Noob Combobox ?
Hello, I have a combobox on one form with a list of options. It's set to dropdownlist . I want to have the selected Item in the combobox replace the text in a label on another form. Can someone give me an example of how to do this Thanks Jerry, LA-3243 Jerry wrote: I have a combobox on one form with a list of options. It's set to dropdownlist . I want to have the selected Item in the combobox replace the text in a label on another form. Can someone give me an example of how to do this Hello Jerry, First expose a internal or public property (I'll be calling it TextLabel) on the ...Show All
Visual C# message box in webapp
I need help. I need a message box OK/Cancel button in a web application (JavaScript ) to confirm a deleting row the problem is that i have not button "Delete" but i have a datagrid with a button column. Thx PS-could you post code and explanation Hi, Item_Created() event is not called in my page tell me how can i debug or how can i set break point over this. in my .aspx file i have following code < asp : ImageButton ID ="imgDeleteButton" runat ="server" CausesValidation ="False" CommandName ="Delete" ImageUrl ="images/icon-delete.gif" /> i ...Show All
Visual C# Using CDOEX
Hello, I need to access an exchange mailbox and retrieve all the messages from it, with their attributes. I've tried doing this using ADODB and CDO, but both have some flaws. People referred me to using CDOEX. I was wondering whether anybody here has some documentation on the use of CDOEX or some example code that shows how to do something simillar to the mentioned above. Thanks, Catalin. Hello Catalin, I just wondering wether you found any usefull information on the subject If so it'd be great if you could share the links! I'm having a similar problem at the moment as I'm tryin ...Show All
Visual Basic Inheritance/user control problem
I have the following event in a VB2005 User Control: Public Event ButtonClicked( ByVal Sender As Object , ByVal E As System.EventArgs) This code in the User Control is the only code that calls the event: Private Sub HandleButtons( ByVal Sender As Object , ByVal E As System.EventArgs) Handles btnFirst.Click, btnLast.Click, btnNext.Click, btnPrev.Click Dim BTN As Button = DirectCast (Sender, Button) Select Case BTN.Name Case "btnFirst" CurrentRecord = 1 Case "btnLast" CurrentRecord = RecordCount Case "btnNext" C ...Show All
Visual C# Create Dataset Object from Schema (xsd)
In VS 2003 we could save the dataset schema and it would create our typed Datset object automatically. I cant see where to do this in VS 2005. Can someone please explain how to handle this now. Thanks -j hello... show all files. it is now named like this. datasetName.Designer.cs (or, .vb) many of the souce file and location named differently i also little bit confused ...Show All
