|
If the file does not have a valid image format or if GDI+ does not support the pixel format of the file, this method throws an OutOfMemoryException exception.
Uhh.... wow.
Gotta love the WinForms team, total hack as always
|
|
|
|
|
reinux wrote: Gotta love the WinForms team, total hack as always
Then publish your own own base class library that would be so much better than theirs, or shut the f*** up.
led mike
|
|
|
|
|
Wtf is your problem?
There's a reason I don't use WinForms anymore, and it's because someone already did publish their own UI toolkit for .NET that's so much better, and it's called WPF.
|
|
|
|
|
reinux wrote: Wtf is your problem?
My bad. Confused you with someone else with a similar CP name, I should have checked first.
led mike
|
|
|
|
|
reinux wrote: someone already did publish their own UI toolkit for .NET that's so much better, and it's called WPF
That's debatable. There's so much functionality missing and it's buggy.
|
|
|
|
|
Hi all,
When I try to run the (C#)project FileSyswatcher on Visual Express 2008 then it gived an error .
saying the windows service failed to start .. first install installutil.exe and then start service ServerExplorer ,Windows Sevice Administrator ..
Can any one help me regarding this project problem ..??
Thanks ..
|
|
|
|
|
rajesh.tycoon wrote: Can any one help me regarding this project problem ..??
Probably not with the information you provided. There might be an article on MSDN that talks about common problems with Windows Services. I would try using Google to find it, it could help you.
led mike
|
|
|
|
|
Hi,
I have a server-client application and I would like to adapt the client so that it can work alone in "Demo mode": instead of making petition to the server, it would get the data from files (that contains data captured listening to the client-server communication).
I have a wsdl which i use to create csharp classes (using the wsdl commnand-line tool). The messages are XML-SOAP.
I can't manage to deserialize the captured messages easily. I'm sure there is a method in SoapHttpClientProtocol that allows to do it. Anyone has an idea?
|
|
|
|
|
lverre wrote: I'm sure there is a method in SoapHttpClientProtocol that allows to do it.
You don't know, but you are sure. hehe Ok, good luck
led mike
|
|
|
|
|
Hi,
I have an XML file that contains 2 projects to build, but there is no strong name key file for signing them,is there any way to specify a strong name key file in that XML file so that when MSBuild builds those project then that should sign projects with that key.
Regards,
Mushq
|
|
|
|
|
|
Hi,
I have a web service I created and uploaded to my server. In another project (output type .dll) I added a reference to the service via "Add Web Reference..." dialog. All seemed fine at first. A file called Reference.cs is added under the web reference node, and when I look at it, this looks just like the proxy class that is needed. The Build Action associated with this file is "Compile." I am also able to use intellisense to get access to the created proxy class, and when I load the .dll from another project in the same solution through the debugger, everything works fine.
However, when I copy the files from my bin\Release\ to another folder (and also calling the .dll from a separate solution altogether), I get an exception :
"System.TypeLoadException: Could not load type 'Trading.BrokerProxy.net.sbjgroup.CustomerMgmtSvc' from assembly 'SBJCharts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'..."
(where Trading.BrokerProxy.net.sbjgroup.CustomerMgmtSvc is the proxy class)
The other part of all of this, is that if I generate the proxy class via wsdl.exe and add the output to my project...at that point all works as expected (after I also remove the WebReference).
I'd really like to figure out what's going on here, as it would be much simpler just to add the WebReference and then everything works as expected.
Thanks in advance.
BW
|
|
|
|
|
I've never created a proxy that way. The way I have done it successfully is to run the WSDL command line tool to generate a CSharp file containing the proxy class. I then add this file to a Class Library ( Assembly ) project. The resulting assembly can be added as a reference to any number of projects and used assuming you account for any changes is the address ( URI ) to the hosted Web Service.
led mike
|
|
|
|
|
This would work fine too...only thing is I'd have to re-run wsdl if I added another method to the web service. It' really just a few more steps, but it would be nice to avoid them if I could.
If I ever dig anything up on why it's not working as expected, I'll be sure to post the solution to this thread.
|
|
|
|
|
Hi everybody,
I have two editions of Visual Studio.NET - 2003 and 2005. Of course both of them come with the different editions of the MSDN library. To conserve space on my hard drive, i'm considering uninstalling MSDN Library for Visual Studio.NET 2003 since the 2005 edition is present. What d'you think? Do i go ahead?
Obinna from Nigeria.
//obinnaaj Eof
|
|
|
|
|
I would get rid of both, unless you use them heavily. It's all available on-line anyway.
Simon
|
|
|
|
|
Simon Stevens wrote: It's all available on-line anyway.
Only problem is you lose context-sensitive help. However, this has become less reliable these days. Plus you can also get it by hooking up that Google Search macro to MSDN online.
Kevin
|
|
|
|
|
I did this in my last contract when I got a new PC and had to install both VS's from scratch. I just installed VS 2005 help and set VS 2003 to point to VS 2005 Help. Worked OK.
Kevin
|
|
|
|
|
That is what I have done with my VS installs. I have VS2003, VS2005, VS2008, and I just have VS2008 MSDN Documentation installed. I did this because the documentation still says which .NET framework everything works for.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
I am working on an application that requires the Help forms that are commonly seen in a windows application, but I do not have any idea how to go about it. I believe that there is some module somewhere in Visual Studio .NET to do it. There are three tab strips composed of: Contents, Index and Find. The Contents tab strip has expandable and collapsible menu items. The Index tab strip provides the ability to search through all of the Help items in the Contents tab strip. I tried to find an article on the subject, but I could not find anything on it. Could someone kindly point me toward the correct resource or article on how to get started?
|
|
|
|
|
|
What you need is Microsoft's HTML Workshop.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Hi to all i am a beginer of dotnet flatform,current do a attendens project in a small compahy...in chennai...how to create employeelist in windows application..
|
|
|
|
|
turailakshmanan wrote: i am a beginer of dotnet flatform,current do a attendens project in a small compahy
Beginners should be studying (student) Computer Science not doing projects in companies. You start with a general foundation in Computer Science and then more specific studies of Computer Programming. Once you have obtained minimal understanding you become an intern in a company where you study again under the supervision of experienced programmers. They would answer these types of questions for you.
Who ever told you that you don't need to study Computer Science to be a programmer was wrong.
Good luck.
led mike
|
|
|
|
|
led mike wrote: Beginners should be studying (student) Computer Science not doing projects in companies. You start with a general foundation in Computer Science and then more specific studies of Computer Programming. Once you have obtained minimal understanding you become an intern in a company where you study again under the supervision of experienced programmers. They would answer these types of questions for you.
Who ever told you that you don't need to study Computer Science to be a programmer was wrong.
Well I didn't study CS. I studied pottery and comparative literature in the Kotohoshi Indians.
And yes - my previous sentences are complete crap. If you want a career as a programmer, you need to start studying and then never stop - for the rest of your life.
|
|
|
|