|
Message Closed
modified 23-Nov-14 7:11am.
|
|
|
|
|
now i do understand where should i put it if any one wants to know:
Command c=new Command();
c.Command="OPEN.......";
skype.SendCommand(c);
was it hard to tell me put it in command function?
(NOTE:you can send text message with / command like /me but there is no for send files)
thanks you all any way
|
|
|
|
|
|
thanks
i found what i was looking for send files but it is not complete operation i should select the file manually if you have any idea??
|
|
|
|
|
|
Hello,
I want to build XMPP application and trying to choose the best library for this job.
I've noticed that there are jabber.net and agsXMPP and both have tutorials here although it seems that jabber.net has less samples on the net.
Have you tried any of these and what is your recommendation?
Thanks
|
|
|
|
|
Thanks for the help
|
|
|
|
|
have you found a client lib suitable yet?? I've been searching as well... came up with some... what are your findings?
Which server did you find?
|
|
|
|
|
Using XMPP was part of the functionality I needed, others were audio and may be video. I dropped the idea of using XMPP and chose Session Initiation Protocol (SIP) since it's like a container for audio, video and messages. So, basically, it can do all I need. I found a library called SIPEK SDK that is a C# wrapper to pjsip C++ lib. At least it has audio and messages.
If I find that the messages part of the above lacks proper functionality, I might go back to XMPP.
I found what I mentioned above:
I've noticed that there are jabber.net and agsXMPP and both have tutorials here although it seems that jabber.net has less samples on the net. Also, Jabber.NET doesn't seem to have a full working documentation but it's open-source.
I read also about another one that has many samples but didn't test it: SoapBox Studio.
About server, I used Openfire. It's free and has a web interface (at least the one that comes with Elastix linux distribution)
|
|
|
|
|
Is there a way to detect what theme someone is using? eg. Windows Classic, Aero, Luna etc
|
|
|
|
|
|
Hi Friends
I would i like question u all abt Generics. I have read abt Generics but there is a doubt & i would i like to question u using simple program.
public class Student<T>
{
private string name = "satish";
private Int16 RollNo = 12;
public void displayStudent()
{
Console.WriteLine(name);
Console.WriteLine(RollNo);
Console.ReadLine();
}
}
class Program
{
static void Main(string[] args)
{
Student<int> s1 = new Student<int>();
s1.displayStudent();
}
}
If i am right then the above Student class is called Generic class. What is the use of creating a class like this if we are using a method & we are just specifying the Type in angle bracket. so Please help me
|
|
|
|
|
Hy,
This MSDN usage definition on Generic Types is the best I think:
- You can use generic types/classes to maximize code reuse, type safety, and performance.
- The most common use of generics is to create collection classes.
List<T> is possibly one of the best example:
It has generic type in that you can create a List of ints, strings... your own defined types.
It has type safety => you can not add "Dan" to a list if ints
It has performance => no need to cast from object to yourType
[EDIT]Here's a better usage of generics for your example:
public class Student
{
private string name = "satish";
private Int16 RollNo = 12;
public void displayStudent()
{
Console.WriteLine(name);
Console.WriteLine(RollNo);
Console.ReadLine();
}
}
class Program
{
static void Main(string[] args)
{
List<Student> students = new List<Student>();
students.Add(new Student());
foreach(var std in students){
std.displayStudents();
}
}
}
[/EDIT]modified on Monday, February 22, 2010 1:12 AM
|
|
|
|
|
hi sir,
Thank u that u replied soon sir But what happens in Memory.
List is of Object type & if i specify <int> Int is of Value type.
Then what exactly happens ?
Thank u once again
|
|
|
|
|
Hy,
you did it all wrong. look at my modified version.
|
|
|
|
|
ya i saw your Program sir. now i understood thank u very much
|
|
|
|
|
I am having a requirement in which i have to create a object of class for only one time in my project . if next time developers try to create a new object for that class it should show error
|
|
|
|
|
Sounds like Singleton to me.
Have a look Here.
Also Google or Bing could help a lot.
|
|
|
|
|
See here.[^]
But be warned that the Singleton Pattern is generally overused; be sure you really need it before you waste time doing it. I have never needed a Singleton.
|
|
|
|
|
Does anyone know of a good Socket Library that extends the .Net Socket libraries. The .net4 Sockets are pretty primitive compared to libraries like Dart and Indy. I am looking for an Open Source project like Indy that has lots of protocols (HTTPS, SSL, SMTP, etc). Sadly, Indy looks to be dormant for .net. Thanks for any help, Rex
|
|
|
|
|
I got a hardisk from which i need to know which are the programmes installed there. OS is corrupt there. Any suggestions how can i find this.
I got the registry file which is located in windows\system32\config but have no idea how to parse it.
|
|
|
|
|
Good people,
I am using Windows Installer with Visual Studio 2008. How do I make uninstallation for my application available in the list of programs (of course right under my program)?
Thanks for any help or insight you can provide.
Blitz
|
|
|
|
|
If you have product code then you can use via
MsiExec.exe /I {"YOURPRODUCTCODEHERE"}If you can think then I Can.
|
|
|
|
|
Hi all,
I have the following gridview which has got a text box for any record entry of data on the grid.
when i want to write some code for the TextBox, I cant see it on the code View.Is there any way i can access Textbox1 on the code associate it with the record on the grid.
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="LiveMsg" DataSourceID="SqlDataSource2">
<Columns>
<asp:BoundField DataField="LiveMsg" HeaderText="LiveMsg"
SortExpression="LiveMsg" />
<asp:TemplateField HeaderText="Message">
<ItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Width="1000"></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText=" ">
<ItemTemplate>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<asp:Button ID="btnSend" runat="server" Text="Send"/>
</ItemTemplate>
</asp:TemplateField>
</column>
</Gridview>
Thanks in advance for your help.
-- Modified Sunday, February 21, 2010 2:16 PM
|
|
|
|
|
When you bind to multiple rows, what would you expect to see with a single ID for the textbox? You can't have multiple items called the same thing so you need to get at it some other way; and that way (unfortunately) is to use the Cells collection of the row you're interested in. This property provides you with indexer access to each cell, so you'll have to refer to something like Cells[0] to get the first textbox (bearing in mind you'll need to cast it to the appropriate type)."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|