Hi,
I'm trying to set up the Name and Number of a FAX programmatically.
I'm Using MS Access 2000 and Delrina WinFax PRO 10.
here is my code :
Public Sub SendFax()
'open fax send (WORKING)
ShellWait "C:\Program Files\Symantec\DelFax\CMPOSFAX.EXE",
vbMinimizedNoFocus
Dim vChan As Variant
Dim vVar As Variant
'Desactivate fax recieving
vChan = DDEInitiate("faxmng32", "CONTROL")
DDEExecute vChan, "GoIdle"
DDETerminate vChan
'open the connection
vChan = DDEInitiate("faxmng32", "TRANSMIT")
'recipient
DDEPoke vChan, "sendfax", "recipient(""255-8820"", ""13:47:00"",
""04/13/04"", ""Richard Perreault"", ""Rémax Lapointe"", ""Test1"
", ""Test2"", ""Fax"")"
'setcoverpage
DDEPoke vChan, "sendfax", "setcoverpage(" + Chr$(34) + "C:\Program
Files\Symantec\DelFax\Garde\BASIC1.CVP" + Chr$(34) + ")"
'fillcoverpage
DDEPoke vChan, "sendfax", "fillcoverpage(" + Chr$(34) + "Veuillez
envoyer ceci à Rémax Lapointe svp." + Chr$(34) + ")"
'showsendscreen
DDEPoke vChan, "sendfax", "showsendscreen(" + Chr$(34) + "0" +
Chr$(34) + ")"
'resolution
DDEPoke vChan, "sendfax", "resolution(" + Chr$(34) + "HIGH" +
Chr$(34) + ")"
DDEPoke vChan, "sendfax", "SendfaxUI"
DDETerminate vChan
End Sub
That code is supposed to :
- Open the sendFax window (working)
- Desactivate automatic recieving (Don't know if it works)
- Send the diffrent datas to the send fax window (not working)
the problem is that i get no error and my sendfax window's textboxes
are still blank.
So now i'm really wondering what is the problem... i don't wanna send
the fax, i just wanna set those values automatically.
So if any of you has any idea, i would really appreciate the help.
Thank you,
StaZ 1 2280
I have recently had to replace code which used DDE after a client installed
Office 2003.
The client chose to uninstall Office 2003, and the old DDE-based code in
other apps again worked.
I suspected that it may result from tightening security measures of service
packs, etc.
Clive
"StaZ" <St*****@hotmail.com> wrote in message
news:d8**************************@posting.google.c om... Hi,
I'm trying to set up the Name and Number of a FAX programmatically.
I'm Using MS Access 2000 and Delrina WinFax PRO 10.
here is my code :
Public Sub SendFax()
'open fax send (WORKING)
ShellWait "C:\Program Files\Symantec\DelFax\CMPOSFAX.EXE", vbMinimizedNoFocus
Dim vChan As Variant Dim vVar As Variant
'Desactivate fax recieving vChan = DDEInitiate("faxmng32", "CONTROL") DDEExecute vChan, "GoIdle" DDETerminate vChan
'open the connection vChan = DDEInitiate("faxmng32", "TRANSMIT")
'recipient DDEPoke vChan, "sendfax", "recipient(""255-8820"", ""13:47:00"", ""04/13/04"", ""Richard Perreault"", ""Rémax Lapointe"", ""Test1" ", ""Test2"", ""Fax"")"
'setcoverpage DDEPoke vChan, "sendfax", "setcoverpage(" + Chr$(34) + "C:\Program Files\Symantec\DelFax\Garde\BASIC1.CVP" + Chr$(34) + ")"
'fillcoverpage DDEPoke vChan, "sendfax", "fillcoverpage(" + Chr$(34) + "Veuillez envoyer ceci à Rémax Lapointe svp." + Chr$(34) + ")"
'showsendscreen DDEPoke vChan, "sendfax", "showsendscreen(" + Chr$(34) + "0" + Chr$(34) + ")"
'resolution DDEPoke vChan, "sendfax", "resolution(" + Chr$(34) + "HIGH" + Chr$(34) + ")"
DDEPoke vChan, "sendfax", "SendfaxUI" DDETerminate vChan
End Sub That code is supposed to : - Open the sendFax window (working) - Desactivate automatic recieving (Don't know if it works) - Send the diffrent datas to the send fax window (not working)
the problem is that i get no error and my sendfax window's textboxes are still blank.
So now i'm really wondering what is the problem... i don't wanna send the fax, i just wanna set those values automatically.
So if any of you has any idea, i would really appreciate the help.
Thank you, StaZ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bart Nessux |
last post by:
I understand that most people write functions to reuse code, no? So, I
assume it would be better to write functions that are very specific, as
opposed to those that are more generic.
However, I...
|
by: David MacQuigg |
last post by:
I'm not getting any feedback on the most important benefit in my
proposed "Ideas for Python 3" thread - the unification of methods and
functions. Perhaps it was buried among too many other less...
|
by: Anthony Baxter |
last post by:
To go along with the 2.4a3 release, here's an updated version of
the decorator PEP. It describes the state of decorators as they
are in 2.4a3.
PEP: 318
Title: Decorators for Functions and...
|
by: Luis |
last post by:
can you look at my code, and tell
my wy the section of the client program which says :
const Fraction f3(12, 8);
const Fraction f4(202, 303);
result = f3.MultipliedBy(f4);
cout << "The product...
|
by: cwdjrxyz |
last post by:
Javascript has a very small math function list. However there is no
reason that this list can not be extended greatly. Speed is not an
issue, unless you nest complicated calculations several levels...
|
by: Bryan Olson |
last post by:
The current Python standard library provides two cryptographic
hash functions: MD5 and SHA-1 . The authors of MD5 originally
stated:
It is conjectured that it is computationally infeasible to...
|
by: Mikhail Teterin |
last post by:
Hello!
Consider the following simple accessor function:
typedef struct {
int i;
char name;
} MY_TYPE;
const char *
|
by: Simon Dean |
last post by:
Hi,
I have a couple of questions. If you don't mind. Sorry, I do get a bit
wordy at times. First one just throws some thoughts around hoping for
answers :-)
1) Anyone got a theory on the...
|
by: underground |
last post by:
Hi, everyone I've been trying to figure out a way for a user to update there information. I'm using sections to identify the specific user..Here is the form
<?
include("include/session.php");...
|
by: Michael |
last post by:
Why are functions atomic? (I.e. they are not copied.)
For example, I would like to make a copy of a function so I can change
the default values:
(2, 2)
I would like the following...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |