Oops... I hit post instead of "Quote Selected Text"
Edward Steward wrote:
an assembly for business objects (BO), interfaces (I), data components (DC) and user interface (UI).
Or even multiple assemblies for each part. For exampe. Will you really have only one UI to allow the user to interface with the enterprise application? Or will they access it via a web application, or windows application or mobile application depending on the scenario?
Edward Steward wrote:
Each of the BO, I, DC and UI will then be replicated for each logical unit: ie. debtors, creditors, stock, general ledger, system, etc.
Is that really the best way? When thinking about the UI you should be thinking along the lines of what tasks the user has to complete. What is the goal of the users? Don't force them into starting one UI for half their task and then switch to another UI in order for them to complete it.
I am using a Symbol device and my application pre-requisites include installing the symbol.all.arm.cab on the device.
The first time I installed the pre-requisites and the application on the device, the application ran properly without any crash.
But later, when I tried to start the application again, there was an error seen and the application did not start.
The following error was seen
Could not load type
Symbol.Generic.Reader from assembly Symbol,
Version=1.0.5000.3, Culture=neutral, PublicKeyToken=68EC8DB391F150CA.
MSDN says “TypeLoadException is thrown when the common language runtime cannot find the assembly, the type within the assembly, or cannot load the type.”
I tried reinstalling the ‘symbol.all.arm.cab’ file again, but it gives the same error.
can anyone help me in understanding why am I getting this error and what should I do to correct it.
When I type netstat -a in command, it shows a specific (tcp)port is still "listening" even though the program that was using that port was shutdown. So it wasn't closed properly. I just want to know how I can close that specific port in C# .NET. Because when my program starts again, it says that port is busy.
Thanks for any help
I have an asp.net webform which is exporting a crystal report in to Excel format. But what I need is, I would like to format the excel cells so that it should adjust the cell size or wrap the cell according to the data given in it by using VB.Net. If anybody know it pls. advice me or give me some code snippet if possible. Thank you.
Please stop cross posting. You've asked enough questions on the boards before to know the form. Pick the most appropriate forum, post your question and then wait for somebody to get the time to take a look at it.
Deja View - the feeling that you've seen this post before.
I have been trying to use timers in VS 2005. I was under the impression when the tick event fired it was similar to a hardware interrupt . Time has shown I am incorrect, I am now using a separate thread.
My question is: what is happening when the tick event fires, is it sitting in a queue waiting for a break in the thread, is it lost if the thread is busy else where, or something else?
That depends on which Timer is being used. There's 3 in the .NET Framework.
The System.Threading.Timer is a uses a callback delegate, which is executed on a Thread from the ThreadPool.
System.Timers.Timer is a server-based timer designed to work from worker threads in a multithreaded environment.
System.Windows.Forms.Timer is a event-based timer designed to work in a single threaded environment on the thread with your application message pump and relies on the O/S timer support.
The Timers.Timer and Forms.Timer both use events to signal the elaspe of the timer. The events are queued and must wait for the thread handling the events to get around to them.
The Threading.Timer uses a direct call to the code handling the elaspe of the timer. It doesn't have to wait for a thread to handle a queued event, but instead creates a new thread out of the ThreadPool and executes the method on that. The only thing that would slow that process down is if the ThreadPool doesn't have a thread immediately available to execute the request.
I have made small testing app. Iniatialy I have used database connection via IDE (Data Sources -> Add New Data Source), later I have shifted my project to another PC so I had to change Data source.
I have removed old data source from IDE, attached database to another server and stored connectiong string in App.config file.
BUT when I tried to reach this information first time I found out there were more than one conn string!
Old one (which was never in App.config!) and new one.
My confusion was even greater because I haven't had .config file (nor -.settings) prior the change of data source.
Where is old connection string stored? It's not in App.config!
I made ad hoc solution for the moment, method shown passes first usable connection string:
Connection strings can also be stored at the machine.config level. So if you are seeing another connection string it can be from there.
A better way to access the connection string if you are using .net 2.0 would be to get it from the ConfigurationManager.ConnectionStrings. This should be only the value you have set in the app.config file. When you open the configuration file like you have in the above code it may be looking into the machine config as well.
I got these two exceptions, 1. System.Runtime.InteropServices.GUIDAttribute - cant be specified multiple times and
2. System.CLSCompliantAttribute - cant be specified multiple times with Indentical parameters also.
Why do I get these exceptions and how can I clear these exceptions. Thank you.