finito 46 Nearly a Posting Virtuoso
Thats where my drives end up.
did you hear any beeps without ram?
Sorry you have to be more clear.
You don't know how to Fill your DB? or you don't know how to retrieve you DB?
Show some code or pseudo code.
Please read this, it's a very nice tutorial.
http://www.csharp-station.com/tutorials/adodotnet/lesson01.aspx
Read Up until Lesson 4 to get yourself started.
Ask questions of what you don't understand.
Please be specific what do you want exactly.
Boot it up again. and Press and Hold the Power Button for about 20 Seconds. Your laptop should force shutdown.
Now when you boot it will be a full normal startup or as they say "Cold boot"
This is not complete but is very close.
http://bytes.com/topic/c/answers/510036-how-print-numbers-words
Well, I assume you are checking the data with a database.
if so add in the Database UserType and make it of type int.
0 for Admin
1 for PM
2 for Employee
Now when user logs in check for user type and go ahead and do the different actions for different users.
I answer a alot of questions in a day so I loose track of whose who. But yeah I though we were talking about a Desktop this whole time. You said you changed the motherboard of a laptop right?
Ok what are the chances that the motherboard you changed with has the same problem? I mean is it new?
Honestly This system would be out the window by now.
Hmm, try and locate the Power supply PCB, try and see if its running hot when you try to run the system.
This didn't work because.
"UPDATE UserInfo SET" + "name = @name" + "WHERE id=@id";
When it is added up in the system it comes up like this
UPDATE UserInfo SETname = @name WHERE id=@id
There is no space added.
cmd.Parameters.Add("@"+col,SqlDbType.Char,0,col);
I am not too familiar with this, but after some reading I would say its to declare the length. But it seems optional from all I have read
http://msdn.microsoft.com/en-us/library/yy6y35y8.aspx
Use imagebox, and use the on click event. You basically have an Image working like a Button.
I can't see where you are checking for it. Or you don't know how to go about it?
Can you break it down in pseudo code what you are trying to do?
If I Understand properly you want to Check if something is missing and make it if it's not there.
Well Can you tell me what you are checking for and what you want to replace it with?
You may want to look at CASE WHEN.
Example
SELECT CASE WHEN Name IS NULL THEN '-1' ELSE Name END FROM Customers WHERE CustomerID = 12345
then you can check if -1 is returned then the record doesn't exist and you can do what you want with it.
From what I understand CASE works in Firebird DB
You messed up the installs.
Uninstall everything and Restart.
Then install what you need again.
Are you getting any runtime errors?
I don't see anything sticking out atm.
I am assuming the ID is autonumber?
I am sorry, I don't understand what you want, It would help if the code was tagged properly.
I apologize if I post something wrong or something.
You don't have to apologize for posting something.
Well it's rather simple. I assume you have the logic to figure out whether the User that logged in is the employee, PM or Admin.
To Make the button invisible or hidden just do.
button1.Visible = false;
or
button1.Visible = true;
You can also check the Visible status.
if (button1.Visible) // this by default means (button1.Visible == true) you can check for false as well.
{
!button1.Visible; // if its visible make it invisible and vice versa
}
Do you have a spare power supply that you could try. If it isn't getting enough power, it may do what yours is doing. I would at least rule it out.
The possibility is rather rare, but it doesn't harm to rule it out.
If you are fetching it in form load did you even check the child form yet wouldn't you get always false? (Unless you set it to be true by default).
Try this in form load.
ChildForm CF = new ChilForm()
bool StatusCheck;
if (CF.ShowDialog() == DialogResult.OK)
{
StatusCheck = CF.GetStatus;
}
Hmm maybe the PSU?
The power supply. If you have a spare lying around try that first,
Add a public function in Child form
bool public GetStatus()
{
return checkbox1.Checked;
}
And call this function where you have called for Child.Show();
Can you remove the Ram and boot?
Aahh yes, You remind me of myself.
I want to Test the LCD on another Machine just to check if it's working.
Then I want you to try another monitor on your current Machine.
Post results thanks.
Stupid question but do you have the Arabic Language installed?
Hmm, This is from my limited knowledge that I have of running a similar setup.
So if someone finds errors please point them out.
1. At the moment, we've added our database as a data source and then access it using datasets and adapters. I assume this is incorrect if we want the database running off the server as this makes the database local to the application. Originally I created a connection to the database using an SQLConnection, opening the connection, running the query and closing the connection when I was finished, but this didn't work off my team-mates computers as it was looking for the database on my laptop. What would be the best/most correct way of creating the application that connects to the DB off the server?
This should work without any problems, The server is also a machine and can run the program you are making. Did you enable remote access? Here is a nice link to help you do so if you haven't.
http://blogs.msdn.com/b/bethmassi/archive/2008/09/17/enabling-remote-sql-express-2008-network-connections-on-vista.aspx
Using datasets and adapters is fine, but IMO it is sluggish. You may want to use direct sql string commands using SQLCommand and SqlDataReader.
2. How can we handle concurrent access to the same data?
You can lock the data when it is accessed with a boolean column. So when another User accesses the data it will either be shown as Write protected or denied.
There are other ways but this one is the one I …
Maybe over heating.
Please open your case and see if the Heatsink is secure.
Are you/Did you hear(ing) any beeps when you did/were boot(ing)?
Single short beep means everything is fine.
Its when you hear multiple beeps that you have a problem.
ALTER TABLE Table1
ADD TempID int IDENTITY(1, 1)
Run this in SQLBrowser
It will create another Column and make everything unique
Delete what you want and then delete the column
Well You can but you need [] to let it accept the name.
But yes that works too.