CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2000
    Posts
    242

    windows applications and web forms

    I want to build a little system to some school.
    I want the users of this system to have a windows application based program.

    On the other hand I want them to be able from home ... but this time I need web forms.

    My question is if there is a way to build the GUI only for both web and windows application and get the functions from the same place say : example.cs

    I tryed to call a source code of another project but it didn't work for me (I guess it's because of the namespace).


  2. #2
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    make use of

    1) UserControls
    2) Custom Controls
    3) make re-usable libraries

    so that you can use both ways.
    just need to design a different approach.
    for example

    you can have a global or config file whether at runtime is it an web app or a desktop
    depending upon that use the controls

    Actually its all about designing issue and a vast topic to discuss.

    thanx
    Paresh
    - Software Architect

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured