|
|
Thanks
the problem has resolved
|
|
|
|
|
I have a requirement to send a 1000 mails per minute.
How can i move for this?
How multi threading concept is used for this?
Can any one send code for this to send bulk mails in short span of time.
or
u can send links of websites related to this topic.
Thank u
G. Satish
|
|
|
|
|
no threading concept will help you, the bottleneck is your network connection.
It doesn't matter if you send ten mail at a time or one after one.
____________________________________
There is no proof for this sentence.
|
|
|
|
|
Hi,
I am using a PropertyGrid control in my project, and i am populating the values in a Arralist, i couldn't find any methods to bind that arralist to the PropertyGrid.
Is anyone could suggest a way to do that.
Thanks in adavace for the suggessions or help.
code snipets
ArrayList myPropertyList = new ArrayList();
while (reader.Read())
{
string strNodeValue = "";
switch (reader.NodeType)
{
case XmlNodeType.Text:
strNodeValue = reader.Value.ToString();
myPropertyList.Add(strNodeValue); break;
}
}
So here i have the Arraylist with values, and i want to populate those vaues to PropertyGrid
Regards,
- Sree
|
|
|
|
|
I am creating a project.
In that I am having a section "Names" which is a customized section.
Now based on the data in the database I want to create a key and value pairs in that section.
I searched net but they have given the code to write the key value pair in the appsettings but not in the custom section
Can any one tell me how to perform it through code?
Many thanks in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
[^ Maybe this will help]
fafafa, ringakta icke sådant som bringa ack så naggande högönsklig välmåga å baronens ära.
|
|
|
|
|
You need two pieces ...
First, in configSections, tell it there's a new custom section ...
<configsections>
Then add the section ...
<productcode>
<add key="CV" value="AIG Commercial Vehicle">
<add key="CY" value="Axa Private Car">
<add key="MC" value="AIG Motorcycle (MCD)">
|
|
|
|
|
You need two pieces ...
First, in configSections, tell it there's a new custom section ...
<configSections>
<section name="productCode" type="System.Configuration.NameValueFileSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
Then add the section ...
<productCode>
<add key="CV" value="AIG Commercial Vehicle" />
<add key="CY" value="Axa Private Car" />
<add key="MC" value="AIG Motorcycle (MCD)" />
</productCode>
|
|
|
|
|
Hi,
How can I define, whether two button's bacgroundimages are the same?
I tried (if(button1.backgroundimage==button2.backgrounimage)) but It didn't give right result depite two backgroundimages are the same.
|
|
|
|
|
Try this
Button1.BackgroundImage.Equals(button2.BackgroundImage)
Regards
Pankaj Joshi
|
|
|
|
|
Thanks so much for your suggestion,
|
|
|
|
|
So this is working na?
Regards
Pankaj Joshi
|
|
|
|
|
if (button1.BackgroundImage.Equals(button2.BackgroundImage))
{
MessageBox.Show("sssss");
}
isn't working although both of backgrounimages are the same.
|
|
|
|
|
Hi!
I think, you can write the global keyword.
btnadd.image = global::Properties.Resource.add;
|
|
|
|
|
Sorry, I didn't understand.
|
|
|
|
|
Hi!
I am sorry for you didn't understand.
Try this,
if(button1.image.equal(button1.image))
{
Messagebox.show("The image is same");
}
|
|
|
|
|
I asked for button1 and button2. You wrote button1 button1.
According to I learnt, it is not possible to compare images using this method.
|
|
|
|
|
Hi all,
I have add two images to my Resources.resx file. Let call it img1.ico and img2.ico. How can I load one of these images into a toolStripStatusLabel2 item.
Thanks in advance
Regards,
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
|
|
|
|
|
Hi,
Will .Net 2.0 compatiable enough with VISTA? Or Do you have any by-pass to install in with the help of some service pack?
Thanks
|
|
|
|
|
Hi,
no problem with vista..
Thanks,
Sun Rays
Rate this post if you like answer.
|
|
|
|
|
Sun Rays wrote: Rate this post if you like answer.
Or if you don't like the answer...
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
Then dont rate it.. Just make me understand which one is right answer..
Thanks,
Sun Rays
Rate this post if you like answer.
|
|
|
|
|
You can effectively think of .NET 3 as a service pack, in that it builds on .NET 2. This means that Vista comes with .NET 2 by dint of the fact that .NET 3 is installed.
|
|
|
|
|
Hey all,
I currently developing an application where i need to "keep an eye" on certain files on any given folder...
I am doing the following:
System.IO.FileSystemWatcher watcher = new System.IO.FileSystemWatcher();
watcher.Path = @path;
watcher.NotifyFilter = System.IO.NotifyFilters.CreationTime;
watcher.IncludeSubdirectories = true;
watcher.Filter = ".txt";
watcher.EnableRaisingEvents = true;
watcher.Created+=new System.IO.FileSystemEventHandler(watcher_Created);
watcher.Deleted +=new System.IO.FileSystemEventHandler(watcher_Deleted);
// the events handlers
watcher_Created(object sender, System.IO.FileSystemEventArgs e)
{
MessageBox.Show("File Created: "+ e.Name);
System.IO.File.Delete(e.FullPath);
}
watcher_Deleted(object sender, System.IO.FileSystemEventArgs e)
{
MessageBox.Show("File Deleted: "+ e.Name);
}
However it seems that i am missing something here because I am creating a file in the given path but the events are not been triggered... What am i missing?
Oh, i would also i like to know if a file is renamed how can i changed it back and if it is deleted how can i restore it?
Thanks all!
Luis E Tineo S
|
|
|
|