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

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

Peter Haik

Member List

DocMARs
Whoisit
dustinto
rolian
bbdobuddy
foobarX
donkaiser
Matthew Langley
Kim Ohrns
Aditya.P
Richard Purchas
bartleph
Lawrence_M
deodorant2
kalikoi
CP Developer
regthesk8r
Scythen
Brian McNamara - MSFT
SuriP
Only Title

Peter Haik's Q&A profile

  • .NET Development passing objects with webServices

    i'm trying to write a web service that will store objects that are created on the clients. clients will send the objects to the server and the server will save them then, when one client calls the server will pass the object to the client again. How can i do that thanks Matt. it works but i have different questions now. i tried to find these in my books but non gives satisfactory answers...as far as i understand, these proxy classes you told are kept on the client side. but only the properties are kept not the methods. so if i instantiate objects through these proxy classes how do i use the methods in the client i also need them... should i write webmethods for these methods in the webservice to make them available to the client is ...Show All

  • Visual Studio 2008 (Pre-release) Problem with Button template and properties IsMouseOver, IsPressed

    Hello all, I'm trying to implement some "standard" behavior of a button control. Let's take Win XP window minimize button for example. It has 3 states - Normal, MouseOver and MousePressed. If I click on minimize button and move mouse outside the button keeping left mouse button pressed, minimize button returns to the Normal state. Question is how to achieve similar functionality with button template in xaml All examples found in the internet behave this way: if mouse click is performed on some target button and mouse is moved outside the button keeping left mouse button pressed, target button returns to MouseOver state - not Normal. A little example to illustrate WPF button behavior: <Page xmlns=" http:/ ...Show All

  • Windows Forms Using DetailsView to insert, update, delete rows from SQL2005 database - update doesn't work - no errors

    Using VS 2005 DetailsView to insert, delete, and update rows in SQL 2005 database. insert and delete work but update does not. I recieve no errors and the detailsView comes back unchanged (as well as table row is unchanged). This is similar to Sara P's problem but the resolution doesn't fit my problem. I am trying to use as little code behind as possible. However I do have ItemUpdating routines that seem to work (i.e Checking table for new login duplicates and encrypting passwords). The following is the source code generated by VS2005: <% @ Page Language ="VB" AutoEventWireup ="false" CodeFile ="frmDbRegionMgrNew.aspx.vb" Inherits ="frmDbRegionMgrNew" Title ="Region Manager DB ...Show All

  • Microsoft ISV Community Center Forums How to show dates in forms by the order of time?

    Hello, all, I have a little database which deals with patients paper work. I have two tables. One is patients' basic information like name, race, age, and so on. The other is the patient's paper work including the date when the patient finishes the paper work. So I have two forms. One if for the patients' basic information, the other form is a subform of it to show the paper work information of the patient. My question is, when I try to see one patient's all paper work, say, 2 records, they are shown by the order of number, but not time. e.g. The first record will be paper work on 10/24/2006, while the second record will be paper work on 12/6/2005. I hope the records can be shown by the order of time. I mean, when I check the s ...Show All

  • SharePoint Products and Technologies MOSS 2007 RSS Viewer's XSL Link not working

    Has anybody been able to get the MOSS 2007 RSS Viewer Web Part to work with the XSL Link I have an RSS feed file and a style sheet in the same anonymously accessible location. It works fine if I just point the web part at the RSS feed. If I try to use the XSL link, it fails every time with this error in the logs: RssWebPart: Exception handed to HandleXslException.HandleException System.ArgumentNullException: Value cannot be null. Parameter name: s at System.IO.StringReader..ctor(String s) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXslCompiledTransform() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform() I started by using the default XSL copied from "XSL Editor..." in the web part. ...Show All

  • SQL Server service broker

    How to create service broker and whic version is supported to create serveice broker. can you plz exlain to create servece broker from the scratch Service Broker is an integrated feature of the SQL Server 2005 database engine. Please refer to the documentation on Books Online. ...Show All

  • Visual Studio Changing comments programatically

    I would like to be able to change comments for items in sourcesafe via the API. I can find the IVSS Version and see comments for an item/version but there does not seem to be a way of modifying a versions comments. I know this can be done via the IDE so there must be a call for me to duplicate this functionality. I found the IVSS VB project that is a VB.net project that attempts to mimic the SourceSafe IDE but it does not allow editing of comments! any help would be appreciated. If this is affecting your business, you can open a support case and ask for a DCR (design change request). No guarantee it will be accepted. You might also log a suggestion at Connect and ask people to vote for it, tha ...Show All

  • .NET Development How to know when a remote object is no more available

    Hello, Is it possible to know when a remote object is no more available. I mean something like the OnClose event of the MFC CAsyncSocket class. Marco Hi Marco, Remoting doesnt provide this kind of server events. There are couple of options that you can try 1. Implement a ping method on the server that clients can periodically ping to check the health of the server 2. Implement a callback mechanism and then make the server invoke all clients in its InitializeLifetimeService method (which should be called when the server's lease expired) to let them know its going down. Hope this helps. ...Show All

  • Visual FoxPro Philadelphia VFP User Group--Wednesday, August 9

    The Philadelphia Visual FoxPro User Group will meet on Wednesday, August 9, 2006 at 7PM at Valley Forge Pension Management, 715 Twining Road, Suite 202, Dresher, PA 19025. Anyone interested can meet for dinner at 6 PM at Rocky's in the shopping center across the street. Speaker: Kevin S. Goff Kevin S. Goff is the founder and Principal Consultant: Common Ground Solutions. He has 18 years experience - NET/SQL Server/Crystal Reports/Visual FoxPro and is a 2005-2006 Microsoft .NET MVP for C#. Kevin is the author of “The Baker’s Dozen” series in CoDe Magazine (Productivity Tips for .NET, Crystal Reports, and T-SQL) and one of the 2005 Personalities of the Year on the Universal Thread for .NET and SQL Server. Kevin ...Show All

  • Audio and Video Development Using "include" in mark up files

    I am trying to reuse parts of main menu mark up for the in-movie menu. An early iHD documentation states that conditional includes like this <include condition="SPRM(12)='en'" href="english.xml" /> should be possible. The schemas allow includes without condition too. But a line like this <include href="menubody.xml" /> within the body doesn't show any effect. Any ideas Are the linked files supposed to have special formatting Cheers, Gunnar No, that is correct. Note that the included file must be referenced as a playlist resource and in the manifest. Also, the linked file must include the namespace declarations in its root element, eg: < xml version="1.0" > <div ...Show All

  • SQL Server Stored Procedure Performance

    Hello, Given that a stored procedure and T-SQL code in query analyzer are exactly the same, why would the stored procedure run much slower When I mean much slower I mean 3 sec for the code in query analyzer as opposed to 2:33 sec for the stored procedure. Exact same code! Profiler also gives more reads and writes for stored procedure, and a lot of BatchStarted and BatchCompleted directives between the 'start' and 'end' of the stored procedure. Any help is greatly appreciated. -Tim I thought I was updating the statistics and rebuilding the indexes on this database weekly (and I do have it in the 2005 (9.0) compatibility mode); but upon further inspection of the execution plan I fo ...Show All

  • SQL Server Clone new database from existing

    How do I go about creating a cloned copy of an existing database on the same server I basically want to set up a test copy of a production database, but let it reside on the same server with a slightly different name, prefixed with 'Testing_". I typically just use Studio Express Manager and not scripts to do admin tasks. Here's what I tried that didn't work so well: * Had full backups of production db * Detached production database I wanted to clone * From within Win Explorer, copy the .mdf and .ldf files within same data folder and gave them a new name, prefixing with "Testing_" * Re-attached prodution db * Attached "Testing_..." database Sql Express seems confused at this point with new database I attached. It re ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Games within a IE brower

    Not real sure if this is a new thread or not, but is it possible to create a game (actually more of a simulation) using the XNA game studio that would run in a browser window Does not necessarily have to actually run from a online web server, just be browser based. Thanks So are we to understand that there is no synergy between XNA and WPF/E http://msdn2.microsoft.com/en-us/asp.net/bb187358.aspx ...Show All

  • Visual Studio How to use ReportViewer Find-Method correctly?

    Hello there. I wan to make a "external find" for the WinForm.ReportViewer in local mode. There has to be one seperate textbox and a button. The user puts text in an presses search. Now I want to use the "Find"- and "FindNext"-method of the ReportViewer like this: ReportViewer.Find(txtSearchText.Text, 1) Using that, I get the followin error: "The source of the report definition has not been specified" But the report is completely rendered. Thanks for any ideas. Tobi Hello Brian. I proceed like this: I put the ReportViewer in PrintPreview mode, searching impossible. By pressing the (external) search-button I set the RV back to "normal"-mode and start the &quo ...Show All

  • Visual Studio 2008 (Pre-release) TransactedBatchingBehavior

    I'm trying to figure out the TransactedBatchingBehavior. I've added the following endpoint behaviour to the service. TransactedBatchingBehavior tbb = new TransactedBatchingBehavior (100); // batches of size 100 endpoint.Behaviors.Add(tbb); I'm using MSMQ as a message store and want to batch messages together to improve DB update performance(apparently thats how it works, by cutting down the overhead of creating a transaction). My receive method pull's messages of the queue in batches for processing into the database. Does anyone have any idea how to get the current transaction from within the receive method, if using the TransactedBatchingBehaviour. I want to be able to confirm that the process is occuring inside t ...Show All

©2008 Software Development Network