|
I already have. Those are the three main approaches to sending an SMS. Windows application, WPF or console application - they will (almost) all use one of those three approaches. You simply have to investigate which of those would be most practical to you, and research it
|
|
|
|
|
hai
please visit www.rinoshsasidharan.wordpress.com
to see the solution
regards
Rinosh.K.Sasidharan
|
|
|
|
|
Hi,
i am trying to get cursor position clicking anywhere except my application. I used keydown event on my form for checking, it works. But when i click anywhere it does'nt work
please check my code and tell me where am I doing mistak?
Thank you in Advance
(Riaz)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MM1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Click += new System.EventHandler(Raised_Click);
}
private void Raised_Click(object sender, EventArgs e)
{
label1.Text = Cursor.Position.X.ToString() + " ; " + Cursor.Position.Y.ToString();
}
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Space)
{
label1.Text = Cursor.Position.X.ToString() + " ; " + Cursor.Position.Y.ToString();
}
}
}
}
modified on Friday, May 22, 2009 2:27 AM
|
|
|
|
|
M Riaz Bashir wrote: But when i click anywhere it does'nt work
Can you explain this a bit more? I tested the code and where ever I clicked on the form the label displays the XY co-ordinates fine.
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
except the running form, I need cursore position when I click anywhere on the desktop
|
|
|
|
|
You need to get the Mouse click location even if user DOES NOT clicks on the UI of your application. Is it? Then you need to use Global Mouse and keyboard hook.
This[^] article will help you.
जय हिंद
|
|
|
|
|
Thank you
|
|
|
|
|
I need to add excel 2007 piviot table functinality to my windows application For Business Intelligence Application. Data is take from the Cube. I already got office 2003 piviot table functinality. But I need office 2007 piviot table functinality to this application. Please help me how to this.
Dushan Perera
|
|
|
|
|
Hi all,
I have two problems
1. I have a comma separated string values. I want to load them all into checkedlistbox as items.....HOW?
2. how do I get the itemindex of checkedlistbox, passing the text?
regards and thanks
Jeet
|
|
|
|
|
Hi Dear,
You have comma seperated string value and want to bind it with checkboxlist.
first of all you split the value with comma and store it into the Array or ArrayList and now you can easily bind the checkboxlist with this Arraylist.
Let me know if you got any problem.
Regards,
_Anil
Anil Chauhan
|
|
|
|
|
Anil,
Logically thats correct - but sadly - this is windows application hence I can not bind checkedlistbox. There is no Datasource and Databind members ..it s in webcontrol!
thanks anyway,
Jeet
|
|
|
|
|
There is a DataSource property.. It's inherited from ListControl, and there's even an example provided (although granted, it's MSDN quality). Have you set ValueMember and DisplayMember, and (I think) put your data into a structure?
|
|
|
|
|
I am a newbie and do not know how it can be worked out to solve my problem!
plz bear with me and suggest something
regards
Jeet
|
|
|
|
|
Hi friends,
it was as simple as it looks!
arrFieldList = new ArrayList(strAllFields.Split(new char[] { ',' }));
for (int i = 0; i < arrFieldList.Count; i++)
{
checkedlistbox1.Items.Add(arrFieldList[i].ToString());
}
regards
Jeet
|
|
|
|
|
I had a .Net application developed in visual studio 2005, I was able to make msi setup of it, if I want to install my setup on other system in which .Net framework is not there, I want .Net framework also to get installed simultaneously with my application through msi setup?
How can I add .Net framework in msi setup?
|
|
|
|
|
Hi. IN the Setup Project under Soltution Explorer under the detected dependencies you should notice that the Micorsoft .NET Framework is listed there. Next go the the PRoject button on the Menu. THis should bring up the Propery Pages. Click on the Preequisites button. There it will show you the prerequisites. Make surethat the .NET Framework 2.0 is clicked. Below that you will notice three options. Select the one that states "Download prerequisites from the same location as my application" and this will install the .NET framework from the same location as you MSI.
Hope this helps.
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
I'm using SMTP classes and sending notifications from my application, When we run the application on test LAN (Local Setup)it works smoothly, so my SMTP settings are correct, But when we deploy our solution on hosting server (GoDaddy.com) none of the emails are going out. No exception, No Error !
Has anyone faced similar issues before.
Thanks
|
|
|
|
|
Dear brothers,
I have read the book and searched from the internet. They told me the same way in retrieving data from SQL server. Unfortunately, it errors something when I do the same way. See my codes below :
private void btn_login_Click(object sender, EventArgs e)
{
string sSQL = "SELECT USERNAME, USERPASSWORD FROM TBL_USER WHERE USERNAME = '" + this.txt_username.Text + "' AND USERPASSWORD = '" + this.txt_username.Text + "'";
SqlCommand sCommand = new SqlCommand(sSQL, dbConnection.sqlCnn);
try
{
dbConnection.sqlCnn.Open();
SqlDataAdapter sReader = sCommand.ExecuteReader();
// It says : "Cannot implicitly convert type'System.Data.SqlClient.SqlDataReader' to 'System.Data.SqlClient.SqlDataAdapter'"
while (sReader.Read() == true)
{
frm_main frmparents = new frm_main();
frmparents.ShowDialog();
}
}
catch (Exception Er)
{
MessageBox.Show(Er.Message, "Exception");
}
Thanks for reading the entire article.
Chuon Visoth
Angkor Wat - Cambodia
asp.net - c sharp beginner
|
|
|
|
|
misCafe wrote: AND USERPASSWORD = '" + this.txt_username.Text + "'";
BTW: normally one does not store the password, instead it gets hashed and it is the hash that gets stored and compared/searched.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Oh yes, I have changed the text box. But it still errors when I press F5.
Then how?
Chuon Visoth
Angkor Wat - Cambodia
asp.net - c sharp beginner
|
|
|
|
|
Hi,
I have no experience with SqlDataAdapter, however the compiler is correct (obviously) when it says the result of ExecuteReader() is an SqlDataReader and not an SqlDataAdapter.
I suggest you look at the relevant documentation and/or google for correct examples.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
misCafe wrote: SqlDataAdapter sReader = sCommand.ExecuteReader();
This is where the problem is. ExecuteReader method returns a DataReader object and NOT the DataAdapter object.
In case you need to use the DataAdapter , initialize it using the parameterized constructor and then use its Fill method. ObjectBrowser will help you finding about these.
जय हिंद
|
|
|
|
|
Many thanks for taking a part on this article
Chuon Visoth
Angkor Wat - Cambodia
asp.net - c sharp beginner
|
|
|
|
|
Also, please check Readup on SQL Injection.
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
Oh well, It was my mistake. I may blind! It must be SqlDataReader in fact!
Thanks again!
Chuon Visoth
Angkor Wat - Cambodia
asp.net - c sharp beginner
|
|
|
|