-
- Error Code: 0x80070643
by The WB
- 14 Replies
- Last post
by rossmac1
- I have tried to install Windows and Office updates utilizing the Automatic installation tool; but, the initialization takes place and none of the updates are intalled.
I ran WinDoctor and I am told that I am missing file "ORUN32.exe" and it cannot access "learn32.dll" and "pctree32.dll". I have searched my computer and found the orun32 and pctree32 files but not th
-
- checkbox without the box
by treitmey
- 4 Replies
- Last post
by element109
- This is my first question, please be gentle
I have a custom checkbox that puts a dot like a radiobutton.
Right now I have the dot overlaid on top of the existing checkbox.
But I don't really need the checkbox,.. how can I get rid of it
This is my code:
-
- beginner question
by zivpeleg
- 6 Replies
- Last post
by Dav? S. A???????
- Hi. I have just began writing code in C# and tried to write my first app as sort of training.
It's a game where the computer chooses 4 colors and the player needs to guess them. my problem is in the place the player changes the color of the ball.
private void pictureBox4_Click( object sender, EventArgs e)
{
// http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1083842&S
-
- How to handle administrator mode of an application
by Blast
- 2 Replies
- Last post
by Blast
- Hi,
I'm developing winforms apps and I was wondering if anyone had any insight on writing a winform who has a 90% base functionality but 10% is different based on the type of login. The login can be either determined by windows login or sql login.
For example, perhaps if you are an administrator you can update certain data or have additional UI elements. Is it best to create a whole
-
- change button text after click
by Fish_Z
- 9 Replies
- Last post
by Fish_Z
- hay there, i need a little help with VB studio to create a windows app, currently have 2 issues. 1. how can i change a button text after its clicked. ie. showing "Run" now, and i want it to show "Stop" after the user click on it. 2. for some reason, the app looks fine on my computer, but somehow, when the app.exe runs on another computer, the size looks all weird, the button
-
- DataGridViewCheckBoxCell problem
by Bibek
- 5 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hello
I am using DataGridViewCheckBoxCell in datagridview. When i check and uncheck the particular column, the column is marked as checked.
The code used is as
foreach ( DataGridViewRow row in dgOrders.Rows)
{
DataGridViewCheckBoxCell include = ( DataGridViewCheckBoxCell )row.Cells[ "Select" ];
if (include != null && include.Value != null ) //if che
-
- How to use PassThru sample in DDK for packet filtering based on IP address ??
by Roxy_
- 0 Replies
- Last post
by Roxy_
- Hi all, i want to use the PassThru sample in DDK for filtering packets based on their IP address. And depending on their IP address these packets shud be sent to underlaying NICs. What modifications shud i make to the existing code of PassThru Where can I find a samlpe code for this Thanx
-
- How To: Know control needs repainting
by wirol
- 4 Replies
- Last post
by Guang-Ming Bian - MSFT
- Hi guys,
I want to draw an error icon in controls like textbox, combobox. When user type in, error icon will be hidden. After user leave that control, I wanna redraw that error icon. The same concept like cell error icon. So how can I know that I need to redraw my error icon I don't wanna inherit any controls. I just wanna put some handling code in the program.
Following events can't use for
-
- Special characters in form text - possible or not?
by FCC#
- 5 Replies
- Last post
by FCC#
- Hi,
Is it possible to put a special character (in my case, trademark symbol) in the form text(header)
Thanks.
-
- Deploying WinForms on a Network and updates
by Row
- 2 Replies
- Last post
by Row
- Hi. I searched and read the previous discussions on deployment. Several people pointed out Click-Once and others pointed to an Updater Component
http://windowsclient.net/articles//appupdater.aspx .
Those are fascinating articles but my situation is a little different. I am developing an application that can only be used internally off our intranet. Given that, we decided to host the appl
-
- How do i retrieve the window ref from a handle?
by TheCoder577071
- 10 Replies
- Last post
by Peter Ritchie
- How would i get a control from a handle i need this because FindWindow returns the Handle of the window (which is almost stupid, since it has to access the window then do windowname.Handle to return it. I just want the window!) I have googled for like an hour straight on this and found nothing! how on earth do i get a direct reference to an already open window that i only have a handle for (i.e. '
-
- Passing Data From Main UI Form to ProgressBar Form
by Nitsua
- 2 Replies
- Last post
by Peter Ritchie
- Hey Everyone, I am trying to create a progress bar that runs in another form that displays progress data (progress bar and label) about the process that is being ran in the UI form. Below is a simplified version of what my code in the main UI form looks like right now:
Code Block
private void ProcessStartButton_Click( object sender, EventArgs e)
{
Process();
{
-
- Capture Enter-Event on Treenode
by swingme
- 4 Replies
- Last post
by swingme
- Hallo, I want to display a dialog when i press enter on the treenode. It works . But when the dialog is displayed and i want to leave the dialog again with enter, the dialog gets again displayed instead of getting closed. When i press enter with dialog open, the treenode is selected even though the focus is on the dialog and this causes the dialog to be dispalyed again... Am i wrong using the KeyP
-
- Show images on the form and send it to new form.
by Nadeem Alvi
- 13 Replies
- Last post
by DEYADAV
- Hello, I have 1 windows form ShowImages" where i want to display images from the folder. Which control should i use to display it in smaller size in line on the form. Now on the same form i have 1 combo box with display setting as this 1x1 2x2 3x3. so let say if i select 2x2. then when i goto form "ImagePlayer" it has << and >> buttons. This page will display 2 images.
-
- Look and feel
by Alexei_shk
- 1 Replies
- Last post
by BinaryCoder
- Hi,
I am using .Net 1.1. How can I set look and feel to my application
Thank's
Alexei
-
- A timer .. no I jsut need to pause for X
by kcdclan
- 6 Replies
- Last post
by Bruno_1
- I don't get how I can pause with a timer. I know how to use a timer a little. But I gess I don't really udnerstand them. Therefor I have like 3 on my program right now becasue i dont get how to pause. My code looks sorda like this.
private void timer3_Tick_1( object sender, EventArgs e)
{
label13.Text = "1" ;
int i;
mshtml. HTMLDocument obj;
obj = (mshtml. H
-
- Newbie: Data app tutorial
by Yahya
- 2 Replies
- Last post
by Gavin Jin - MSFT
- Hi
Could someone please recommend a good tutorial on how to build a one-many data app (many part using data gridview) in v52005
Thanks
Regards
-
- show tooltip on a toolstripbutton
by shimshon
- 5 Replies
- Last post
by BrenoM
- hi all.
how can i set a tooltip, from a tooltip control on a ToolStripButton
the SetToolTip method expect a Control, but the ToolStripButton isn't a control...
-
- Deployment project doesn't use correct icon under Vista
by Daniel Rieck
- 2 Replies
- Last post
by Daniel Rieck
- I have created a special Vista icon for my application, containing a 256x256 version (along with 16x16 and 32x32 versions). When I manually create a new shortcut under Vista, and assign that icon, the correct high-res image is used.
But if I use a deployment project, and it creates a shortcut on the desktop, the 32x32 version of the icon is used. When I edit that shortcut manually and point it
-
- how to add value and string to listbox
by XeonYK
- 1 Replies
- Last post
by Kusala
- i have one class (Example class C)
C c = new C();
i only want to add c object, i can use listbox1.items.add(c);
but i want not only add c object into listbox, but string to. So in the listbox show the string (Example : try 1) when i click on the selected item in the listbox i can get the c object.
thank for your answer... :)
-
- My deployed program's right click properties doesn't show Description, File Version, Product Version, Product name, etc.
by starman89
- 5 Replies
- Last post
by Miguel Sevilla
- I'm using VS2005 Standard (not academic). I created a Setup project for my simple Win32 app. In my Setup project "Deployment Project Properties", I filled out all of these things, like Description, Manufacturer, Product Name, Subject, URL and Version.
The project installs my application on Windows XP SP2 and Vista 32 just fine. But I noticed that when I right click on the executa
-
- Why does the ClickOnce 'Install' button generate an xml page instead of starting download?
by jason duncan
- 14 Replies
- Last post
by Anthony DeSouza
- Hello,
I just published my application for ClickOnce deployment to my web site. When I click on the Install button on the publish\publish.htm page on my website, the browser returns the contents of an xml file and does not start the download. Does anyone know what might be causing this
Any help or suggestions would be greatly appreciated.
Thanks! Jason
-
- How to update the editing status of a Control in a DesignSurface?
by Bob Lan
- 2 Replies
- Last post
by Bob Lan
- In a DesignSurface, we can update the Controls using code like this:
Code Snippet
UserControl designedControl = (UserControl)designerSurface.ComponentContainer.Components[0];
Label label1 = (Label)designedControl.Controls[0];
label1.Text = "New Text";
The Label is displayed the new Text on the DesignSurface, however when I call:
Code Snippet codeD
-
- DataGridComboboxcolumn with different value each row
by tom85
- 0 Replies
- Last post
by tom85
- Hello! I have the following problem... I made a Datatable with the following columns company1 company2 adressbook1 adressbook2 There is a combobox for each one. If I select a company in the company1combobox, then the adresses of companyemployess should appear in adressbook1combobox... same with company2 and adressbook2. There are many rows like this i read an article (in the faq) how to do the cha
-
- Winforms Exceptions - Exception Handling Application Block
by Travis Ingram
- 0 Replies
- Last post
by Travis Ingram
- Hello, I am wanting to integrate the Exception Handling Application Block into a three tier (presentation layer, business layer, data layer) Winforms and I have a few queries on best practice :-
1) The code has been structured so that all "warnings" are caught within the code - i.e. there is no reliance on say user input resulting in a catch block being executed - therefore anythi