hexagon logo

Initiating Program Upon Opening

Hi everyone,

So I've created a front end program that I would like to have start up as soon as PC-DMIS is opened. Is there a way to get the program to automatically play upon opening, either through a setting or some VB code?
Any help would be appreciated.

Thanks
Parents
  • It would probably be easier to have the front end open PC-DMIS rather than PC-DMIS open the front end.

    in vb it would be like this:

    sub main
    
    dim pcdApp as object
    set pcdApp = CreateObject("PCDLRN.Application")
    
    end sub
    
    


    in C#

    
    using PCDLRN;
    
    static void Main(string[] args)
    {
         PCDLRN.Application pcdApp = (PCDLRN.Application)Activator.CreateInstance(Type.GetTypeFromProgID("PCDLRN.Application"));
    }
    
    
Reply
  • It would probably be easier to have the front end open PC-DMIS rather than PC-DMIS open the front end.

    in vb it would be like this:

    sub main
    
    dim pcdApp as object
    set pcdApp = CreateObject("PCDLRN.Application")
    
    end sub
    
    


    in C#

    
    using PCDLRN;
    
    static void Main(string[] args)
    {
         PCDLRN.Application pcdApp = (PCDLRN.Application)Activator.CreateInstance(Type.GetTypeFromProgID("PCDLRN.Application"));
    }
    
    
Children
No Data