Home > database >  In pb 50 o mouse choose file path
In pb 50 o mouse choose file path

Time:09-28

I made a similar pb compression function, will join the right mouse button functions, the user in determining the function to know when the user points which files, thanks a lot

CodePudding user response:

Dizzy, RAR and zip how also stronger than PB do!

CodePudding user response:

I will make a similar the right-click menu, and then in order to get the file information, do not do compression function

CodePudding user response:

Pb to do a similar compression work...
. Don't do compression
What do you want to do don't
The right-click menu items can be added by the registry

CodePudding user response:

I have been added to the right-click menu, just to the point when the menu item to get the current information such as the path of this file

CodePudding user response:

So to speak, when compressed you how do you determine which is compressed folder, how to get the folder information

CodePudding user response:

Parameters of wear and can make the program a program to open the file, should be able to get the parameters of the file!

CodePudding user response:

Finally come to a critical, this step is bad, get file information in pb

CodePudding user response:

Use API!

CodePudding user response:

Information is too little, I also know that using the API, to under reference

CodePudding user response:

This can't, you give some ideas, can help you to study

CodePudding user response:

Said along while, also don't know what you want!

FlushViewOfFile all data will be written to the file mapping buffer is flushed to disk
GetBinaryType whether file can perform
GetCompressedFileSize judge a compressed file on the disk the actual number of bytes occupied
GetCurrentDirectory loaded in the current directory in a buffer
GetDiskFreeSpace for associated with the organization of a disk information, and to understand the capacity of the remaining space
GetDiskFreeSpaceEx gain and the organization of a disk and the remaining space capacity information
GetDriveType determine the type of a disk drive
GetExpandedName made a compressed file name
GetFileAttributes determine the attribute of the specified file
GetFileInformationByHandle this function provides a mechanism to the information of file
GetFileSize judgment file size
GetFileTime to obtain time information of the specified file
Under the premise of GetFileType in the given file handle, judgment document type
GetFileVersionInfo from support release tag a module file version information
GetFileVersionInfoSize against contains a file version resource, judge hold file version information needs a much buffer
GetFullPathName access to the full path of the specified file name

CodePudding user response:

I generally is
% % my_driver: \ Documents and Settings \ % My name % \ SendTo \

Put my program shortcut, followed, you right click on your file, menus, "send to", there is your program, you can in your program command line arguments to the program name.

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

In the registry before the "my computer \ HKEY_CLASSES_ROOT \ * " here is something, that all the documents can use right-click menu to select your program to open, specific forgot, you try, you will know,


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

But you said, are generally not using VC, into a DLL

CodePudding user response:

Kenshu brother nice guy, ha ha, I'm late
  • Related