My Computer Crashed?. As a result I lost all the .NET Applications that has been saved. I have recovered all the files from hardware failures(06/25/06)
 
       
       
My desktop computer crashed and died today, and I though, “oh well what the hey“.  Now I have to clearn my house and see if I still have my hubby.   However it started out with a weird frustrations combined with mild hard palpitations, and then I blamed everyone that I communicated last night.   Some of them could hack my computer.   Hence I was wrong again(?).


I wired in front panel buttons (Power, restart, an IDE LED, and a Power LED). I took these front panel buttons and LEDs from an old computer. Needless to say, it didn't work out the way i planned. I had to re-wire it to work with my computer. During this process, i restarted, shutdown, cut power to my computer quite a few times.

Thinking back i realised i should have at least unplugged the harddrive during all this.

Now when i start the computer, it goes all the way to the windows XP loading screen, then halfway through it restarts, and this is an endless process. I'm beginning to think the harddrive has crashed. Can anyone help me confirm this?

I'd rather not re-format the computer, unless i absolutly have to, as i have filess on the computer i'd like to save.
 
The main reason of my computer crashed was my hard drive failure is very upsetting because your hard drive holds all your valuable data files. I needed to repair my hard drive This takes time and can be expensive. Also there is no guarantee that your hard drive data will be recovered.  Well, I'll asked my hubby to fix it for me.   Please forgive me from blamed everything on you for the crashed.  
 
My desktop computer have recovered all my files.   Thanks to my disk back up from (Giga Bank  software installation 8G.B) a few weeks ago, and I  have forgot all about it.  I just remembered about the backupdisk this morning(06/25/06).  THANKS GOD.... 

 
 
use byval for object in method signature

     

 

 

This was a question in one of my interview with American Express, and this was how I understand the question:

 that I  In VB.NET, I found there are a lots methods passing object parameter by value. For example,

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click

It's impossible in vb6.In vb6, the object is always passed by reference.
How come we can pass object byval in .NET?

An object in both VB6 & VB.NET is a Reference Type!

ByVal & ByRef Parameters are independent of Reference & Value Types. All
parameters in VB.NET by default are passed ByVal, you should only pass a
parameter ByRef when you have to, which is when you need to modify the
callers variable.

A Reference Type is an object that exists on the heap. If I have a variable
that is a reference type and assign the variable to another variable. Both
variables will be pointing to the same object on the heap.

Dim x As Person
x = New Person()
Dim y As Person
y = x

Both x & y are the exact same Person object on the heap.

A Value Type does not live on the Heap. If I have a value type variable and
I assign it to another variable, a copy of the value is made.

Dim x As Integer
x = 100
Dim y As Integer
y = x

Although both x & y have the value 100, they are physically different values
as a copy was made.

Now when you pass a variable to a ByVal parameter a copy of the variable is
made. So for a Reference Type a copy of the reference is made, which means
there is still only one object on the heap & two references to that object.
For a Value Type a copy of the value is made.

When you pass a variable to a ByRef parameter a reference to that variable
is made. So for a Reference Type you have a reference to a reference to the
object, for a Value Type you have a reference to the value.

Remember ByVal & ByRef are how parameters are passed. Reference & Value
Types are how quantities are stored.