|
When trying to debug a C# application, I get an erorr message that the debugger cannot start. Reason: "The binding handle is invalid".
Googling reveals that is due to Terminal Services not running.
Service control manager says it cannot start terminal Services because "the system cannot find the file specified".
Any ideas?
[edit]
XP Pro SP2
"Add/Remove Windows Components" does not list Terminal Services at all, and the service is listed only as "TermService" in the service control manager
[/edit]
-- modified at 4:00 Thursday 15th February, 2007
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers! We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP Linkify!|Fold With Us!
|
|
|
|
|
hi 2 all
i want to encoding dll so that i can encode or convert my mp3 files to some other formats. i tried to search on google but i didnt found anything.
any help would be appreciated.
regards
rahmat ullah.
|
|
|
|
|
Hi,
How to use message box at serverside in c#.using dllimports its getting hanged and using javascript its a client side.can i have a solution for this problem
thanking u
jaya
|
|
|
|
|
Response.Write("javascript:alert('This is my msg!);");
I'm not sure why you wanna use "dllImport"..
|
|
|
|
|
you can't run a message box on the server, if you do, the server will stop and the client won't be able to do a thing about it.
Why would you need dllimport ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Is there any way to change the theme of the form using dll , e.g i have some dlls which can change the theme of window . But how could i import them into my form project to change its theme like this http://www.codeproject.com/cs/miscctrl/XPTaskBar.asp ?
Thanks .
|
|
|
|
|
I have a requirement to draw a rectangle and a line on a the
container control and sometimes as i move the mouse the drawing must
occur on top of user controls and other controls, which are placed in
the container control...
I'm using System.Drawing namespace (C#) to perform the drawing.
But as i move the mouse and draw the rectangles, the drawing takes
place behind the user controls....I have a requirement to draw the
shapes on top of the controls...
please help.....
Thanks in advance !!!!!
|
|
|
|
|
I need to convert a normal string to base64. This I need to access the internet through a HTTP Proxy. I believe I must use Convert.ToBase64 but this function only take byte[] as input. Can someone help?
|
|
|
|
|
string s = "ABCDEFGHIJ";
string b64 = Convert.ToBase64String(Encoding.ASCII.GetBytes(s));
Console.WriteLine(b64);
|
|
|
|
|
Thanx!!
It works ....
|
|
|
|
|
Hi everyone,
I want to learning C# and for this purpose I bought a C# book and studing it however I know c++ but I think its better that I start of first.I was studing these objects
1-whats C#,...
2-save values in variables
3-control statements(selection,iteration
4-working with operators
5-Classes
6-Method and member functions of class
7-Arrays/enumerators/structures/Interfaces/Events/Delegates
8-Access custom to methods
9-Inheritance
And also see benginners articles on the codeproject but I dont know why I couldnt understood C# very well
and in fact after a short time I tire to work with C#.I guess maybe I habit to vc++ and its environment.
Now my question is what's the best way to learn it?
-- modified at 10:40 Thursday 15th February, 2007
|
|
|
|
|
messages wrote: Now my question is what's the best way to learn it?
Going through CP articles.
Here is an example[^]
|
|
|
|
|
Thanks for link
|
|
|
|
|
Pravarakhya wrote: Going through CP articles.
.. cant agree more!
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Only way to learn C# is:
1 Forget C++ use only the syntax
2 Read the conception of .Net Framework and C#
2 Learn more about event handling
3 Read some articles about databases and C#
4 Read 10 (beter 20) books for C#
That's it
You know C++. OK so, how many books you have reed to learn c++
Strahil Shorgov
|
|
|
|
|
Exactly I read two books for c++ and also read MSDN and studied example MSDN(I dont know but I think maybe C# is difficult than C++),however C# almost like C++ but I dont know why I couldnt learn it
|
|
|
|
|
messages wrote: I dont know but I think maybe C# is difficult than C++
Forget that and you'll learn C# in no time.
|
|
|
|
|
"I dont know but I think maybe C# is difficult than C++"
Wrong. C++ is difficult than C#.
However, I started with C++, but for me C# was easy to learn. C++ is more powerful than C#. But C# is more inteligent.
Try to start from begining. (Use "Hello World" program and so on).
Repead the steps that you used to lear C++
Strahil Shorgov
|
|
|
|
|
C# is a lot easier than C/C++;
If you are used to program in C++ with classes and STL then you won't have problems to learn C#, if you are used to mix C and C++ on your code then it will cost a little more.
In C# you forget about the pointers, basically everything is a pointer except of primitives but everything is managed internally and the GC take care of the memory release, basically it was borrowed the from a prototype language that never made it, I think is called “Java”, only you will use pointers on unsafe code when you need to work with the memory directly, which is not pretty common, if you know the framework usually almost always there is a way to have the same performance doing it with pure C#.
C# almost "force" you to use classes/inheritance/polymorphism/generics, so you will lose many vicious that probably you have from C/C++ and you will spend a lot more time thinking in the right pattern/design than spend time finding where the heck the memory leak is.
|
|
|
|
|
starcraft4ever wrote: C# almost "force" you to use classes/inheritance/polymorphism/generics
I still mourn the loss of multiple inheritance.
|
|
|
|
|
I can't agree more...
Long time ago had a chat with some guys where they said that you can replace multiple inheritance with interfaces, where basically they didn't have a clue about how powerful multiple inheritance can be.
The problem with it is that is like "nuclear reaction" in the right hands is amazing, in the wrong hands will be over used and will create a complete chaos on the design/code.
In a language like C# where pointers are almost removed, keep multiple inheritance in C# is totally contradictory to make the language safer.
Anyway, I miss it too.
|
|
|
|
|
The problem is, they want C# to be idiot proof. They are more worried about how it can be misused, than concerned about how it would be used in the right hands. The switch statement is ample proof of this. As is generics. Both watered down versions of stuff that C++ allows to do so much more.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I think having .NET as multi-language and interoperable was a design consideration. Though Eiffel managed to retain MI and still work and be interoperable on .NET.
|
|
|
|
|
I think it was a bug in the design and later they could not change it , many times I was really pissed when I tried to do.
switch(var)
{
case A:
do A;
case B:
do B;
break;
}
And it doesn't compile.
|
|
|
|
|
It's not a 'bug', it was a deliberate decision to make C# easier to use ( because there's no way to accidentally fall through ). As an MVP, I've been in a position to talk to the language designers, that's what they told me.
I love C#, but I am also very much opposed to their design philosophies. They amount to telling me I am an idiot.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|