Ramy Mahrous 401 Postaholic Featured Poster

Yes yes thanks JX :D

Ramy Mahrous 401 Postaholic Featured Poster

The connection string still the same just create the database and connect it from anywhere. what I've said is you just can create database from VS, after the creation you can access your DB from any application using ConnectionString www.connectionstrings.com

Ramy Mahrous 401 Postaholic Featured Poster

You've the file in your hand, use File.ReadAllText("FilePathOnYourServer") which returns string, take it and using Insert statement your string'll be in your DB.

Ramy Mahrous 401 Postaholic Featured Poster

VC++ question in VB.NET forum you may move your thread to get more answers http://www.daniweb.com/forums/forum8.html Show method for MessageBox in C# returns DialogResult within you can know user selection (Yes, No, Abort, ....) I don't know if VC++ has the same scenario or not, I recommend to ask VC++ professionals.

Ramy Mahrous 401 Postaholic Featured Poster
Dim str As string 
str = "Ramy1"
str = str.Remove(str.Length - 1);
' str = Ramy
Ramy Mahrous 401 Postaholic Featured Poster

You can use connected mode to send your data once it's updated.
You can add to your TableAdapter an update command (customized) and it also update your date immediately.

Ramy Mahrous 401 Postaholic Featured Poster

Use Control called "Upload File" in Web-Based application (ASP.NET) then read uploaded file save its text into DB.

Ramy Mahrous 401 Postaholic Featured Poster

Describe for me what's Photo, Category and Subcategory table?? the descrription of each of which I may help you!

Ramy Mahrous 401 Postaholic Featured Poster

select groupno,a from table1
where groupno <> 'Test' OR groupno is null

Ramy Mahrous 401 Postaholic Featured Poster

You've installed Microsoft SQL Server Express Edition which runs from VS, to create Database you need to open VS and create Database and so on...

Ramy Mahrous 401 Postaholic Featured Poster

From your solution
1- Add new project from type "Setup and Deployment" and select Setup Wizard

2- Next, next, (Select primary output) next, then finish

3- you'll find two panes opened

4- Right click on the setup project on solution explorer and select View->File types

5- The left pane shows File types on target machine

6- Right click on it then Add new file type rename it

7- From its properties select the executable to be opened and the extension associated with it (the extension you need when user right click on it appear your custom item in Windows menu)

Need more help, send me again!

Ramy Mahrous 401 Postaholic Featured Poster

Use Image Processing techniques!! www.mathworks.com

Ramy Mahrous 401 Postaholic Featured Poster

You can't take input from Grid, rather you can use some controls to pass value to SELECT statement and what returns is the Grid's DataSource

Ramy Mahrous 401 Postaholic Featured Poster

In wizard setup project aka deployment project you can register files extension your executable can open, and you can also add an item to Windows Context menu when user rights click on your specific files extensions.
If you didn't get me, I'll write for you step by step how can you do it!

Ramy Mahrous 401 Postaholic Featured Poster

Try to use paramatized command better than including parameter in command string!!

Ramy Mahrous 401 Postaholic Featured Poster

How to make a datasource need a video to explain it I recommend you go to www.msdn.com and search on How Do I C# you'll find some examples.

Ramy Mahrous 401 Postaholic Featured Poster

Full code

Private Sub PicTarget_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles picA1.DragDrop, picA2.DragDrop, picA3.DragDrop
PictureBox pic = (PictureBox)sender;
        MovePiece(e, picSource, sender)
    End Sub
Ramy Mahrous 401 Postaholic Featured Poster

if sender is Picture cast it
C# code I don't know VB.NET :$

PictureBox pic = (PictureBox)sender;
//hint: Exception would release if sender isn't PictureBox control
Ramy Mahrous 401 Postaholic Featured Poster

You're welcome, just drop any question at anytime!

Ramy Mahrous 401 Postaholic Featured Poster

You can handle the click event of many controls (TextBox, Buttons,... etc) with just one method what you need is to identify the sender (Who's?) Button or TextBox or what and then decide what to do!!

Ramy Mahrous 401 Postaholic Featured Poster

Contact this member http://www.daniweb.com/forums/member279825.html he is the man developed it and ask him to send you the code :)

Ramy Mahrous 401 Postaholic Featured Poster

Yes, you can hold what returned from your SP in XML object for later processing or DataReader for navigation..
If you need a sample tell me..

Ramy Mahrous 401 Postaholic Featured Poster

It's a tool some daniweb's member implemented it http://www.daniweb.com/forums/thread109430.html look at its implementation it may help you!

Ramy Mahrous 401 Postaholic Featured Poster

It's not pointless comment it's a rule my friend, I didn't mean to embarrass you, my comment is away for making you learn more.. see also We only give homework help to those who show effort

Ramy Mahrous 401 Postaholic Featured Poster

Make a label and set its text to TimeSpan value after each decreasing

Ramy Mahrous 401 Postaholic Featured Poster

Handle time tick and set its inteval to 1000 ms each tick decrease time using TimeSpan class

Ramy Mahrous 401 Postaholic Featured Poster

You need to read file stream located on USB or what??

Ramy Mahrous 401 Postaholic Featured Poster

desiding??

Ramy Mahrous 401 Postaholic Featured Poster

googlize it!

Ramy Mahrous 401 Postaholic Featured Poster

You gave a nice solution begin in coding it and if you face a problem ask us specific question, the answer you need is to make someone coding your problem!!

Ramy Mahrous 401 Postaholic Featured Poster

Web-based or windows application? I feel it's web application and DataGridView supports paging, where is your question??

Ramy Mahrous 401 Postaholic Featured Poster

It should take parameter of type AbsClass

Ramy Mahrous 401 Postaholic Featured Poster
public abstract class AbsClass
    {
        public abstract void Create();
    }

    public class Employee : AbsClass
    {
        public override void Create()
        {
            throw new NotImplementedException();
        }
    }

    public class Project : AbsClass
    {
        public override void Create()
        {
            throw new NotImplementedException();
        }
    }
Ramy Mahrous 401 Postaholic Featured Poster

Thanks (Y)

Ramy Mahrous 401 Postaholic Featured Poster

What you need is array of PictureBox control and to play with their positions!

Ramy Mahrous 401 Postaholic Featured Poster

In form properties you will find property called "Accept button" set it to the button you need to be pressed if user press "Enter"

majestic0110 commented: Thanks for the help +1
Ramy Mahrous 401 Postaholic Featured Poster

In column properties set default value = getdate()

Ramy Mahrous 401 Postaholic Featured Poster

You can guess it from his question!

Killer_Typo commented: Without knowing more it's far fetched to just assume what the problem really is. -1
Ramy Mahrous 401 Postaholic Featured Poster

Nice (Y) Congrats!

Ramy Mahrous 401 Postaholic Featured Poster

Use paramatized command better than you did, to debug your code efficiently
and send your code again I may help.

Ramy Mahrous 401 Postaholic Featured Poster

Please move your thread to ASP.NET forum to get help http://www.daniweb.com/forums/forum18.html

Ramy Mahrous 401 Postaholic Featured Poster

Please move your thread to ASP.NET forum to get help http://www.daniweb.com/forums/forum18.html

Ramy Mahrous 401 Postaholic Featured Poster

me too!

Ramy Mahrous 401 Postaholic Featured Poster

.net framework missing!!

Ramy Mahrous 401 Postaholic Featured Poster

I won't meet her as she has a lot of work :(

Ramy Mahrous 401 Postaholic Featured Poster

Let's have some fun and be friends on Facebook and join our Daniweb group http://www.facebook.com/group.php?gid=2373053760
My profile link is http://www.facebook.com/profile.php?id=891040383

Ramy Mahrous 401 Postaholic Featured Poster

send me your sample at my email ramymahrous@gmail.com

Ramy Mahrous 401 Postaholic Featured Poster

You can use ProcessStartInfo class to help you I am attaching an example it could help

This example I wrote to help me to generate key file for com and com+ applications

public void GenerateKeyFile(string path)
        {
            string commandLine = " \"C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\Bin\\sn.exe\" -k ";
            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(commandLine + path);
            SW.Close();
        }
Ramy Mahrous 401 Postaholic Featured Poster

look create your cursor and put it in specific path, take its path and follow my first answer.

Ramy Mahrous 401 Postaholic Featured Poster

Thanks Jerry for your extra help (Y)