|
Mark Salsbery wrote: For a two-tiered solution (client-RDBMS), that's pretty much all you need. Each client can just
connect to the SQL database server.
As long as there are no firewall issues.
|
|
|
|
|
Yeah But the OP won't need to know any other "technologies" to hit that wall
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Ok, Mark.
But in which situations are needed a client-server-RDBMS solution?.
I just want to read and update data in a server database, (a remote server) from some few clients. Just that.
Thankx.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
I'm no expert on database applications, but in my case, I chose 3-tier for the following reasons,
based on experience, not expertise:
Complete control over client server communication, including NAT/firewall traversal.
Complete control over user authentication.
Complete control over network security (encryption).
Generic database access from clients - I'm not bound to a specific RDBMS or data access framework.
DB connection management and pooling.
Here's an article that may be of interest: N-Tier Application Development
with Microsoft .NET[^]
It's a 3-part article but part one explains some reasons for n-tier solutions.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I was wondering if we could reset the semaphore count to 0 using any API. Is it possible? If yes, could anyone please tell me how?
Thank you,
AJ
|
|
|
|
|
Ajay L D wrote: I was wondering if we could reset the semaphore count to 0 using any API. Is it possible?
No.
You might want to read this article[^] on how to use semaphores and the difference between a mutex and a semaphore.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
As Roger stated, there is no way of doing that. The interesting point is that this even makes no sense (if we think a little bit deeper, of course). If it were possible, the whole schema of synchronization structure would worth nothing. Suppose, a thread holds a semaphore or a mutex by being sure that no other thread grabs it from itself... And what would happen if this were possible..?
--
=====
Arman
|
|
|
|
|
while (WaitForSingleObject(handle, 0) == WAIT_OBJECT_0);
(Assuming handle is the semaphore handle)
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
Hi all,
Please point me to any demo project which captures audio from any device e.g mike,etc and able to hear the captured audio using DiectShow.There are many examples but all are of video capture and display using DirectShow.
Thanks and Regards,
Mayank
|
|
|
|
|
The same principles apply to audio.
The difference is in the filters used. For capturing the audio from a device you can use the
Audio Capture Filter. For rendering (playing) the audio you can use the Audio Renderer (WaveOut)
Filter.
The "AudioCap Sample" included with the SDK is a good place to start
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I have a program with threads and a class. In class i have a treeview , but i can't update it from thread.
<br />
foreach(DirectoryInfo d in dir.GetDirectories("*.*"))<br />
{<br />
TreeNode new_node = new TreeNode(d.Name);<br />
nods.Nodes.Add(new_node);<br />
}<br />
Error:
Action being performed on this control is being called from the wrong thread. Marshal to the correct thread using Control.Invoke or Control.BeginInvoke to perform this action. at nods.Nodes.Add(new_node);
Help me!!!
Please excuse my english
|
|
|
|
|
Looks like you are getting bit by .NET's UI/Treading implementation/restrictions... Too bad this is not a .NET forum. :P
(Tip: try the C# forum for C# issues...)
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
suntromantralalalala wrote: foreach(DirectoryInfo d in dir.GetDirectories("*.*"))
Does your question about C++?
|
|
|
|
|
suntromantralalalala wrote: foreach
foreach? What is this "foreach"?
In C++ we use manly "for" loops (Just kidding C# people, geez!)
Try the C# board[^]
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I think we need to foreach on the c++ I think its very powerful.
|
|
|
|
|
I want to embed an IE window as a child window of my dilog,but when the user open a linker,the new page would not open in the real IE,but in my embeded child window.
Thanks
|
|
|
|
|
You can capture link-based events (it may be as easy as handing the Navigate and similar events) to enforce their behavior. For example, you can cancel them, force them into a new window, or force them into a specific window. IIRC, there is a target parameter that specifies the intended target for the link.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
|
Hi...
I think ur problem may solve by Using the IWebBrowser2 Interface.
The secret of life is not enjoyment
but education through experience.
- Swami Vivekananda.
|
|
|
|
|
Thanks.I will try to learn such things
|
|
|
|
|
Hi All,
In my application I have a button with an Icon. I load the icon on the button using the LoadImage API and then SetIcon(). The button does not have it's owner draw property set to true, only it's Icon Property is set to true. When the user hovers the button with the mouse a tool tip is shown. The problem is that, the tooltip is only shown when the icon is shown in the disabled state. When the icon is in the enabled state the tooltip is seen only if the mouse is hovering on the corner of the button.
Can anyone help or provide some ideas on how to show the Tooptip when the user is hovering over the button with an icon?
PS: I am not allowed to subclass the button control Atleast by adding a new class to the application's code base.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
This does not sound like standard button behavior to me. I would be interested to know how the tooltips are implemented. Is the tooltip control having events passed to it, or is it hooking/subclassing the button control itself (TTF_SUBCLASS )?
I have done icon buttons like this many times with tooltips and never had a problem like you are describing, other than when the button is disabled, the tooltip is not normally shown. So I think some special tooltip handling is being done which is broken.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
The tool tips are being implemented by passing the events.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
See this[^] thread does helpful?
|
|
|
|
|
can anybody help to plot Graph on Notepad using VC++ 6.
There Is Nothing Right Or Wrong
|
|
|
|