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

Software Development Network >> Peter Peng's Q&A profile

Peter Peng

Member List

dustinto
Di Wu
iconjunky
HiTech2k
Species2175
wencey
Swimmer84
Vikash Sharma
martin.kolarik
Paulustrious
ElvenWong
rodniko
doowadidley
TMF
soloryan
veXed
黃泓量 Jeremy Wong
WayneSpangler
wilhil
thalion99
Only Title

Peter Peng's Q&A profile

  • Visual C++ Missing icons on MDI child windows

    Having written code to create MDI master and child windows using Win32 API, I have discovered that when using the application under the Windows XP theme, icons assigned to the MDI child only appear when the child is maximized. When the child is minimized or normalized, a white space appears where the icon should be. The icon is assigned using - SetClassLong(widgets[1].hwnd, GCL_HICON, (LONG)geeicon); The icons appear using the same code using Windows 2000 and Windows XP, classic theme. Also if you start the application using classic theme and then change to XP theme the icons stay attached to the child windows. It is only if you start the appication in Windows XP theme that the icons are missing. Any ideas ...Show All

  • SQL Server Need infos regarding install of SQL Express 2005 SP1

    Hi, A little technical question. If I want to install SQL Express 2005 SP1, do I have to uninstall current version first Thanks in advance, Stephane And as I have replied many, many times: NO, you do not have to uninstall your current version of SQL 2005 Express. When you start up the "Advanced Services" edition, you will be asked if you want to install a new instance, or just install the new advanced services and Management Studio Express. Please, give it a rest. Go make your installation. Go with Peace and Florish. ...Show All

  • Visual Studio Team System Problem with displaying "Work Items" for a <PROJECT> in Team Explorer

    Our TFS lives in the folowing configuration: Server OS: Windows 2003 Server R2 Database Server: MSSQL 2005 + SP1 Some time later, after we had started using the TFS we got a problem with displaying of content of WorkItems in our <Project>. The problem appeared for some users only, but including Administrator who had installed TFS. When they try to expand WorkItems Team Explorer shows "(working...)" and hangs in it. At the same time "sqlservr.exe" process  on the ServerComp gets 100% of CPU loading and stays in this state until TFSAppPool will be recycled. Can anyone help to workaround this problem Also, how many projects are there on the server, and did you create a custom proces ...Show All

  • .NET Development Autopostback radiobutton control not valid xhtml 1.0 transitional

    <EDIT> After spending ages trying to figure this out and looking through articles I actually found the answer on msdn minutes after I posted this. http://msdn2.microsoft.com/en-us/library/ms178159.aspx I needed to add this to my web.config <xhtmlConformance  mode="Strict" />    </EDIT> Hey all, I have a some controls that autopostback and my application generates <input id="rbHello" type="radio" name="rbHello" value="rbHello" onclick=setTimeout('__doPostBack(\'rbHello\',\'\')', 0)" language="javascript" /><label for="rbHello">Hello</label> Which is fine but the w3c validator doesn't like the language="javascript" bit when checking against xhtm ...Show All

  • SQL Server Drilldown in SQl Reporting Service

    Hi, I'm new to SQL Reporting Service. Now only I've started studying that. My question is, I wanna list out my product sales for each month for each keywords. For example, I have 4 products, some 15 keywords (its an ecommerce site. Visitor coming from a particluar keyword and buying some products. Wanna list out sales for each keywords and product for Every month. To know the quarter sales wanna see the sales and product name for particular keyword). I'm having reports for each month sales. like, Keywords Product A Product B Product C Product D Keyword 1 125 24 275 12 Keyword 2 456 245 67 1223 For quarter sales, I want to see the sales and keywords list for each ...Show All

  • Windows Live Developer Forums Robot Invaders - Weekend Madness & $200 Prizes

    Invasion of the Robots Contest—Weekend Madness! Build a Robot by Monday and you could be one of 5 people to win $200.00 Who Will Win The 1 st 5 people that submit their valid robot entries, which means: Submitted between today 8/9 11:00am PST and 8/14 11:00am This is for new Robots, those that have already been submitted will not be considered Submitted correctly means: Step 1: Build it, host it, and make it available from the time you submit to the time Weekend Madness closes (11:00am 8/14) Step 2: register your robot with http://gallery.live.com , Messenger, Bots, Submit Step 3: https://www.robotinvaders.com/main/Register.aspx Each person is eligible for only 1 Weekend Madness prize ...Show All

  • Visual Studio Team System Automatically compile references when running tests from Test Manager

    I have a simple solution with a test project and a windows application project in C#. If I make changes to the windows app project code and then click Run Tests from Test Manager, the windows app project does not get automatically recomplied. I have to recompile the project first, then run the tests. Since the windows app project is referenced by the test project, I would expect it to be compiled automatically if it has been modified. Does anyone know if this is a bug or if there is a configuration setting to get this to work I have searched the web and looked through all the property pages and option settings without any luck. Hi Rick, The scenario that you are mentioning works that way by design, ...Show All

  • Visual Basic Program Handle Count

    When I run my application, after a few days of being open, the handle count gets up to like 2,000 in task manager, and eventually crashs. Is there a way to prevent this WEll Josh.... there's there Dance. It's like a waltz and it goes like this.... Partner A: I have this problem and ....... (but I'm not going to show you the code) The rest of the world is burdened with the role of "mindreader". ...Show All

  • SQL Server any other plugin algorithm developed??

    hi, as we know we get clustering algorithm with managed plugin algorithm API does anyone have developed any other plugin algorithm as i want to check what are the things that needs to be modified. i am not data mining algorithm developer but i just want to check where we have to make changes. i would be better if i get source code for algorithm other than clustering ANOTHER PLUGIN ALGORITHM REQURIED thanks in advanced We haven't made any other samples available as of yet. Angoss and KXEN, among others, both have implemented plug-in algorthms that they sell commercially. I don't know of any parties that have made source code available for their plug-ins - maybe someone will start ...Show All

  • .NET Development Need some help with forms and connections

    I have made a form with a datagridview of empinfo and I have put four buttons on it, HealthInfo, TrainingInfo, etc. and I want to be able to highlght an employee name in the gridview and open another window with the requested info in textboxs or listboxes, for example I want them to display the Health information table of the database. What kind of code do I need I am using Visual Studio. if someone could show me how to do one I could figure out the rest. The book Ive got does not show how to do this. Is this not a common application Thanks for the help sir but ... What code would the Form_Load event require Where do I insert the table and column values I dont want to sound to retarded but ...Show All

  • .NET Development .Net Remoting And ReaderWriterLock

    Hi, I am working on a .Net Remoting program. In side the remoting class, I need to use a ReaderWriterLock object. But it seems that all method calls from remoting client can easily acquire the writer lock on that object regardless the lock has been acquired before. Here is the code sample public class RemotingExampleService : MarshalByRefObject {     private ReaderWriterLock lockObj = new ReaderWriterLock();     public void  LockObject()     {         Console.WriteLine(lockObj.IsWriterLockHeld); //return true except the first call         lockObj.AcquireWriterLock(-1);     } } I used Singleton r ...Show All

  • SQL Server The password of the account must be changed

    I am trying to adapt a vb6 application to support sqls 2005 features. I am using SQL Server Authentication and want to support the feature which forces the user to change his password on the next login. Using an SQLOLEDB connection string, on trying to log I get an error saying that the password must be changed - fair enough - but how can I do this I would have expected to be able to supply both old and new passwords in the connection string, but there does not seem to be any such feature. Am I missing something obvious Thank you for your advice, which would have been useful if I had been using VB.Net, but I am still stuck using VB6, and it does not support the interface described. Do you have any idea ...Show All

  • SQL Server Package ID "not available" in Management Studio

    Do you need certain file system permissions for the SSIS service account to view the Package ID (a guid) in management studio When viewing Stored SSIS Packages in Management Studio's Object Explorer, the Package ID for a given package is always listed as "Not available". This applies to .dtsx files stored on the file system (SSIS Package store). Conversely, for packages stored in MSDB (Sql Server), the Package ID is listed. P.S. The version major, version minor, and version build number are also always "0" for packages stored in the Package Store when viewed through management studio, even though they are clearly not zero when loaded in BIDS. windows xp sp2 SSIS version 2153. j ...Show All

  • .NET Development .Net Remoting and Whidbey upgrade path

    I was hoping to get feedback from the MS Remoting team on the future of remoting once Whidbey is RTM. I had heard a rumor from a co-worker that MS trainers had told them that once Whidbey is RTM, there is no upgrade path for current remoting solutions as remoting is not being supported in later versions of the .Net Framework. Can anyone confirm or deny this for me - please set me straight. TIA Remoting is a supported technology. You can still keep using it in Orcas and beyond. If the question is “will there be any new features added to Remoting ” then the answer is different. ...Show All

  • SQL Server Unable to connect to Oracle Data Source

    I'm using SSRS 2005. I'm unable to create a new Shared Data Source, connecting to an Oracle database. I already have the Oracle client installed on my local machine. And I'm trying to create a Shared data source by clicking the Add New Data Source option. Then I select the Type as Oracle and click on the edit button for the connection string. Then I enter the server name in the dialog box and the username and password to log on to the database. The I click on the Test Connection button and get the following error: ORA-12154 : TNS:could not resolve the connect identifier specified. Could somebody help me with this TNS... I think I remember getting this error in the past..did you install the oracl ...Show All

©2008 Software Development Network