|
Repost.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
can any one send the code snippet for how to transmit msgs from pc to mobiles in c#
|
|
|
|
|
public void Main()
{
Message msg = new Message();
Mobile mobile = new Mobile();
msg.SendToMobile(mobile);
}
Now all you have to do is fill in the trivial implementation details. It would be wise also to wrap the SendToMobile call in a try/catch block.
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
|
|
|
|
|
Hi,
is there a way to prevent PC monitor from powering on while my .NET application (C#) is running? I need this feature because I don't want users could see what's happening on the screen during program execution. Moreover, is it possible to prevent other to share desktop by using apps like TeamViewer, etc.? And if yes, how?
Any help would be appreciated. Thank you in advance.
|
|
|
|
|
IngValentini wrote: is there a way to prevent PC monitor from powering on while my .NET application (C#) is running?
No, but you could hide your application, or try to hide the desktop. Or run under your own user-context with your own credentials.
IngValentini wrote: Moreover, is it possible to prevent other to share desktop by using apps like TeamViewer, etc.? And if yes, how?
I'd go for the firewall, and temporarily block everything.
I are Troll
|
|
|
|
|
Thank you for your answer... but my application is based on a "bot" which moves the mouse pointer, clicks in various parts of the screen, sends keyboard characters and so on. Therefore I cannot hide it... this is the problem! As regards desktop sharing, my application is based on .net remoting and sharing of a sql database over a local network, so blocking the firewall is impossibile.
|
|
|
|
|
I am a little confused by this thread.
Your subject line is "Prevent monitor from power on". That's OK, I don't think that it's possible, but it's OK.
You then say that you cannot 'hide' your app/the desktop because it moves the mouse pointer etc. etc. What's the difference? If the monitor has been prevented from powering on they wouldn't be able to see it anyway, so why not just 'hide' it in some way? Same result.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
A better analysis of the problem would be to notify the user that you are about to run a macro and not to touch the keyboard until completed. Once completed, notify the user that the macro has completed
Under no circumstances turn off the monitor. As soon as a user sees that, they will freak out.
|
|
|
|
|
I had already thought at this solution, but this is unfeasible because the 'bot' is performed by a windows service which is running continuously (it's a sort of 'polling' of one hundred rows in a table, linked to the clima units). It never stops working, and it's able to restart itself in case of faults. It's a brain teaser!
modified on Monday, November 29, 2010 8:57 AM
|
|
|
|
|
If you have a service that can restart itself, you need to contribute an article to Codeproject. And then email me. I'd like to see that.
|
|
|
|
|
try disabling + enabling the monitor device in device manager
google[^]
|
|
|
|
|
thank you, I will look around...
|
|
|
|
|
my messenger have eboard and this board I want to appear in every one in group that contact in same session
how can I do it in WAN
|
|
|
|
|
How do you think you can do it? Part of the skills needed to be a professional developer include being able to break a problem down into logical steps. As I told you before, you should have started off by modelling the requirements and this will go a long way towards determining what you need to do. So far, all the evidence points to you just jumping in and hacking code together, and that's not going to help you. Please, work out what you want to do first.
|
|
|
|
|
Pete O'Hanlon wrote: As I told you before, you should have started off by modelling the requirements
I must have missed where you told that before
+5, knowing what you need is a very important part of getting what you need.
I are Troll
|
|
|
|
|
|
Thanks for the link - there's some good advice there
I are Troll
|
|
|
|
|
yes I know that but the eboard education by messeger i will develope messenger but not like any messenger
1-have eboard
2-this eboard one student (one member like teacher control it)
3-the one line contact who their decided who make control in eboaed by vote the online student or freinds
4-the eboard make it live communication
my question how can make live communication and how make data base of email I can make DB in own server or use the server
like email aleredy is exist such as @hotmail or @yahoo
thank
|
|
|
|
|
om_metab wrote: my question how can make live communication
You'd need a chatserver, clientsoftware, and you'd need to decide on a protocol. There's the MsnpSharp library if you want to connect to the Windows Live' Messenger service.
If you already have an eboard, you'd have to find a way to integrate it into that messenger. Or is this something you want to develop yourself too?
om_metab wrote: and how make data base of email I can make DB in own server or use the server
like email aleredy is exist such as @hotmail or @yahoo
I don't completely understand what you're asking. You can install a Smtp-server if you need to send emails, a Pop3-server if you need to receive them. If you have a lot of accounts, then you 'could' download all the messages from the different providers to your database. Is that what you want?
I are Troll
|
|
|
|
|
Hi
I'm not sure I completely understand the question. Could you give an example in the form of a small use case, describing how a fictional person would use your application?
Most people won't know what you're referring to with the term "eboard". For the ones still wondering, it's an aid for teachers, described here[^]. To sum it up, the site offers a post-it note service.
What messenger are you referring to? If it's Windows Live Messenger, then you might be able to create a custom activity. Other messengers might be more work; you'd need to supply an addin that could display the site.
I are Troll
|
|
|
|
|
until now I cant decided how many that can used but i think all friends that in my contact list that can used eboard( electronic
board with tools like save draw circle ,ellipse....,pen,font,...) that used to teaching
if u have advice help me if u can and thanks until now idont now what protocol I must be used
|
|
|
|
|
om_metab wrote: if u have advice help me if u can and thanks until now idont now what protocol I must be used
Xmpp[^] would be my personal choice, as it's widely supported, and there's a nice supply of serversoftware[^].
You could try to "integrate" an eboard as an activity in Windows Live Messenger, but that would limit the contents to Html and JavaScript. Nah, I'd write my own Xmpp-client. If you also want to integrate some eboard-like functionality, check out the WCF - should contain something to replace remoting
I are Troll
|
|
|
|
|
|
I suggest you move your question to the ASP.NET forum - edit your original to say it has been moved, so people shout re-post.
Can you also add to your post what the SerialsText object is, it probably has a bearing on what is happening here.
|
|
|
|
|
I have developed a application and i want to release the first version and then later on i want to relase other components, so iam thinking to write an updater which will continuously checks for newer versions and update the previous version with the newer one..
1.can any one help me how to start
2.what are the concepts that i need to through, to do this.
3.can i get any samples regading and this...
Please help me so that i can be done with my job... Thanks in ADvance...
|
|
|
|