[dba-VB] Using Interfaces

David McAfee davidmcafee at gmail.com
Tue Oct 8 15:35:02 CDT 2013


Would either of these work for you?

C#:
Process.Start("https://login.mocproducts.com/");


In VB.Net:

If File.Exists(LocPath + NewVersion) Then
      System.Diagnostics.Process.Start(LocPath + NewVersion)
Else
     MsgBox("Cannot find " & LocPath & NewVersion & ".", vbOKOnly, "unable
to start RRMS")
End If


On Tue, Oct 8, 2013 at 1:24 PM, Dan Waters <df.waters at comcast.net> wrote:

> Hello!
>
>
>
> I've been struggling with using an interface to be able to call a
> referencing project from a referenced project.  In Access you just use the
> Application.run("[ProcedureName]",arg1, arg2 .) statement.  But in VB or C#
> there's not a direct equivalent.
>
>
>
> This can be done - and using an interface is the way to go.  But I've been
> trying to make this work for 4 days now and I need to reach out to a more
> knowledgeable person than me.
>
>
>
> The simplest explanation is at:
>
> http://stackoverflow.com/questions/3765177/solve-circular-references-without
> -introducing-a-new-project.  The 2nd entry has what appears to be a simple
> explanation of what to do.  I can make the interface, and the procedure
> which implements it, but the other 2 parts I can't make work.
>
>
>
> If you'd like to try this let me know.  I've put together a small VB app
> (VS
> 2010) which has all the pieces which I can email as an attachment.
>
>
>
> Thanks!
>
> Dan
>
>
>
> _______________________________________________
> dba-VB mailing list
> dba-VB at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-vb
> http://www.databaseadvisors.com
>
>


More information about the dba-VB mailing list