1,076,231 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?

Posts by chandnigandhi

I am creating a project in turbo c++ and it is based on kids and i want to implement the speech like it will speak(a for apple).so is it possible to do this?and if possible then please help me out.

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Hi..i m creating a project in turbo c++ with os windows 7 and i want to implement it dynamically.so how connectivity of oracle is possible with c++?(turbo c++ or dev c++)

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I am making a text editor in c language and have been stucked with code of go to line number,selecting a text,copying a text,cut text and pasting a text... so please any one can help me out of this as soon as possible....i have submissions by 1st december....

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I am making a text editor in c language.I need a help for moving characters left,right,up and down.I am using turbo c compiler and i want code for navigation and not an ascii key codes.... please help me with this as soon as possible....

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Solved: setup for turbo c in C

please suggest me turbo c version for windows 7,32 bit which supports full screen mode and also supports graphics functionality....as soon as possible....

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Solved: screen editor in C

can anyone please help me out with creating simple screen editor using graphics functionality in c language.

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

any of that is not possible in turbo c or borland compiler.i want that code which can be run on turbo c or borland compiler not in c++.

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

can anyone suggest me URL for chat application in c language?

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

please suggest me topics for mini project in c programming.

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Solved: place control in ASP.NET

how to place controls next to next for images in a steps?like 1 main image consisting of different sub images.

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

how to manage system volume control in c# either using code or using API?

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

can any one suggest project topics in ASP.net for final year????please give some suggestions.....

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Solved: video file in c# in C#

how to use video files in c#???in which format we can use video files in c#???which control we can use for video files in c#???

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
private void button1_click(object sender,eventargs e)
{
textbox1.font=new font(this.font,fontstyle.underline);
}

same for line and bolditalic....

thank you it is working.....

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

code for bold,italic and underline in c# when button is pressed.....

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Solved: sound API in c# in C#

my project is on education with fun so i want to add sound API for alphabets for example:if alphabet a is pressed then in picturebox image of apple is diplayed and we can hear a sound that is "a for apple"....how to do so????

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

If you followed the code from the link above, right under the rectangle declaration put a new List<T> declaration:

Rectangle rect;
List<Rectangle> theRectangles = new List<Rectangle>();

Now add a mouse up handler

private void Form1_MouseUp(object sender, MouseEventArgs e) {
    if (rect != null && theRectangles.Contains(rect) == false) {
        theRectangles.Add(rect);
    }
}

Then change the Paint event to draw all the rectangles

private void Form1_Paint(object sender, PaintEventArgs e) {
    // Replace "Color.Red" with any color and repalce "2" with any size you like.
    using (Pen pen = new Pen(Color.Red, 2)) {
        foreach (Rectangle r in theRectangles) {
            e.Graphics.DrawRectangle(pen, r);
        }
    }
}

It might generate an exception when it's drawing the rectangles if you are adding one at the same time. If so, you'll either have to lock the collection or iterate through it using a for loop.

thank you it's working.......

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

You'll need to save the rectangles in some form of collection and draw them all in the Paint event, otherwise they vanish, as you have seen.

can you please suggest how to do it????

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Check here:http://www.farooqazam.net/draw-a-rectangle-in-c-sharp-using-mouse/

i have gone through this code but in this code the 1st rectangle disappears when we draw 2nd rectangle.

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

And what will be the difference between 1st and 2nd rectangle? Will you create n number of rectanlges (and where to position it/them)?

there is no difference between 1st and 2nd rectangle.the 2nd rectangle should not overwrite the 1st rectangle.i meant as in paint when we select rectangle we can draw multiple rectangles one by one same as i want to draw rectangles in c#windows form.

chandnigandhi
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
 
© 2013 DaniWeb® LLC
Page rendered in 0.1155 seconds using 2.6MB