Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP COM and accessing NT resources
Message
From
22/12/1999 08:30:53
Scott Knight
Human Resources Development Canada
St. John's, Newfoundland, Canada
 
 
To
21/12/1999 14:33:47
Kenneth Downs
Secure Data Software, Inc.
New York, United States
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00306596
Message ID:
00307205
Views:
23
>Thanks Kennenth,
I have since located some of the same functions as well and I am currently trying to get the syntax down. The one of two examples I have are of course VB and not very good VB. I am going to have to get my head around DCOM and DCOMCnfg very soon as well. I'm glad to hear at least I'm on the right track. If you have any break throughs keep me posted and I will do the same.

Thanks


Scott

Scott,
>
>I'm plodding through the same set of discoveries myself right now.
>
>It turns out that the COM server, when launched on a remote machine, has no connections, and its "user" has nothing to do with the logged machine on either the server or the workstation. You have to run DCOMCnfg and specify who the program is when it is logged in.
>
>Next, you (apparently as AFAIK at this point) then have to create network connections as you need them in the COM server code. Ed Rauh pointed me to use of an API Call like WNEtAddCOnnection3(), but I haven't pursued it yet.
>
>Hope this helps.
>
>>I am crawling through the development of a small COM Object that has to check a number of directories for a file on a remote resource. We have 90 offices that complete daily file transfers via dialup to a ras sever. When they have completed the transfer a file is ftp'd to the RAS server (i.e dnld.ok). Our help line staff would like to view a list off offices that have that file in thier directory via the browser along with some other things. Each office has a directory associated with thier office code containg several subdirectories. When I started I was thinking of taking the adir() getting the list offices, checking each for the file, building a HTML table and passing the list back to ASP. I am using NTLM, NTFS, IIS 4.0., and a trust has been established across the two domains. I can map a drive from the web server to the RAS server if that helps. I am looking for a solution to this particular problem but also if someone could point me to some "good" info regarding this
>whole
>>security/access to resources scenario with NT and IIS. I have read numerous acticles talking around how to access NT resources but nothing said how to actually do it.
>>
>>Thanks again
>>
>>
>>Scott
Previous
Reply
Map
View

Click here to load this message in the networking platform