- This topic is empty.
-
AuthorPosts
-
April 24, 2003 at 1:03 pm #2507ft212Member
Hello All ,
Working with WinFax Pro 10.0 & VB6.0 / PB7.0
Below is example of .pcx file to .fxr file ,
please tell me how we can convert .txt , .excel , .doc file to .fxr file.that is possible because it we are attaching any (.txt, .excel , .doc ) file then it Auttomaticly convert in .fxr file.
I tried lot but unable to find solution,
So please tell me how i can convert different file to .frxExample to convert .pcx to .fxr
In Visual Basic :
‘Variable for return code from conversion functions
Dim result as Variant
‘Get access to the Conversion Interface
Dim objFXConverter as Object
Set objFXConverter = CreateObject(“WinFax.SDKFXConverter”)
‘Set the output format to WinFax compatible G4 format
objFXConverter.FXFormat = fxconvertFXFormatG4
‘Convert source image to WinFax format
result = objFXConverter.ConvertToFX(“myfax.pcx”,
“myfax.fxr”)
‘Report success or failure
If ( 0 = CLng(result) ) Then
MsgBox(“PCX file successfully converted to WinFax
format”)
Else
MsgBox(“Conversion error” + Hex$(CLng(result))
End If
‘We’re done. Release the Conversion Interface
Set objFXConverter = NothingApril 28, 2003 at 3:55 pm #4223AnonymousMemberthere is no function to convert a file to a fxs format, however, when you print the document to winfax or use the Makeattachment command it will convert the document. check MakeAttachment method in the sdk
April 28, 2003 at 3:58 pm #4224AnonymousMemberhttp://www.getfaxing.com/cgi-bin/ib3/ikonboard.cgi?;act=ST;f=2;t=15
🙂
sample of makeattachment using VBA
-
AuthorPosts
- You must be logged in to reply to this topic.