Saturday, November 20, 2010

How to remember the directory path with VB.net without hardcoding the path name to a variable?

I would like to find out whether there is anyway to remember a directory path without hardcoding the path name to a variable. This will allow me to change the directory path easily without changing the code.How to remember the directory path with VB.net without hardcoding the path name to a variable?
if it helps, use GetCurrentDirectory() method in System.IO namespace. you can change the directory later in the code as you like. refer to sample in msdn.



Dim path As String = Directory.GetCurrentDirectory()





http://msdn.microsoft.com/en-us/library/How to remember the directory path with VB.net without hardcoding the path name to a variable?
I presume you mean you want the directory to where your software is:



You want to reference the Application.StartupPath property. This will tell you where the launched the application from and then your application's directories remain dynamic. To refer to a subdirectory you could use something like:



Application.StartupPath %26amp; ';\bin';
There are a couple of really easy ways. One is to use SaveSetting and save the path name to the registry, and use GetSetting to retrieve it. The second way is to write it to a file.

In SAPS, how to change default directory?

In fast path ZGI108, to post a voucher, I have to go through several steps to get to the directory in which all our vouchers are kept. Does anyone know how I can change it so that particular directory is the default? I am talking about LAN PC's...I hope I made myself clear. Thanks.In SAPS, how to change default directory?
I checked on the SAP help portal but could not find the transaction ZGI108.



Check it here : http://help.sap.com



If you cannot find the transaction it is likely that it is not a standard transaction. You should ask your helpdesk for more information.



Good luck !

External hard drive not listed in My Computer. How to fix?

For some reason, my external hard drive is not listed in the My Computer section of Windows. It used to show up but now isn't. I know it exists as I can drive to it through DOS and files can be retrieved from it. But when I try to change directory through the address toolbar to the letter it maps to, it refuses to find it still. Anyone know how to fix this?External hard drive not listed in My Computer. How to fix?
I have things not show up like that when the computer needs restarted. Running low on memory or something.External hard drive not listed in My Computer. How to fix?
Connected thru USB?

There is a cheat for a pc game but i dont understand how to change the software?

NO shield damage

Only in the Campaign mode!! First make a backup of the config.cfg, then replace:



cfg_SPPlayerDamageModifier = 0.35



with this:



cfg_SPPlayerDamageModifier = 0.00







2nd cheat: Unlock All Missions

Find ';art_cfg.h'; file in the game directory. Change the ';0'; in the ';GIVE_ALL_MISSIONS'; line to ';1';.There is a cheat for a pc game but i dont understand how to change the software?
What you need to do is go into the install folder that the game is in. Normally this is C:\ProgramFiles\nameofgame



Then, when you find config.cfg, open it in either Notepad or Wordpad. Then just replace the lines with the cheat lines.



Good luck.There is a cheat for a pc game but i dont understand how to change the software?
look it up on the web you will find the cheat codes of any game

Wednesday, November 17, 2010

I have VC Mod Manager, but I want to change the directory of my VC game?

I uninstalled it, then reinstalled it, but it does not change the directory. for instance, i had Vice City installed in C:, but I reinstalled it to C:\Program Files. How do I change the directory of VCMM to go to C:\Program Files instead of C:?I have VC Mod Manager, but I want to change the directory of my VC game?
Once you install the game, make an icon of it on your desktop, go to properties and there should be ';target';. Change that location.
  • Watch video files on my TV
  • a good myspace layouts
  • I need to know the answers to these DOS computer questions?

    Create Directories?

    Change Directories?

    Create Files Using the Edit command?

    Rename Files?

    Move Files?

    Copy Files?

    Delete files?

    Display your version of windows?

    KNOW HOW TO USE THE WILDCARD CHARACTERS PROPERLY?I need to know the answers to these DOS computer questions?
    Create Directories?

    First change to the directory UNDER which you want to create a directory

    md name



    Change Directories?

    cd name (to change to a directory under the current one)

    cd.. (to change to the next highest directory)

    cd\ (to change to root / highest directory)



    Create Files Using the Edit command?

    edit name.ext



    Rename Files?

    ren name.ext newname.ext

    this only works from the directory where name.ext exists, unless you specify the drive and directory in the command

    ren c:\windows\name.ext c:\windows\newname.ext



    Move Files?

    move moveme.txt c:\windows

    would move moveme.txt from the current directory to directory c:\windows\



    Copy Files?

    copy copyme.exe c:\backup\copyme.bak

    would copy copyme.exe from current directory to c:\backup directory, and also rename the file to comyme.bak



    Delete files?

    del deleteme.txt



    Display your version of windows?

    control panel, system



    KNOW HOW TO USE THE WILDCARD CHARACTERS PROPERLY?

    ? can specify any value for one digit

    * specifies any value for all digits on one side of the .

    helpm?.txt would mean you don't care what the letter or number directly before the . is

    *.txt would mean you are specifying all files that end in .txtI need to know the answers to these DOS computer questions?
    Open up a DOS window, then type each of these *one at a time*...



    MD /?

    CD /?

    EDIT /?

    REN /?

    MOVE /?

    COPY /?

    DEL /?



    And then you will see the info on each command.

    What is the answer to this question in Unix?

    Now suppose that you'd like to create an empty file called ';bar'; in

    your new ';foo'; directory. You're still connected to your home

    directory. How can you do this without changing directories?What is the answer to this question in Unix?
    touch foo/barWhat is the answer to this question in Unix?
    cd;mkdir foo; touch foo/bar





    The ';cd'; sends you to your home directory

    mkdir foo; creates the foo directory



    touch foo/bar makes the empty file bar in the directory foo.



    Alternatively, if you DON'T want to change back to your $HOME,



    mkdir $HOME/foo; touch $HOME/foo/bar;