|
hello
why by use cookie
|
|
|
|
|
Oh come on! Why is it you can't do simple research??
Here[^] is your answer...
|
|
|
|
|
I am trying to control and run a MAtlab program through C # code. Please help me in writing the code.
csetopper_bhanu
|
|
|
|
|
I have searched but have not found a wrapper to read and write Facebook events for .Net.
I don't want to create a Facebook app; I simply need to add the ability to read and write events to a user's Facebook page from my application. In other words, using my app the user will be able to create events that will show up if anyone views that user's Facebook event list.
Anyone have any suggestions? Using .Net 3.5SP1
|
|
|
|
|
|
I've looked at that source before, and it's designed for someone who wants to create apps for facebook. As I noted in my original question, that is not what I'm trying to do. I have no interest in writing anything that shows up in facebook, I simply want my standard .Net app to be able to read and write Facebook calendar events.
|
|
|
|
|
sbt1 wrote: As I noted in my original question, that is not what I'm trying to do. I have no interest in writing anything that shows up in facebook, I simply want my standard .Net app to be able to read and write Facebook calendar events.
Yes, I'm aware of that. If you have a look through the documentation that I linked to, you can see that the same API can be used to access facebook data through a winforms application[^]. EventList class is probably what you're looking for, but if you're sure that you've already tried this then... *shrug*
|
|
|
|
|
That looks like just what I am searching for! Thank you Russ.
|
|
|
|
|
I am using VS 2008 on a computer with Windows XP Profession. When I deploy an app which works perfectly on this computer to a machine running Windows Vista, I get strange behavior, exceptions, etc. Is there a way to target my build to Vista?
haudi2
|
|
|
|
|
Look at Environment.OSVersion
|
|
|
|
|
When you do things right, the same code should run on all Windows versions.
Vista offering better protection will force you to be more defensive, e.g. as to where you store writable files.
Luc Pattyn [Forum Guidelines] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
|
I want to know hopw can Iorce restart windows using Windows API & C# and make sure no program will stop the process so all programs should be closed and windows must be restarted?
|
|
|
|
|
That's a very bad idea; no one wants a computer to shutdown out from under them.
As I recall, there is an API method to display a dialog to ask the user if he wants to shutdown, but I don't remember what it is.
|
|
|
|
|
i will wait for the answer from others but come on!! I am not that bad!!
I want to force restart because i have kicthen monitors hungig on the wall and it's very difficult to restart manually because the CPR is not in an accessibale place so I want to restart every day in the off peak time to refresh the memeory and avoid PC problems caused by PC running for many days without restarting.
Just wanted to explain the reason..........
|
|
|
|
|
Sure, but if I knew I couldn't tell you anyway.
|
|
|
|
|
it's ok.. i really appreciate because we also have to educate not just to give answers
|
|
|
|
|
Hi,
jrahma wrote: I want to know hopw can Iorce restart windows using Windows API & C# and make sure no program will stop the process
The ExitWindowsEx Function[^] with the EWX_FORCE flag will prevent usermode applications from processing the WM_QUERYENDSESSION or WM_ENDSESSION messages. The downside is that by not sending these messages... the applications will not have a chance to exit cleanly.
Best Wishes,
-David Delaune
|
|
|
|
|
do you havethe example in C# please?
|
|
|
|
|
|
Ehhhxcellent!
|
|
|
|
|
Are you so lazy to write code even after someone has pointed you towards the right direction ?
|
|
|
|
|
Hi,
I am refering to the MSDN site and created the modeless dialog as mentioned and calling them.
http://msdn.microsoft.com/en-us/library/ms229591%28VS.80%29.aspx
The TAB keys are working fine.
But I found a problem, if the C# code (in the form) is calling some unmanaged code to get some data, its taking unusually high amount of time.
The same code does not take much time if form.Show() is called. When called as suggested in MSDN it takes a lot of time.
Any help on this will be great.
Saleem
|
|
|
|
|
Hi all,
public interface IAttribute<T>
{
string Name
{
get;
}
T Value
{
get;
}
}
public class Attribute<T> : IAttribute<T>
{
public string Name
{
get;
private set;
}
public T Value
{
get;
private set;
}
}
public class Path
{
public static Path CreatePath(params IAttribute<T>[] attribute)
{
}
}
public class AttributeString<string> : IAttribute<T>
public class AttributeInt<int> : IAttribute<T>
I want to create a path from one or more generic attribute interface.
I can't use
CreatePath<T>(params then it just one type of attribute.
Who can Solve it?
/Gywox
modified on Friday, November 13, 2009 8:23 PM
|
|
|
|
|
Use an array of object? I think part of your post got lost.
|
|
|
|
|
I need an param with a generic attribute interface, where the T is different.
I do not want to write the following:
public static Path CreatePath<T>(params IAttribute<T>[] attribute)
|
|
|
|