[dba-VB] Using Interfaces

Dan Waters df.waters at comcast.net
Tue Oct 8 16:05:36 CDT 2013


Hi David,

I think you may have answered someone else's question.

Dan

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee
Sent: Tuesday, October 08, 2013 3:35 PM
To: Discussion concerning Visual Basic and related programming issues.
Subject: Re: [dba-VB] Using Interfaces

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-w
> ithout -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
>
>
_______________________________________________
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