Results 1 to 4 of 4

Thread: [RESOLVED] New bie question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2007
    Posts
    18

    Resolved [RESOLVED] New bie question

    I'm new to programming and VB. I'm using VB 2005. I've looked thru the internet before I got to this site. I have a couple questions.

    How can I change my IP address without shelling out to netshell?

    How can I stop a cmd window from closing after the program has run when I shell out to it?

    Thanks,
    Tony

  2. #2
    Frenzied Member bmahler's Avatar
    Join Date
    Oct 2005
    Location
    Somewhere just west of the Atlantic
    Posts
    1,568

    Re: New bie question

    well for your first question, here is an example of how to change your ip address
    http://www.dotnet247.com/247referenc...3B910D2B4.dcik

    Adding the /k switch will tell the command window to remain open
    example

    cmd.exe /k ipconfig /all
    Last edited by bmahler; May 21st, 2007 at 07:36 AM.
    Boooya
    • Visual Studio 2008 Professional
    • Don't forget to use [CODE]your code here[/CODE] when posting code
    • Don't forget to rate helpful posts!
    • If you're question was answered please mark your thread [Resolved]


    Code Contributions:
    PHP
    PHP Image Gallery v1.0PHP Image Gallery v2.0
    VB 2005
    Find Computers on a networkSimple License EncryptionSQL Server Database Access dllUse Reflection to Return Crystal ReportDocumentSilently Print PDFGeneric Xml Serailizer


    Useful Links: (more to come)
    MSDN (The first and foremost)MSDN Design Guidelines API Reference • Inno Setup CompilerInno Setup PreprocessorISTool - Fairly easy to use GUI for creating inno setup projects • Connection StringsNAnt -Automated BuildsCruise Control .NET - Frontend for automated builds

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2007
    Posts
    18

    Re: New bie question

    kewl, thanks

  4. #4
    Frenzied Member bmahler's Avatar
    Join Date
    Oct 2005
    Location
    Somewhere just west of the Atlantic
    Posts
    1,568

    Re: New bie question

    Be sure to mark this thread resolved using the thread tools if your question has been answered.
    Boooya
    • Visual Studio 2008 Professional
    • Don't forget to use [CODE]your code here[/CODE] when posting code
    • Don't forget to rate helpful posts!
    • If you're question was answered please mark your thread [Resolved]


    Code Contributions:
    PHP
    PHP Image Gallery v1.0PHP Image Gallery v2.0
    VB 2005
    Find Computers on a networkSimple License EncryptionSQL Server Database Access dllUse Reflection to Return Crystal ReportDocumentSilently Print PDFGeneric Xml Serailizer


    Useful Links: (more to come)
    MSDN (The first and foremost)MSDN Design Guidelines API Reference • Inno Setup CompilerInno Setup PreprocessorISTool - Fairly easy to use GUI for creating inno setup projects • Connection StringsNAnt -Automated BuildsCruise Control .NET - Frontend for automated builds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width