Results 1 to 5 of 5
  1. #1
    rd.prasanna is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    25

    Executing AT Commands thru VBA

    HI All,

    I am working on the small CRM project.

    In CRM tool when customer raise the complaint for there issue system should automatically send Mail and SMS to the registered Email and Mobile Number.

    Email part i have completed, But got stuck in sending sms process.
    Here im using USB Modem to send sms. I am using Putty application to run the AT Commands, When i am using the AT command manually its sending the SMS properly.
    But i want to Automate the whole process using VBA. AT command can be saved in the .txt file and can be accessed using putty commands.



    how to run the external dos commands in access, which execute the putty with txt file and send sms to the customer numbers.

    I am working on access 2003/2010

    Regards,
    Prasanna R.D

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,527
    DOS died 20 years ago.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,971
    We ran a DOS dBaseIV database until 2009 with WindowsXP. But we saw the writing on the wall and knew we needed to replace. MS removed all support for dBase files from Office 2010 (actually, maybe that is 2013) and AFAIK Windows7 does not support DOS applications.

    Review https://www.accessforums.net/program...ens-43311.html
    Last edited by June7; 04-13-2015 at 01:35 PM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Here is how you run an external process through vba:

    http://stackoverflow.com/questions/1...from-ms-access

    You will likely also need to issue a 'wait' command and executing that relies heavily on which version of access you are using/your users are using (32bit or 64bit)

  5. #5
    rd.prasanna is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    25
    Thank You June7 and rpeare...

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Button with too many commands?
    By santinimatias in forum Programming
    Replies: 6
    Last Post: 02-05-2015, 11:56 PM
  2. SQL Commands in VBA
    By chris.williams in forum Programming
    Replies: 4
    Last Post: 12-20-2012, 10:33 PM
  3. Help with SQL INSERT commands
    By chris.williams in forum Programming
    Replies: 6
    Last Post: 09-04-2012, 06:14 PM
  4. Button Commands
    By JayX in forum Access
    Replies: 13
    Last Post: 12-09-2011, 05:37 PM
  5. If __ Then __ type commands in queries?
    By TUPJK in forum Access
    Replies: 7
    Last Post: 06-20-2011, 01:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums