-
- ClickOnce exprired certificate fixed...not.
by Scott Ha
- 14 Replies
- Last post
by Avinash J Rai
- Hi All, I've had a look at http://support.microsoft.com/Default.aspx kbid=925521 for the "solution" to expired ClickOnce certificates, and I can't get it to work. I've followed the instructions carefully, and went to compile, and it failed with 13 errors, heres the first one: Error 1 error LNK2019: unresolved external symbol __imp__CryptMemAlloc@4 referenced in function "void __cdecl ReadPFXFile(w
-
- Custom UI Controls
by Azurewrath
- 9 Replies
- Last post
by Azurewrath
- Hi,
Is it possible to make interfaces like this: http://www.creativecow.net/articles/abdel-basset_ayman/selective_color/diamond_keyer.jpg
Basically I am wondering if you can do it by implementing custom painting events or implementing your own controls
What I am interested in the image mostly, is buttons, sliders, tabs (Basic, Output), and labels (Tolerance, Softness).
-
- Docking and anchoring in MDI form
by Gurdeep Toor
- 0 Replies
- Last post
by Gurdeep Toor
- Hi
I am developing windows vb.net application... using several windows contorls including datagridview... In one the forms the datagridview appears in the middle of the form and cant dock it in bottom or Top of the form.... How can i set the anchoring and docking so that the grid should fill all the space in the middle when form resize..... Also Is there any good example of MDI forms...
Than
-
- How can we achieve Scroll lock type functionality in text box Or Richtextbox (c#)
by sharadg
- 6 Replies
- Last post
by sharadg
- I have a multiline textbox/RTB where text is appended every 20 ms. I want to copy some text in between and see what i have received. But whenever I click on RTB, It scrolls to down and I am not able to copy related text. So How can I achieve scroll lock functionality. I want the same behaviour as dot net IDE output window where text keeps on appending but whenever we want to copy it allows us to d
-
- Maxmized MDIChild form
by Eric Chow
- 3 Replies
- Last post
by Erasure
- Hello, How can I maximize the MDIChild form when open them I tried to set the WindowState to Maxmized, but it seems not work. How can I force it to maxmized Best regards, Eric
-
- Deploying Framework 1.1 with SP1 using deployment project in VS2003
by RizwanShk
- 2 Replies
- Last post
by RizwanShk
- Hi,
I have a windows deployment project where i am using bootstrapper to install framework 1.1 automatically. But now i want to include SP1 installation with framework 1.1 installation. Is there a way i can include SP1 in the installation which detects and installs it automatically or is there any bootstrapper available which includes framework 1.1 and SP1
I can add SP1 installation
-
- A different MSI/Vista/UAC/2869 problem
by Eugene Gershtein
- 1 Replies
- Last post
by Matt Smith MSFT
- There appears to be lots of information on the web about working around the "Error 2869" problem by setting the NoImpersonate bit in the MSI file. We tried this solution for our application, and while it did get rid of the 2869 problem, it created a new problem for us.
We're using a custom action on Commit to launch our application at the end of the install, using System.Diganotic
-
- Can't Clear ComboBox Items for Next Iteration
by Hadi6384
- 2 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I want to insert new items into my ComboBox after loop Iteration (Foreach). But when the Iteration is done,
the previous items are still there and the new ones aren't inserted. Im reading values to be inserted as
ComboBox's items directly from my DataTables. I have the same problem with ListBoxes as well. I have two
corresponding ListBoxes on a form. One Lists the patients dis
-
- DataGrid and DataGridView issue?
by Andrew McFall III
- 3 Replies
- Last post
by cobaltsoft
- I am trying to use either a DataGrid or a DataGridView to list records that could later be edited through the click even of a row.
My problem is this: while I am developing, I have to basically re-create the control by editing the designer generated code if changes are made to the control after compiling the app. Is there a way to get around this, or am I doing something wrong
-
- Getting the path to where the program exe file is?
by Speedie
- 3 Replies
- Last post
by Speedie
- I was using * Path.GetFullPath(...) but my understanding of this is that this doesn't necessarily go to where the exe file is executed. If a file dialog is used to save something, or open a file, this becomes the path. I need to know where the program exe is executed from as i need to load to a relative folder from that location. C:\Program Files\My program\my.exe Need to open C:\Program Files\My
-
- Threadsafe calls for a dialog messagebox?
by Snixtor
- 9 Replies
- Last post
by nobugz
- I'm having a bit of trouble making thread-safe calls on a Form I've written for use as a dialog. Basicly the form I've written is for display printing progress. The user chooses a bunch of documents to print on the "PrintForm", and then "PrintProgressForm" is displayed as a dialog of the PrintForm. Within the PrintProgressForm I want to occasionally display a message box indica
-
- reading resource's data in C#
by Jassim Rahma
- 6 Replies
- Last post
by timvw
- when i open the application resources i see three columns, name, value and comments..
how can loop through all and display all the three columns
-
- How to bind a DataGridViewComboBoxColumn?
by vtortola
- 13 Replies
- Last post
by hrubesh
- Hi! I'm trying to add a combobox in my datagridview, but i can't show any value. I have two DataTables, A and B. I want that the DataSource of my DataGridView be A, and the DataSource of the DataGridViewComboBoxColumn be B, so i can select any value from B in any value in A. I try: dvg_variantes.DataSource = A; DataGridViewComboBoxColumn col = new DataGridViewComboBoxColumn(); col.
-
- Resize & Move controls at runtime
by Jay81
- 4 Replies
- Last post
by Jay81
- Hi
I need to make resizable & movable controls at runtime.
I was able to make resizable & movable controls on windows forms at runtime.
But whenever I put controls on the flowlayout panel, they are not resizable & movable anymore.
I was able to move flowlayout panel itself using the code, but not the buttons or other controls within flowlayout panel.
Any ideas
-
- form method Show()
by nikos_22
- 7 Replies
- Last post
by Gavin Jin - MSFT
- I have 2 forms. from the button of form1 i display the form2 Form2 f= new Form2(); f.Show(); How can i check if the form2 is dislayed (or has been closed) , so i dont display twice the form2 when i click again the button.
-
- threading-debugging problem
by vp_aries14
- 5 Replies
- Last post
by nobugz
- I've written a threading program as a window form application in Visual Studio 2005.
It runs fine when run without debugging.
But when run with debugging it throws a cross thread exception.
I would like to have a solution for it.
Also i woulg like to know the difference between running an application with and without debug.
using System;
using System.Collections.Generic;
-
- Handling Tab key in Textbox causes a beep
by JeroGrav
- 1 Replies
- Last post
by JeroGrav
- Hi all
I have an app where I need to handle some of the key presses that .NET would normally handle itself. The main one is the Tab key. I can't just use the TabOrder that .NET uses, so I have to do it myself.
So I override Control.IsInputKey() to force it to pass the Tab key to the Control. Thats all ok. I get the KeyDown events that I want and everything is fine... except for one thing: I
-
- Index of 1st visible character (TextBox)
by ajp141051
- 3 Replies
- Last post
by ajp
- I have been trying to figure out a way to get the index of the first visible character in a text box.
There is a method GetCharIndexFromPosition(Position), to which I've been supplying a new Point(0,0). However, it doesn't always seem to return the index of the first _visible_ character.
If (0,0) is "closer" to the non-visible character with a negative-x position, then the
-
- Install helpprovider problem?
by explode
- 0 Replies
- Last post
by explode
- I made a 'pomoc za program.htm' hlep page with pictures, the pictures are
in 'pomoc za program_files' folder. I set the helpnamespace to that htm file, it
works fine but when I install the program it can't find that file. I imported
the file in the resources folder in VB but I can not import the folder with
pictures.
Is there I way to do this
Help please.
Thank you.
-
- Print ZPL codes to ZEBRA printer using PrintDocument class
by Shughes
- 11 Replies
- Last post
by Fábio
- Is there any way to print to a Zebra Printer using ZPL (EPL2) codes, by derving from the .NET printdocument class If so, is there a way I can preview the output using a printpreview dialog or custom control that will interpret the ZPL codes and display an image of what the final document would look like Please post sample code if you have a solution or partial solution to this problem.
-
- capturing stdout not working properly
by snowsquirrel
- 6 Replies
- Last post
by Friendly Dog
- I want to capture standard out/err from a batch file and display it in my text box.
My solution works, but the output from my program (about 30 lines) is read and displayed all at once, instead of slowly one line at a time, as it does when I run the command from the cmd.exe.
I am pretty sure that I don't have any deadlock issues here.
public void Start( String title, Process process )
-
- printing form - what is the best way
by ricc
- 1 Replies
- Last post
by Bob zhu - MSFT
- Hi,
I have an application at process orders, on my form I have various text boxes and a grid control that lists all of the items within the order. What is the easiest way to preview and print all the order details (including text in the textboxes such as address, names ect and the item grid)
Any ideas or pointers would be great!
Thanks
-
- Hide method doesn't work on program's first execution
by rolandpish
- 4 Replies
- Last post
by rolandpish
- Hi there. In my application I have a main MDI form (called frmMain) and a login form (frmLogin) . frmMain is the main module of my application. I have the following code on frmMain load's event: this.Visible = false; this.Hide(); _frmLogin = new frmLogin(this); _frmLogin.ShowDialog(); When I execute the application for the first time on the current session, frmMain loads but remains visible and th
-
- Graphics.DrawString - clipping and wrapping to the next line
by soconne
- 1 Replies
- Last post
by nobugz
- I'm writing a custom user control for a winforms project in C#. I can't figure out how to use Graphics.DrawString such that if the string is longer than a certain width, it gets wrapped to the next line during drawing. How can this be done
-
- Determine which control was opened the context menu
by Daniel Smith
- 4 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Hi Guys,
I have multiple controls all using the same context menu and I need to be able to determine which control was right clicked on.
I'm able to use the SourceControl property of ContextMenuStrip which works fine when the menu item in the context menu is a top level item. However, if the menu item is in a sub-menu of the context menu, the SourceControl property is always null.