Software Development Network Logo
  • SharePoint Products
  • Smart Devicet
  • Game Technologies
  • Microsoft ISV
  • IE Development
  • Visual Basic
  • VS Team System
  • Audio and Video
  • Visual C#
  • .NET Development
  • Visual Studio
  • SQL Server
  • Windows Vista
  • Visual FoxPro
  • Visual C++

Software Development Network >> jchau's Q&A profile

jchau

Member List

Obrzut
spydude777
John X. C.
SmartSpy
khaladu
Dmitry Shaporenkov
Ljhopkins
cstrader
DW Developer
David d48701
Magannahan Skjellifetti
ATony
m24paul
MartinMalek
Mike Hildner
Grant Holliday
PSamuel
Michael Herman - Parallelspace
DavidThi808
abhi_rock_star
Only Title

jchau's Q&A profile

  • Visual C# Why does Visual Studio 2005 starts to consume 100% of my CPU?

    Hello, Sometimes Visual Studio 2005 starts to consume 100% of my CPU. I've tried see if it is when I'm doing something specific, but I cannot put my finger on what it is that might trigger it. It is my first solution in VS 2005, so I have no clue if it's specific to this C# solution. I have a Windows Forms project and a Webservice project in my solution, all connected to a SourceSafe 6 database. This far I've always been editing the Windows Forms project when the CPU consumption has kicked in. I don't even have to build or run the solution for this to happen. If I close VS 2005 and open it again everything will be normal, sometimes only for 5 min, while other times it may well pass an hour without it happening. I no ...Show All

  • Visual C++ 'out' value-type parameters and managed/unmanaged references

    WOW the area of tracking references is confusing. I have a large unmanaged COM server (C++) to which I'm adding managed interfaces. Many of my methods provide output-only value results. For example, my Image class has a method that in C or COM you would declare as PixelRange(double* pMin, double* pMax), and in C++ you would declare as PixelRange(double& min, double& max) and in C# you would have PixelRange(out double min, out double max). It seems that I must declare this interface in managed C++ as PixelRange([Runtime::InteropServices::Out] Double% min, [RuntimeInteropServices::Out] Double% max). My problem is that for each such parameter I have to create an unmanaged variable to pass to the internal function, and I have to ...Show All

  • Visual Studio Express Editions How to debug DLL?

    Hi, I have a dll written in C++ (6.0 MFC). The functions of this dll is called by an application I just started in C# 2005 Express edition. I read about how to call a dll in C#, but my problem is the reverse situation. I need to debug the dll to find out if all parameters are passed correctly from C# to the dll functions. But if I set the exe file compiled from the C# to test the dll, it does not even start (it does when I start outside of the C++ debugger). What is wrong and what can I do I would be grateful for any help. Peter I tried VS2003 and chose Native Code. This is what I got: (Disassembly cannot be displayed in run mode.) I more or less gave up on VS 6.0, tho ...Show All

  • SQL Server Return Top row from a ResultSet - SQL Server (TOP)

    Hi all, I need to return only the top row of a ResultSet that is generated from my Query but can't seem to find anything in SQL Server 3.0 Mobile that allows me to do that. I know in SQL Server (Desktop) I could use the TOP keyword. The query I have is as follows, and just need the top row. Now the returned resultset will, in time, be massive, and there is just no way I can afford to return this amount of data in my application only to take to the top/first row. The query I have is as follows... SELECT * FROM tbl_NSP_AnswerSet WHERE (DateCompleted IS NOT NULL) ORDER BY DateCompleted DESC (I want the last record that was inserted into the database) Thanks The suggested solution only seems to allow for "TOP 1" queries. But ...Show All

  • Commerce Server Issuses on Checkout pipeline

    Hi I am trying to set up a new test commerce server2002. I have commercesever and SQL in 2 seperate box. I moved the code which is working correctly in the production. When i try to test .. i am getting a error in the payment page. Execution of pipeline 'checkout' failed. I checked the log i am getting this error PIPELINE:++ 2007/02/15 10:52:47.0442 Pipeline Execution starts (lMode==0x1, lFlags==0x0) 13 components in the list PIPELINE:++ component[0x0] about to be called ProgID: Commerce.Splitter.1 RootObject: ReadValue items VT_DISPATCH PV=[0xdf81fd0] VT_EMPTY __empty__ Items: ReadItem 0 VT_DISPATCH PV=[0xdf82050] VT_EMPTY __empty__ : ReadValue vendorid VT_NULL __null__ VT_EMPTY __empty__ RootObject: ReadValue vendorid VT_N ...Show All

  • Visual C++ Unable to find an entry point named 'HidD_GetHidGuid' in DLL 'HID.DLL'.

    I want to use the HID as a driver to communicate to a simple peripheral. When I call the 'HidD_GetHidGuid' function I get the subject error. If I run 'dumpbin.exe' on the 'hid.dll' the entry point is there with that name! I'm using the 'hid.lib' in 'winddk\3790.1830\lib\w2k\i386' in the linker and it builds okay. If I run 'dumpbin.exe' on 'hid.lib' the exported names are listed are decorated. I would understand if the error listed the decorated name '_HidD_GetHidGuid@4' as the name that couldn't be found. I have the include files 'hidsdi.h' and 'hidclass.h' bracketed with 'extern "C" {}'. I get no errors or warnings when I build the project. I'm really confused. Hello Re: Unabl ...Show All

  • SQL Server xml validation date type error

    This is my first attempt to load some XML validated against a schema. The schema is more complicated than this but I've been able to narrow it down to show the problem. After I load the schema and create the table which are successful, I try to perform an insert. The insert fails with the following error. Any help would be appreciated. Msg 6926, Level 16, State 1, Line 1 XML Validation: Invalid simple type value: '2006-08-08'. Location: /*:myReport[1]/*:Criteria[1]/@*:myDate CREATE XML SCHEMA COLLECTION myrpt_xsd AS '< xml version="1.0" encoding="utf-8" > <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs=" http://www.w3.org/2001/XMLS ...Show All

  • Visual Studio 2008 (Pre-release) Seeing the Mesh within Geometry3D.

    I am new to this whole '3D' thing and am having a tough time visualizing some of the stuff I have created. For example, a Mesh like this: < MeshGeometry3D Positions = " -0.5,0.5,0.125 -0.5,-0.5,0.125 0.5,-0.5,0.125 0.5,0.5,0.125 0.5,0.5,-0.125 0.5,-0.5,-0.125 -0.5,-0.5,-0.125 -0.5,0.5,-0.125 " TextureCoordinates = " 0,0 0,1 1,1 1,0 0,0 0,1 1,1 1,0 " TriangleIndices = " 0 1 2 2 3 0 4 5 6 6 7 4 " /> When creating this Mesh, is there a way I can visually show the lines that the Mesh creates Is there something similiar to a Gridlines property Thanks for your time. SM WPF3D does not have built-in support for wireframe. I can think of two options 1) Project the vertices into 2D and ...Show All

  • SQL Server Help Needed ! , Data Migration from MS Access2003 to SQL Express 2005

    Hi , I have a requirement to migrate the data from an existing MS Access database to a newly designed SQL Express 2005 database . Need less to say the table structures in both are totally different.I would like to know how can i handle a scenerio where i want to map table A in access to table B in SQL express (the schema of both different and the number of columns can vary too) , how do i migrate the data from table A in Access to Table B in SQL express using SSMA Also i would appreciate if some one can tell me is SSMA the right tool for this , or should i use the upsizing wizard of MS Access.If there is no change in schema between source and destination databases (more of upsizing) then the process is pretty straight fo ...Show All

  • Visual Studio Team System FxCopCmd /successfile

    Do the option /successfile on FxCopCmd work According to help print out on FxCopCmd it should generate a file if the are no problems in the analyses: /successfile [Short form: /sf] Create .lastcodeanalysissucceeded file in output report directory if no build-breaking messages occur during analysis I’m running FxCopCmd with options: /successfile /project:MyProject.FxCop /out:BuildLogs I would expect that a “.lastcodeanalysissucceeded” file was created in the BuildLogs folder when FxCop can not find any problems – why do I not get this file -- Erik Pedersen PS: using version 1.35 Ok, now I got it. The problem was this out option. I called my output file "NorFor.FxCop" and when the output file ...Show All

  • Windows Forms Font is Combobox text?

    Hey, How would I make it so that the font in a richtextbox is the selected font in a combobox(combobox2.text)  I tryed thisrichtextbox.TextBox.Font = (toolStripComboBox2.Text); but I got a error with the toolstripcombobox2.text part...: Cannot implicitly convert type 'string' to 'System.Drawing.Font'   Thanks :) programmer01 wrote: none of those worked....There are no errors but the font never changes... Thanks :) Can you tell again clearly what actuallly u wanna do please! ...Show All

  • Visual Studio 2008 (Pre-release) Reading and Writing image "Rating" metadata

    I'm looking for a way to read and modify "Rating" metadata that Vista uses to rate image files. I'm able to read the rating although I noticed that the rating is written in several places in metadata... and I'm not sure which Vista is using... it looks like all of them are changed at the same time and are kept in sync... so do I have to modify all of them to keep them in sync /xmp/Rating / xmp/xap:Rating /app1/{uint=0}/{uint=18246} When I'm trying to modify the rating... nothing happens... I'm using this code Stream fileStream = new System.IO. FileStream (path.LocalPath, FileMode .Open, FileAccess .ReadWrite, FileShare .ReadWrite); BitmapDecoder decoder = BitmapDecoder .Create( this .fi ...Show All

  • Windows Forms Multiple Lines for DataGridView Header Text

    Anybody knows how to manually break column header text (in DataGridView) into multiple lines Ex: address line 1, I would like to see "address" in one line and "line 1" in another line. If I let the program auto break it, you would see "address line" in one line and "1" in another line, which is not something I like to see. Any help or pointers are appreciated. Bo Hi, The '\n' trick works for me. Set the WrapMode to true and resize the column width, and you can have a look whether the column name goes to the second line. Hope this helps. ...Show All

  • SharePoint Products and Technologies Link two List Views to make Master Details

    Hi, I have created two seperate views and want to be able to click a link in one of them which will take you to the other view and only show the list items associated with the record that was clicked on, and also be able to edit and add new items that would be associated with the record that was clicked. Any help would be much appreciated. Thanks in advance, Grant. If you have a Business Data Catalog, you could try using the "Business Data List" and "Business Data Related List" web parts. From the description, they sound promising. Good luck! -Brian ...Show All

  • Software Development for Windows Vista Packaging: "[Content_Types].xml" part?

    I'm messing around with the packaging APIs (my eventual intent is to figure out how to add my own custom parts to an existing XPS file, since MS isn't telling). I started with the PackageRead sample, and made some adjustments to basically take a .XPS input and dump it to a flat-file structure. I'll know when I have it right when I can take any of the sample XPS files, dump to a folder tree, manually re-Zip that back to a .XPS and get a faithful reproduction. It's mostly working, except some sample XPS files have a [Content_Types].xml file in the package root. But for whatever reason, none of the Package collections (Parts & Relationships) seem to recognize the existence of this. So I have two questions: 1) Anybody know how to get at th ...Show All

©2008 Software Development Network