N
NICOLAS Julien
Hello,
I have a dotnet dll file.
This dll is to use MS Project by VB.
When I am launching my application from a local drive (c:\mylocapp) : no
problem
The Problem is when I am trying to launch my application from a network
drive : my "W:" is "\\Server\Testappli"
I am using this code :
public function CreateProject(byval pstr_ProjName as string) as string
On Error Resume Next
Err.Clear()
MSPapp = GetObject(, "MSProject.Application")
If Err.Number <> 0 Then
Err.Clear()
MSPapp = New MSProject.Application
End If
If IsNothing(MSPapp) Then
CreateProject = "FALSE¤CREATION"
End If
...etc
end function
if I use the debugger, MSPapp is nothing... I can not understand the
problem...
Please help me...
Thank you.
JULIEN.
I have a dotnet dll file.
This dll is to use MS Project by VB.
When I am launching my application from a local drive (c:\mylocapp) : no
problem
The Problem is when I am trying to launch my application from a network
drive : my "W:" is "\\Server\Testappli"
I am using this code :
public function CreateProject(byval pstr_ProjName as string) as string
On Error Resume Next
Err.Clear()
MSPapp = GetObject(, "MSProject.Application")
If Err.Number <> 0 Then
Err.Clear()
MSPapp = New MSProject.Application
End If
If IsNothing(MSPapp) Then
CreateProject = "FALSE¤CREATION"
End If
...etc
end function
if I use the debugger, MSPapp is nothing... I can not understand the
problem...
Please help me...
Thank you.
JULIEN.