Ramy Mahrous 401 Postaholic Featured Poster

let's use datatypes well, we just need timestamp: data type that exposes automatically generated binary numbers, which are guaranteed to be unique within a database. timestamp is used typically as a mechanism for version-stamping table rows.

So, you don't need to modify it, it's modified by SQL or Oracle engine

Differentiate between DateTime and TimeStamp datatypes

Ramy Mahrous 401 Postaholic Featured Poster

put the images beside the application and call it by its name directly
like

Image img = Image.FromFile(Application.StartupPath + ImageName + ".jpg); /* it returns the path needed to get the image*/
Ramy Mahrous 401 Postaholic Featured Poster

to open a file that's beside your application

Application.StartupPath returns the path where your application starts from

Example to open text file called 1.txt which is beside your .exe

System.Diagnostics.Process.Start(Application.StartupPath + "\\1.txt");
Ramy Mahrous 401 Postaholic Featured Poster

A modal dialog which requires user to set his/her username and password when s/he i.e press Login call method to connect to SQL Server verfiy using try...catch
try->login successed, else login failed

Ramy Mahrous 401 Postaholic Featured Poster

you've to create textboxes at run time and assign it with xml node values

Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

Look I don't know an automated manner to accomblish that task, but If I were you, I'd do it myself, hummm... open a very small form has a collection of textboxes user edits, take these values update in listview by index

Ramy Mahrous 401 Postaholic Featured Poster

Edit the query filled the DataAdapter...

Ramy Mahrous 401 Postaholic Featured Poster

switch...case

Like

x = Console.ReadLine();
//try to parse..
//successed manage the first and last operand assginment
//catch...that's mean you got a character +,-,*,/,A,B,.....
just switch case of arthimatic operation and call appropriate method
Ramy Mahrous 401 Postaholic Featured Poster

I don't think you can!

Ramy Mahrous 401 Postaholic Featured Poster

After filling DataSet (or DataTable) by Adapter, call a method (preferred to be in another thread) loop on DataSet (or DataTable) foreach row you'll stop the thread for 3000 ms

void Initilize()
{
// filling adapter 
// filling dataset (or datatable)
// calling ShowRows
}
void ShowRows(DataSet (or DataTable) tbl)
{
foreach(DataRow in tbl.Rows)
{
//Create Label Control at runtime with good X and Y cor.
//Thread.Stop(3000);
}
}
Ramy Mahrous 401 Postaholic Featured Poster

Dear koketa;
Please ask direct question because no one will read all you wrote; ask for example I've exception in lmlma how to slove it, I can't nither read your code nor understand it. just go around this forum and see how people ask
Cheers :)

Ramy Mahrous 401 Postaholic Featured Poster

You remind me with graduation project days :)

public void GenerateKeyFile(string command)
        {
            ProcessStartInfo PSI = new ProcessStartInfo("cmd.exe");
            PSI.RedirectStandardInput = true;
            PSI.RedirectStandardOutput = true;
            PSI.RedirectStandardError = true;
            PSI.UseShellExecute = false;
            Process p = Process.Start(PSI);
            System.IO.StreamWriter SW = p.StandardInput;
            System.IO.StreamReader SR = p.StandardOutput;
            SW.WriteLine(command);
            SW.Close();
        }
Ramy Mahrous 401 Postaholic Featured Poster

Sorry I didn't get you "SQL Server it is then...."?

Ramy Mahrous 401 Postaholic Featured Poster

That's illegal to develop with unlicensed software but let talk freely "we'll be arrested :D"

The hosting won't ask you for your license you just give him the application and database files if s/he supports XYZ edition of SQL Server you pay $M you don't care for his/her license you just host and you aren't responsible if he hasn’t license s/he supposed to provide you with software you need as you pay.

Ramy Mahrous 401 Postaholic Featured Poster

professionally: compare hosting prices and choose the minimum
and about connecting with application, MySQL team developed libraries to work with .net to be like ado.net

me: choose SQL Server it's my beloved RDBMS :)

Ramy Mahrous 401 Postaholic Featured Poster

yes, I mean to search on project, graduation project and so on you'll find a lot of resources and discussion made before, no one like to re-discuss it here :)
I mean search and read better than starting new thread and don't find a lot of people discssing it with you, got me?

Ramy Mahrous 401 Postaholic Featured Poster

you can use Google API for search and then optimize\filter the results on your own

Ramy Mahrous 401 Postaholic Featured Poster

Remoting or Network programming

Ramy Mahrous 401 Postaholic Featured Poster

Try Focus() not SetFocus I'm tryin' to help I use C#
and for keypress, use text changed event handler and you'll get the key; e.Key

Ramy Mahrous 401 Postaholic Featured Poster

if you want to sort using more than column use ListView and change its view to details.. you'd give the user the ability to sort by any column(s)..

Ramy Mahrous 401 Postaholic Featured Poster

Use XLINQ it'd help you a lot..

Ramy Mahrous 401 Postaholic Featured Poster

CD tray....
TAKE CARE about copying the code you'll find there are some codes copied wrong take code line line
Create form then add 2 buttons and assign click event handlers to click1 and click2 method
It will work!

Thats the process manager....
You've before compiling this code to adjust namespace names or create the windows application with Process_Manager name
second to add in the form ListView control with name lvwProcesses, TextBox control with name txtMachine and Button control with name cmdRefersh and give in click event handler this method cmdRefersh_Click
It will work!

Ramy Mahrous 401 Postaholic Featured Poster

give me links for codes or codes themselves

Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

Yes, you can just read the documentation of XMLReader in MSDN
www.msdn.com

Ramy Mahrous 401 Postaholic Featured Poster

overload ShowDialog method make it returns true or false in case of true show second (main) form
your question is long but I'll tell you how to call a form from another one
this example calls form 2 from form number 1

dim form2 as Form2()
form2.ShowDialog()
Ramy Mahrous 401 Postaholic Featured Poster

give us example of snippets which work and which don't

Ramy Mahrous 401 Postaholic Featured Poster

grant all permissions to one of them and set for him/her username ana password
while connection to database use the username and the password for connecting

Ramy Mahrous 401 Postaholic Featured Poster

Dear Daniweb community,

First, I'd like to thank you for this great community.

Second, I am wondering if this feature exists or not, is to give members ability to select some forums to be their favorite forums to easily check them.

Ramy Mahrous 401 Postaholic Featured Poster

modifiy your code to this

Console.Write("Enter values for the matrix: ");
int[,] matrx = new int[3, 3];
for (int i = 0; i < 3; i++)
{
for (int j = 0; j < 3; j++)
{
matrx[i, j] = int.Parse(Console.ReadLine());
}
}
Ramy Mahrous 401 Postaholic Featured Poster

yes you can, in http request put your parameters like

[URL]http://xyz.com?name=ramy[/URL]

in the page being requested and that has the control

textbox1.Text = Request["name"];
Ramy Mahrous 401 Postaholic Featured Poster

sorry, can you please give more clarification??

Ramy Mahrous 401 Postaholic Featured Poster

yes, I am; but my answer for what I understood and what you mean.
else you in each row have a value you assign. HTML == static

Ramy Mahrous 401 Postaholic Featured Poster

how can u got the data inside the tables (access db) by html, if you could by Java Script you can't identity the rows let me give you example
1
2
5
6
7
can u give a way if you pressed on number 6 tell you that u clicked on the 4th row??!!

u've raw data without any specific structure so you can't make use else read it.

Ramy Mahrous 401 Postaholic Featured Poster

oooh, that's ASP.NET not HTML, if you need to learn asp.net go to www.asp.net you'll find all resources to be professional web developer ;)

Ramy Mahrous 401 Postaholic Featured Poster

if you used GridView, DataList, .... controls you can bind the data to them and get the value of something if you clicked (or take a specific action) on specific row.
but html table used for alignment and design requirements...

Ramy Mahrous 401 Postaholic Featured Poster

use SP, so you've variable carries topicID

Ramy Mahrous 401 Postaholic Featured Poster

right click on the database->all tasks->take offline
go to database location copy and paste it anywhere
after that
right click on the database->all tasks->bring online

Ramy Mahrous 401 Postaholic Featured Poster

first check your connection string if it's correct see if you run the application in adminstation mode or not

Ramy Mahrous 401 Postaholic Featured Poster

use MSDE
Microsoft SQL Server Desktop Engine, it's server to run Microsoft SQL Server databases and it's free

Ramy Mahrous 401 Postaholic Featured Poster

I don't see any good reason for that except leak in resources but in anyway or any reason virtualization leads to leak in performance

Ramy Mahrous 401 Postaholic Featured Poster

if you used SP, it'd be better, as you could use variables and so on, and also for performance

Ramy Mahrous 401 Postaholic Featured Poster

sorry I didn't see your question well, so do you start SQL Server as administrator??

Ramy Mahrous 401 Postaholic Featured Poster

when this error occured?

Ramy Mahrous 401 Postaholic Featured Poster
Create proc InsertIntoMyTables
@topicID int,
...
...
AS
Insert into Topic values (@topicID,....)
Insert into Reply values(@replyID,....)

or you can use 2 insert statements but DON'T sepeate them with GO

or you can use Insert with inner join I don't remember it right now, if I do I'd reply again

Ramy Mahrous 401 Postaholic Featured Poster

where's you question?
if you're interesting in robotics download robotics SDK from Microsoft and play with it, go to its forum see new ideas talk with experts and so on.

Ramy Mahrous 401 Postaholic Featured Poster

good idea just start and if you faced any problem drop it in suitable forum

Ramy Mahrous 401 Postaholic Featured Poster