cookies in winforms
I want to save user name and password in a cookie.mine is a win forms application.Please advice how can we do this. Thanks ...
I want to save user name and password in a cookie.mine is a win forms application.Please advice how can we do this. Thanks ...
Hi, I am trying to run some UI tests as part of the build. I am using Application.OpenForms property to find custom dialog boxes, and it works fine if I run the tests manually. However, this property doesn't contain these forms when I run the same tests as part of the automated build (so it runs as a child process of a windows service an...
I want to create windows application in c# 2008. The problem is I don't have enough knowledge about this. Can anybody give me some links to study about writing codes in C# specially for windows application? I would like to read tutorials about windows applications. ...
I want to get occurence count of selected text in WebBrowser Control ...
hi, i was wondering if when using the datagridview control you can remove the thing that looks like a column before the 1st column. I think its used to select rows but not sure what its called. there is an image of what i am talking about here... http://rapidshare.com/files/274669676/dgv.png.html Thanks! ...
How can I check if a Win32 Window pointer is a valid .Net Control? ...
How can I get the accessible name using win32 from c#? (the accessible name was set using the standard win form designer) ...
I have a text box with a certain width and a string. How do I know how many characters fit from the end of the string until the end of the line? ...
I tagged this with C# because that's what I'm working with. Might be true in VB, too. Doesn't really matter for me wiht this project, though. Apologies in advance for the wordy-ness. If any one would prefer, I have a small project I mocked up to isolate this very weird behavior. To observe: 1) Create a simple windows form project 2) ...
I'm trying to create User Control which will work like a rich button. It's supposed to have an effect on hover - I turn border on on MouseEnter and off again at MouseLeave. BUT, when I hover over label in my control, it fires Control.MouseLeave. Is there any way to prevent this? ...
I have a form that is closed unexpectedly immediately after showing it. I hooked all the usual events that occur when a form is closed, but none of it is fired (including Closed, Closing, FormClosed, FormClosing, VisibleChanged, Disposed). How can that happen? What can cause a form to disappear without any of the mentioned events firing?...
I am currently developing an application in which I want to display a UserControl inside a context menu. I was able to (somewhat achieve this using ToolStripControlHost). Shown in (NumericUpDownToolStripItem code): below is code for the object (written in VC++.net 2.0). Note: There are semi-similar SO questions on this, but none seem ...
I am considering using ClickOnce for a legacy Windows Forms application. I have several questions related to ClickOnce itself. Does a user need administrative privelages to install the ClickOnce application? Can the ClickOnce application access the local file system? When does an end-user experience security prompts? Can the applicatio...
I have created a simple table and i need to position. does anyone have experience with tables in itextsharp? here's my code Private Sub generate_PDF() Directory.SetCurrentDirectory("C:\Users\alexluvsdanielle\Desktop\") Console.WriteLine("Chapter 6 example 1: Adding a Wmf, Gif, Jpeg and Png-file using urls") Dim document ...
Hello Everyone: I have a winforms (VB 2008) based app that I'm developing and I want to use custom roles for user access. Application Layout: I have a Main form that opens a login form when certain actions occur. The Login form intern uses an authentication class that I've created, to authenticate users and set access rights. On my...
My App displays English, Japanese and Chinese characters on a TextBox and a LinkLabel. Currently, I check if there are unicode characters and change the font to MS Mincho or else leave it in Tahoma. Now MS Mincho displays Japanese properly, but for Chinese I have to use Sim Sun. How can I distinguish between the two? How can I ensure t...
Ok I'm creating an application with a plugin architecture and the application would be able to run without a GUI in other words the GUI is really optional... and if the user decides to use the GUI the console is just hidden. I can create the form in the console by calling one of the plugins method, but as soon the Window is created the ...
Is there any way to cancel a RadioButton or CheckBox's change in state before it changes? I was hoping for a simple event like CheckedChanging or BeforeCheckedChange. I really want to avoid listening for mouse clicks and key presses. But if you know of a proven reliable way of using mouse clicks and key presses, please explain it. I'm...
How can i easily catch the "mouse down" events of all the controls in a form, without manually subscribing to each and every event? (C#) Something like the "KeyPreview" feature, but for the mouse events. ...
Hello, Is it possible to display a label vertically in a winform ? ...