|
What about .net reflector?
/\ |_ E X E GG
|
|
|
|
|
how to send sms using c#.net.also i want to know the fuul concept inside it
|
|
|
|
|
You can't send sms just with a C# Application.
You would need the mobile phoning infrastructure,
or some contract with an Mobile Phoning Service Provider.
There is nothing like System.IO.SMS where you can do
sms.Send("This is my message", 06642304938);
greetz, mike
|
|
|
|
|
You can use a web service from here[^].
-- LuisR
Luis Alonso Ramos
Intelectix - Chihuahua, Mexico
Not much here: My CP Blog!
The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005
|
|
|
|
|
I can't get it to work... Did you?
/\ |_ E X E GG
|
|
|
|
|
To say the truth I've never tried it; it doesn't work for Mexico. But I've read here it works.
-- LuisR
Luis Alonso Ramos
Intelectix - Chihuahua, Mexico
Not much here: My CP Blog!
The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005
|
|
|
|
|
You need a wireless interface first...
/\ |_ E X E GG
|
|
|
|
|
hi!
you are from austria? do you have UTA as provider? i actually write a c# application to sms a sms....by connecting to a homepage where i can look for my traffic...there i can send a sms...
i establish a https connection than i send a post request for login and after that the sms....and it works
bye
|
|
|
|
|
I'm from freaking San Diego. America's arm pit.
I don't understand what you are saying. Can you try again?
/\ |_ E X E GG
|
|
|
|
|
i mean if we have a system which had always internet connection,then my need is to send sms from that system.
such part is coming in my program developing
|
|
|
|
|
my aim is to create a program in .net framework,which will send SMS vto System Administrator's mobile when there is a problem in the n/w or any other critical events are happening the server.
|
|
|
|
|
WHAT THE CRAP!?!?!
I'm from California@>@!!!!! AHAHA
/\ |_ E X E GG
|
|
|
|
|
Hi
I want to run a stored procedure to load records from the database into a dataset. It gives me message that the stored procedure requires a parameter @ProdIndex which is not supplied. I have debugged my code and I cannot see what the problem is. Some of the code is as follows (all my stored procedures that require parameters, are giving me similar messages):
public class ProductManager
{
public ProductManager()
{
}
public static DataSet LoadProductsSProc(int prodIndex)
{
//sproc is the Stored Procedure name
//IS THERE A BETTER WAY THAN HARD-CODING IT HERE
string sproc = "Select_Products_ProdID";
//create two-dimensional array of objects to hold the parameter name and value
//IS THERE A BETTER WAY OF DOING THIS?
object[,] parameters = new object[1,2];
parameters[0,0] = "ProdIndex";
parameters[0,1] = prodIndex;
DataSet ds = GeneralDAL.LoadObjectsDS(sproc, parameters);
return ds;
}
}
public class GeneralDAL
{
public static DataSet LoadObjectsDS(string sprocedure, object[,] parameters)
{
DataSet ds = null;
SqlConnection conn = null;
try
{
//instantiate the conn object – this works fine
conn = new SqlConnection(“database”,”server”);
conn.Open();
//create a SqlCommand object
SqlCommand sqlCmd = new SqlCommand(sprocedure, conn);
sqlCmd.CommandType = CommandType.StoredProcedure;
//add the parameters to the SqlCommand object
for (int i=0; i
|
|
|
|
|
Can do it in a simpler way?
Use SQLHelper application block of Microsoft and there is nothing u to do. Also u should define SQLParametr and not object. Please let me know if u want SQLHelper class.
Jayant D. Kulkarni
Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET
|
|
|
|
|
|
Check the "Do not treat <'s as HTML tags" checkbox, or use pre tags, so that all of the code will be visible.
A crucial part of the loop that creates the parameter objects is missing, so there is no telling if it is correct or not.
---
b { font-weight: normal; }
|
|
|
|
|
Hello, I have a program and I am attempting to have an embedded audio file, and then copy this audio file, and play it. Is this possible?
Mike - I love to program!
|
|
|
|
|
|
|
How to save the files in windows family,the file is a non windows application
|
|
|
|
|
Are you talking about a DOS app running in a CMD window?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
my need is to create a program for saving all the open files using .net framework which will save any Unsaved application files such as MS Word, Excel, Adobe Pagemaker , Macromedia Applications etc.
|
|
|
|
|
You'll have an very difficult time with this. Since every app is different and you can't save files at just any old time (like when an app has a modal dialog box open!), you'll have to handle every possible instance that could occur to stop you.
Basically, what I'm trying to tell you is that what you want to do isn't practical. You might get about 80% compatibility with the applications. Depending on what's going on in the app at the time, you're save attemt will fail. Also, what if the user has a document open that he doesn't want the changes saved for?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dear All,
Does anybody know how to read properties of an EXCEL file from C# application.
I want to see those properties when I right click on a file and select properties.
Jayant D. Kulkarni
Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET
|
|
|
|
|
Guys, It's done.
Dim objwb As Excel.Workbook
Dim objapp As Excel.Application
Dim result As Object
Dim val As String
Dim name As String
Dim count As Integer
Dim i As Integer
objapp = New Excel.Application
objapp.Visible = True
objwb = objapp.Workbooks.Open("c:\Test.xls")
'Get properties count
' count = Int32.Parse(objwb.BuiltinDocumentProperties.GetType().InvokeMember("Count", BindingFlags.GetProperty, Nothing, objwb.BuiltinDocumentProperties, New Object() {}).ToString)
count = Int32.Parse(objwb.CustomDocumentProperties.GetType().InvokeMember("Count", BindingFlags.GetProperty, Nothing, objwb.CustomDocumentProperties, New Object() {}).ToString)
For i = 1 To count '(Count property is not zero-based index)
'Get Document Property at specified index
result = objwb.CustomDocumentProperties.GetType().InvokeMember("Item", BindingFlags.GetProperty, Nothing, objwb.CustomDocumentProperties, New Object() {i})
'Get Property Name
name = result.GetType().InvokeMember("Name", BindingFlags.GetProperty, Nothing, result, New Object() {}).ToString
Try
'Get value for Property (some properties will throw an exception if you try to access their property)
val = result.GetType().InvokeMember("", BindingFlags.GetProperty, Nothing, result, New Object() {}).ToString
Catch ex As Exception
val = "None"
End Try
'Show Property name and Value
MsgBox(name.ToString & ": " & val.ToString)
Jayant D. Kulkarni
Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET
|
|
|
|