Programatically set OutgoingRules

Joined
Sep 12, 2005
Messages
8
Reaction score
0
Hi all,

I have an application that is a dll which is coded in Visual Basic 6, it's main purpose is to fax all files on a network drive at a given time. I need to use dialing rules, well what I need is to dial a 0 before the fax number and I figure that dialing rules should do the trick. However, when I manually create a fax in the Fax console I need to check the box "Use dialing rules" but how can I do this programmtically? I've seen some samples on MSDN but none works in Win Xp. I use the FaxComExLib .

Sure I can put a 0 before the faxnumber in my code, but I'd prefer not to do that since this is supposed to be as generic as possible and if we in the future change the 0 to something else it shouldn't be nessesary to recomplie the application..

Any ideas?

Neiden
 
No ideas anyone?

I also have another issue, I want to set the priority on some faxes to high, but it doesn't seem to work. I use the following code where the arrPrioList is an array of strings:

For x = 1 To lenArrPrioList
If arrPrioList(x) = strFCId Then
objFaxDocument.Priority = fptHIGH
Else
objFaxDocument.Priority = fptLOW
End If
Next x

/neiden
 
neiden said:
For x = 1 To lenArrPrioList
If arrPrioList(x) = strFCId Then
objFaxDocument.Priority = fptHIGH
Else
objFaxDocument.Priority = fptLOW
End If
Next x

/neiden

mm yeah, exit for would do the trick.. still wondering about the outgoing rules though
 
Back
Top