|
Has anybody managed to get IIS hosted .NET remoting to work on a virtual server? I'm dammned if I can get anything other than a 404 from a remoting endpoint I know works otherwise. Have tried setting the machinename attribute in the channel configuration, but to no avail.
Anyone got any ideas?
Ryan
|
|
|
|
|
i want to know how to go to a different 'room'.
Eg. In an rpg, you walk through a door of a building and you go to a different 'room' (the inside of the building)
or in a game like sonic, you move to the next 'room' (the next level).
Any ideas on how to do this.
(i do not need any help on collision checking or anything, just how to redraw the entire room to the new one)
Thanks i advance, i know i'll get some help here
|
|
|
|
|
The way that these things generally work is that you have an array of structures that represent your 'rooms', and each room 'knows' what other room in the array a door points to. Then you just change the room you're pointing at in the array, and call a generic function that draws it, and so to the code to interact with it uses this structure to know what's there.
That's assuming you go to the edge of the screen and walk into another room. If you are always scrolling, then you need one big map.
The idea really is to write generic code that knows how to interact with *everything*, code that knows how to draw *any* room, then use a data structure to change what room you're interacting with. This is also why it's so easy to provide a map editor with most games. It just edits that structure.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
You can simply make a class or method that called Room() ,
This method or class ,whatever,will draw the default room that will be used in all the room ,and then just make a method named Room1(),Room2(),Room3(),etc... , and these method will contain the additionla data for it's room ,
Maybe Room1() will contain one person ,but two contains two animals ,so the default room will help you in this.
|
|
|
|
|
Hey i want to get an image from scanner in C# and then display it in the picture box cna any one help me give me code of it i found code of it in
other languages but not in c sharp so plz give me the code ok tc bbaye !
Sohail....
|
|
|
|
|
Recently, I've heard here a post something like this one:
"We can help you with your code, we can try to correct it. But we'll not give you any code just because you asked for it". In other words - We can't help you, if you do not wish any help.
The topic of getting image from scanner was already discussed here some times. Try to search here or use google.
|
|
|
|
|
I concur with Andrew. If you have code already in another language, then converting it to C# will help you greatly as you will have to understand how it works which will give you a greater understanding of your problem area.
Of course, if you are stuck with converting a section of the code then we are always here to help you get over the bumps and out of the potholes you might find along the road.
My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
TWAIN is a pretty in depth subject. There is a C# TWAIN implimentation here on CP, I am pretty sure. If not, perhaps you should write one and offer it here
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Actually i have code of twain in C sharp but it is copy right ......thats the problem.....and also have code of geting image from scanner...in vc and vb when i make a dll file and try to add reerence of it and add it in C#.net its giving invalid com something like this eroor so tell me how to convert it in c sharp ok tc bbaye
|
|
|
|
|
How do you convert it to C# ? One line at a time. Seriously, that's not a question I can answer, it's simply too broad, esp. when I can't see the code in question ( no, please don't send it to me ).
How did you get code that is copyrighted ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hi
i write a code using directx sdk and visual studion .net 2003 the code run successfully at on machine ,when i copy the solution folder to another pc with directx sdk and .netframework 1.1 the code doesnot comile or run saying that there is "Null Refernce error"
what is the reason for that ?
|
|
|
|
|
How do you compile the solution on the 2nd machine? Still under VS.NET 2003 IDE?
Regards,
Polis
Can you practice what you teach?
|
|
|
|
|
i try to make a program
that read special pixel and return color
tanx & regard
|
|
|
|
|
Can you give some more infor????
|
|
|
|
|
Yes I would have to agree with Fernando. Your description is rather vague. Try and describe your problem and be more specific please. If you think you cannot describe it anymore, then a sample portion of your code would be a good way. At least this is what I think.
Regards,
Polis
Can you practice what you teach?
|
|
|
|
|
What's special about this pixel ? GetPixel will do what you want, assuming you want only a pixel here or there ( otherwise it is slow ). The only bit that's hard is working out which pixels are special.
But then, everyone is special....
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
how are you my friends ?
i have two questions and i hope that there is anyone can help me with that ...
1 - when i deploy my application and install it and open it from the shortcut on my desktop it opens the application but when i press the shortcut again it can open another same program and i then have two same application running but i don't want that i need my application to open one at once ?
2 - iam developing internet application which is small size but i need when i deploy my application and create the installer executable file .. I need that executable file to include only the specific dll files needed to run the application from the whole net framework not all the net framework to be installed on the pc to run it cause it is unfair to develop about 2 mb program and it becomes 27 mb to download to include the whole net framework with it ????? any help with that out please ......
Miss With The Best And Die Like The Rest
|
|
|
|
|
|
dnh wrote:
try to use punctuation (e.g. points and commas) between sentences... it really helps
I totally agree. I remember getting embarrased in Primary 4 (about age 8) for missing out puctuation in a little story I had to write for class. The teacher read my story by first taking a very very big breath, then reading the entire page very fast in one breath without stopping. Everyone was laughing and I was red. She didn't say who wrote the story, but I recognised it as mine. Never again have I missed out punctuation.
[EDIT]
Curious.... I wonder why that was worth a 1-vote???
[/EDIT]
My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
Yes. These are the best learning experiences... everytime I feel like an idiot in front of blackboard (and whole class) I make sure next time I'll be perfect :->
Colin Angus Mackay wrote:
about age 8
You are not implying anything about that person, are you?
David
Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy
|
|
|
|
|
dnh wrote:
You are not implying anything about that person
Me?!? Make implications? I think you'll find that you are inferring* things.
I hope this doesn't mess with your head. I'm referring to The Simpsons:
HOMER: What are you inferring?
LISA: I'm not inferring anything. You infer; I imply.
HOMER: Well that's a relief.
After that episode I had to check the dictionary several times over the following couple of weeks every time someone said "infer" or "imply".
My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
|
hi,
I have created a GUI .net application and I am creating an object of a class XYZ.In class XYZ i have created a thread for an function.My intention is when we click an button the object of this class is created and creates the thread which I have achievedNow what I am trying to do is once the thread is executed(which atually is playing an audio file)just before getting distroyed it has to call some function in the GUI.
I once again give the architecture it is like this
GUI----->creates object of xyz -------> which has Thread object which starts one function.
Now can any one help me how can I achieve this.
Satish.
|
|
|
|
|
I would like to get database name, table's names...
How to get in oracle
|
|
|
|
|
Hello,
I am new to c# and indeed microsoft .net framework so please be gentle...
I am trying to use a c# service to allow session recording so that an application can start stop and playback sessions as required.
I have been using examples from the web as a base and although the image capture demos work very well and example source builds and runs also, when I use the image capture class within the service I get a blank image. The reason for this is that the source HDC returned is null.
I have been racking my brain cell as to what I have done that is any different than the examples and can not come up with anything.
The question is this... Is there soemthing that needs to be set/configured within a service that is not required within a regular application to allow taking of desktop images from either the desktop or application tree? If so please, what is it?
Many thanks for any advice or help in advance.
Best Wishes
Peter
|
|
|
|