Found 20 threads
-
9 Votes
Removing the focus rectangle from a flat button when the form itself does not have focus
I have a windows forms app that has some flat, borderless buttons, and I noticed that while the focus rectangle does not appear when the window has focus, as soon as another window has focus, but my ...Answered | 9 Replies | 37810 Views | Created by Chris Bardon - Thursday, April 16, 2009 7:39 PM | Last reply by Ipepot - Tuesday, February 25, 2020 2:11 AM -
0 Votes
Adding a Rectangle object to a Panel
I was able to add a button/label to a Panel like this; this.panel1.Controls.Add(this.button1);this.panel1.Controls.Add(this.label11); this works..OK!! But, what I ...Answered | 7 Replies | 18534 Views | Created by ugp - Friday, May 25, 2007 1:37 PM | Last reply by Maurin den Ouden - Thursday, January 23, 2020 8:05 AM -
2 Votes
regasm and the codebase switch
Hello, I'm using regasm with the codebase switch. I get this warning: RegAsm warning: registering an unasigned ...Answered | 4 Replies | 26776 Views | Created by Robert Brawn - Thursday, April 24, 2008 7:53 PM | Last reply by mountson - Wednesday, December 18, 2019 5:51 AM -
12 Votes
The type or namespace name 'Resources' does not exist in the namespace 'xxxxx.xxxx.Properties' (are you missing an assembly reference?)
I am using VS 2008 on an existing project that was converted from VS2005 long time ago. The project uses some *.Gif, *.bmp, etc.. files that was imported long before the ...Answered | 9 Replies | 45016 Views | Created by David N_2 - Wednesday, August 13, 2008 5:19 AM | Last reply by Mangesh S. Deshmukh - Monday, December 2, 2019 4:02 AM -
0 Votes
how to specify assembly version when using codedom to compile source code files
Howdy, How does one specify the assembly version when using codedom to compile a series of c# source files? I am new to codedom technology so the answer is ...Answered | 10 Replies | 15706 Views | Created by adantemoo - Thursday, May 21, 2009 6:08 AM | Last reply by Momoro - CEO, Founder - Monday, November 18, 2019 8:36 PM -
2 Votes
How to use AssemblyInfo.cpp
What is the AssemblyInfo.cpp file for? I though it was to set information about the exe file like Author, Company ...Answered | 5 Replies | 25914 Views | Created by PawelM - Saturday, September 5, 2009 12:14 PM | Last reply by CustomCNC - Wednesday, November 6, 2019 3:29 PM -
3 Votes
c1xx : fatal error C1027: Inconsistent values for /Ym between creation and use of precompiled header
I'm trying to port C++ applications that built with VS 2005 to VS 2008. I'm using a build procedure that invokes VS from the command line many times using the devenv command. On my own ...Proposed | 16 Replies | 34768 Views | Created by Jeff Mayo - Thursday, May 22, 2008 4:43 PM | Last reply by EpiKingz - Monday, October 14, 2019 10:07 AM -
1 Votes
Treeview node cropping
Does anyone know how to prevent a Windows.Forms.Treeview node's text being cropped if the node's font size is increased or changed to bold? The text seems to be cut off roughly where the text would ...Answered | 12 Replies | 18235 Views | Created by Puccini - Friday, October 20, 2006 12:47 AM | Last reply by Michael Evenson - Saturday, September 28, 2019 3:37 PM -
8 Votes
CheckedListBox - allow only one item to be selected
Hi, I am using CheckedListBox and I want to allow the user to select only one item in the listbox. I ...Answered | 8 Replies | 65106 Views | Created by IMBack - Monday, April 2, 2007 4:24 PM | Last reply by Kareninstructor - Saturday, August 31, 2019 10:03 AM -
1 Votes
Problem with "Precompiled header file". Need help !!!
------ Rebuild All started: Project: OgreMain, Configuration: Release Win32 ------ 1>Deleting intermediate and output files for project 'OgreMain', configuration 'Release|Win32' ...Answered | 3 Replies | 22182 Views | Created by VangHoaHong - Monday, May 25, 2009 11:30 AM | Last reply by RajeshNegi - Friday, August 30, 2019 12:23 PM -
3 Votes
Getting the list of available serial ports in C++
How do I get the list of available serial ports in C++? I am able to do it in Visual Basic, but I can seem to do it in C++. Got RAM?Answered | 13 Replies | 48539 Views | Created by Brandon110 - Monday, March 9, 2009 8:57 PM | Last reply by MelbourneDeveloper - Wednesday, August 28, 2019 4:59 AM -
1 Votes
How to update edit box instantly??
Hi, I have tried to search through the internet for this issue. Is it possible to display the test instantly after doing the command below in visual c++ ...Answered | 8 Replies | 15495 Views | Created by nomaikai_nomaikai - Thursday, July 10, 2008 11:34 AM | Last reply by Tim Roberts - Tuesday, August 27, 2019 5:00 PM -
1 Votes
Change cursor to waiting
I have found samples online using the System.Windows.Input namespace to change the cursor to a different state but this namespace does not exist on my machine. I'm not sure if it have been removed ...Answered | 15 Replies | 56473 Views | Created by lesnaubr - Tuesday, August 5, 2008 3:58 PM | Last reply by Tom Ruby - Thursday, August 22, 2019 9:17 PM -
0 Votes
ListBox.Refresh Scrolling
Is there anyway I can stop a listbox from scrolling to the top of the list every time I use .Refresh()?Answered | 14 Replies | 13720 Views | Created by w1z8yte - Thursday, October 8, 2009 1:37 AM | Last reply by Robbert dSea - Thursday, August 22, 2019 7:28 AM -
2 Votes
Copy file from SFTP
Hi all, I need to create an application which copies files from SFTP and paste them on my computer. Can anyone please tell me how can I do this. I do not want to use any ...Answered | 13 Replies | 16744 Views | Created by KunalDes - Thursday, May 28, 2009 12:18 PM | Last reply by Chris Daniel 37 - Tuesday, July 23, 2019 11:52 AM -
0 Votes
Expression Expected error in .NET
I am learning vb and I am not understanding what this error means. I have a form "playground" that a ball should bounce in. I have a seperate class "Ball" that ...Answered | 4 Replies | 10183 Views | Created by robee31 - Sunday, November 2, 2008 5:10 PM | Last reply by Windows_Account - Friday, June 28, 2019 4:19 AM -
2 Votes
DataGridView Cell style only works after DataGridView is shown once.
Hi there, I wrote a windows form app with several DataGridView controls on several tabs to display various information. I compare cells and sets some cell font color to red and ...Answered | 14 Replies | 24996 Views | Created by pantoniotti - Friday, April 20, 2007 3:15 PM | Last reply by Kenneth Zhang - Tuesday, June 11, 2019 9:34 AM -
7 Votes
Maximizing the Console Window!?
In the console I need to maximize the window, how do I do that? I understand you may use a function to send a fake key command......!? On ...Answered | 15 Replies | 33378 Views | Created by Sagiy20 - Saturday, August 2, 2008 3:19 PM | Last reply by PerezGuillermo8 - Wednesday, June 5, 2019 1:09 PM -
0 Votes
"The RPC Server Is Unavailable" when executing gethostbyname()
What are the most probable reasons for getting "The RPC Server Is Unavailable" when I execute gethostbyname() ? If I hit continue in the debugger everything appears to work fine. ...Answered | 2 Replies | 10728 Views | Created by VoiParrot - Sunday, July 5, 2009 5:37 PM | Last reply by KVK Consultancy - Thursday, May 30, 2019 8:52 AM -
5 Votes
System Tray icon does not disappear
I have a C# application and placed its icon in the system tray. I've noticed that whenever the application crashes, the icon stays in the system tray. When I move my mouse over ...Proposed | 10 Replies | 22943 Views | Created by GinaK - Friday, July 27, 2007 4:13 PM | Last reply by MrBjornH - Tuesday, May 14, 2019 1:37 PM