Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open Files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00364449
Message ID:
00364667
Vues:
36
>>Thank you very much. It did not work on the first try. This will give me something to work with.
>
>Be sure to look at the work it was based on by Vlad Tatavu. It's referenced in the FAQ.

Finally got it to work.

I spent 4 hours yesterday trying to find something that would work for me before I asked a UT question. I posted my question this morning, I tried your suggestion and it did not work. So I went to the bookstore this morning trying to find some books on Win 32 API. Could not find any books that dealt with netfileenum(). I found one book that discussed wnet*.* but the information was sparse compared to the price. Almost purchased the newest Win 2000 API collection for $ 149.00 but the MSDN lib was on DVD of which I do not have, plus I could not find anything in the indexes of the book on netfileenum(). That made me think...I wonder how much stuff is on my local MSDN install (April 99). A whole lot. After reading the help from MSDN and looking at the code I decided I needed to know what is the return error I was getting, # 5.

I found the documentation for netfileenum() but it did not list the return values for errors just the #Define name. I tried researching that, could not make heads or tails of that information in the MSDN lib.

So I went back out to UT in the KB that you had referred me to. Low and behold I found an article on dealing with API return codes. Cut that code into the program and behold "Access Denied" pops up instead of Error # 5. Changed Servers in my call and behold again, it worked.

Talking about "Diamonds in your own back yard". I never look at the UT FAQ's. Now I am going to get myself very familiar with them.

I am going to write an interface to this routine as a development tool...

Thanks for your suggestions they got me to where I needed to be.
What ben makes tracks for what wil be. Words in the air pirnt foot steps on the groun for us to put our feet in to.

Riddley Walker
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform