|
I wasn't sure what message board I should post this on, since none of the CodeProject boards seem to allow for the VS reports.
In my RDLC report, I'm trying to negate a decimal value when another field is null. I used this expression:
=IIf(IsDBNull(Fields!dst_ledgeritem_fk.Value), -Fields!dispamount.Value, Fields!dispamount.Value)
However, when the IsDBNull(...) evaluates to true, the cell on the published report shows "#Error". When it evaluates to false, the plain old "Fields!dispamount.Value" displays perfectly.
I've tried several variations for the "True" part of the expression:
-Fields!dispamount.Value
0.0 - Fields!dispamount.Value
0.0 - CDbl(-Fields!dispamount.Value)
All of them turn up "#Error". What am I doing wrong? Is there a way to get more useful information out of the report than just the useless token "#Error"?
Thanks in advance.
|
|
|
|
|
Hi.
I'm building a project where the data access is made with ADO .NET Data Services. In the client project i reference the data service project and execute the LINQ query. My doubt is: the query is executed in the cliente project,where i use LINQ, or in the data Service?
Thanks.Regards Jonatan.
|
|
|
|
|
If you execute the LINQ query on the client side, it should effectively execute the query on the client system.Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Hi Abhinav. First thanks for your answer.
By client side/system you mean the client project that consume's de Data Service, right? Like a windows form aplication or a simple class library.
Thanks.
regards jonatan.
|
|
|
|
|
Saltmarch Media's annual Great Indian Developer Awards honors software products across 12 categories on their pro, based ductivity, innovation excellence, universal usefulness, simplicity, functionality and most importantly on the ground feedback from India’s software developer ecosystem. In the Development Environment Category, the final shortlist consists of IBM’s Rational Application Developer; Microsoft’s Visual Studio 2010; Adobe’s Flex Builder; Popular open-source IDE – Eclipse and Microsoft’s Expression Studio. Oracle’s JBuilder was the first IDE to win this award in 2008 followed by Microsoft’s Visual Studio 2008 in the 2009 chapter of the same awards.
If there is a particular development environment that you personally endorse to your colleagues or you evangelize about them at the first opportunity you get, here is your chance to vote for it (voting closes April 10 2010) and see it win this prestigious award. Who knows? You could win along with it too. At the end of the voting process, a lucky draw will be conducted and one person will receive a surprise gift from our prize sponsor. So visit the 2010 Great Indian Developer Awards website and cast your vote. It counts! (http://www.developersummit.com/gida3_llist)
|
|
|
|
|
Hi.
I'm building a ADO .NET Data Service.I created the DataBase(i'm using SQL Server2008) then I built the Data Model(with the name service.edmx). After that I built de Service(with the name service.svc). But in the Service i can only use the services by default. Can built custom service operations? and where can i put them in the service.svc.cs or in the service.Designer.cs?
I'm using Visual Web Developer 2008 Express Edition.
Thanks very much. regards jonatan.
(Excuse my english but it is not my language )
|
|
|
|
|
hey guys . What's the best program for making installation (with highest flexibility)?
|
|
|
|
|
My personal favorite is the WIX toolkit[^] which is available as an addin for Visual Studio, or as part of Sharp Develop, which is free and can do just about anything given enough effort.
Alternatively you can pay for applications such as WISE[^] or Installshield[^]
|
|
|
|
|
Hi All,
I am getting the following error while building the solution on MS Visual Studio 2005.
Error 1 The "CodeAnalysis" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Build.Tasks.CodeAnalysis.GenerateFullPathToTool()
at Microsoft.Build.Tasks.CodeAnalysis.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) TellerConfiguration
Thanks,
Kindly Help Me Out
|
|
|
|
|
Plz someone reply for my query
|
|
|
|
|
Unless you can provide the source code which relates to the function call being shown, noone can.
I suspect a configuration issue though that needs to be confirmed.
|
|
|
|
|
Sir, im working on my senior software thesis, i decided to create a voice recognition using vb.nnet, the function of my system is to open an application, edit an application using ms word,ms powerpoint etc., play videos Using voice command. Can you teach me how to do it? Where should i start?, thanks sir, this is my e-mail harry_ozmawizard@yahoo.com, thank a lot !
|
|
|
|
|
Read How to get an answer to your question[^]. Next time please give the proper Subject line not like "hello?". Then nobody will not contact you through your mail id.
My suggestion is just create documentation, design the architecture, then UI design, code. When you feel trouble/doubt in your code, ask question here. Many people here to help. All the best
|
|
|
|
|
Osairisblue wrote: Can you teach me how to do it?
In one single answer to this question? I hardly think so.
Osairisblue wrote: Where should i start?
At the beginning: learn VB.NET, the Speech API, Office Interop etc. If you have no idea about any of these then I doubt that this is the best choice for your thesis.txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
I thought the point of a thesis was to write about something you are expert in, or research it and become an expert in it. A thesis by google does not seem like a worthwhile pursuit. I suggest you start by buying a good book on programing in .Net and go from there.
By the way, you probably want to edit your post and remove your email address before the world's spammers fill your inbox to bursting point. Anyone replying can do so safely through Code Project without exposing your email address.
|
|
|
|
|
Osairisblue wrote: Can you teach me how to do it?
No, the school would have prepared you and taught you how to do it, unless you parties through all the years.
Osairisblue wrote: Where should i start?
Start by utilizing what you had learned, start researching on the subject matter.
|
|
|
|
|
Hi guys, a settings question, and this forum group seemed to fit:
Using VS2008 I go to create a 3.5 project, and it inserts "linq" namespace automaticly. Yes I can delete it, however I would like to change it so it's not a default add. I remeber seeing it somewhere once in the past where I can modify the default namespace adds, and I remeber I was able to do it back in VS6 for c++, is there a way to do it with VS2008?
thanks for input./////////////////
Groucho Marx
Those are my principles, if you don't like them… I have others.
|
|
|
|
|
These defaults are found in the project templates located in C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates. You can try changing them, and it does the job, however I believe the templates may get overwritten during any updates to Visual Studio.
|
|
|
|
|
thanks, I think you just resolved my OCD moment. I'll bear with it. it's only a simple remove when need.
thanks./////////////////
Groucho Marx
Those are my principles, if you don't like them… I have others.
|
|
|
|
|
We have a windows 2003 - Enterprise server (32bit os) that previously had 12GB memory. We've upgraded it to 32GB, and now our .net 3.5 Windows application is getting an out of memory error when we run it. (Don't think it matters, but we're hitting Oracle 10g, SQL Server 2000, and MySql 5 databases).
Nothing in the program has been changed, only the server memory.
Any thoughts? I've been googling for 3 hours and have nothing. The memoryLimit in machine.config seems only to apply to ASP.Net apps.
|
|
|
|
|
Paul Brower wrote: Any thoughts?
Not much help I'm afraid, but MSDN[^] states that there's a 16Gb limit for the 32bit version of W2k3 Enterprise, and that you'd need some special configuration[^] to use it fully up to the 32Gb limit.I are Troll
|
|
|
|
|
Well, we've got 32GB in there, with no other problems.
The error only occurs when we're hitting the MySql database.
|
|
|
|
|
Paul Brower wrote: The error only occurs when we're hitting the MySql database.
Paul Brower wrote: our .net 3.5 Windows application is getting an out of memory error when we run it.
Thus it's limited to MySQL and .NET; are you using MySql Connector/NET[^], or another provider? Is it replicatable in a small test-project?I are Troll
|
|
|
|
|
Yes, I'm using version 6.2 (latest) of MySql connector for .net.
My problem here, is that it is only a problem on our server that now has 32GB memory (upgraded last night from 12GB).
I can't duplicate the problem in a dev environment ... only prod. I'm not about to install visual studio on that server either. It HAS to been a bug in .Net 2.0 or 3.5, or a bug in MySql 6.2 -- only an issue if you have 32GB memory? I don't know.
|
|
|
|
|
Paul Brower wrote: I can't duplicate the problem in a dev environment ... only prod. I'm not about to install visual studio on that server either. It HAS to been a bug in .Net 2.0 or 3.5, or a bug in MySql 6.2 -- only an issue if you have 32GB memory? I don't know.
Let's find out; if you create a small console-application (on the dev pc), targetting .NET 2.0, using ODBC, can you query the database (when running on the prod pc?)I are Troll
|
|
|
|