-
- Specify .NET framework version
by salispahic
- 3 Replies
- Last post
by salispahic
- Hi everyone,
I have a windows forms component hosted inside IE, like you would do with an ActiveX, which is talknig with the web service. It was built for Framework 1.0 and it was working superfine. However, my client had to put .NET framework 2.0 on the client machine, and now I am having problems, because it will try to run under 2.0 and I get the "Request Failed 407 Proxy Access Den
-
- Scrollbar Autoscroll problem
by Holm76
- 2 Replies
- Last post
by Holm76
- Hi there
I have a panel (ScrollPanel) with Autoscroll set to true. On the ScrollPanel I add another panel (ContentPanel) and write some code that makes ContentPanel have the same width as the ScrollPanel - 2 and - 19 depending on wether the vertical scrollbar is showing or not. That works as intended.
The problem is with my horizontal scrollbar. Because I adjust the width of the ContentPanel
-
- Error during form closing event
by mommi
- 3 Replies
- Last post
by mommi
- This is the situation.
In my Main Form cosing event, I create a new form (also note, that I call ShowDialog() for it) which starts a backgroundworker to backup the local database. After that is done, I let the application continue closing down.
All is dandy fine, as long as the application is closed from the X on the top right corner or from my main menu Exit button. The last one simply calls
-
- Painting Problem , That's is Wierd !!!!!!!!
by Pr.wa'el
- 2 Replies
- Last post
by Pr.wa'el
- Hi. I have weird problem . I have a windows Form with no border ( FormBorderStyle = None ; ) .
Then i draw Form border in Paint method as following : -
Code Block
Private Sub PaintBorder( ByVal sender As Object , ByVal e As PaintEventArgs)
Dim l_LeftTitle As Rectangle = New Rectangle(0, 0, ( Me .Width / 2), 22)
Dim l_RightTitle As R
-
- Scrolling Question
by Randy Stillwagon
- 0 Replies
- Last post
by Randy Stillwagon
- Note: Please disregard the following question. e.Graphics.TranslateTransform resolved the problem.
When drawing graphics on a form that extend beyond the limits of the display should I use the auto scroll properties of the form or add a vertical scroll control to the form and program the scroll bar to control painting of the graphics
Using the auto scroll properties of the form d
-
- Update exception
by shannanicole
- 1 Replies
- Last post
by Ken Tucker
- I am trying to modify/update a record in Access using VB.net but when I run the Form I am getting a Invalid Operation Exception at the tableadapter.update statement.
Here is my code: (I an a very new user so please bear with me)
Public Class UpdateBookForm
Private Sub UpdateBookForm_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load
-
- How to save/load data type to a file
by DVAz
- 4 Replies
- Last post
by DVAz
- This is more of a design question, but i am not very familiar with the C# language. Anyways, this is what i want to do. I have a checkedListbox, and byte myByte and a Que myQue. a1 a2 a3 a4 etc depending if a1...a8 is checked or not, i toggle a bit on / off in myByte. So far so good. The form has a SEND button and QUEUE button. Send sends the byte over via SeriaPort. This is easy. My problems sta
-
- setting superscript and subscript text in a rich text box
by karimelias
- 4 Replies
- Last post
by karimelias
- How can I programmatically set a character into superscript or subscript in a system.Windows.RichTextBox I control, I can easly type it in using the same way I do in Word, but there doesn't seem to be a way to do it programmatically.
-
- Launch Condition to Check for Windows Vista
by Vivekananda
- 2 Replies
- Last post
by Vivekananda
- Hi!
How can I check if the users machine has Vista installed on it during a setup process
-
- Win form ¨C Loaded User Control Communication
by ricc
- 5 Replies
- Last post
by Bob zhu - MSFT
- Hi,
I have a win form (VS2005 C#) that loads a usercontrol:
//on winform:
Control c = null ;
c = new MyUserControl1();
c.Dock = DockStyle .Fill;
panel1.Controls.Add(c);
On my user control (uc1.cs) I have a button when clicked I want this button to cause the main winform to unload the first user control and load a second user control
-
- How do you bypass cells in a "DataGridView"
by Larry Smith
- 2 Replies
- Last post
by Larry Smith 999999
- Hi there,
Does anyone know if it's possible to prevent a user from entering a particular "DataGridView" cell. I simply want to redirect them into the next available cell but nothing I try works. Setting the "CurrentCell" property for instance causes no end of problems. If I call it in a "CellEnter" handler I get the error "Operation is not valid because it res
-
- can i make a setup.exe file from my project
by maxicream
- 9 Replies
- Last post
by pkr2000
- i want to run my project on another computer by setup with setup.exe , how can i do my project include sql database and analysis services database. thanks for your help.
-
- How to allow the user to create a combo box at runtime and save it.
by EagleWing
- 1 Replies
- Last post
by EagleWing
- I'm sorry for posting on this issue before but I think I put it in the wrong forum category last time .
Hello I'm kind of new and am working on a kind of complicated idea so bear with me. What I want to do is to allow the end user to create a custom combo box with there own items at runtime. I have a column (in a sql data table named "TableAutoNoteVariable") for the "Name&qu
-
- Cannot catch WM_CONTEXTMENU or WM_RBUTTONDOWN in ComboBox WndProc
by dyowee
- 1 Replies
- Last post
by Mick Doherty
- Good day!
I'm trying to handle the WM_CONTEXTMENU or WM_RBUTTONDOWN in my class that derives from ComboBox, but the problem is that I need to do the mouse click on the dropdown button for the event to be raised. If I click on the editable portion of the combobox, nothing happens. I hope you can enlighten me on this one. =) Thanks!
-
- Shortcuts: Program menu has no target (desktop does!)
by Camitz
- 3 Replies
- Last post
by Camitz
- Kinda wierd. I'm doing the same thing. I have Visual Studio 2005. I create a shortcut in User's Desktop with Primary Output as the target. I do the same in a subfolder of User's Programs Menu. After install the former works. The latter will have blank target.
Please help me clear this up.
Martin
-
- Updating a specific row in a column
by reneboy
- 1 Replies
- Last post
by Shah Sahil
- I am trying to build sign in/sign out database. I built the sign in form to store name, company and sign in time into table1. I then built another form for sign out.
In the sign out form, i have one combo box, combo0, that looks at the names in table 1 and shows that as a drop down. The next box is text box, text1, that looks at column 1 from the drop down combo0 and s
-
- (vb) asp.net validation
by flerida
- 3 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I am writing a window form using (vb) asp.net, I have to validate two textboxes that when the user enter the passwords and both passwords are correct the form will display a welcome label; if the passwords are not correct; both textboxes will automatically clear and tell the user that the passwords did not match. I have the form working correct if the passwords
-
- help in launching application from the desktop icon
by Gurpreet_Sodhi_69db48
- 3 Replies
- Last post
by gurpreet1986
- hi there , here is a prob. i m facing and its urgent i have created a setup for my gui app. and from the User's Desktop option in my setup project i created a shortcut for my desktop and similarly for programs menu too also from the properties of my shortcut i changed the target to application folder now my problem is when i install my application an icon does get created on the desktop but on cl
-
- Multi-page printing of a DataGridView table
by Kumar Venkat
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I have been using a DataGridView control (in unbound mode) to display results from my program in a tabular form. I also need to print this table sometimes, and I have been using the following code to do it. Sometimes the table becomes fairly long and the user needs to scroll the DataGridView control in order to view the whole table on screen.
The problem I am having is this: How do I now print
-
- GUI like windows media center and games GUIs
by Rollercoaster
- 14 Replies
- Last post
by Rollercoaster
- hi friends i want to design a simple user interface like the ones in windows media center and all the games. how do i go about it.i have no idea.some pointers please. i dont want game programming etc just the user interface option.
-
- Using global variables to keep original items in a listbox in C#??
by knji
- 3 Replies
- Last post
by Brendan Grant
- Newbie help needed. I want to be able able to reset the original list of items in a ListBox, after a user clicks on a button. What is the recommended way to do this I am defining a global static ListBox[] InitialListBoxes; and have tried to initialize this array within the constructor, after InitializeComponent(); like so LInitialListBoxes = {this.ControllerBoardLB, this.IntegratedIOBoardLB,
-
- binding text box to a database data source
by NubNub
- 1 Replies
- Last post
by Gavin Jin - MSFT
- hello
is it possible to to bind a single field from a database table to a textbox.
I am trying to open a web form with five textboxes on it. When it loads is it possible to have the textboxes filled with a different field from a single row in a database, which has been selected using a sql statment.
Could i hold the row in a data set then access each field in turn reading the value to
-
- Private Message Queue is locked, unknown reason
by BubbaRichard
- 2 Replies
- Last post
by BubbaRichard
- I've inherited a project.
It was working fine until last week when a message in the message queue was corrupted, don't know why but it has an invalid character in it and the dataset that it is loaded by throws a fit. Also I can no longer get to the message queue, it is a private message queue and the GetAllMessages() function returns 'access denied or queue does not exist' or something&nb
-
- VS2005 Deployment installs files in drive root and not programfiles
by SLA KPC
- 13 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi
Using Visual Studio 2005 for creating a very simple installer project, i have run in to the following problem:
When i run the msi package it installs the files that was supposed to go into the "[ProgramFilesFolder][Manufacturer]\[ProductName]" folder in the root of the C drive! it doesn't even create the myapp folder there but installs the files as:
c:\fileone.txt
-
- Open form asynchronosly with reportviewer?
by Luis Esteban Valencia Mu&a
- 5 Replies
- Last post
by Ronald Ricardo Ramirez Moran
- Hello I have a form that is mdi container, I drop a menuitem, when I click the menuitem it opens another form which has a reportviewer control, this reportviewer is bind to a report, but that report takes some seconds to load the parametes and it locks both forms, is possible to open it while its still loading the report viewer
How can I achieve this with c#
the only code I have in t