WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

RAS

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

List All Non Default Phonebook Entries


Question:

I was wondering if anyone knew how to get the connections in a PBK. I know that RasItemize() can get if from the default book, but I need to get it form another pbk.. Once I get the entries I need to dial them from this other pbk.

Answer:

Here is a UDF that will accept a .pbkfile as a commandline parameter...


#DefineFunction RasItemizeEx(pbkfile)
list = ""
list = IniItemizePvt ("", pbkfile)
Return list
#EndFunction

account = "All Users"
pbk = StrCat("C:\Documents and Settings\",account,"\Application Data\Microsoft\Network\Connections\Pbk\rasphone.pbk")
list = RasItemizeEx(pbk)
AskItemList("Ras Entries", list, @tab, @unsorted, @single)

Article ID:   W16854
File Created: 2007:07:03:14:26:36
Last Updated: 2007:07:03:14:26:36