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

Software Development Network >> Sheng Jiang's Q&A profile

Sheng Jiang

Member List

sakhu
Sam Barnes
fireGeek
Shoukhat Khan
AndyLee71
Jorge González
AravananRaman
visual_newbie
Hermy
Filiberto Selvas MSFT
netalexx
Jeff Levinson1
sandyman
24sharon
Stojan
Tom4015
Dave Miller
Joe Dawson
Denis Ruckebusch
usha123
Only Title

Sheng Jiang's Q&A profile

  • Visual Studio Tools for Office Why VSTO doesnt work on WinXp and it does work on Win2k?

    This is on open question  So any ideas are welcome in order to get a VSTO solution working in WinXp that works on Win2k. 100% sure it has to do with the dlls, but which ones and can they be updated manually   The two main errors HRESULT x800A03EC or  COM object that has been separated from its underlying RCW cannot be used You have to be more specific in your question, don't hesitate to give more details on what you try to do.... Did you install all the prereqs What is the VSTO version you are referring to ...Show All

  • SQL Server XML Service Broker messages

    Hi, I have written a C# console application that adds a message to a SB queue and a C# stored procedure that reads the message from the queue. I have had so many problems that I'm beginning to doubt the usefulness of this, but that is probably just my frustration speaking. I am stuck on putting an XML message into the queue and reading the XML in the stored procedure. The console app has a simple object called Message. This class has 2 fields, a guid and a string. I serialize the object into XML using XmlSerializer. This results in an XML string that looks like this: < xml version="1.0" encoding="utf-16" > <Messa ...Show All

  • .NET Development Web service for easy moving to production

    i have a web service on my test box. Let us say the IP is http://10.25.24.25/WebService.asmx   Now I have an application that refers this web service. I have compiled it and it works fine. The problem is now if I want to move both of these to production(say http://100.25.25.25 ) I have to re-refer the web service in the applications that referred the web service from my testbox ie by refering to the new production URL http://100.25.25.25/WebService.asmx Is there a way I can just replace 10.25.24.25 with 100.25.25.25 at one or two places before copying it to production and get rid of re-refering the webservice again ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Scene data

    Hi, Does anyone have any tips on how to run through scene-data. I've noticed that the data has to be 'tree-like' because you have objects, groups of objects and groups within groups. For example, if I have the text - 'This' in my 3d scene, all the letter objects are in a group (with a common origin), and the 2 parts that make the 'i' are in a group that is within the group. I had a good idea of writing a function which runs through the data, and when it comes across a group of objects - it calls itself . This works well with tree-like data. However, I'm not sure if the processing that goes on when a dynamic function ...Show All

  • Visual Basic shutdown

    how do i shut down the system when the time is entered to shut down using vb codes This is my code. Only pass the command as argument for the local system or pass systemname or ip and domain credentials for a network system. Public Enum WindowsShutdownCommand    Logoff = 0    Logoff_Forced = 4    Shutdown = 1    Shutdown_Forced = 5    Reboot = 2    Reboot_Forced = 6    PowerOff = 8    PowerOff_Forced = 12 End Enum Private Shared Sub ShutdownWindows( ByVal Command As WindowsShutdownComma ...Show All

  • Visual Studio Team System Unexpected error when adding Web Part to TFS Project site

    We are receiving the following error message when we attempt to add any of the Web Parts supplied with Team Foundation Server to our projects home page: An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator. Our enviroment is a clean install of the following: Windows Server 2003 SP1 WSS 2.0 SP2 TFS Beta 3 .NET 2.0 Note: We are able to add Web Parts to the default WSS site without any problems. We also have been using the current Project si ...Show All

  • Visual Studio Team System license question

    I'm not sure if this is the proper place to ask, but I can't find it on the Microsoft site... If we have a team of 8 developers, and we want to use the Foundation server instead of VSS for its extra features, and our developers all do a bit of architect/test/develop, will the cost be around $83,000 from the licenses (8 * 10k for Team System, and 3k for the server) Thanks.. Or if anyone could point me to a an email of a person who can answer this question, I'd appreciate it. Hi Eric, My company is interested in evaluating the scenario where we have team foundation server installed, and we are using the source/version control feature ...Show All

  • Windows Forms Form Synching with DataBound ComboBox

    Hello all: I must be doing something wrong.  I have a combobox that is databound to a dataset table and a series of other controls (mostly textboxes) that I wish to synch with the selection made in the combobox.  From my understanding of databinding is that when a new selection is made it should automatically move the internal CurrencyManager's positio ...Show All

  • Visual Studio Team System Work Item as defect tracking system

    Hi, I have a few questions about using work item - as my defect tracking system. As part of work item can we do the following 1. store build number (build label/version label) in the work item 2. retrive all the build numbers assocaited with the defect history 3. get the list of files assocaited with every build for particular defect 4. group work items based on components and set component owners, change owners based on the status of defect 5. define roles/privileges at work item level Any inputs/workaround to solve these issues is of great help Regards Mamatha Hi My comments are inline... 1. st ...Show All

  • Windows Forms Binding Navigator Problem

    Hi, I was wondering how you see the code for the previous, first and delete buttons on the binding navigator. The reason being is I run my application and the user presses the + button which displays a new record but if they then press the previous or first record button the program crashes with an unhandled exception. This is because there are fields in the new record that are required. I have put in a try catch for the Save button click event as I can see the code when I double click the Save button. I can then handle the exception gracefully by displaying the error message to the user via a status strip label if fields are required ...Show All

  • Visual Studio Team System InstallationError 32000: in SetupWarehouse.exe (Team Foundation App-Data Tier Beta 2 Setup)

    Hello All, After a lot of installation problems installing Foundation Server I cleaned the Windows 2003 Server Standard Edition and started, allmost desparate, all over again. I checked everything and even started reading the installationmanual. I checked the User (TFSSETUP and TFSSERVICE are local Administrators) and  all the services (Analysis Server, Report Server, SQL Server, SQL Server Agentand Sharepoint) and started the installation Eveything seemed to be fine for a while. Then, almost at the end of the installation, the following Exception occurred: Message on the Screen: Error 32000. The commandline "C:\Program File ...Show All

  • Visual C# Passwords...

    In my program I have a default password for an SMTP server. The problem is when using a program like Reflector it is very easy to see what the password is. How can I make that secure You can hide the password by storing it encrypted in code. You can either use the dpapi or ACLs to securely store the encryption key either in the registry or file system. If your application is distributed to environments that you don't have complete control to hide the key, then at least you can store the encryption key in the application and hide the password from casual observation. You can further enhance the obfusca ...Show All

  • Visual Studio Team System /file doesn't work with directories?

    The fxcopcmd docs say that you can specify a directory using the /file option, but I can't get it to work. It just says "could not load file: [folder name]." Am I doing something wrong, or are the docs wrong What version of FxCop are you using Are you surrounding the folder with quotes to take into account any spaces that may be contained in the name Can you post the exact command-line you are using ...Show All

  • Visual Basic WebBrowser Control DocumentText Failure

    I have a problem that the HTML I load into a WebBrowser control does not display sometimes. Here is the situation: I have a parent child relationship, and I use a webbrowser control on the form to display the child detail nicely formatted. I use a specific subroutine to format a string which I then assign to webbrowser. documenttext. The subroutine seems to work just fine, but if it is the first time I am doing the display, it does not actually display anything. The program is quite involved, but here is what basically happens: In form.load I call a procedure to setup the display. The setup first calls some refr ...Show All

  • SQL Server sorting on an expression

    I wanted to create a column which was one field divided by another field, and then sort on it. I started with Fields!FG.Value)/Fields!ADU.Value but of course when ADU was 0 it caused an error. then I went to =iif( Fields!ADU.Value =0,0,(Fields!FG.Value)/Fields!ADU.value) but sadily it evaluates both the true and the false return values before figuring out which one it would need to return. So then I used this. =iif( Fields!ADU.Value =0,0,Fields!FG.Value/ iif(Fields!ADU.Value=0,1,Fields!ADU.value)) Which actually works and returns what I would expect it to. Then I go into the report properties and say that I wish ...Show All

©2008 Software Development Network