Help please Does anyone know an elegant way to initiate a bash/perl script (to run on a linux box) from a windows form written in C#? Thanks
ksaw123
Posts
-
Run a script on a linux box from Windows OS using windows-form written in C# -
How to draw a circle in C#Thanks , I have modfied that , it helps now , the key thing how to create those node on to of them?
-
How to draw a circle in C# -
Why Dns.Resolve Method in C# is obsolete ? Workaround?it works but what is meant by "obsolete"? Thanks my friend
-
Why Dns.Resolve Method in C# is obsolete ? Workaround?I am trying to write a small function in C# by passing this DNS name www.google.com And the function should return the host IP , it is like querying DNS server! I wrote the following program , but it seems there this Warning Warning 1 'System.Net.Dns.Resolve(string)' is obsolete: 'Resolve is obsolete for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202' D:\CoDoNS\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs 26 20 WindowsFormsApplication1 Using System; Using Sytem.Net; namespace BuilderExamples { class BuilderIPAddress { static void Main(string[] args) { try { IPHostEntry iphe = Dns.Resolve("www.google.com"); foreach (IPAddress addr in iphe.AddressList) { Console.WriteLine("AddressFamily: " + addr.AddressFamily.ToString()); Console.WriteLine("Address: " + addr.ToString()); } } catch (Exception e) { Console.WriteLine("Error: " + e.ToString()); } } } } Why Dns.Resolve Method in C# is obsolete ? is the a workaround to get that function done? Thanks
-
How to Find the documentation oF MSPastry Library under MSDN ?Hi all, Dose any one know about documentation oF MSPastry Library under MSDN that could be utilized in C# code? thnaks to you all in advances
-
How to Find the documentation oF MSPastry Library in MSDN?Hi all, Dose any one know about documentation oF MSPastry Library under MSDN that could be utilized in C# code? thnaks to you all in advances
-
Copy the string from const char* To char[500];Thanks CPallini
-
Copy the string from const char* To char[500];Hi all can you help? part of my code i need to do this
const char * p= "ddddd";
char q[500];I want to copy the sting in p to q[]?
-
C++ program to print the path without the file name!sorry, it didn't work why? look at the way you are using strcpy() function
-
C++ program to print the path without the file name!the code i posted prints the base file name not the path I want to print the path without file name
-
C++ program to print the path without the file name!my boss I don't want to use Microsoft C++ , I am using the lagacy C/C++ actually , my code is working but i wanna print the path without the file name as your suggested function. Thanks
-
C++ program to print the path without the file name!Which .h file those functions is in?
-
C++ program to print the path without the file name!How can I print the path without the base filename
-
C++ program to print the path without the file name!it is C/C++ program not vasuil C++
-
C++ program to print the path without the file name!it didn't work I need to print the path without the baseile name
-
C++ program to print the path without the file name!here it is the C code , it prints the base filename I want to modify it to print the following /work1/data/xxxx/yyy/ const char * path = "/work1/data/xxxx/yyy/file_name.txt"; const char * filename; filename = path+strlen(path); while (filename != path && *(filename) != '/') filename--; if ( filename != path) filename++; cout << filename;
-
String Parsing in C++ (Simple Question)No , I need C++ buitl-in class or a play around not Microsoft C++
-
String Parsing in C++ (Simple Question)Hi All I have this string /work1/data/xxxx/yyy/file_name.txt how to extract "only" the path name without the file name in C++ thanks
-
Replace numbers after the . with other numbersThanks... the problem I am facing is that how can I make the code to replace any number (not specify number) with a specify number. for example, I have these numbers in the file: -9999.1234 -9999.2345 -4021.0101 -9999.0987 -9999.7654 -7892.4132 -9999.0393 and etc... I want any number that has -9999. (like -9999.1234, -9999.2345 and etc...) to be replaced with -9999.0000 I want a code that can do that in C#. Note: I wrote a code to read from the file and put each line in a array of type string. What I want is that a code to replace any number that has -9999. (like -9999.1234, -9999.2345 and etc...) with -9999.0000 Regards,