-
- Uninstall Custom Action no longer being called
by Sean M.
- 4 Replies
- Last post
by Antonio Ooi
- I have a setup and deployment project that is using custom actions. The custom action is an installer .dll. For some reason the uninstall method isn't being called when uninstalling the msi package anymore. The install method is called correctly on install and the uninstall used to work. Does anyone have any thoughts
-
- picasa2: is it made with windows forms?
by kostas969
- 1 Replies
- Last post
by nobugz
- #toc,
.toc,
.mw-warning
{border:1px solid #aaa;background-color:#f9f9f9;padding:5px;font-size:95%;}
#toc h2,
.toc h2
{display:inline;border:none;padding:0;font-size:100%;font-weight:bold;}
#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle
{text-align:center;}
#toc ul,
.toc ul
{list-style-type:none;list-style-image:none;margin-left:0;padding-left:0;text-align:left;}
#toc
-
- ClickOnce problem
by Amirhj
- 3 Replies
- Last post
by Michael B. Erickson
- When my clickonce offline application start to upgrade to new version I receive the following message. I checked my application on other pc and that is ok. I used mage.exe -cc but my problem still exist.
Thank you all for help
PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscor
-
- GUI and logic design question
by Kommi
- 5 Replies
- Last post
by nobugz
- Design question:
I am from a Java background and have only recently started working with C# .NET. I am currently building a small html editor using WPF, and have a design question that I was hoping someone could help me out with.
There are 2 main parts to the app, the GUI and the logic. For the logic, I have a main class called Editor, and several classes that extend it. For the pu
-
- Text resize on client's computer but not on mine
by w1n4_stary
- 1 Replies
- Last post
by OmegaMan
- Hi all... I get confuse of text resizing problem on my client's computer. Everytime he clicks a drawing button to draw a box, the size of all text in drawing area accidentally change. But when i try it on my computer, everything works fine. Nothing changes... Do you know all the possibilities that cause this difference Thanks b4...
-
- Attaching an Icon to an application
by miscal
- 2 Replies
- Last post
by Gavin Jin - MSFT
- hi,
I added a Setup & Deployment project to my project, an dI'm trying to attach an Icon to the Shortcut I want to be created on the Desktop on the client machine. For some reason - I keep get an error message after I attach the Icon. That's the way I do it:
I create a shortcut to the main output file, located in the application folder. I cut and paste the shortcut to the Desktop on
-
- ClickOnce Fails with "Value does not fall within the expected range."
by Taylor Meek
- 14 Replies
- Last post
by pelazem
- I have a ClickOnce-deployed application installed in offline mode across a range of Windows 2000/XP machines on my network. I now receive an 'Application cannot be started. Contact the application vendor.' error message when I attempt to run the application on my development machine. (It works still on the production machines.) I've run mage -cc, and renamed the '2.0' directory to '2.0x' to ignore
-
- overloading binary operator to work with ctrlInst.Location?
by w0lfshad3
- 4 Replies
- Last post
by w0lfshad3
- I looked over operator overloading examples but i still can't see how can i overload >= for instance to work with ctrlInst1.Location >= ctrlInst2.Location. Anyone has some thoughts
So far derived from Panel and i got an error that sais
One of the parameters of a binary operator must be the containing type ...
after i overloaded >= and <=
-
- resizable window without borders
by EliMLi
- 1 Replies
- Last post
by nobugz
- I have a window where size is changed by dragging a window element. On left mouse button I send a message: PostMessage(WM_NCLBUTTONDOWN, HTTOPLEFT) The problem is that when this window doesn't have a border the above code doesn't work. Is it possible to create a resizable window without borders, or, at least, to make these borders invisible
-
- Bug in NumericUpDown and databinding and Maximum.
by Wout
- 2 Replies
- Last post
by Rong-Chun Zhang - MSFT
- There's a problem with NumericUpDown and databinding and the NumericUpDown's Maximum property. When the property value to which is bound is higher than the Maximum, then the control won't read the value and simply leave the value at zero. Is there a way to intercept/modify the current behavior of the NumericUpDown
Wout
-
- Maximized form
by Kestutis
- 4 Replies
- Last post
by Serguei M
- Hello,
I want to have a startup form which would be always maximized. For that I set WindowState to Maximized and MaximizeBox to false. But my form becomes not maximized if I double click the header of it.
So how to make my form always to be maximized
-
- How can i get desktop's icon's information ?
by ZergaKila
- 10 Replies
- Last post
by Jarek Stachowiak
- Does any one know how to get info about icons on the desktop
I want to get a list of the icons on the desktop
the parameters i need are [Icon Text, Icon Image,icon position on desktop,icon target(a file or my computer or my documents...) ,size, and as much information as possible]
thanks for any help
-
- working with MySQL data bases from windows ODBC connection
by DyngoMan
- 13 Replies
- Last post
by cverdon
- Here's the problem: I've installed the mysql odbc connect (v3.51.12) and I've created a data source connection ...added a DataSource to my project binded the data with a dataGridView and all worked well. My dataGridView fills up with the data from my db. All fine until this point. Now I want to be able to save the changes I make to the data in my dataGridView and update(insert) the data in my data
-
- Moving Things Up in a list box order - Works Sometimes then stops working
by C Johnson
- 3 Replies
- Last post
by Rong-Chun Zhang - MSFT
- I inherited an application from a developer that has since moved on to greener pastures. The application compiled VS2003 Framework 1.1 works fine. She converted the application to VS2005 Framework 3.0 and some items stopped working. Mostof them I have been able to work through but this one item has stumped me.
The application has a list box. Next to the list box are arrows that allow the us
-
- ClickOnce problem with multiple updates without rebooting
by davidkclark
- 7 Replies
- Last post
by Yu Guo ¨C MSFT
- I have a ClickOnce application that has a problem updating automatically on some machines. The problem seems to occur if I do more than one update without rebooting the machine.
This sequence does not work:
Publish version 1.1
Install version 1.1
Publish version 1.2
Update to version 1.2
Publish version 1.3
Update to version 1.3 <- this step fails with a
-
- GUI Unit tests
by Emmanuel91
- 1 Replies
- Last post
by AustinW04
- Hello,
I need to run unit tests against my forms.
1) Do you know a nice tool to run tests in a . Net language so I can run assertions against my controls
2) Is there a way in the .Net Frameworkto make a programatic click
Thanks a lot for your answers.
-
- Resolution Independent Screen Design
by ackid32
- 4 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi, Is there anyway to design my form so that it adjust the controls to the screen resolution.
i heard that some third party controls are available, but im not sure to use the Anchor property. because the
the Textbox is stretched only by width and not height.
thanks
-
- ColumnSpan in Custom Designer
by Vlad Iliescu
- 3 Replies
- Last post
by Vlad Iliescu
- Hello, I'm trying to implement a custom designer, subclassing DesignSurface. I've made it work with a custom Toolbox and PropertyGrid, and everything was peachy. Until, of course, I realized that I needed to be able to customize the ColumnSpan and RowSpan of the controls placed in a TableLayoutPanel. And I can't seem to be able to make those properties appear in the PropertyGrid when a control is
-
- database connectiostring problem
by sunDAC
- 7 Replies
- Last post
by Yu Guo ¨C MSFT
- i am working on microsoft acess database.I want to create coneection string.I know one procedure using udl file.
i have a coneection string as
aConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\\FarmERP\\Data\\FarmERP.mdb;Persist Security Info=True;Jet OLEDB atabase Password=sswww");
Please anyone tell me procedure how can i create this t
-
- PrintPreviewDialog little trouble
by AlexBB
- 7 Replies
- Last post
by AlexBB
- I have this code that performs well except for the fact that I do not have any control over the control. I cannot get anything in the view but the first page. The first page is the only one that is being printed when I click "Print" button. In the numeric upAndDown control in the tool menu I have only one page displayed: 1. I have tried different documents and some of them have more than
-
- MDI Child form cut off on the bottom
by jerrykur
- 3 Replies
- Last post
by jerrykur
- Hi,
I have one application in which MDI child forms are cut off on the bottom. It appears that the form height is 30 pixels shorter than what I specify in the VS. This occurs even with a trival form that has just one label and no code other that what VS generates. Any thoughts
jerry
-
- refreshing datagridview style
by CSharpShooter
- 5 Replies
- Last post
by pepe1234567890
- Hi all,
In my DataGridView it's style is set to having alternative row coloring (Grey & White)... when a method is called it'll colors a number of cells with yellow for instance. Now when I select another item from the ComboBox to populate the grid the yellow color stays on the cells. How do I refresh the DataGrid style again. The grid holds two data sources so one is always there & the
-
- Need to get the .MainWindowHandle
by erikkl2000
- 9 Replies
- Last post
by nobugz
- I am trying to get the mainWindowHandle and store it for later; however, i can not seem to get the handle back from the new process.
Before someone suggest , i will let you know that i have also tried the p.WaitForInputIdle(); however, this not only does not work it will throw and error..
private IntPtr mainHandle = IntPtr .Zero;
private void button1_Click( object sender, Even
-
- datagridview with dateedit column
by venp
- 8 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi,
how to specify a column as dateedit like combo,textbox
thanks
venp--
-
- Fast scroll of a bitmap?
by Matthew Watson
- 14 Replies
- Last post
by Matthew Watson
- Does anyone know a good way of scrolling a Bitmap that is selected into a Graphics object First let me explain my situation - I may be doing things wrong from the start... I'm doing a fairly complicated display (ECG with annotation and selections), and to speed things along I chose to do all the double-buffering myself. Accordingly, I have a Graphics object called _canvas1, which is attached to a