|
Hello everybody.
I have never woked with networking, and I have a task with it:
On virtual mashine I have a Ubuntu on real mashine I have a Windows, I need to write a programm in Windows which is create a user in Ubuntu. Network connection is setup, mashines are pinging.
I try to use a NFS(Netwerk File System) but I dont know nothing about it... Please help, push me in right side.
How I can do it?
|
|
|
|
|
S.Alexanser wrote: I need to write a programm in Windows which is create a user in Ubuntu
Creating a Windows-program that instructs another application over TCP/IP what to do shouldn't be that hard. I suggest you first focus on that part of the solution.
Second part would be creating the user; what kind of user are we talking about? Do you need to create a local user (?), a database-user (what database?) or a Samba-user (like in a windows-domain?)
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
I think, I need to create local user.
|
|
|
|
|
I suggest you verify that by asking your customer, once you finished the first part of the task.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
S.Alexanser wrote: How I can do it?
First step - figure out how to do it MANUALLY. Thus how do you do it typing at the keyboard.
AFTER you do that then you do one of the following.
1. Find an API that matches what you did manually.
2. Just write code that does what you did manually (see the Process class.)
|
|
|
|
|
I need to visualize a number of appointments on a Grid. In my case an appointment is a UserControl that has a number of properties (e.g. StartDate, EndDate, Subject, ...etc). Now I need to render the appointments in such a way that they do not overlap (pretty much like Outlook).
So far I managed to find out which appointments overlap before adding a new one.
The problem is to find an algorithm that determines the correct Width and X position.
Could anyone help me out on this?
Thanks, Dick
modified 6-Jul-12 7:21am.
|
|
|
|
|
You mean something like this[^]?
|
|
|
|
|
I have a C# 2010 application that I have a question about files in the bin directory. I have created a setup and deployment project and installed the application on a test workstation. Can you tell me what format the application1.dll and application2.dll format files are in? Basically if I want to decompile those dlls, would those applications be in an msil format, a C# 2010 .net format or what format would those files be in?
Next step is I want to see the *.cs code from those two dll files. Thus for example if the code is in an MSIL format, what can I do to get the code in a *.cs readable format?
|
|
|
|
|
Easy. All manged code assemblies are compiled down to MSIL. If you want to see a close approximation of the original source code, use .NET Reflector or some equivilent app.
|
|
|
|
|
Thank you for letting me know that code is setup as msil format. However my question is how would I tell a tool like .net reflector, the file is in a Msil format?
Basically I an taking two dll files from the bin directory of where the C# 2010 application is installed as input into the decompiler code. What I am getting is C# code that is generated by the .net framework. I am not getting the C# code that was written by people.
Thus can you tell me how what are the msil files so that I can give these files to the decompiler software? Is the msil file a *.dll file and what directory can I find these files at once the apllication hasd been installed?
|
|
|
|
|
Reflector already knows it is in MSIL - it looks at the content and works that out for itself.
You will never get the exact code written in C# when it is decompiled, unless the DLL is compiled for debugging. The chances are that the DLL you are looking at is compiled for release (as it should be) in which case the optimiser has already moved things around. In addition, it may well be obfuscated - a process which is designed to prevent people like you from getting a good look at the original source code by making it as difficult to read as possible.
Where files are installed is up to the person who wrote the application to a certain extent, so they aren't necessarily installed in a particular location.
Why do I get the feeling you are trying to rip off code from some hard working developer?
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
All dlls would be in MSIL format.
Decompilers were just discussed a couple of days ago[^].
|
|
|
|
|
If this is your source, why do you need to disassemble it?
|
|
|
|
|
To create scorm package in c#.Does any one has sample code for that?
|
|
|
|
|
See here[^], please post in one forum only.
|
|
|
|
|
Request you not to crosspost[^].
|
|
|
|
|
Okay he did a silly but SCROM seems an interesting idea!
Glenn
|
|
|
|
|
Codes how to perform permutation using Asynchronous operation
|
|
|
|
|
If I rearrange the letters, does this form a question? Is it a cryptic crossword clue? If so, you forgot to say how many letters the answer is.
|
|
|
|
|
rikah wrote: Codes how to perform permutation using Asynchronous operation
just because you can ask question at code project, doesn't mean that you can write code and try to compile.
|
|
|
|
|
Hi can we make virtual com port using c# .net?
If then how?
I don't want to use any third party tools
If anyone knows it please reply soon..
Thanks in advance.
|
|
|
|
|
yes you can,
of course by writing code in visual studio,
maybe this will help you.
|
|
|
|
|
Midnight Ahri wrote: yes you can, of course by writing code in visual studio,
Errm, no you can't. You can't write a driver in C#.
|
|
|
|
|
|
I don't know about that. You MIGHT be able to do it, though it would be far easier to just learn C and write the driver that way.
Hmmm, recoding all the enums, structures, P/Invoking the crap out of all the necessary functions, adding the entire weight of the .NET Framework to the Kernel, ... Nope, I don't see a problem with that at all!
|
|
|
|