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

Software Development Network >> James Xiao's Q&A profile

James Xiao

Member List

a.stalmokas
Romano.Scuri
Vishantha
Nicolas_
Tom Phillips
Neer
gau2902
Ram-Sree
Wojtek
Cmcnear
JeremyRooks
bernardoh
BenjaminTengelin
teneriffebogan
Shawn W
spyders
Richard Latham
Cylon2005
mrfatmen
wufei
Only Title

James Xiao's Q&A profile

  • Visual Studio Express Editions VB2005 hangs up on every action

    Hello again. I restored a backup of winxp a week ago (because windows took 5 minutes to startup, currently its under 30seconds) OK, I had to install most applications again (such as games etc.) And vb, too. I installed correctly, everything looked good. Till i started vb. I created a "New Project" and wanted to open the "Form1.vb", but what happened Right, an error message appeared with the following content... Could not load type 'Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2' from assembly 'Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a30a'. I don't know what I shou ...Show All

  • .NET Development NegotiateStream Class and SOAP Web Services?

    Hi, I just heard about the NegotiateStream Class and I’m wondering if I can use it to protect traffic on the wire between my client (.net winforms app) and server (.net web service) Right now I’m using SSL, leveraging the built in support that IIS offers, but since my app only runs on the intranet I’m wondering if NegotiateStream would make more sense. SSL works fine when you get it set up, but there is quite a bit of overhead when my customers first deploy (e.g. issuing certs, configuring IIS, making sure that clients trust the right CA etc.). Thanks. Yes Negotiate Stream encryts the data ...Show All

  • Visual C++ Help please

    I have a project in which QuickTime 2.0 (QTW.h) library was used and compiled ok in Visual Studio 6.0 (C++ project). I replace QuickTime 2.0 with QuickTime 4.0 (Movies.h, QTML.h). After compile the project, I got the linking error as follow: Linking... LIBCMT.lib(tolower.obj) : error LNK2005: __tolower already defined in LIBCD.lib(tolower.obj) LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj) LIBCMT.lib(cfout.obj) : error LNK2005: ___dtold already defined in LIBCD.lib(cfout.obj) LIBCMT.lib(tolower.obj) : warning LNK4006: __tolower already defined in LIBCD.lib(tolower.obj); second definition ignored L ...Show All

  • Visual Studio Team System How to set permissions to a field in a workitem.

    Take a bug as an example. 1) How could I assigne permissions to "state" field, so that only users in the QA user group can change the state from "active" to "closed" 2) For a certain field, I only want it to be readonly for user group A, while it is modifiable for user group B. How 3) Another question: How could I set up permissions to only allow users in "QA" user group to create a bug workitem Many thanks. 1) You can control who can change the state of a work item using for and not qualifiers on the transition rule. From the SDK: <TRANSITION from="Active" to="Complete" for= ...Show All

  • .NET Development Autentication Types in .NET ?

    Can any one brief me on Authentication Types in .NET Windows Authentication Mixed Authentication Custom Authentication are some types ...Show All

  • SQL Server Execution Plan Object Notation

    Is there a way to remove the database name and ".dbo" from the object name in the execution plan I almost never do a cross database join, and all tables are owned by dbo. Since there is limited room, I'd much rather see the full table name and index being used. Also, does anyone know why the lines (representing the flow of data) don't represent the actual size of data moving around I'd think that actual rows returned x estimated row size would determine the thickness of the line, but there doesn't appear to be and rhyme or reason to the line thickness. It's too bad, since I used to use this information in SQL 2000 all the time. ...Show All

  • Visual C# When and how the instance of a singleton object will be disposed..?

    using System namespace DesignPattern { class Connection { private static Connection instance; private Connection() { } public static Connection GetInstance() { if (instance == null ) { instance = new Connection(); return instance; } else return instance; } } } Now this is a singleton class .So every consumer of this class will get an single instance of this class. My question is that when and how the instance of this singleton object will be disposed.. An extended example would be great. What do you m ...Show All

  • Visual Studio Prerequisites for VS

    I installed IIS and FPSE after installing VS.NET becasue I wanted to go ahead and get started learning VB.NET. Now that I have IIS and FPSE installed, what parts of VS.NET do I need to re-install You can go to the framework directory under \windows\microsoft.net\framework\vxxxx and run aspnet_regiis.exe -i ...Show All

  • Visual Studio 2008 (Pre-release) Passthrough of ASP.NET identity to WCF service layer.

    I have a WCF service hosted in IIS, and an ASP.NET application that consumes it. I need to provide user-based security at both the application and service level, and so I'm trying to propogate the ASP.NET user through to the WCF service. I need to be able to do this for both Windows and Web-Forms authenticated users, but I figured Windows would be the easier win to start with. My binding is currently wsHttpBinding, and I've tried both Transport and Message security using Windows credentials. I've also tried using [OperationBehavior(Impersonation=ImpersonationOption.Required)] on my service to no avail. All I ever see is my IIS user bei ...Show All

  • Visual C++ Just one more conversion question, please.

    I need to get the lResut into _bstr_t type so I can concatenate with other _bstr_t type string to form the DN for creating an Active Directory object. Please help me with this and I hope this is the last conversion I need for this code. Thanks a million! p.s. I assme the lResult in the 2nd SendDlgMessage points to a string of the name of the item selected in the comboBox. Is this correct typedef LONG_PTR LRESULT;//From windef.h LRESULT lResult; lResult = SendDlgItemMessage(hwndDlg, IDC_LIST_CONTEXTS, CB_GETCURSEL, 0, 0); int *intIndex = ( int *)(lResult); if (lResult != CB_ERR) { lResult = SendDlgItemMessage(h ...Show All

  • Visual C++ Linking Problems - newbie

    I used the project wizard to create a Visual C++ > CLR > Windows Form Application. I'm trying to use some of the functions in Windows.h, so I added the #include "Windows.h" at the top of my .cpp file. The code I added to my .cpp file was   UINT t = midiInGetNumDevs();   It seems to compile successfully, but I get the following errors when I build:    Error 1 error LNK2028: unresolved token (0A00000E) "extern "C" unsigned int __stdcall midiInGetNumDevs(void)" ( midiInGetNumDevs@@$$J10YGIXZ ) referenced in function "private: void __clrcall ReasonGui::Form1::button1_Click(class Sys ...Show All

  • Visual Studio Remote Web Access over http in VSS 2005

    I am currently evaluating VSS 2005 beta and have been advised by MicroSoft Customer Services that the 'remote web access over http' feature is available in VSS 2005 as a standalone product and it is not necessary to have Visual Studio installed.  However, I am unable to determine how to connect remotely. I have installed VSS 2005 Beta on a server and created a SourceSafe Database on the same server, which I can obviously easily open.  If I am working in the office on another machine, I can easily connect to the VSS database on the server, by specifying the path, as with VSS 6.0.  However ...Show All

  • Visual Studio Express Editions Transparent pictureboxes.

    Hi, I have an application with 3 different pictureboxes... I have this code in the form load event : Me .SetStyle(ControlStyles.SupportsTransparentBackColor, True ) Im trying to make all 3 pictureboxes tranparent and write graphics to them. Is it possible Yes, it's possible. Just set the BackColor for the PictureBox to Color.Transparent and do your drawing in the Paint event: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load PictureBox1.BackColor = Color.Transparent End Sub Private Sub Form1_ ...Show All

  • Visual Studio displaying a pop-up window

    Hi, I'm been working with ms build quite some time now and I was wondering if there's any way to show a confirmation window to accept or reject changes before the project is deployed. Thank you for you advice You could write a custom task to achieve this. In your task show the dialog and have the task output a property of its result. Sayed Ibrahim Hashimi www.sedodream.com ...Show All

  • Visual Studio Express Editions SQL Server 2005 Express x86 fails to install

    I already installed VB and VC# Express editions together with MSDN library but the SQL wont. Do you have a clue on why is this happening I dont have any beta pre-installed. Thanks. Dan Petrescu alias fulga Just to clear some things up... When you installed the express ides did you get errors that sql express did not install or are you trying to install the package seperatly. Remember that the express system is installed when the IDEs are installed, and is installed to a named instance on you machine ".\SQLEXPRESS". ...Show All

©2008 Software Development Network