|
R u there?
please dont answer like the way you have mentioned.becuase it doesnt mean anything.
|
|
|
|
|
Sorry I am not good at explaining things. I had configured Microsoft IIS before, to handle ASP.NET applications. I also configured Apache to achieve the same thing. However, the details on how I did this cannot be explained here because I had forgotten all of them. However, the process is not complicated. The web servers have plug-ins to handle ASP.NET. You need to specify how aspx files are handled. Please refer to Microsoft documentations for more information. Other experts here may also give you a better answer. Please wait patiently!
Good luck!
|
|
|
|
|
Thanks so much for your help.
|
|
|
|
|
Hi;
How can i run the webcam on the my notebook in c# 2005. I read alot of paper in internet but i cant. i think need library then import my project but i cant. So there are any help somebody.
|
|
|
|
|
you can p/invoke the twain_32.dll (thats ofcourse requers that your webcam has twain compatible drivers), Or you can use WIA (see: WebCam Fast Image Capture Service using WIA[^]), the 3rd option is to use DirectX, 4th option (and probably the easiest), is to use a 3rd party .net component.
|
|
|
|
|
I use windows media encoder.
|
|
|
|
|
can you explain it please!
|
|
|
|
|
OK,
First you need to download the windows media encoder. I use version 9
http://www.microsoft.com/downloads/details.aspx?FamilyID=5691ba02-e496-465a-bba9-b2f1182cdf24&displaylang=en.
Once you download it and install, run it from the start menu. The dialogs are straight ahead.
You will be broadcasting a live event from your server. Pick your device from the device options menu. I use Broadcast Method = pull from...
Pick a port (I use 2009. URL for Internet = http://192.you.fil.lin:port# or choose a lan connection or both. I use multiple rates.
Once you have it working and you can see your broadcast at the server. Let me know and I can give direction on the ASP.net end of it.
|
|
|
|
|
Hi..........
I want to develop a C Compiler using C#3.0 So is it possible??? How should i go for this????
|
|
|
|
|
Take a class on writing compilers. I assume they still teach this in computer science courses....45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Writing a C compiler is not a simple piece of work: it can be done in C#, and the actual lexical / parser / code generator design is well established. But what it won't let you do is run a program - to do that, you will need a library of back up stuff: Add, subtrcat, multiply, divide, write a character, etc., etc.
It's a big job, probably a couple of man-years, but if you want to try, give google a shot with "how do I write a c compiler" and you will get thousands of hits!If Barbie is so popular, why do you have to buy her friends?
Eagles may soar, but weasels don't get sucked into jet engines.
If at first you don't succeed, destroy all evidence that you tried.
|
|
|
|
|
Thanks for ur reply...But i m not getting what u r trying to tell me...can u please elaborate what u r trying to say?
Thank You
|
|
|
|
|
Writing a C compiler is not a simple piece of work.
You also need to write a large amount of background functions that the application written in C and compiled by your compiler need to work.
For example, at the most basic, you must provide a function to write a character on a screen.
Then to write a string.
Then to cope with all the parameters of the "printf" function.
And to add two ints.
And to add two floats.
and to subtract two ints.
etc.
Actually parsing the input is relatively simple, as is code generation, but I think you will have a lot to do to get a C program to run as output by your compiler.
Google can help you if you do decide to do it: try to search for "How do I write a C compiler" and it will give you a lot of information.If Barbie is so popular, why do you have to buy her friends?
Eagles may soar, but weasels don't get sucked into jet engines.
If at first you don't succeed, destroy all evidence that you tried.
|
|
|
|
|
I guess an easier route would actually be to create an intermediate compiler which creates IL (which is effectively what MS did).
I would imagine that converting the parsed code into machine code would be something of an arduous task but creating IL would appear to be a translation between languages - parse the input code, create a parse tree, manipulate this tree so you have a syntax tree and then perform a similar process in reverse to generate the IL.
By concentrating on a limited set of primitive types and operands you could probably get something basic up and running within a few days.Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it.
|
|
|
|
|
That certainly gets rid of a lot of work. The next problem: how do you use .NET classes with an non-OOP language like C? If Barbie is so popular, why do you have to buy her friends?
Eagles may soar, but weasels don't get sucked into jet engines.
If at first you don't succeed, destroy all evidence that you tried.
|
|
|
|
|
My bad - I read the question as 'I want to write a c# compiler'... My way was definitely easier! Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it.
|
|
|
|
|
OriginalGriff wrote: The next problem: how do you use .NET classes with an non-OOP language like C?
That won't be a problem. How F# is using .NET framework classes? How C++/CLI supports non-OO programing? But it's more work for compiler writers. Best wishes,
Navaneeth
|
|
|
|
|
Hello,
I need help, i want to list a content from specific folder from FTP, a can make the connection to FTP, but i don't know how can list the files contended in a specific Folder from FTP in one ListBox.
I'm new ( beginner) in .NET
I have one folder ftp;//server.com/FolderX/
i want to list the files from FolderX in one ListBox and in one label to show me the numbers of files from FolderX
This is my code in C#
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
FtpWebRequest Request = (FtpWebRequest)WebRequest.Create("ftp://server.com");
Request.Method = WebRequestMethods.Ftp.ListDirectory;
Request.Credentials = new NetworkCredential("user", "pass");
FtpWebResponse Response = (FtpWebResponse)Request.GetResponse();
Stream ResponseStream = Response.GetResponseStream();
StreamReader Reader = new StreamReader(ResponseStream);
//ListBox1.Items.Add(Response.BannerMessage);
//ListBox1.Items.Add(Response.WelcomeMessage);
while (!Reader.EndOfStream)//Read file name
{
ListBox1.Items.Add(Reader.ReadLine().ToString());
}
Response.Close();
ResponseStream.Close();
Reader.Close();
}
}
I try something like "FtpWebRequest Request = (FtpWebRequest)WebRequest.Create("ftp://server.com/FolderX");" but i give error from line "FtpWebResponse Response = (FtpWebResponse)Request.GetResponse();"
Thanks for your time !
|
|
|
|
|
Try here: Simple FTP demo application using C#.Net 2.0[^] If Barbie is so popular, why do you have to buy her friends?
Eagles may soar, but weasels don't get sucked into jet engines.
If at first you don't succeed, destroy all evidence that you tried.
|
|
|
|
|
how to upload image on ftp server folder in c# full source code ...
|
|
|
|
|
|
Since when was an image not a type of file?
And for your information, always use reply on the message you want to reply to, not your own message - that way the person you want to talk to gets notified.If Barbie is so popular, why do you have to buy her friends?
Eagles may soar, but weasels don't get sucked into jet engines.
If at first you don't succeed, destroy all evidence that you tried.
|
|
|
|
|
Hi,
I want "Enter" Key press count fro .doc file. I am using ASCII value of "Enter" Key . But How can I find using stramreader while reading file.
When I read file. when ever I press "Enter" it get "" value for "Enter" Key.
but while reading file if it contains "" value then it can be problem so How can I do this??
Or any other Solution for that?
Thanks,
sjs
|
|
|
|
|
If this is a .doc file as in a MS Word document, the probably the easiest and safest way is to use Microsoft.Office.Interop.Word which provides a statistics enumeration, which includes Lines and Paragraphs count[^].
If this is your own .doc format, then we would need to see the code you are using to read it, and possibly the code to write it as well. When pasting, use the "code block" widget to preserve the formatting, and the Preview button to check it.
Bear in mind that the Enter key has no ASCII value, and that ASCII CR is not the same as '\n'.If Barbie is so popular, why do you have to buy her friends?
Eagles may soar, but weasels don't get sucked into jet engines.
If at first you don't succeed, destroy all evidence that you tried.
|
|
|
|
|
accii value of enter key is 13
|
|
|
|