|
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
|
|
|
|
|
Hi,
Is there a way to set a threshold value to a received audio stream? Cos i need to measure the delay of a live stream; from the time a sound is produced, to the time it is received on a client computer pulling the stream (using windows media player). I would use the same client computer to start the timer and produce a repetitive sound. The other computer would capture the sound via a mic, encode, and push it to the server. Problem is since everything is on the same session, i need to differentiate the silence in between the sounds, and the sounds themselves. So setting a threshold would probably do the job.
Any good audio libraries i can use? Hope someone can advise me on this... Thanks!
Cheezo =)
|
|
|
|
|
I have no ideas about any libraries for this. But I can tell you form a little experience myself, that the delay varies constantly and can be as high as 10 seconds on a LAN. The bulk of the delay depends on the encoders being used, the number of bit rates being generated and how fast they are supposed to be, and the server serving up the content.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
You're right. Actually i used a stopwatch to measure the delay, but the problem is it isn't accurate especially when i need to measure jitter as well, which is in the range of milliseconds.
Was wondering if it's possible to set a counter on the audio stream so that i can get the difference in time by taking the difference of the counters.
|
|
|
|
|
There's just no way to do this reliably. The delay VARIES CONSTANTLY with CPU load, encoding input load and the variable outputs. It's impossible to get what you want.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Are you an engineering student? HAve you worked on any simulation software such as SIMULINK, FLUENT, SYMBOLS 2000. They all are engineering softwares for simulating different engineering systems. I want to know how to develop an application such as simulink drawing pad, one which you can drop different objects from the library to the drawing board and then connect them and the simulate the whole system. The objects behaviour as well-defined previously and they interact with each other as time progress and the final output is shown.
In one line, how to go about creating another SIMULINK, as MAthWorks people done? how to creat a drawing software liek say MS Paint which has some predefined library shapes Can this be done with C#?
This is the place where I think my problem is explained better.
http://web.ics.purdue.edu/~amohanty/SimulationPad.pdf[^]
I don't really need a solution to this problem in this forum, but all I want is one or two lead to start working on that.
REgards,
Amit
-- modified at 0:06 Friday 26th August, 2005
|
|
|
|