|
-
Jun 16th, 2010, 10:22 AM
#1
Thread Starter
Member
moving file and using common dialoger
Hello friends i've got and another problem how to move same exe file from one location to anoter and also what are the uses of commondialoger.
-
Jun 16th, 2010, 10:40 AM
#2
Re: moving file and using common dialoger
Two basic ways of moving a file:
1) Use VB's Name method, i.e., Name oldpath/file As newpath/file
2) Copy file & then delete source: VB's FileCopy & Kill methods.
Here's a quickie tutorial on the common dialog
If you run into problems, be sure to be far more specific. When you find some time, review the "HitchHiker's Guide" link in my signature below. It will enable you to help us better to help you.
-
Jun 16th, 2010, 11:01 AM
#3
Re: moving file and using common dialoger
@Bishaw: I have always preferred to use the SHFileOperation API to copy/move/delete files. See these links if you are interested...
http://www.vbforums.com/showthread.php?t=559089
http://www.vbforums.com/showthread.php?t=563553
Hope this helps...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jun 16th, 2010, 01:21 PM
#4
Re: moving file and using common dialoger
 Originally Posted by bishaw
what are the uses of commondialoger.
http://articles.techrepublic.com.com...1-5800282.html
-
Jun 16th, 2010, 08:45 PM
#5
Thread Starter
Member
question
Ok now i leaved about virus now what about use of commondialoger.
-
Jun 16th, 2010, 11:06 PM
#6
Re: question
 Originally Posted by bishaw
Ok now i leaved about virus now what about use of commondialoger.
If you're asking about the CommonDialog control then, it is a control that can be used to display Open, Save, Color, Font, Printer dialog boxes to the user. For example, if you want your user to select a color, then you can display the Color dialog box (using CommonDialog control) and get a color that the user may picks from it. In the same way, you can display an Open dialog box, so that user can select a file of their choice, etc.
If you wish to know more about it, just Google it (like FireXtol said) or you can even search this forum to find so many examples...
Good luck...
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Jun 17th, 2010, 01:56 AM
#7
Hyperactive Member
Re: question
Welcome Bishaw to VB Forums.
Click the link below to explore about the Common Dialog. Its not much complex.
http://msdn.microsoft.com/en-us/libr...37(VS.60).aspx
-
Jun 17th, 2010, 04:44 AM
#8
Re: moving file and using common dialoger
Duplicate threads merged - please post each question (or variation of it) only once.
-
Jun 17th, 2010, 04:57 AM
#9
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|