Results 1 to 4 of 4

Thread: help with vb

  1. #1

    Default help with vb


    i have a code

    x = Shell("cmd",AppWinStyle.MaximizedFocus, False, 1)

    d dos prompt opens, how can i send dos commands in d command prompt using vb?

  2. #2
    SendMessage API or POSTMessage, you can also do SendMSg man basin to.. but you need the window to be active for it to work.

  3. #3

  4. #4
    i already got it...thanks...

    here's what i did...pretty simple though...

    x = Shell("cmd.exe /c copy c:\MyTest.txt LPT1", AppWinStyle.MaximizedFocus, False, 1)

  5.    Advertisement

Similar Threads

 
  1. Help with VB
    By imbakaau in forum Programming
    Replies: 3
    Last Post: 09-07-2010, 03:52 PM
  2. Who needs help with their vb/c# projects?
    By Cruzader in forum Programming
    Replies: 19
    Last Post: 02-24-2009, 02:44 PM
  3. Help with events in VB.NET
    By DeathFox in forum Programming
    Replies: 5
    Last Post: 12-17-2007, 08:07 PM
  4. need help with p900
    By kloos in forum Gizmos & Gadgets (Old)
    Replies: 8
    Last Post: 09-04-2006, 01:55 PM
  5. help with mah 6600
    By grlnxtdor16 in forum Gizmos & Gadgets (Old)
    Replies: 8
    Last Post: 05-04-2005, 06:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top