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

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

pknepper

Member List

Clerigo
Jay McCleery - jaysonm
Rafiq
GN
NyaRuRu
shware
jizhang
Gregory Block
mosaic
IlkerTunca
wojtek.n
admirm
pvh
Robert Magowan
Romit
stelioshalk
korggy
wwlliiaamm
MarcoD
howudodat
Only Title

pknepper's Q&A profile

  • Smart Device Development windows mobile 5 development

    Hi Can anyone guide me that where can i get examples for database connectivity and displaying data in Grid thanks Are you talking about C++ If yes, start by writing DataGrid because there's none. If that's C# or VB, you're in the wrong forum. Anyway, sample for managed DataGrid is available here: http://samples.gotdotnet.com/quickstart/CompactFramework/doc/datagrid.aspx Also please see this: http://msdn.microsoft.com/smartclient/understanding/netcf/FAQ/default.aspx   ...Show All

  • Visual Studio Bind data to reportViewer Control runtime

    hi all So, i already have DataSet Object, created and filled at runtime, i also have report file, freshly created in visual studio. And how can i make reportViewer to generate report using this DataSet Tthanks! ...Show All

  • .NET Development Support for E4X anytime soon?

    Is support for E4X coming to JScript anytime soon I'm guessing no since 2.0 of the framework is about to roll out and it's not in there yet. E4X features will not be in the Whidbey release of JScript .NET. There is also no plans to add it for the next release of the COM classic version of JScript (IE7). At this point, we're evaluating how much customer demand there is for the feature set. What scenarios would you like to use E4X ...Show All

  • Visual C# Help me to understand better the interfaces

    Hi i read a bunch of articles on articles.. i know exactly how to amke them.. But i dont understand why should i use them .. or for what are they important.. Why should someone wanna make a interface for something... Please help!!! Hi! Interface used to implement behavior in any class without specific superclass. Few examples: IList. Any class that implement this interface can be treated like list. This can be .NET Framework class or your own. And there is no need to make them all from the same base class. IFormattable. Any object that implement this interface can be used with formatting services. IDisposable interf ...Show All

  • Visual Studio Problems with August CTP ReportViewer WebControl

    I am having an issue with the ReportViewer control in the August CTP of the WebForms ReportViewer control. When I attach an eventhandler to the Sort event of the ReportViewer control, and subsequently click the icon for interactive sort (on the report), a blank screen renders without report content. Has anyone had a similar issue   How have you worked around it -JG- Here is a copy of the code I am using:    ReportViewer rv;     protected void Page_Load(object sender, EventArgs e)     {         rv = new ReportViewer();      &nbs ...Show All

  • Visual Studio 2008 (Pre-release) Table Width in a FlowDocument

    The table always stretched to the whole document width, but i need fit table to it's content (or set width explicitly). How Unfortunately, there's no way to make your table size to content horizontally  in V1.  If you don't have much data, you can use a Grid within a BlockUIContainer, or even a Figure or Floater. For example: <FlowDocument>   <Paragraph>From the data, we notice that strawberries really do taste better than chocolate:     <Floater>       <BlockUIContainer>         <Grid /> ...Show All

  • Visual Basic Internet and ADO

    Hi all, I had a VB6 program that opens a remote asp page as an ado recordset. The asp page connects to the remote db, gets some records and return them. Should I do the same in .Net or is there a better alternative to retrieve data from a remote db. Note: webservices are not an option Thanks, Ivan Hi Ivan, Did your Database is exposed on the web e.g. We can install SQL server at machine A, but our client at machine A can connect to it directly. If no, we have to build an application which will retrieve data from the DB and pass to the client. For .NET, we can do that in ASP.NET, but if you ...Show All

  • Visual Studio 2008 (Pre-release) Find Client Address Inside WCF Operation

    Hello, I'm writing a WCF application using Indigo Beta 2. I have created a service which listen on http address using wsHttpBinding and a client which create a proxy using ChannelFactory<> class. Everything works well except that I want to find the client address (client machine name) which send the message. When I was working with WSE I have assigned the ReplyTo element in the message on the client and on the service I read this value. With WCF it seems to put anonymous url in teh ReplyTo element and null on the From element of the incomming message headers. Is there a way to make WCF infrastructure to put the client ...Show All

  • Visual Studio 2008 (Pre-release) How do I use the ScrollBar ?

    I am kind of having a hard time figuring out how to use the scrollbar. I have created my own Canvas that displays a document. So I have a viewport (wich shows a part of the document), and a document (wich is basically another Canvas). How do I calculate and set the parameters for the scrollbar now So that the scrollbar reflects size and postion of my two Canvases For example: How do I calculate size scrollbar's viewport (ScrollBar.Viewport) so that it  reflects the size of my Docment and my Viewport. What do I set for Scrollbar.Minimum and Scrollbar.Maximum Is there maybe an example around on how to use the ScrollBar I don't want ...Show All

  • Windows Forms Prevent columns in winforms datagrid from scrolling

    In Windows Forms DataGrid I don't want first two columns to scroll. Is there any why of doing this thanks What do you mean   Are you saying that if there are more rows in the datagrid that can be viewed vertically and the user scrolls down, you want the first two columns to "stay" where they are and only have rest  ...Show All

  • Software Development for Windows Vista InvokeWorkflow Dependecy .

     Hi there, I have a question about the dependency of the invoke workflow activity, how can I make the child workflow is dependent with the parent workflow, i mean that the parent template will stop processing until the child template is finished. Thanks WWF team. BaselN, The InvokeWorkflow executes the child workflow asynchronously from the parent. If you're looking for synchronous behavior, the child workflows should be designed as custom activities instead. That way, they can be dropped directly into the parent workflow. Ariel Schapiro has also created a sync ...Show All

  • Visual C# Use of unassigned local variable

    if i delete "if" condition, it run well, if not, error:D:\cis 524\example\WebApplication1\WebForm1.aspx.cs(144 marked red): Use of unassigned local variable 'attriancolor'. How to handle it Any help is appreciated. private void addbutton_Click( object sender, System.EventArgs e) { string cageNo = cageList.SelectedItem.Value; string animaltype = animalList.SelectedItem.Value; string animalid = animalidList.SelectedItem.Value; XmlText xaname; if (!findAnimal(animaltype, animalid)) { xfile.Load("http://localhost/WebApplication1/zoo.xml"); XmlNodeList cagenodelist; XmlNode animalnode; XmlAttribut ...Show All

  • Visual Studio Team System How can I Know If a instruction is a call to a private method?

    How can I Know If a instruction is a call to a private method Now, I have this code: public static bool IsMethodCallPrivate(Instruction instruction) { if (instruction == null ) throw new ArgumentNullException("instruction"); switch (instruction.OpCode) { case OpCode.Callvirt: case OpCode.Call: case OpCode.Calli: return true ; } Thanks Try this: public bool IsMethodCallPrivate(Instruction instruction) { if (instruction == null ) throw new ArgumentNullException("instruction"); switch (instruction.O ...Show All

  • Smart Device Development CenterWindow() no longer works on WM5 ?

    Hi all, I want to display a model dialog and center it, I used CenterWindow() inside OnInitDialog function to position the window successfully on eVC++3.0 MFC application. When I did the same to a WM5 fresh new MFC project, it did not work out. I have to manually set the X-Pos and Y-Pos in resource to make it center on screen. Is there any better method to center a dialog on screen Hi, Assuming that you used the m_bfullscreen member to created a non-fulscreen dialog, I created a sample project and found the same behaviour for both PPC 2003 and WM 5.0 platfroms( my sample tries to c ...Show All

  • Smart Device Development How to open/close GPRS connect?

    Hi there, I would like to write a program for data socket with GPRS connection. My smartphone, Dopod 585, is as the client and PC is the TCPserver. To deliver string from smartphone and show it on PC is my current task. However, I can do that via USB connection but failed in GPRS. It seems to mean that both programs in client and server are correct but something wrong in GPRS connection. Maybe I need to write a program in C# to start GPRS connection. However I could not get any information about GPRS connection in the MSDN for C#. Would you please do me a favor to give a example program or tell me what function or structure could accomplish ...Show All

©2008 Software Development Network