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

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

aspnovice

Member List

Angele
IO95
Chris Monachan
Jan Bannister
clonk
Jaysper
Pedro Silva
Kris R
artemuse
c.w.chambers
mjbp
Universal Soldier 2005
karthikeyan.A
BlueLeviathan
sajid1jama
Stuarta670
Rui Umbelino
SylvainLS
dean1
doppel
Only Title

aspnovice's Q&A profile

  • Architecture Session Management for Distributed Remote Application in C#

    Hi In my Distributed Remoting Application i am using Command Pattern for Remoting. Now i want to add session management in the application. Whenever commad executor called it should check for the session. The design scenario is C# - SQL Server 2000 - Windows Application. Multiple Client. Single Business Logic (Middle Tier). Single DB Server.   Suggest me the best way to do session management. The common way to manage the session between the client and the server is to use a session token (see http://en.wikipedia.org/wiki/Session_token ) As far as managing the session on the server side - ...Show All

  • Windows Forms how to bind datareader to datagridview in vb.net2005

    how to bind datareader to datagridview in vb.net2005 Hi!   You can't bind it to data reader, look for alternative like dataset, datatable, BindingSource or any class that implements any of IList,IListSource,IBindingList or IBindingList interfaces. Sohail. ...Show All

  • Software Development for Windows Vista Composite activity design question

    I'm currently working on a design that would utilize a composite activity that contains an InvokeMethodActivity and an EventSinkActivity. The purpose of the composite activity is to encapsulate the sending of a message to a queue and then to await a response on a separate queue. This composite activity will represent the base class for many higher-level activities that will operate in this manner. Therefore, a workflow will be comprised of many of these types of activities. In the examples that I've seen for this pattern (InvokeMethod / EventSink), the event sink uses a service implementation that lives in the host process. In my case where ...Show All

  • Visual C# Why to use Interface IDbConnection,IDbDataAdapter .Its real time use????

    Hi, I could not understand real use of this syntax IDbConnection myConn = new SqlConnection();  IDbConnection myConn = new OleDbConnection();   IDbConnection myConn = new OdbcConnection();   We can also use for SqlConnection System.Data.SqlClient's SqlConnection class . Then why to use Interfaces.... Please give architectural benefit....any example will be more help full. regards ashok  Hi Ashok, The implementation is called the Factory Design Pattern. Some articles which cover the same topic: Writing a Generic Data Access Component http://www.c-sharpcorner.com/Code/2002/July/Gene ...Show All

  • Visual Studio Express Editions Is there a "Setup" project available in Express editions?

    Maybe a dumb question, but I have Visual C# Express 2005 Beta 2 installed on my computer but it seems like it doesn't have a Setup kind of project. Isn't it available in Express editions How else, except for the Publish feature (which doesn't work as well), can I deploy my applications Resorting to 3rd party software doesn't sound too good to me. Is it something wrong with my installation It would be a pity not to include in VS 2005 such a tool. Hi A.L. Forgot to answer your other question: Setup projects are available in in the VSTS SKU. -Patrick ...Show All

  • Visual Studio Express Editions Battling to load template from online template library

    I've read the instructions for loading an online template. Basically I'm looking to import the Windows Service template into my list of project templates. When creating a new project, I click on the search online templates option, then search for the Windows Service template, and it comes up in the search. But then what I open it and don't see any option or right-click option to save/download the template!! Please can someone help me out here this is very frustrating! Hi, Can you give us more details about the error description...if possible send us link for screen snapshot for the error. Thank you, Bhan ...Show All

  • Visual Studio ReportViewer control - protected memory error when printing

    Hello, When me or my users try to print from the Windows Forms ReportViewer control to a specific printer (using PCL), the following error appears in the ReportViewerControl client area: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. It is only happening with the one printer of that type. The error appears after choosing the printer to print to and selecting "Print" from the dialog. The "Printng page x of <reportname>" window never appears. Does anyone know of this or a similar problem occuring elsewhere or if there are any down ...Show All

  • Visual Studio Express Editions how to get windows to open text with my app

    Hi,how do i get windows to open txt files with my program i made with vb2005 I think you're asking, "When I double-click on a .txt file in Windows, how do I get Windows to open the .txt file with my VB application " If that's the case, the easiest thing to do is to open Windows Explorer, find a text file (extension is .txt), right click on the file, select "Open with..." then select choose program. You can then browse to your .exe and select "Always use the selected program to open this kind of file." If what you're asking is "how do I open a .txt file with VB 2005" ...Show All

  • Visual Studio Express Editions how to add new users with SQL Server Management Studio Express CTP

    hi, someone maybe can help me how to add new users, that they could connect to my MSSQL 2005 server, i trided myself, but i didn't make it.. thanks This probably should have been posted somewhere else being that this is the Installing and Registering forum but here is how to add a new user for SQL 2005: 1) Connect via Management Studio 2) Expand Security 3) Right click Logins and select New Login From there you can configure that new user. Remember to set the authentication mode for the server. It's set to windows authentication by default. ...Show All

  • SQL Server Execute phase Memory Error

    Hi, I have a data flow component that retrieves records from a table.  There is about 3 million records.  I do sorts on the records, then use a merge join transformation to join that sorted data with the dimension data.  However, when I pump 10,000 records through this transformation it works fine. When I try 3 million I get this error: DTS.Pipeline: Thread "WorkThread1" has exited with error code 0x8007000E.  I think this is a memory error. I have 1000 MB of memory 30 GB of hard drive space.  I am also running this on a virtual server. Option 1: Don't use merge join transformations and use Lookup's instead Opt ...Show All

  • .NET Development xslt loop problem

    Hi I always seem to get 90% of the way before something goes pear-shaped Started on xslt (apparently the way to do the following) so I can get rid of all the trash from one file and save only the info needed to another. I am using Stylus Studio to help with the xslt and I have the following which works xslt file < xml version='1.0' > < xsl:stylesheet version= "1.0" xmlns:xsl= "http://www.w3.org/1999/XSL/Transform" xmlns:a= "http://www.w3.org/2000/svg" > < xsl:template match= "/" > < textdata > < text > ...Show All

  • Windows Forms Temporarily disabling keyboard/mouse input

    Hello All, I have written a C# .Net video game that works well.  When the game is over a MessageBox pops up and displays the player's final score.  The problem is that the player is still pounding away on the keyboard and/or mouse to move his ship and fire rockets.  Thus, the MessageBox disappears before the player realizes the game is o ...Show All

  • .NET Development Pondering over web services

    Hay all, I have been working with .net for over 3 years now, and have developed 2 enterprise level web applications. I have been coming across stuff over WWW where an asmx has been deployed and then examined using WSDL standards in order to find what are the methods, objects and their details. Wonderful, but what worries me as a developer is, am I on the wrong track or what I have been working on commercial, enterprise level softwares whose utilization in terms of data, speed, and users were complex. The web services I developed and used there were to make the data available and I did not bother to go through what were the methods and ...Show All

  • .NET Development Any way to find the number of subscribers to an event using reflection?

    As the topic says, I need to find out how many subscribers there are to an event, given only an object and the event's name.  And, that event is owned by another class (currently limited to my own code, in my own assembly, but I can't expect that in the future).  My previous solution was to modifty the add/remove accessors, and expose a field that counted the adds/removes.  That was ugly. Ok, ok, I know.  Just the mere idea that I have to do this, is just plain bad.  None-the-less, I have no other ideas on how to avoid the problem I'm trying to fix.  (I'm currently building an AJAX [ooo, buzzword!] layer for AS ...Show All

  • Windows Forms How to embed child datagrid into its parent in windows forms

    Hi  I want to embed a child datagrid into its parent grid in windows forms so that the user can select some rows in the child for processing. I tried adding a relationship between the two tables but the datagrid shows a + sign which takes me to a new datagrid. I want to display the child datagrid into the parent grid. I searched a lot in the net and could find one similar in Sync fusion. I don’t want to purchase the same since that involves licensing and maintenance problems. Can anybody help me in this regard and provide a solution for the same ASAP as my project deadlines are nearing.  I'm using .NET frame ...Show All

©2008 Software Development Network