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

Software Development Network >> Leon Huang's Q&A profile

Leon Huang

Member List

bouhmid
Erpman
rabb
2lazydba
JohnFlemming
Aaron L
AravananRaman
XtremeEC
Nickthegreek
Display Name Not
Sid Singhvi
Jeff Levinson1
M Kuhn
bb35
Jayender sivaraman
JonesEJ20
Jourik
Srinath - MSFT
CoolMagma
Manny M
Only Title

Leon Huang's Q&A profile

  • .NET Development How to trace Soap Message sent from .Net client

    Hello, I am working on .Net Web Service Client to consume a Java Axis Web Service from the third party. For debuging purpose, I would like to get soap message being created by .Net Proxy Class. Can anybody tell me how to get the information Many Thanks in advance. -Qing if you are using .NEt 2.0, then you can enable loggin by having the following config in your app.exe.config file or web.config file <configuration>     <system.diagnostics>         <sources>             <source name=" ...Show All

  • Software Development for Windows Vista WorkflowPersistence simple question

    Hi there, I'm writing my own workflow persistence service to support another database. I have following two save methods to override in my service: SaveCompletedContextActivity(Activity root) SaveWorkflowInstanceState(Activity root, bool unlock) The question is quite simple, how do I find in these two methods when I need to INSERT workflow record in database and when I need to UPDATE workflow record in database I can't find any boolean flags on Activity object indicating that this instance was already persisted. Looks like I've found a good solution... Just need a confirmation from MS guys. ...Show All

  • Visual C# Combinations of matrix

    Hi, I like to create hashtables from a string array haviong all possible combinations. I guess i will give examples to better explain my problem. suppose there is a string array which we call matrix in mathematics 1 2 3 4 5 6 7 8 9 Now the combinations should be cerated and each combination will go in one hashtable (1,4,7) (1,4,8) (1,4,9) (1,5,7) (1,5,8) (1,5,9) (1,6,7) (1,6,8) (1,6,9) (2,4,7) (2,4,8) (2,4,9) (2,5,7) (2,5,8) (2,5,9) (2,6,7) (2,6,8) (2,6,9) (3,4,7) (3,4,8) (3,4,9) (3,5,7) (3,5,8) (3,5,9) (3,6,7) (3,6,8) (3,6,9) Also the matrix can be of any dimension and ...Show All

  • Smart Device Development CameraCaptureDialog

    I tried building the camera API and got this error. I went and saw the space using Space Maker Storage (Flash) Storage Total: 27.98 MB Used: 4.60 MB Free: 23.39 MB it displays this. Please help me ------ Build started: Project: CECamera, Configuration: Release Any CPU ------ CECamera -> C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\Cs\Cecamera\bin\Release\CECamera.exe ------ Deploy started: Project: CECamera, Configuration: Release Any CPU ------ Deploying 'C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Designtimereferences\Microsoft.WindowsMobile.dll' Deploying 'C:\Pr ...Show All

  • SQL Server Concurrent Insert and Update Commands

    Hi there, I've had a look at this thread - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=104399&SiteID=1 - but it's a bit old so I thought I'd try to clarify a couple of things. I have a data flow which inserts or updates a table in a SQL 2000 database. The insert is done via an OLE DB destination and the update is done via an OLE DB Command. As stated in the previous thread, when these commands run concurrently issues arise with blocking etc. The only way I've managed to get around it is by setting the access mode of the insert to OpenRowset. So 2 questions: 1) Does anyone know how this problem occurrs and w ...Show All

  • Windows Forms Combobox problem

    Hi All, I have a combobox and a text box. They are both databound to different fields of a datatable. The combobox contains a list of telephone number descriptions eg. Home, Mobile, Work. When an item is selected the appropriate number is displayed in the text box. When I call AddNew the textbox and combobox clear as expected. The problem is that the description I type into the combobox is lost and replaced with a blank item in the combobox. Incidentaly, the blank entry when selected does correspond to the telephone number entered. No matter what I do I cant edit the text in the combobox!! I sure I am missing a simple trick here, Any id ...Show All

  • Visual Studio 2008 (Pre-release) OrderBy/ThenBy and stable sorts

    Hi, From the documentation in the LINQ Preview I read that OrderBy/ThenBy operators do NOT perform stable sorts (i.e. the don't respect the original order of elements having the same key value). What's the reason behind that Efficiency Regards - Octavio ...Show All

  • Software Development for Windows Vista Lab4 problem : OrderCreated event is never raised.

    Hi I'm following lab4, and I'm having a big problem. The OrderCreated event is never raised. I've included the OrderLocalServices project inside my solution to put a breakpoint at public void RaiseOrderCreatedEvent( string orderId, Guid instanceId) { if (OrderCreated != null ) OrderCreated( null , new OrderEventArgs (instanceId, orderId)); } And the value of OrderCreated is null. I have checked that my OrderCreatedEvent inside my Worflow1 is properly defined. Here is the content: Parameter e : Activity=Workflow1, Path=OrderEvtArgs Parameter sender: Activity=Workflow1, Path=OrderSender EventName : ...Show All

  • Windows Forms Read line to line in an array from an textbox

    Hello I have a textbox with many things on each line one thing i give an example http://svekke.sin.khk.be/accijns.JPG I need line 1,2,3,5 8,9,10,12 ........ line 1 and 8 are the same --> must be in an array 2 and 9 are the same --> must be in a different array 3 and 10 are the same --> must be in a different array 5 and 12 are the same --> must be in a different array I hope you can help me To do this They are the same and not the same! line 1 and 8 are the same because they indicate Liters and line 2 and 9 indicate a special number ...Show All

  • SQL Server WebParts not found for Reporting Services

    I created my first Webpart .aspx page in SharePoint 2003. I created a new Document Library and assigned my webpart page to that library. Now when I go to Document Libraries, click on that webpart, I get the page but I no longer see the buckets for the layout..nor do I see the Explorer to allow me to try to add webparts. How do I get to this screen again that allows you to drag and drop items into my page It's just a blank page with a header right now....whereas when I first created this webpart, it asked me for the layout then showed me the layout after...I just want to get back to this edit page for the layout and to add webparts again. ...Show All

  • SQL Server Hi to all,Please help me

    Hi i want to hide a particular row in crystal report. how could i do that. thnx trivikram You should ask over at the Crystal forum: http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=77 . ...Show All

  • Visual Studio TypeDescriptor.GetEditor returns Null unexpectedly when used from add-in but not when used from Windows application

    Hi, Can anyone take a look at this issue and tell me why TypeDescriptor.GetEditor behaves differently when called from a Windows Forms app and from a VS 2005 add-in The details are at: http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=12e30ac9-bcae-4e22-a0ec-f58da38727dc Any help much appreciated, Carlos Quintero ...Show All

  • SQL Server Parent Child Table

    Hi everyone, I am using SQL Server 2000 and I want to select rows from a parent table and one collumn from a child table with them. I have: Table Cars CarID CarName 1 Corolla 2 Skyline Table Pictures PictureID CarID PicturePath 1 1 images/001.jpg 2 1 images/002.jpg 3 2 images/003.jpg What I want is: CarID CarName PicturePath 1 Corolla images/001.jpg 2 Skyline images/002.jpg The PicturePath collumn with the CarID and CarName is the first picture of the child table. How can I do that ...Show All

  • Windows Search Technologies WDS3 and Outlook2007 Beta2 German Problem

    Hello I installed Office2007 Beta2 German on a German WinXP Pro system. We work in a domain and ExchangeServer. The Quicksearch and the advanced search in Outloom doesn’t find anything with WDS3. When i remove WDS3 and install the actally WDS the search function works fine, but i get a message in Outlook to update the WDS to WDS3 Beta. Reinstall of Office2007 or WDS doesnt help anything. Anyone a Idea regards HGChrist, I just wanted to know that I'm looking into this issue for you. I'm going to see if I can replicate it on my end (which could be fun given my lack of German skills). I will keep y ...Show All

  • Windows Forms ListView_selectedIndexChanged

    Hi,  The ListView_selectedIndexChanged event is firing twice  or more number of times. I tried writing some code in the ListView_selectedIndexChanged event but i found that the event is getting fired more than once.Wat cud be the problem Subasree G ...Show All

©2008 Software Development Network