|
nlarson11 wrote: The pool, connections, and transactions to the mainframe are all created/handled in the windows service The Pool , Connection and Transaction are managed .NET classes? If yes, which clients will be using those classes?
The static classes in there will be unique per AppDomain. You can't a static class to share resources among different applications - there's not a static class that's "global" across applications.
A Windows-Service would only be usefull if there's an app that needs to run without user-supervision. It'd be comparable to writing a server-application, and yes, you could communicate with that.
Is there an unmanaged resource that the Pool is protecting? What kind of connection is the user expecting? It "feels" like you're trying to limit database-connections - am I right?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
In C#,How to generate Tree View in List View control with all treeview functionalities.
Jai Deo Tiwari
Bharat-560038
|
|
|
|
|
Why don't you use the TreeView instead of a ListView? Then you would have all TreeView fucntionalities?
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
if i want authenticate the access on my ip address, what do i do?
the ipcamera in its home page has the authentication or as a simple user or as a administrator..
if i use HttpWebRequest i do the access with the credentials, but then i can't view the streaming, i think because the authentication executes every time.. have you a solution?
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Credentials = new NetworkCredential("user", "password");
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
modified 25-Jun-13 8:12am.
|
|
|
|
|
Please edit your message and remove the <big> tags around your text. The standard font size will get your question just as much attention.
Use the best guess
|
|
|
|
|
Nick_Frenk wrote: i think because the authentication executes every time.. have you a solution? I'm not a webprogrammer, but I think you might need to store a "cookie". How about using the WebBrowser component to get to the page? It'd store the cookie on it's own once your logged in.
The WebRequest can do the trick too, but you'd have to dig into the usage of the CookieContainer[^]
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Thanks for your reply, probably you have right..
|
|
|
|
|
hi
i have this error and i don't know how i fix it.
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: windowsformsapplication3.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 51c8d50d
Problem Signature 04: WindowsFormsApplication3
Problem Signature 05: 1.0.0.0
Problem Signature 06: 51c8d50d
Problem Signature 07: 299
Problem Signature 08: 16
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.2.9200.2.0.0.768.101
Locale ID: 1032
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: f3d5
Additional Information 4: f3d5be0cad2787556264647dc02181c3
|
|
|
|
|
zebra88 wrote: System.IO.FileNotFoundException
You would need to find out which file your application is trying to use and is missing and add it to your setup program.
|
|
|
|
|
Make sure you have the right folder structure while installing this program.
A file might be getting missed.
|
|
|
|
|
i think that i have all the files as i have the same project in 2 versions 32bit compiled and 64 bit and the 64 bit version is ok.
|
|
|
|
|
hi
i have a program in c# that when i press button exit it appears
a message box that tell you if you want to exit from the program or not.
But if you press No the program make exit.
private void btnLogout_Click(object sender, EventArgs e)
{
if (MessageBox.Show("are you sure?you want to exit?;","", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
Application.Exit();
}
}
|
|
|
|
|
Not from that code - if I paste it in and hook up the event then it does what I expect. Shows the box, press Yes and it exits. Press No and it doesn't.
Check that you are executing the right code: put a breakpoint on the if line, and see if the debugger hits it.
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
Sometimes when I have an issue like this, I'll break it out. Store the result of the messagebox in a variable and stop at that point. You can see exactly what is happening each step.
What OriginalGriff said is the first step.
|
|
|
|
|
I'm pretty sure that OriginalGriff knew this. You replied to OG, and not to the OP - who won't be notified that there's been a reply to a reply.
|
|
|
|
|
the debugger does not hit anywhere and still working with strange way.
|
|
|
|
|
Then you need to start by looking at the button you press in the designer, and see where a click event is taking you. Because if the debugger isn't hitting the if condition, then it isn't executing that method...
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
Is that btnLogout also the CancelButton of your form?
|
|
|
|
|
yes i had set it as cancel button simultaneously.
|
|
|
|
|
Then you must handle the Form Closing event, and set its Cancel property to true in case you do not want to close the form (in btnLogout_Click just do a this.Close()).
|
|
|
|
|
for the use that i want it i just make none the cancel button property that has the logout_click button
so i use only the command application.exit();
and when i press button logout and in messagebox NO then it stay in the form that i am at the same time
|
|
|
|
|
In his table with 1 column named 'Picture', Image data type, when you save the image successfully, but when the XTraReport intelligent display shows only the string column, but do not show columns Picture is, I wrote the following code to help you with you know, okay thanks in advance.
xrPictureBox1.DataBindings.Add("Image", DataSource, "Picture");
|
|
|
|
|
Who is this aimed at? Is this meant to be a question? I can't tell because there seems to be a lot of confusion there.
If it's a question about displaying pictures in XTraReport, the DevXpress forums will be your best source for an answer. Try looking here[^] and entering XTraReport Picture as your search criteria.
|
|
|
|
|
Me non not as a, helps me with, me to do.
|
|
|
|
|
What? I appreciate that English isn't your first language, but that sentence makes no sense to me.
|
|
|
|