|
Gerry Schmitz wrote: Yes, there are a "larger number of apps" where someone is looking at last years numbers; but that's of limited interest to most consumers. Most consumers expect more than "maybe it's now in the system (?)". Most consumer don't refresh each dataset in the hope that there is a change. I was not talking about last years numbers, but the numbers as they are the moment you retrieve them - that is relatively close to what you meant with "real time". In my book Windows is not a real-time OS.
Gerry Schmitz wrote: With a little imagination and stepping away from "accounting apps", one can think of any number of apps that would benefit from "more current info". Lets fantasize what we could do with unlimited memory, bandwidth and bug-free software while we're at it.
Before you dream up benefits, also prepare to take a look at some downsides and potential pitfalls.
Gerry Schmitz wrote: Perhaps you've heard of: "transactions"? "Commits"? Roll-backs? optimistic updates / locks? pessimistic updates / locks? No? Yes, and the DB server can actually inform you of changes. CodeProject has articles on it
Gerry Schmitz wrote: I think OP would like to expand his knowledge base instead catering ONLY to the lowest denominator. That's prolly why he is on the forum.
Enjoy.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
You need to describe your "environment" in more detail:
- Where are the "windows apps" running?
- What "transport" facilities are available between the apps? e.g. Web services; messaging; VPN.
Depending on the environment, the Windows apps may not be able to communicate "directly"; but would utilize some intermediate service; e.g. message queues.
|
|
|
|
|
Hi
I am using C# with dot net framework 4.5
and seperate database server sql server 2008.
can you please tell me windows services or any other technology
can be used?
Instant reply to the receiver if values are modified in database.So
the server should be always alert that any modification in database table.
Thanks and Regards
Rama
|
|
|
|
|
You failed to answer the first and most important question:
- "Where" are the Windows apps running?
You want to know "what to use" (boat? plane?); but won't say where you're coming from; or going to.
Or are you looking for a "one size fits everything" solution?
|
|
|
|
|
Ah that old chestnut again, it has been a while since I have seen this particular bit of nonsense.
You are trying to solve a non problem (unless you are building a truly real time system, trading, nuclear power plant management).
The reality is that 99% of the time 2 people will not work on the exact same bit of data. Therefore 99% of the time it is safe to ignore the problem.
If the other 1% is going to blow up the city or kill someone then worry about the problem. If you are talking about updating a customer details then go find another problem to solve.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
As others have pointed out, there are many instances where notifying of changes isn't the best idea. Imagine this - both people are editing the same record and the first one saves her changes. What are you going to do now? Do you overwrite the edits the second one is making? Does he have to abandon his changes to see if they are no longer relevant and then re-enter because the first persons changes don't matter to him?
You need to decide what problem you are really solving first. Don't try to invent solutions to problems you haven't fully investigated yet.
This space for rent
|
|
|
|
|
Unfortunately, the whole point of OP's post (how to pass an alert between Windows apps) is getting derailed (again) with "side-bars"; this time to do with "update contention".
That's good though; usually it's SQL injection.
|
|
|
|
|
Gerry Schmitz wrote: to do with "update contention". But that really is the key, and it's a reasonable bet that the OP has not given it enough thought. Pete's comments are (as always) very relevant.
|
|
|
|
|
I disagree.
Update contention is a valid point, but not good enough to discard the original question, as I understand it.
(OP NEVER said he was dealing with updates from MULTIPLE sources).
And instead of simply telling OP he's out to lunch (maybe), I prefer he find it out for himself (based on any discussion).
|
|
|
|
|
You are correct. I should have re-read the question first.
|
|
|
|
|
Gerry Schmitz wrote: I prefer he find it out for himself (based on any discussion). If he wanted to find out himself, would he have been here?
Gerry Schmitz wrote: (OP NEVER said he was dealing with updates from MULTIPLE sources). Not directly, no. Now why would a single client need to see his own updates live propagated through the system?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
As Andy said to the warden...
|
|
|
|
|
I know you asked this a long time ago, but since this question originally triggered me in writing the article: What You See Is What You Update , you could find it interesting.
|
|
|
|
|
I am trying to use wizard in windows app but cannot found any Wizard control.
Please let me know if any one know the answer.
Thank you in advance.
|
|
|
|
|
Windows Forms? WPF? Universal Windows app?
This space for rent
|
|
|
|
|
|
This[^] is available for free.
This space for rent
|
|
|
|
|
..then why is there ASP.NET in your subject?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
I am new to this concept and i am looking for control in toolbox which is similar to wizard functionality or you can say same as Multi-view(in web)
|
|
|
|
|
Take a look at the Panel and Tab controls in the toolbox.
|
|
|
|
|
If you are just trying to hold multiple controls under one parent control, then did you look into the TabControl [^]? It indeed is the toolbox for Windows Forms.
This Introduction to the Windows Forms TabControl[^] will help you to get started.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Do you mean the installer Wizard? If that is the case, then just use the Publish feature of Visual Studio. Publish Wizard[^].
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Good evening; I'm looking for a source code to make a datagridView with Multi Header Columns and Multi Cell Header As shown
image
All that is in gray is the head that I am trying to code
|
|
|
|
|
And?
What have you tried?
Where are you stuck?
What help do you need?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|