Software Development Network Logo
  • Architecture
  • Windows Live
  • VS Express Editions
  • Visual J#
  • .NET Development
  • Game Technologies
  • Visual C++
  • Windows Vista
  • Windows Forms
  • Visual Basic
  • Visual C#
  • VS Team System
  • SQL Server
  • Microsoft ISV
  • Smart Device

Software Development Network >> Roger Cheng MSFT's Q&A profile

Roger Cheng MSFT

Member List

Xin Jin
wilf
Ron_
Transportation_Shane
danpoolshark
Indra Agustia
MichaelBrietzke
mrboldt
SnakeEater
RoccoM
MelGrubb
dkbryan
Andy Bolton
NoNaMeNoNaMe
s_wtsu
Scottaroberts99
pradeepp
Lummox
Rob Adrian
Answer_ME
Only Title

Roger Cheng MSFT's Q&A profile

  • Windows Forms how to close window in this way ...

    hi i have 3 forms , form2 is for asking username and password after clicking a button on form 1.after confirm the username and password , it goes to form3 . these forms will be appear like this : first , form1 appear , after click the butoon, form2 will appear (form1 is still visible), after confirming username and password, form1 and form 2 will hide and form3 will shown. how can i do this in form2 i can't use " form1.hide() "  thank ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sample Framework

    I've been looking over the sample framework (empty project) and I can see a lot of useful things in there that would be great if I didnt have to reinvent the wheel, mostly in terms of handling input and GUI code, but... Even though the sample framework code has a lot of comments, it's still very hard to follow and feels like it's all over the place. I realise we all have different coding styles but I was wondering if anyone has some kind of ...Show All

  • Windows Forms OptimizedDoubleBuffer

    I heard somewhere that by setting ControlStyle.OptimizedDoubleBuffer, you automatically have ControlStyle.UserPaint and ControlStyle.AllPaintingInWmPaint set as well. Is this true The API is unfortunate, but it is a ControlStyle which affects a minority of users. Typically, we'd suggest Control.DoubleBuffered. Marking Obsolete is akin to ripping it - we generate build warnings for every project where it's being ...Show All

  • Visual Studio MSBuild Observation - Unit testing extensions

    Here's something I think the MSBuild team should consider for future versions..... Writing unit tests for custom loggers and tasks is a really serious pain. I'm writing a custom email logger that inherits from FileLogger. This will enable me to email off the contents of a build log. I've chosen to inherit from FileLogger because I don't want to write all the routines required to capture output and dump it to a file. I just want to read the log i ...Show All

  • Visual Basic Using the progressbar

    This is what I am trying to do: Copy a file from my resources to the temp directory. Get the size of the file in my resources in bytes. For every byte that is copied I want to step the progressbar by 1. The part I am having troubles with is getting the size of my file. I want to get the size so I can set the progressbar's maximum property to the same value. Also, would it be a good idea to use a background worker for this Thanks. T ...Show All

  • .NET Development Named Pipes in C#

    I need to pass data from one process to another.  In the "Visual C++ Version 6" world I would have used a global named pipe for this task.  I'm developing in C# and would like to know what construct there is for either creating named pipes or for a "new" technique to pass data from one process to the other. One other specific is that the process producing the information, i.e., filling the pipe, is a service created using ...Show All

  • SQL Server Can't connect w/Visual Studio 2005

    I'm right-clicking on Data Connections in Server Explorer, and selecting Create New SQL Server Database. I've turned on the SQL Browser, so I'm able to select the instance from the combo box. I select Use Windows Authentication, type the database name to create, and click OK. I'm getting this error: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused b ...Show All

  • Windows Forms Passing parameters from one form to another

    Hi, this is the situation... I have 2 windows forms VB.Net, Form1 contains a DataGrid and a 3 buttons Insert, Edit, Delete respectively, When the user clicks a row in the DataGrid and then click any of the 3 buttons the second Form is load ...Show All

  • Visual C++ Problem with a program I am writing...

    I am writing a simple program for a c++ course I am taking and can not seem to get my vector string to initialize correctly. Below is what my main looks like. void main(void) {  double dblResult = 0;  vector <string> strTestCase1;  //******************************  //* TEST CASE ONE  //******************************  strTestCase1 = {".....",    ".....",    "..B..", &nbs ...Show All

  • Visual Studio Team System Deployment for Test Projects in multiple solutions

    Hi -- I have been trying to figure out how to get deployment of test items working for test projects that exist in multiple solutions. It doesn't make any sense to me why Miscrosoft decided to make test deployment relative to the solution when it seems like that is something that is specific to the project... ( ) But that's neither here nor there. The possible solutions that I'm thinking of are: Have a testrunconfig file for each test ...Show All

  • Visual Studio 2008 (Pre-release) Generating proxy on the Duplex example

    I can compile and run the WCF Duplex example no problem, but when I use SvcUtil.exe to regenerate the proxy (without changing anything), the contract parameters become custom types with the same name as the containing method. I am running the full February CTP combo Any clues DickP // the original public class CallbackHandler : ICalculatorDuplexCallback { public void Equals( double result) ... public ...Show All

  • Architecture A good second book about arquitecture

    Hello I have finished "pro scalable application in .net 2.0" which was nice. Now I want to read another book about architecture. What do you recomend I think Domain-Driven Design: Tackling Complexity in the Heart of Software is a good option, do you know another Thanks. I haven't read this one - but I really disliked his other book (Service-Oriented Architecture : A Field Guide to Integrating XML and Web Services) Th ...Show All

  • Windows Forms How did they achieve the Windows XP Look?

    Does anyone know how they got the controls on the forms to take on the Windows XP appearance. For instance the combobox controls take on a flat border style appeareance which isn't even a DropDownStyle option.  All the controls seem to take&nbs ...Show All

  • Windows Forms application-wide variable?

    Hello, Sorry for the newbie question, I'm new to windows forms programming. How can I use application-wide variables  I want to retreive the active-directory username of the user starting the program. This var I want to store application-wide, but I can't see ...Show All

  • Software Development for Windows Vista Working with parameters in workflow

    Hi, I am new to WWF and trying to understand in creating workflows. I was trying to build a custom workflow with Beta 2 but I cannot find the parameters attribute in the Workflow class. I believed that it was in the older beta releases - and I am using VB with WWF for now in VS2005. Thus if someone can kindly let me know how to add in the parameters in Beta 2 these days it would be extremely helpful. Many thanks, Mark Hi Ma ...Show All

©2008 Software Development Network

powered by phorum