|
hi all,
I want to handle the event for vertical scrollbar of a listview. instead of displaying the vertical scrollbar, i need to display a button which handles some functionality.
How can i do this?
Please help me with some links or suggestions
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
Hi Everybody,
Can any one help me out how to send News Letters through C#,ASp.NET1.1. I have a news letter which is designed in HTML(Containing Graphics). I need to send this page when the user subscribes for the news Letter. can any one please help me out how to achive this...
THANKS IN ADVANCE [ ]
chandu
|
|
|
|
|
The same way you'd send any email, did you try google ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi ,
i am trying to create a application that will send emails on a button click event.I wrote the code and its compiling fine.I am receiving the mail. Now i want to add CC and Bcc options also to this .that is i kept two more text boxes for cc and bcc(txtCC and txtBcc).I want help to code for it.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Net.Mail;
using System.Net;
namespace Ttracker_TestApp
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void btnSend_Click(object sender, EventArgs e)
{
try
{
MailMessage msgMail = new MailMessage();
msgMail.IsBodyHtml = true;
//msgMail.Bcc.Add(admin);
msgMail.From = new MailAddress("j@tk.com");
msgMail.To.Add(new MailAddress("j@tk.com"));
msgMail.Subject = "Subject";
msgMail.Body = txtMail.Text;
SmtpClient objSmtpClient = new SmtpClient("smtp.asnet.com");
objSmtpClient.Host = "smtp.asnet.com";
objSmtpClient.Credentials = new NetworkCredential("techvendors@asnet.com", "password");
objSmtpClient.Send(msgMail);
}
catch (Exception ex)
{ }
}
}
}
Thanking you
j
-- modified at 1:13 Thursday 22nd November, 2007
|
|
|
|
|
<cdoe>
MailMessage MyMessage = new MailMessage();
MyMessage.Bcc = "mymailid@mail.com";
|
|
|
|
|
Thanks ,that worked
but now i want it to acccept the address thats inside the text boxes txtAddress,txtBcc,txtCC.And also it should accept more than one cc's and bcc's.
and most important the contents of the mail should be taken form the datagrid
How can i do that in my code
Thanks
j
-- modified at 3:09 Thursday 22nd November, 2007
|
|
|
|
|
Hello experts,
Can anybody tell me how many controls I can place on a form....?
I am using windows application using C#.net 2005.
Their is a limitation in VB 6 for 255 maximum controls.
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
VB6 sucks.
I don't know, but it's more than you would ever want to have on a form.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you very much for reply.
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
Hello friends,
In my application, When i place mouse over any window, the content of that window should be captured and will show in the form window. (whether the content is image or text). I can able to capture the handle of the window using 'WindowFromPoint( )' function. But using that handle, any way to capture the content of that window?
Please Help.................
Anez.A
|
|
|
|
|
hi all, i want to make an application just like MS paint,images will be loaded to it and upon selection of part of image it will be saved as new file, but only one part of image not full image file,i was able to select the part of image but how to copy/make a new image file from selected image part and save to disk or draw it again,
Regards.
Tasleem Arif
|
|
|
|
|
You can use the Bitmap constructor to create a new bitmap that is part of the old one
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
it creates the new image and resize it but,i want to create the new image from part of image not resize orignal image.
Regards.
Tasleem Arif
|
|
|
|
|
OK, then create a graphics object from a bitmap the right size and draw the fragment onto it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thanks it did worked
Regards.
Tasleem Arif
|
|
|
|
|
You don't need to develop your own MS-paint-like software.. You can use the opensource Paint.NET..
http://www.getpaint.net/download.html
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
How to change the language of UI word in an office project?(in word 2003)
|
|
|
|
|
I reference the third-party control's dll in a project.
the project run normally in debug.
but compiler fail in release, it report "in defect of reference library".
|
|
|
|
|
Did you buy this third-party control?? I'm asking this because some third-party control "unregistered version" can't be used in release mode..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
I want to access to the complex script fonts in word project.
Is there any property or class that contains this list?
|
|
|
|
|
I have a typical need in which I want to lock a file so that no software can access it, not even copy it.
Any ideas as to how I can do this?
TIA
|
|
|
|
|
I think you just need to open this file from your program. then, no software can access it until you close this file from your program.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
But still we can copy that file..
Michael is right that if we open file through program no one can
access it but it can be copied...
rahul kulkarni
|
|
|
|
|
Not true.
You can open the file in a way that denies other processes read and write access, so it can't be read for copying.
The problem is as soon as your program ends or gets killed, the file is free-for-all again.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Hi friends,
I have a requirement to send Messages to Mobile devices? I am new to this technology.. what is the namespace used for this?
can we import any buit in components?
How we know the providers and how we can contact with them?
How can we do it in c#?
If any one has on idea regarding this, send me the links for me
if possible send me a code for me.
thanks in advance
G. Satish
|
|
|
|