objects gone, please help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

New to VB.NET, designing my first form with an MS manual at my side, placing
objects and writing code.

For good reason I just:

SAVED All (!!)
deleted all objects leaving only a grey form,
ran my program to see the result,
then UNDO to get my objects back.

No Undo.
No objects.
Empty form.
No object code.

What - - happened? Does this auto-save when a program is run? If so fine,
but as a backup, I hope. It couldn’t be overwriting my own Save, it just
can’t be.

Been searching 20 minutes, starting to get nervous. Just like to get my work
back. Help appreciated. Thanks!
 
Autosave appears to be an option. On the Tools/Options/ dialog check []
Show all Settings

Under Projects and Solutions "Before building" you have Save all changes set
I'd bet. You might consider changing it to Prompt to Save all Changes.
Alternatively (or additionally) you might not want to delete all the
controls off your form. You can always clone a copy of a file so you never
risk destroying a working version until you see the new one operate
reliably.
 
Right on Tom, Build & Run “Save changes†seems to be the default, I changed
it right away.

I suspected some controls UNder a TabControl page I made, that’s why I
removed everything. Very confusing for a newbie unable to simply save a
complete “file†(project? Solution?) under a different name while working.

Turns out I did Save As… my *Form* a few times and managed to get an old one
back with most controls on it.

Is that what you mean by “cloning a copy� Or you mean copy/pasting the
complete folder in Windows Explorer? But that you can’t do while working……?

Thanks……….

Joni

Tom Leylan said:
Autosave appears to be an option. On the Tools/Options/ dialog check []
Show all Settings

Under Projects and Solutions "Before building" you have Save all changes set
I'd bet. You might consider changing it to Prompt to Save all Changes.
Alternatively (or additionally) you might not want to delete all the
controls off your form. You can always clone a copy of a file so you never
risk destroying a working version until you see the new one operate
reliably.


jonigr said:
New to VB.NET, designing my first form with an MS manual at my side,
placing
objects and writing code.

For good reason I just:

SAVED All (!!)
deleted all objects leaving only a grey form,
ran my program to see the result,
then UNDO to get my objects back.

No Undo.
No objects.
Empty form.
No object code.

What - - happened? Does this auto-save when a program is run? If so fine,
but as a backup, I hope. It couldn't be overwriting my own Save, it just
can't be.

Been searching 20 minutes, starting to get nervous. Just like to get my
work
back. Help appreciated. Thanks!
 
If you have saved your changes, you *can* copy the complete folder.
I zip mine up periodically when I hit certain milestones in case I muck
it up later. Works even if I have the project open.

Robin S.
----------------------
jonigr said:
Right on Tom, Build & Run "Save changes" seems to be the default, I
changed
it right away.

I suspected some controls UNder a TabControl page I made, that's why I
removed everything. Very confusing for a newbie unable to simply save
a
complete "file" (project? Solution?) under a different name while
working.

Turns out I did Save As. my *Form* a few times and managed to get an
old one
back with most controls on it.

Is that what you mean by "cloning a copy"? Or you mean copy/pasting
the
complete folder in Windows Explorer? But that you can't do while
working..?

Thanks....

Joni

Tom Leylan said:
Autosave appears to be an option. On the Tools/Options/ dialog check
[]
Show all Settings

Under Projects and Solutions "Before building" you have Save all
changes set
I'd bet. You might consider changing it to Prompt to Save all
Changes.
Alternatively (or additionally) you might not want to delete all the
controls off your form. You can always clone a copy of a file so you
never
risk destroying a working version until you see the new one operate
reliably.


jonigr said:
New to VB.NET, designing my first form with an MS manual at my
side,
placing
objects and writing code.

For good reason I just:

SAVED All (!!)
deleted all objects leaving only a grey form,
ran my program to see the result,
then UNDO to get my objects back.

No Undo.
No objects.
Empty form.
No object code.

What - - happened? Does this auto-save when a program is run? If so
fine,
but as a backup, I hope. It couldn't be overwriting my own Save, it
just
can't be.

Been searching 20 minutes, starting to get nervous. Just like to
get my
work
back. Help appreciated. Thanks!
 
It works indeed. Why I thought it didn't I don't know, perhaps because you
can't *rename* while working. Those misconceptions that sneak in and settle
"at a young age"!

Thank you Robin.

RobinS said:
If you have saved your changes, you *can* copy the complete folder.
I zip mine up periodically when I hit certain milestones in case I muck
it up later. Works even if I have the project open.

Robin S.
----------------------
jonigr said:
Right on Tom, Build & Run "Save changes" seems to be the default, I
changed
it right away.

I suspected some controls UNder a TabControl page I made, that's why I
removed everything. Very confusing for a newbie unable to simply save
a
complete "file" (project? Solution?) under a different name while
working.

Turns out I did Save As. my *Form* a few times and managed to get an
old one
back with most controls on it.

Is that what you mean by "cloning a copy"? Or you mean copy/pasting
the
complete folder in Windows Explorer? But that you can't do while
working..?

Thanks....

Joni

Tom Leylan said:
Autosave appears to be an option. On the Tools/Options/ dialog check
[]
Show all Settings

Under Projects and Solutions "Before building" you have Save all
changes set
I'd bet. You might consider changing it to Prompt to Save all
Changes.
Alternatively (or additionally) you might not want to delete all the
controls off your form. You can always clone a copy of a file so you
never
risk destroying a working version until you see the new one operate
reliably.


New to VB.NET, designing my first form with an MS manual at my
side,
placing
objects and writing code.

For good reason I just:

SAVED All (!!)
deleted all objects leaving only a grey form,
ran my program to see the result,
then UNDO to get my objects back.

No Undo.
No objects.
Empty form.
No object code.

What - - happened? Does this auto-save when a program is run? If so
fine,
but as a backup, I hope. It couldn't be overwriting my own Save, it
just
can't be.

Been searching 20 minutes, starting to get nervous. Just like to
get my
work
back. Help appreciated. Thanks!
 
Oddly enough by cloning I mean "copy and paste" into the same project which
it can't do. Hmmm. I wonder if it ever could? I assume not. I thought we
could save a copy and it would give it the name Copy of..." still in the
project.

So alternatively (as was pointed out) it is probably best to copy the folder
containing the project. Make it a compressed folder and it's zipped up and
easy to make as many of them as required.

You might also consider using version control software. There are added
benefits to doing that.


jonigr said:
Right on Tom, Build & Run "Save changes" seems to be the default, I
changed
it right away.

I suspected some controls UNder a TabControl page I made, that's why I
removed everything. Very confusing for a newbie unable to simply save a
complete "file" (project? Solution?) under a different name while working.

Turns out I did Save As. my *Form* a few times and managed to get an old
one
back with most controls on it.

Is that what you mean by "cloning a copy"? Or you mean copy/pasting the
complete folder in Windows Explorer? But that you can't do while
working..?

Thanks....

Joni

Tom Leylan said:
Autosave appears to be an option. On the Tools/Options/ dialog check []
Show all Settings

Under Projects and Solutions "Before building" you have Save all changes
set
I'd bet. You might consider changing it to Prompt to Save all Changes.
Alternatively (or additionally) you might not want to delete all the
controls off your form. You can always clone a copy of a file so you
never
risk destroying a working version until you see the new one operate
reliably.


jonigr said:
New to VB.NET, designing my first form with an MS manual at my side,
placing
objects and writing code.

For good reason I just:

SAVED All (!!)
deleted all objects leaving only a grey form,
ran my program to see the result,
then UNDO to get my objects back.

No Undo.
No objects.
Empty form.
No object code.

What - - happened? Does this auto-save when a program is run? If so
fine,
but as a backup, I hope. It couldn't be overwriting my own Save, it
just
can't be.

Been searching 20 minutes, starting to get nervous. Just like to get my
work
back. Help appreciated. Thanks!
 
It's probably because you assumed if you had it open, you had it locked.
That's not usually an invalid assumption. For example, if you were
*running*
your app, you probably couldn't do this. Like if you have an Access
database
open, it's dicey whether it can be copied.

To be honest, I use WinZip, and it tells you if it couldn't get a valid
copy,
and that's how I knew it worked. I zip up my projects a lot, because
sometimes I muck something up and wish I could go back one step.
It wasn't some mysterious knowledge I gleaned somewhere, it was
trial and error.

Or, as Microsoft puts it, "iterative experimentation". (I love that.
I saw it in one of their WPF articles. I swear, I'm going to put it
on my resume.)

Have fun.
Robin S.
------------------------------
jonigr said:
It works indeed. Why I thought it didn't I don't know, perhaps because
you
can't *rename* while working. Those misconceptions that sneak in and
settle
"at a young age"!

Thank you Robin.

RobinS said:
If you have saved your changes, you *can* copy the complete folder.
I zip mine up periodically when I hit certain milestones in case I
muck
it up later. Works even if I have the project open.

Robin S.
----------------------
jonigr said:
Right on Tom, Build & Run "Save changes" seems to be the default, I
changed
it right away.

I suspected some controls UNder a TabControl page I made, that's
why I
removed everything. Very confusing for a newbie unable to simply
save
a
complete "file" (project? Solution?) under a different name while
working.

Turns out I did Save As. my *Form* a few times and managed to get
an
old one
back with most controls on it.

Is that what you mean by "cloning a copy"? Or you mean copy/pasting
the
complete folder in Windows Explorer? But that you can't do while
working..?

Thanks....

Joni

:

Autosave appears to be an option. On the Tools/Options/ dialog
check
[]
Show all Settings

Under Projects and Solutions "Before building" you have Save all
changes set
I'd bet. You might consider changing it to Prompt to Save all
Changes.
Alternatively (or additionally) you might not want to delete all
the
controls off your form. You can always clone a copy of a file so
you
never
risk destroying a working version until you see the new one
operate
reliably.


New to VB.NET, designing my first form with an MS manual at my
side,
placing
objects and writing code.

For good reason I just:

SAVED All (!!)
deleted all objects leaving only a grey form,
ran my program to see the result,
then UNDO to get my objects back.

No Undo.
No objects.
Empty form.
No object code.

What - - happened? Does this auto-save when a program is run? If
so
fine,
but as a backup, I hope. It couldn't be overwriting my own Save,
it
just
can't be.

Been searching 20 minutes, starting to get nervous. Just like to
get my
work
back. Help appreciated. Thanks!
 
Robin,

I can say, with a great deal of certainty, that an Access database can be
copied while it is locked by an application. It cannot be moved but it can
be copied. :)

Bruce

RobinS said:
It's probably because you assumed if you had it open, you had it locked.
That's not usually an invalid assumption. For example, if you were
*running*
your app, you probably couldn't do this. Like if you have an Access
database
open, it's dicey whether it can be copied.

To be honest, I use WinZip, and it tells you if it couldn't get a valid
copy,
and that's how I knew it worked. I zip up my projects a lot, because
sometimes I muck something up and wish I could go back one step.
It wasn't some mysterious knowledge I gleaned somewhere, it was
trial and error.

Or, as Microsoft puts it, "iterative experimentation". (I love that.
I saw it in one of their WPF articles. I swear, I'm going to put it
on my resume.)

Have fun.
Robin S.
------------------------------
jonigr said:
It works indeed. Why I thought it didn't I don't know, perhaps because
you
can't *rename* while working. Those misconceptions that sneak in and
settle
"at a young age"!

Thank you Robin.

RobinS said:
If you have saved your changes, you *can* copy the complete folder.
I zip mine up periodically when I hit certain milestones in case I muck
it up later. Works even if I have the project open.

Robin S.
----------------------
Right on Tom, Build & Run "Save changes" seems to be the default, I
changed
it right away.

I suspected some controls UNder a TabControl page I made, that's why I
removed everything. Very confusing for a newbie unable to simply save
a
complete "file" (project? Solution?) under a different name while
working.

Turns out I did Save As. my *Form* a few times and managed to get an
old one
back with most controls on it.

Is that what you mean by "cloning a copy"? Or you mean copy/pasting
the
complete folder in Windows Explorer? But that you can't do while
working..?

Thanks....

Joni

:

Autosave appears to be an option. On the Tools/Options/ dialog check
[]
Show all Settings

Under Projects and Solutions "Before building" you have Save all
changes set
I'd bet. You might consider changing it to Prompt to Save all
Changes.
Alternatively (or additionally) you might not want to delete all the
controls off your form. You can always clone a copy of a file so you
never
risk destroying a working version until you see the new one operate
reliably.


New to VB.NET, designing my first form with an MS manual at my
side,
placing
objects and writing code.

For good reason I just:

SAVED All (!!)
deleted all objects leaving only a grey form,
ran my program to see the result,
then UNDO to get my objects back.

No Undo.
No objects.
Empty form.
No object code.

What - - happened? Does this auto-save when a program is run? If so
fine,
but as a backup, I hope. It couldn't be overwriting my own Save, it
just
can't be.

Been searching 20 minutes, starting to get nervous. Just like to
get my
work
back. Help appreciated. Thanks!
 
Yes, it *can*, but should it? I have had problems with that
in the past. I've gotten "locked" messages a couple of times,
and sometimes it appears that data being updated was lost.
Maybe it was because the network at the company where I worked
was sooooooooooooooo sloooooooooooooooooow. Accessing information
across the network was like being nibbled to death by ducks.

Robin S.
--------------------------------------
Bruce W. Darby said:
Robin,

I can say, with a great deal of certainty, that an Access database can be
copied while it is locked by an application. It cannot be moved but it
can be copied. :)

Bruce

RobinS said:
It's probably because you assumed if you had it open, you had it locked.
That's not usually an invalid assumption. For example, if you were
*running*
your app, you probably couldn't do this. Like if you have an Access
database
open, it's dicey whether it can be copied.

To be honest, I use WinZip, and it tells you if it couldn't get a valid
copy,
and that's how I knew it worked. I zip up my projects a lot, because
sometimes I muck something up and wish I could go back one step.
It wasn't some mysterious knowledge I gleaned somewhere, it was
trial and error.

Or, as Microsoft puts it, "iterative experimentation". (I love that.
I saw it in one of their WPF articles. I swear, I'm going to put it
on my resume.)

Have fun.
Robin S.
------------------------------
jonigr said:
It works indeed. Why I thought it didn't I don't know, perhaps because
you
can't *rename* while working. Those misconceptions that sneak in and
settle
"at a young age"!

Thank you Robin.

:

If you have saved your changes, you *can* copy the complete folder.
I zip mine up periodically when I hit certain milestones in case I
muck
it up later. Works even if I have the project open.

Robin S.
----------------------
Right on Tom, Build & Run "Save changes" seems to be the default, I
changed
it right away.

I suspected some controls UNder a TabControl page I made, that's why
I
removed everything. Very confusing for a newbie unable to simply
save
a
complete "file" (project? Solution?) under a different name while
working.

Turns out I did Save As. my *Form* a few times and managed to get an
old one
back with most controls on it.

Is that what you mean by "cloning a copy"? Or you mean copy/pasting
the
complete folder in Windows Explorer? But that you can't do while
working..?

Thanks....

Joni

:

Autosave appears to be an option. On the Tools/Options/ dialog
check
[]
Show all Settings

Under Projects and Solutions "Before building" you have Save all
changes set
I'd bet. You might consider changing it to Prompt to Save all
Changes.
Alternatively (or additionally) you might not want to delete all
the
controls off your form. You can always clone a copy of a file so
you
never
risk destroying a working version until you see the new one operate
reliably.


New to VB.NET, designing my first form with an MS manual at my
side,
placing
objects and writing code.

For good reason I just:

SAVED All (!!)
deleted all objects leaving only a grey form,
ran my program to see the result,
then UNDO to get my objects back.

No Undo.
No objects.
Empty form.
No object code.

What - - happened? Does this auto-save when a program is run? If
so
fine,
but as a backup, I hope. It couldn't be overwriting my own Save,
it
just
can't be.

Been searching 20 minutes, starting to get nervous. Just like to
get my
work
back. Help appreciated. Thanks!
 
Well, from where I work, as the supervisor of a small tech support
department, yes, we should be able to copy it. We have a business
relationship with a company that markets a GPS system for golf carts. That
system is designed to keep our software alive and kicking, which means that
the .mdb is locked and cannot be modified or moved, etc. If we need to have
the course upload the database to us because of a problem, then making a
copy of it to the desktop, then uploading it to our web server is the only
way to do it without shutting down the GPS system. Shut down the GPS system
on a day when the course if filled with players using that system to keep
their scores can result in a VERY bad day for the course. :) I've never seen
a 'copy' operation lose or corrupt data in the .mdb and I've been using this
copy method at least three times a week. I 'have' seen the slowness that you
indicate when the location of the database is not within the same building
as software running the application. Seems like anything more than about
'across the parking lot' causes Access to slow down to a crawl.

Bruce

P.S. Being nibbled to death by ducks would be a 'fowl' way to die, I must
admit... :) OK...OK... no stones....
 
When I referred to the network being slow, it wasn't an Access problem, it
really *was* a network problem. I supported 3 applications that I wrote
with 3 different Access databases. I'm in California; I supported one here,
and two in the Midwest. To make it run as fast as possible, I put the two
databases used by the MidWest users in the MidWest.

When I wanted to open one of those, it took at least 2 minutes just to open
the frickin' database by double-clicking on it. That's right, just open it,
not run anything. As I tend to be impatient with computers, it was very
frustrating, but nothing I could fix.

So I think I had problems because of the network issue, and the state of
the database would be different when I started copying it versus when it
was in the middle or at the end. Once or twice in mid-day when network
traffic was at its highest, I couldn't even copy it in place, or to a
different folder in the MidWest even. Grrrrrrr.

It didn't happen enough to be a major issue, it was just an annoyance.

Your setup sounds really interesting; sounds like a fun project to work on.
I used to caddy for my father when I was young, and I have to say, golfers
take themselves and their game way too seriously. On the bright side, I
made a fortune (well, it was a fortune at that age) collecting golf balls
off the bottom of the lake and selling them to the clubhouse, although at
times it was dangerous work. Fore!

As for this:
P.S. Being nibbled to death by ducks would be a 'fowl' way to die, I must
admit... :) OK...OK... no stones....

Grooooan. I guess I asked for that. I could respond by calling you a turkey
or something silly like that, but I should resist. I don't want to crow
about my ability to pun, or have you think I'm going quackers.

Robin S.
-------------------------------------------------
 
Back
Top