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
P

panalprasad

@panalprasad
About
Posts
12
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Cannot find the assembly, error on events - remoting
    P panalprasad

    HI can anybody help me to solve the problm, it will be a great helpfull. I am using remoting and i wants to raise an event in client from server. here s the code SERVER using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; namespace UpdTrackSrvr { public class Server { public Server() { } public static void Main(string [] args) { //select channel to communicate BinaryServerFormatterSinkProvider oSrvrProv = new BinaryServerFormatterSinkProvider(); oSrvrProv.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full; BinaryClientFormatterSinkProvider oClProv = new BinaryClientFormatterSinkProvider(); IDictionary Dict = new Hashtable(); Dict["port"] = 8085; TcpChannel chnChanl = new TcpChannel(Dict, oClProv, oSrvrProv); ChannelServices.RegisterChannel(chnChanl); UpdTrig oUpdTrig = new UpdTrig(); RemotingConfiguration.RegisterWellKnownServiceType(oUpdTrig.GetType(), "UpdTrackSrvr", WellKnownObjectMode.Singleton); System.Windows.Forms.MessageBox.Show("Server Activated"); } } } UpdTrig using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; namespace UpdTrackSrvr { public delegate void del_ev(); public class UpdTrig : MarshalByRefObject { public event del_ev UpdEvt; public UpdTrig() { } public String ReplyMessage(String msg) { System.Windows.Forms.MessageBox.Show("Client : "+ msg); return "Server : s! I'm here"; } public void RaiseEvent() { UpdEvt(); } } } CLIENT using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; namespace UpdTrackClnt { public sealed class Loader { public static void Main(string [] args) { new Client().RaiseRemoteEvent(); } } public class Client : MarshalByRefObject { private UpdTrackSrvr.UpdTrig oUpdTrig; public override object InitializeLifetimeService() { return null; } public Client() { TcpChannel chan = new TcpChannel(); ChannelServices.RegisterChannel(chan); oUpdTrig = (UpdTrackSrvr.UpdTrig) Activator.GetObject( typeof(UpdTrackSrvr.UpdTrig), "tcp://localhost:8085/UpdTrackSrvr"); // oUpdTrig.ReplyMessage("Hello?"); oUpdTrig.UpdEvt += new UpdTrackSrvr.del_ev(oUpdTrig_UpdE

    C#

  • SQL 2000 View Problem
    P panalprasad

    Hi using SQL 2000 i created a table (let - TA) and its view (sel * from TA) as VA after creating the view, i added one column to TA but the view is not showing it. the view must have to rebuild, in sysColumns it doesn't shown the new col name in view. any easy method there have innorder to rebuild it. Thanks in advance panal

    Database database help

  • Access97 connection
    P panalprasad

    I am using OleDBConnection to connect Access97 file. While connecting using wizard and clicking on testconnection button it shows an error "MSysAccounts table cannot open" How can i connect to Access97 by OleDbConnection Thanks In advance Panal

    C# help question

  • Multiple Inheritance
    P panalprasad

    But C++ is doing it all well panal

    C# csharp asp-net oop question

  • Multiple Inheritance
    P panalprasad

    if any body tell me the core idea then its very thankfull question is why c# not support multiple inheritance with class Thanks in adv panal

    C# csharp asp-net oop question

  • Accessing Multiple form. ASP
    P panalprasad

    Hi I have two forms in single asp page, how can i access these forms from asp Ex

    How can i get cCode & cName from this. Thanks in advance Panal

    Web Development question

  • clearing browser history
    P panalprasad

    can any body tell me how to clear client browser's history by javascript Thanks in advance panal

    Web Development javascript tutorial

  • Creating inherited web form
    P panalprasad

    Hi How can i create a webform inherited from another webform (all the controls in the base forms should display in the inherited form) Thanks in advance

    ASP.NET question

  • which O.S. is running
    P panalprasad

    Please follow the link http://www.developerfusion.co.uk/show/1643/[^]

    Visual Basic question

  • creating an object of a form at runtime using its name as string
    P panalprasad

    The obj variable is needed for seting the form object. and the name of the form is p_sformname. so if p_sformname="Form1" then obj will assaign an object of Form1

    Visual Basic

  • Form position
    P panalprasad

    Please the move function

    Visual Basic question

  • creating an object of a form at runtime using its name as string
    P panalprasad

    Hi There is a form named "Form1" and a function for creating its object. the form name is passed to the function and creates an object public function CreateObj(p_sformName as string) as object dim obj as object ' create the object of a form. The form's name is passed from the calling place set obj = new p_sformname end sub Is it possible Thank you in advance Panal prasad

    Visual Basic
  • Login

  • Don't have an account? Register

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