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

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

polien

Member List

J Johnson
Rahul Saxena
crystalchunn
LPlate
AlanJSmith
allen5928
Ryno1234
Allan.ex
Brian Macomber
Curtin
DaVince
Rturlapati
Naman
Gerhardo
Lourdes
mallamahesh
Sam Barnes
Juliano.net
Joannes Vermorel - MVS
Tom Harwood
Only Title

polien's Q&A profile

  • Visual Studio 2008 (Pre-release) Is it OK to implement IValueConverter on the custom control class itself?

    I have a custom control that displays a lot of lines as a Polyline (to display a histogram ;-)). Therefore I implemented a IValueConverter, that converts my histogram to a PointCollection. My question is, is it OK to implement the IValueConverter on my custom control class itself as I sometimes need some more information during the conversion that is only available in the control class It is ok to implement IValueConverter on your control class, but i wouldn't recommend it. IValueConverter is a concept used to abstract UI from the underlying application logic, and by making your control implement IValueConv ...Show All

  • SQL Server Why is there no warning if an input to an Aggregate component is not sorted

    All in the subject.   Donald Farmer wrote: Anyone here. We have this as a possible refinement for the future, Jamie. In fact there are a range of optimizations that sorting can enable, such as Max and Min aggregates, and Top-n, Bottom-n. Something to look forward to! donald Cool. That makes sense - thanks Donald! ...Show All

  • .NET Development C# "Platform" related directives

    Not sure if this is the right forum for this... I have a solution that has muliple projects wherein each project targets a different platform such as WinXP/Win2000/Win2k3, WinCE, PocketPC I want to be able to maintain the same code base (only the "Form" is different). However, there are a few nuances across these platforms and so my code does not compile. Are there any platform specific directives that will allow me to do this Shiv. Defining my own symbols is not really going to work for what I've asked. But thanks anyway. I don't believe VS has this kind of thing. Shiv. ...Show All

  • .NET Development Data Access Application Block for .NET

    Does MS have plan to release a newer version My preferred functions are Include support of customized timeout value Include support of SqlDataAdapter.Fill(DataSet, startRecord, maxRecord), so that I can get only portion of data. They are part of the enterprise library application blocks for visual studio 2005 http://msdn.microsoft.com/library/ url=/library/en-us/dnpag2/html/EntLib2.asp   ...Show All

  • Visual Basic Error with sockets and threads

    Hi I am having a persisting problem with an application that I am developing. I've made a TCP Server class with a thread for listening incoming connections and a thread for polling for received data from the "accepted" sockets and also disposing them. I have 3 puiblic events raised from within the threads, one for notifying the acceptance of a socket, one for Received data and one for a closed socket. The application seems to work OK, but if I try to connect and then disconnect with the client application for a non-predictable number of times, I get an unhandled NullReferenceException. The threads stop at the following locations. T ...Show All

  • Windows Forms Using Updater App. Block v2.0 for .NET Outlook Add-In

    Hi all, I'm developing an Outlook 2003 Add-In in .NET using MS Office PIA. My solution needs to supports auto-update functionality. I'm new to MS Updater Application Block v2.0 and would like to know what is the best method to implement it in my Add-In. Thanks in advance. ...Show All

  • Windows Forms Capture URL in IE address bar with C#

    Hi, How to capture the text on the internet explorer address bar with C#  I am working on window form, not ASP.NET. Many thanks. Michael Check this one out... its in delphi, u can try it in win32... http://delphi.about.com/library/weekly/aa060303a.htm ...Show All

  • Windows Forms Binding Textboxes

    Dear Team    Binding textboxes from the designer by the dataset is not working    even "'text and tag"' from the proprties    But it works by code Hi, bug reports should be placed at product feedback center. http://lab.msdn.microsoft.com/productfeedback ...Show All

  • SQL Server "Renaming package" dialog

    I created a new SSIS solution, right-clicked the default name "Package.dtsx" (under SSIS Packages), then renamed it. A dialog appears asking "Do you want to rename the package object as well" What are they referring to and what are the consequences of doing/not doing so Barkingdog In Visual Studio you rename a file - the *.dtsx file. However, the SSIS package is an object in the file. So if you don't rename the object you could have a package file called MySuperPackage.dtsx containing a package object called MyOldPackage. Try saying no to the dialog once and check the name prop ...Show All

  • Visual C++ convert parameter 1 from 'char [256]' to 'unsigned short *'

    does any idea for convert parameter 1 from 'char [256]' to 'unsigned short *' any suggestion from char * to unsigned short * and i would like to provide some sample code let everybody look at it Code: int EngError(char *function, int code, char *format) {    char args[256],msg[1024];    if(gErrorPrompt == 0) return code;        wvsprintf(args,format,(char*)(&format+1));    sprintf(msg,"[%s %d] : %s",function,code,args);    MessageBox(NULL,TEXT("msg"),TEXT("WinError"),MB_OK);            return code; } You have mixed the ANSI&Uni ...Show All

  • SQL Server search char in String

    Hi Is there any function to seperate a sting (VARCHAR) into two based on a character in the string (e.g. '-'). In short is there "InStr" or "split" type function in T-SQL If not what is the alternative I have a column called "Range" (VarChar) in the table which has ranges like 1-14 or 15-49 etc. I need to select records by compare a variable (numeric) against these ranges.   So for instace if the variable has 15 its in range 15-49. I was thinking of spliting the range field into two so that comparison is possible. Any suggestions thanks       Hello, do ...Show All

  • Windows Forms Image lists and PNG woes...

    Hi All. I have a list view and I want to populate it with large images, but it seems that I have to use an image list to do this. When I insert a nice quality PNG file with alpha channel information into the list, it looses that information and makes the image look like crap.  If I use the same image on say a button, it looks just f ...Show All

  • Visual Studio Team System Web Test - Any way to compare an Extracted value (Context Variable) against an expected result?

    Hi, Is there any way to compare an Extracted value against another expected value without using coded Web Tests Thanks The extracted value can be compared without using coded Web Test. It can be done by combination of Extraction rule and Validation rule. The "Context Parameter Name" entered in extraction rule can be used in the validation rule as expected value. It has to be taken care that the context parameter name should be appended by {{ __ }}. Eg: If Context Paramerer Name is UserID then {{UserID}} has to be entered as expected value in validation rule. ...Show All

  • SQL Server Query Results Truncated in SSMS

         I'm running a query in SSMS that returns a large result set.  The query runs fine without error.  However, in the results pane the query results are truncated.  I've tried adjusting every option I can find.       I think I'm running into a limit on the number of characters displayed in a column in the results pane.  I've already bumped up the amount to the max (8192) setting in the option settings.  This is not enough.  What are my options   I've already tried "sqlcmd".  It can't handle the results returned either (same truncation effect, only ...Show All

  • Visual Studio Team System Report server error

    After a successfully TFS installation any new projects fails showing any of the reports. If we run the reports directly from reporting services, following error are returned: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'dsIterationPathParam'. (rsErrorExecutingCommand) The Team System cube either does not exist or has not been processed. We have a dual installation with SQL 2005 June ENT and TFS july. How can we correct the error   Regards Christian ~ Hi, Has anyone found a solution to this error other than a compl ...Show All

©2008 Software Development Network