|
Someone meet this MFC guy and tell him not to talk MFC in a C# forum
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
He's probably just trying to raise his post count.
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
i will read that carefully!
then i will ask more questions maybe!
|
|
|
|
|
I have a C# form UI and I would like to create a web page from that. Anybody knows how to do that?
Thanks
Al
|
|
|
|
|
I am using a OCX component that call a event .. I never make programs using C# .. how can I use Events ?
|
|
|
|
|
how do i declare a dynamic byte array?
|
|
|
|
|
int size = 100; // dynamic size
byte[] b = new byte[size];
for ( int i=0; i
|
|
|
|
|
If you're using MFC, use CByteArray .
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Ravi Bhavnani wrote:
If you're using MFC, use CByteArray.
Don't think he'd be using MFC, now that he has asked this question in the C# forum.
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Argh! I did it again.
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
I have a file that an old program is changing
I want to build a service or something like it to listen to
That file and raise an event (my program) every time it is
Changing
Thanks
|
|
|
|
|
look at the documentation of System.IO.FileSystemWatcher
|
|
|
|
|
See this article.
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Can any of you recommend a good C#-book? I've bought the "Programming C#" by Jesse Liberty, and it's quite good. But there's nothing about GDI+, and since I'm mainly interested in image analysis/processing and graphics I'd like to buy a book which contains some stuff about GDI+ and possibly also about Winforms. I've thought about the WROX Proffesional C# Programming, anybody read that?
|
|
|
|
|
Programming Windows with C# by Petzold ? This discuss Winforms , UI stuff and GDI+ ...
BTW , a C# is different of GDI+ , by your title I thought that you wanted a C# book like Inside C# by Tom Archer instead of a GDI+ book .
The Petzold book is quite good explaining all the UI and GDI+ stuff , but if you are interested in Image processing you better get a specif book about this, since I currently don't known any book that deals with it with C#, C++ and C are the common language used in kind of image processing algorithm books.
Cheers,
Joao Vaz
Addicted C++ programmer
|
|
|
|
|
I'll second this book. Loads of good information on a variety of Windows topics.
|
|
|
|
|
Rohde wrote:
I've thought about the WROX Proffesional C# Programming, anybody read that?
It has only one chapter about GDI+,and you can read that chapter here.
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
Petzold is definately the book on GDI+. As for image processing, some clown has written a few articles on doing that in C# right here on CP. I hear he's an idiot, but there might be some stuff in there worth investigating all the same. :P
Why do you want to do image processing in C# ?
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
|
|
|
|
|
Let me guess? You're the sinister person behind those articles? I'll check 'em out.
There's actually no particular reason why I'm want to do it in C#. It´'s mostly because it's a fun way of getting to use and learn C# since I find image processing interesting and great fun.
|
|
|
|
|
Rohde wrote:
´'s mostly because it's a fun way of getting to use and learn C# since I find image processing interesting and great fun.
That's pretty much exactly why I wrote my first C# articles on image processing also )
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
|
|
|
|
|
Can anybody tell me what caused this error?
Assembly generation failed -- Referenced assembly 'Mazdak.WebModules.Accounts.Data' does not have a strong name
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
What are you trying to do to it?
To give an assembly a strong name use the sn tool to create a key file, then reference the key file in your assemblyinfo.cs file.
sn -k keyfile.snk
In AssemblyInfo.cs
[assembly: AssemblyKeyFile(@"..\..\keyfile.snk")] - assuming you place the .snk file in the root directory of your project.
James
Simplicity Rules!
|
|
|
|
|
James T. Johnson wrote:
To give an assembly a strong name use the sn tool to create a key file
But where is sn tool ? When I run
sn -k keyfile.snk<br /> in commandline windows tell me that it couldn't find that tool.
I have one .snk file in my computer and when I use it,it solve my problem but I don't how to create it myself.
Thanks James.
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
It is part of the SDK; you'll have to use the shortcut provided by VS.NET in the start menu... Start\Programs\Microsoft Visual Studio .NET\Visual Studio .NET Tools\Visual Studio .NET Command Prompt.
Or you can alter your path to include %windir%\Microsoft.NET\Framework\v1.0.3705\
James
Simplicity Rules!
|
|
|
|
|
Thank you James.
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|