-
April 26th, 2007, 02:47 AM
#1
Where is my code?
So here is a funny question I have a lot of versions of my code all over my computer. Everytime I save it as bak_1, or as change_2, or last_code... I have now VB opend and I'm sure that the project I'm now modifing is the last but how can I know where is it on the disk?
Thanks!
You liked it? Please show your gratitude and rate it!
There is no 'patch' for stupidity.
-
April 26th, 2007, 02:54 AM
#2
Re: Where is my code?
Hi VMA ,
In the solution explorer properies if your file ... filename and full path information At least in C# C++ in Visual Studio you find the locations like this ...
Anyhow a tip save your files allways with incrementing numbers like myFile_20070426_001 ... or use a source control software for the versions ... Like Visual Source Safe ...
Best regards
WRZLBRNFT
-
April 26th, 2007, 02:57 AM
#3
Re: Where is my code?
Search with the Search Feature of Windows.
You have the option to "When it was modified?
"What size it is?" etc
Try these you will find the code.
Try & save the Projects in specific names & Folder.
Like If you are doing for Factory, Factory will be Folder name Relevent with the Project.
Upon completion of the project ZIP it up with name & date & Upgrade Sequence number.
Okay
Rahul
-
April 26th, 2007, 02:58 AM
#4
Re: Where is my code?
I know what I should do and I know to use versions for my code but I'm not doing :P I guess is just because I'm lazy. Anyway in VB project explorer the path of the files is not mentioned.
You liked it? Please show your gratitude and rate it!
There is no 'patch' for stupidity.
-
April 26th, 2007, 03:09 AM
#5
Re: Where is my code?
Okay VMA (LazyGuy
Try & load any older version of VB Project !
You are bound to receive an error message.
It gets logged in a log file.
Open that file & read which file it is searching for.
Search your HDD for the same file /form.
Go back to VB
Under project Find Add Form point the cursor to that file you feel matches.
Everything is okay now.
Rahul
-
April 26th, 2007, 07:46 AM
#6
Re: Where is my code?
If you know that you are working with the most recent, you can click Save As. That will start you off in the current directory, so you can see where it's saved.
-
April 27th, 2007, 02:15 AM
#7
Re: Where is my code?
Hi vma,
Just about your comment that the File Path is not shown in VB Project, I will email you a screenshot which allows you to see where to look at ... because the pathname in Visual Studio is also shown for each file in the Solution Explorer in Visual Basic I just verified it.
You need to select the file in the solution explorer (which must be displayed on the screen - select with View - Solution Explorer) and show its Properties (Right click on the file and click properties in the popup menu.
Then there you will find and non editable propertie (Greyed) with the Full Path.
Check your email for the screenshot
Best regards
WRZLBRNFT
-
April 27th, 2007, 02:27 AM
#8
Re: Where is my code?
@WRZLBRNFT:
What you have seen is in Visual Studio .NET IDE, however VMA is talking about Visual Studio 6 IDE. They are quite different and the path is not shown in the properties window in case of Visual Studio 6.
-
April 27th, 2007, 02:29 AM
#9
Re: Where is my code?
So let's clear this out. We are on VB 6.0 Forum. There is no Solution in VB 6.0, only Project. And in Project Explorer the files doesn't show you the path. I don't have .NET instaled. Maybe there it shows.
Thank you anyway!
You liked it? Please show your gratitude and rate it!
There is no 'patch' for stupidity.
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
|