|
You can just add the file in a setup project and it will be delivered with the setup. If you want to run code in your setup, create Installers and add them in the custom actions view of your setup project.
|
|
|
|
|
Hi,
How can we communicate with linux server from .net application? I need to upload/download files to linux server using .net desktop/web application preferably using sftp.
-Thanks,
Priya.
|
|
|
|
|
Hi all..
I am trying to get the actual URL of the List Items but i am not able to get it ,each time getting something like..(_1.000) extension but it is unable to open the required list..
I am trying with the below code..
SPList contactsList = myWeb2.Lists[list.Title];
foreach (SPListItem contact in contactsList.Items)
{
MessageBox.Show("URL:"+contact.Url);
}
any help...
thank you
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
hi,
i have a form for my device applicaation(PDA) in which i have a datatable. i have to freeze the first column of the datatable. i mean dock the first column so that when he scrolls, first column does not moves along with scroll.
for datagrid view there is a frezze property, but i was not able to find such property for datatable.
can some one help in reagrds with this.
|
|
|
|
|
How do I make a form implement an interface?
Everything makes sense in someone's mind
|
|
|
|
|
Forms are normal classes. So you can implement an interface as usual.
|
|
|
|
|
You may be having trouble because your form class is already "implementing" the Form class. What you need to do is enter a , after the Form declaration and type your interface name there. Example:
partial class myForm : Form, myInterface
{}
Cheers!
Richard Blythe
I've used up all my sick days, so today I'm calling in dead.
|
|
|
|
|
Richard Blythe wrote: form class is already "implementing" the Form class
Nope its inheriting. You inherit base clases you implement interfaces.
|
|
|
|
|
Thanks for the correction.
I've used up all my sick days, so today I'm calling in dead.
|
|
|
|
|
What would be the easiest way of drawing rectangles or other shapes onto a picture box using the mouse?
Just like in MS Paint.
|
|
|
|
|
this[^] might help
While (true) { Human.isLearnable = true; }
|
|
|
|
|
No, not suitable for your question but it's obvious!
While (true) { Human.isLearnable = true; }
|
|
|
|
|
Or maybe this[^]
While (true) { Human.isLearnable = true; }
|
|
|
|
|
|
I looked at both of the links, seems it could be easier.
|
|
|
|
|
dennycrane wrote: I looked at both of the links
Did you do that right now? You're amazing!
dennycrane wrote: seems it could be easier.
What do you mean? Do you have any idea?
While (true) { Human.isLearnable = true; }
|
|
|
|
|
Yes, very simple. Click on a button then on a picturebox and a rectangle would appear.
|
|
|
|
|
Well, it's too simple. I thought you said "like MS Paint" (actually you did!). However for your reason you should call PictureBox_Paint in Button_Click (be careful of parameters) and use e.Graphics.DrawRectangle(Pen pen, int x, int y, int width, int height) (+2 overload(s)) to draw a rectangle.
Or you have something else to say?
While (true) { Human.isLearnable = true; }
|
|
|
|
|
I did this using MouseDown, MouseMove, MouseUp and Paint event. And ofcourse a graphics object.
"If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry
|
|
|
|
|
could you give some examples?
|
|
|
|
|
Its too big of a code to share. Actually its all mixed with lot of other code that I use for drawing other stuff. I can tell bit of logic though.
1. Grab the coordinates at MouseDown
2. On MouseMove draw rectangles calculating the height and width using the graphics object.
3. On MouseUp get the point to find final hieght and width and keep them for using in Paint event.
4. Redraw final rectangle in Paint event.
You can also place a PictureBox identical to final rectangle in case you want to have some events for the rectangle.
"If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry
|
|
|
|
|
|
I know how to draw a line and I have that code, I don´t know how to get a rectangle or some other form to show on a picture box.
|
|
|
|
|
how can i show a caret inside the listbox, perhaps a horinontally in between the listbox items.
|
|
|
|
|
netJP12L wrote: perhaps a horinontally
WTF! Stop making up words please. It's urgent.
led mike
|
|
|
|