Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. .NET Remoting related question

.NET Remoting related question

Scheduled Pinned Locked Moved C#
helpcsharpcomtutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stevb
    wrote on last edited by
    #1

    I have a namespace with two classes in it: one class is for methods to work on the application(eg windows media encoder stuff, buttons and the like). The other class contains methods which are used by another application to remotly control this application. I want one class to call a method in the other class, and to do this it seems that i need to make the "called" class' method static. when i do this the comboboxs need an object reference. I tried making them static but i then when i ran the application, the boxes were not filled with what they should be filled with!!! I dont know how to get round this problem! Im sure ive made the description as clear as mud!!! :-( Any help would be much appreciated as i need this problem solved asap! Thanks Stevieb stevb@hotmail.com "I think im going mad,Ted!"

    A 1 Reply Last reply
    0
    • S stevb

      I have a namespace with two classes in it: one class is for methods to work on the application(eg windows media encoder stuff, buttons and the like). The other class contains methods which are used by another application to remotly control this application. I want one class to call a method in the other class, and to do this it seems that i need to make the "called" class' method static. when i do this the comboboxs need an object reference. I tried making them static but i then when i ran the application, the boxes were not filled with what they should be filled with!!! I dont know how to get round this problem! Im sure ive made the description as clear as mud!!! :-( Any help would be much appreciated as i need this problem solved asap! Thanks Stevieb stevb@hotmail.com "I think im going mad,Ted!"

      A Offline
      A Offline
      Andres Manggini
      wrote on last edited by
      #2

      stevb wrote: Im sure ive made the description as clear as mud!!! yes :) but FWIW you can't call static methods remotly if that's what you are trying to do. Andres Manggini. Buenos Aires - Argentina.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups