|
Dear sir
pls help me i am build a project by in c# application some project idea or any suggetion for me pls send my email
thank u
mulla mdfozail
|
|
|
|
|
If you;re not trolling, you must be retarded. Buy a book on C# and read it before you try to get help online.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Dear sir
pls help me i am how to build project by in c# sharp some project idea or any suggetion pls send for me my email id
thank u
mulla mdfozail
|
|
|
|
|
dear
I am also new in C sharp and searching for some one who can guide me that's why i am posting questions on forums.
My suggestions is you have to find in books or on internet forums.
Thanks
|
|
|
|
|
|
Except, if you look below, he's doing an ASP.NET project. He will think this works, until he deploys it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
dear
Tell me where should i put this like i just want to display text Hello.
MessageBox.Show(c.ToString("Hello world"));
But problem is this when i build application then this error acquire like Messagebo.Show does not exist in current context.
why this is happening i just want to know this and what should i do to solve it.
Thanks
|
|
|
|
|
You need to use a javascript alert. And to answer your next question, no. Google it.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
using System;
public delegate void hd(string s);
public class class1
{
public void hello(string s)
{
Console.WriteLine(s);
}
}
public class program
{
static void Main()
{
class1 c= new class1();
hd d=new hd(c.hello);
d.Invoke("abcd");
}
}
i saved this program with .cs extension and run the program.but at the time of compilation it is showing the following error
the syntax of the command is incorrect
runned with csc :del.cs
compiled with: del
|
|
|
|
|
I've never seen delegates assigned like this, but I assume it would work. You don't do d.invoke tho, you just do d("abcd");
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Dear All,
I am working in c sharp i am new with c# i am facing very basic problems i need to ask please tell me how i can use message to display any this if true or false i mean to say just guide me is their any class required to import in c# and then message can be display easily or no class or names peace required for using message in c sharp language please send me code of display message and also guide me what to do?
Thanx
Sajjad Ali
|
|
|
|
|
Gosh - that was one sentence ?
If you're doing a windows project, then MessageBox.Show("This is my message") is the easiest way to get a message on screen. If you're new, you should probably start with console apps. Console.WriteLine("hello world"); will work here. Note, your console app needs to end with Console.ReadLine() so it will stop long enough for you to read the output.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
dear i am using web application but when i am typing for message intelisence window does not showing me MessageBox.Show why i also worked in vb.net application but this is very different what should i say
please send me with detail what should i do.
|
|
|
|
|
OK, well, you should have said
1 - you should learn your language BEFORE learning ASP.NET.
2 - in ASP.NET you show messages using javascript, so alert("this is the message"), in a script block. But, I really think you should learn VB before ASP.NET and javascript.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
sorry,I don't understand your meaning!
|
|
|
|
|
Why bother to post that when I already answered him ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
void JSAlert(string strMessage)
{
this.Page.RegisterClientScriptBlock("","<script type='text/javascript'>window.onload = function(){alert('"+ strMessage +"')}</script>");
}
and call this method wherever u need with the message as parameter.
Cheers
Bino
www.codepal.co.in
|
|
|
|
|
I have an application (Application A) which will launch another application (Application B) by passing some arguments in same machine.
One of the argument is language use in Application A.
When Application A run in Italian.lang, then Application B will launched in Italian.lang as well.
Now, if Application A change language to English.lang, then running Application B need to change language to English as well. So i decide to use some inter-process communication method to solve this problem. I have limited time to do this changes.
Application A will send notice to Application B when change language.
Application B just need to listen to Application A.
If possible i would like to have 2 way communication to adapt future change request.
What method is suit with my project? Pipe or socket? Or any other method suit for it?
|
|
|
|
|
Go for sockets. Use TCPListener and do TCP communication.
|
|
|
|
|
A quick suggestion here would be to use windows messaging. The SendMessage API in windows..But for this you need to know the windows handle..Since it is in a same machine .. this technique will be the easest and light weight way. than going for tcp
http://www.codeproject.com/KB/dotnet/VB6andVBNETWindowMessages.aspx[^]
modified on Friday, February 27, 2009 2:34 AM
|
|
|
|
|
I would suggest a different approach, as it is obvious that TCP channels are wasteful when the two applications run on the same machine.
There's an article I wrote which explains how to do IPC in C#.
It's not the main purpose of the article, but you can use it to get ideas...
It's called A Pure .NET Single Instancing Solution[^]
Good luck...
Shy.
|
|
|
|
|
Thanks a lot.
It is the best solution that i found. I will try on it later when i finish other feature.Thanks.
Regards,
PeiYang
|
|
|
|
|
Hi,
I need to do drap and drop in virtual mode.
1. I use virtual mode to display large number of contact in icon view in my application.
Currently my application need to support drag and drop. I can't found any solution. Is that anyway to do so?
2. If i want to drag and drop a list to any location (not align to grid), how can i implement it?
Hope some one can help me to solve this problem. If can provide me some example to refer.
Thanks.
Regards,
PeiYang
|
|
|
|
|
I need some help in the final year project.Can somebody give me the idea of dynamic content generation in C#.
Can somebody also tell me how to search a topic from a book which is in RDF format and generating a book(here by book, i mean definition, explanation and exmaples...) of the topic i am searching. The algorithm i am working on should perform following steps:
1 Parsing the file(RDF)
2 Forming Semantic structure(graph)
3.On the basis of some reordering algorithm, generating the text out of the graph
Can you please guide me how to perform these steps in C#.Please help me....
|
|
|
|
|
Sounds like a lot of work. You have a year to get this done tho, right ? So, start by doing some research on the RDF format, and then consider how to turn that data into something you can build a graph from.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|