i am doing a project about shell, and i want the code that gives me the path of the system call.
example, when i enter the command
type dir
the reply will be
dir is external command (/bin/dir)
Hi. I am working on a android project and I need to connect the gPhone with the PC using UDP socket. The same operation, sending a message to from gPhone to the PC, returns different results in different time: Sometimes succeeded and sometimes throws a SocketExcepton(The system call was cancelled). Can anyone tell me what possibly results in this SocketException?
Thanks in advance!
Where can I find System.Windows.Controls.dll for Silverlight 3? I need it to be able to use the TreeView control and the AutoCompleteBox control. Toolkit November 2009 is installed but the dll that I need was not included.
I'm looking for a minimalist template system for javascript, ala John Resig's Javascript Micro Templating. The smaller the better, and if it's jquery based even better. Recommendations?
I tried John's micro-templating but ran into a few issues, wanted to see if there are more baked / better packaged solutions out there.
[Update] I tried Resig's Micro Templating again and it's working well for me. Would still like to hear about other alternatives if there are any.
I am using ASP.NET C# with mySql database. What is the best way for implementation of login system like Membership and Role. Membership and Role dont work with mySql database.
Is there a way to override / disable a system preference pane? I'm wanting to put an application together that would disable or override the Energy Saver preference pane, and would put it's own rules in place for putting a machine into standby, turning off the monitor, or other various energy saving activities.
Hi guys,
I'm doing a system for a hospital in my country as the final year project of my degree, my supervisor specially asked me to use php and mysql for this. i don't have any experience with distributed systems and php programming, can any one help me out to build my base and improove my knowledge stating some sites, books to refer to overcome this matter.
regards,
rangana.
Hello,
I am planning to launch a free webmail service at mail(dot)com(dot)es where users can signup and have their free webmail account (for example like www.email.gr). I am looking for a free or low cost webmail system script to install on my website. Do you know any free or low cost scripts which would be suitable for this?
Thanks
Hello,
I am trying to fetch data using linQ as shown below.
dim rerun as datetime
Dim q = (From a In dashboard Where a.SucessFlag = 0 And a.ApplicationID = 1 _
Select a.logDate)
rerunDate = q
I am getting this system.LinQ.Iqueryable(of date) cannot be converted to date
Any workaround will be greatly appreciated.
Hey
Does anyone know of a good open source client document management system?
Possibly using Joomla or Wordpress?
I need to be able to allow different clients to log into the website to download their documents and upload their documents?
Any ideas?
Hi all,
I have a Java app that has an icon in the system tray.
How can I check if the tray (or tray icon) has current focus?
Tray and TrayIcon don't seem to have .isFocused() or similar.
Is this possible?
Thanks!
Is there any cost/drawback (apart from typing too much) to adorning a class with System.Runtime.Serialization attributes (like [DataContract]) such that it can be used locally as a direct reference to a desktop Client project or as a type for a WCF service? The goal here is to write a data-tier class that can be used in both rich client (WPF) and Web scenarios. My data classes will be in a project that is separate from Client and WCF (*.svc code-behind) code. Is this a valid attempt to reuse code?
My C# application throws a System.IO.IOExcepton (The directory name is invalid) for the following code for implementing a filewatcher:
public void OnChanged(object source, FileSystemEventArgs e)
{
DirectoryInfo dList = new DirectoryInfo(e.FullPath);
FileInfo[] TxtFiles = dList.GetFiles("*.TXT");
}
e.FullPath is "C:/Documents and Settings/Bi/Application Data/TestApp/Reports\\0MA01P62240_000005798_TRI_4947712701738551.TXT".
If you notice it seems to append a "\\" to the path when it tracks the file. Any idea what the problem may be?
Hello there, I have written some general functions to convert between decimal and any other base-n number system(n<=36 for now) and vice-versa. Don't want to make things messy here so i have posted the code here.
Could anybody suggest any better way for this? May be more effective and Rubyish?
Thanks
I am looking for an encrypted version control system . Basically I would like to
-have all files encrypted locally before sending to the server. the server should never receive any file or data unencrypted.
-Every other feature should work pretty much the same way as SVN or CVS does today.
Can anyone recommend something like this? I did a lot of searches but I cant find anything.
I want to be able to detect and abort OS shutdown from my application, preferably by using the Windows API. I know that it is possible to do this manually using the command shutdown -a In the worst case, I could ShellExecute this, but I was wondering if there was a better way.
Also, how do I find out programatically that the OS is about to shut down, via the Win32 API?
I was having troubles earlier while trying to declare a ChangeAction parameter in a method, with the IDE saying I might be missing a Namespace.
So I right click it and Resolve it and find that System.Data.Linq has been added and now everything is fine.
What is the difference between these two namespaces?
I was surprised to see in the Java source that System.arraycopy is a native method.
Of course the reason is because it's faster. But what native tricks is the code able to employ that make it faster?
Why not just loop over the original array and copy each pointer to the new array - surely this isn't that slow and cumbersome?
Thanks,
-James
Hi ,
My page throws error exception of type 'system.outofmemoryexception' was thrown .
This happens when i press submit button in submit button there are sqlconnections with stored procedure as im populating grid with data .
It gives error when i put code in submit button. But when i put tht on page load it works good .
Can anyone help me on this .
Thanks,
Smartdev
I am using VS2008 C# and testing on my local XP Pro PC with local IIS, I have wrote a web service to call a third party software .exe file to use svn checkout commands to insert data into a folder, which use System.Diagnostics.Process.Start . The same codes did work when I use VS2008 build-in ASP.NET Development Server(http://localhost:2999/MyServices/MyServices.asmx). but when I use IIS normal URL(http://developer/MyServices/MyServices.asmx) to run Process.Start on the web service, it just haunlted and not doing anything.plz send one sample program.
I get my data from SQL to Dataset with Fill. It's just one table with two columns (CategoryId (int) and CategoryName (varchar)).
When I look at my dataset after fill method, CategoryId Columns seems to be correct. But in the CategoryName I have a *System.Data.StrongTypingExceptio*n.
What could that mean?
Any Ideas?
Hi, After the branding of a SharePoint site is done, I mean Site and System masterpages, there are still a few pages that uses the default style. My question is if we can change the master page for that pages too.
Example: http:///_layouts/settings.aspx
always looks like a fresh SharePoint
Has anyone got an idea regarding the motivation behind the awkward design of the java.lang.System.out?
Awkwardness:
First, the out member is exposed (Encapsulation anyone?).
Second, it is final but can be changed via setOut() (contradicts final).