-
- Drag Panel/Image
by Visual C# Novice
- 1 Replies
- Last post
by theblueeyz
- Can someone tell me how to move a panel across the form with the mouse
-
- Catch access to sqlserver database
by kate1p1
- 3 Replies
- Last post
by BonnieB
- I have a web service that logs an error to a sqlserver database.
When I use the service outside the catch (in a win app) it works fine. But, when I have an exception and try to call from within the catch, the service returns a failure and does not log the error in the database. Does anyone know why the second web service call won't log the error.
//this error is logged
ErrorLogSvc
-
- picture box binding
by augustin
- 14 Replies
- Last post
by augustin
- How do you bind images automatically into the picture box just by selecting the data from the combo box
-
- Problem with Web Deployment Project in Web Application Project
by cedubose
- 1 Replies
- Last post
by cedubose
- Hi --
I recently installed the Visual Studio SP1, which includes the new Web Application Project. I had previously downloaded the Web Application Project separately, so I had to deinstall it before installing SP1.
I already had the Web Deployment Project download installed on my computer and have been using it extensively. But then I read that there is an update to Web Deployment Project tha
-
- Golobal variable in c#
by omid talebi
- 2 Replies
- Last post
by Oleh Svintsitskyy
- how can i have global variable in c# that i can use it from any form
-
- Multi-Select in PropertyGrid
by Rob Bazinet
- 2 Replies
- Last post
by Rob Bazinet
- Hello;
I am using a PropertyGrid and have as one of the sources of data is an enum. The grid works fine but I want to be able to allow the user to select more than one value from the dropdown created in the propertygrid.
Is this built-in functionality implemented by the propertygrid If so, how is it enabled If not, what recommendations do you have to get this to work
Thank y
-
- WebBrowser Control and Printing
by BoM
- 3 Replies
- Last post
by BoM
- Hi all,
I use a System.Windows.Forms. WebBrowser to display the content of a generated document.
The logic requires to get notified of successfully having printed this document from the webbrowser form.
How can one intercept the print button / context menu call to plug in a printed_event.
Thanks
-
- Advice needed on changing database schema after deployment
by Tim Rowell
- 3 Replies
- Last post
by BonnieB
- I'm looking for some advice on the best way to handle the following: We have a client who wants to deploy our app to about 60 different users at distributed locations. They want each office to have the ability to modify our 'standard' SQL Server database slightly, mostly just to add a field or two to specific tables. Our problem is we have used tableadapters with typed datasets in the application,
-
- How to force datetime format in C#?
by SN Ngaihte
- 6 Replies
- Last post
by Francois Malgreve
- How do I convert the value of a textbox into a datetime format with different datetime settings of different machines into a "dd MMM yyyy" format.
Example 1: If System Date format is dd/MM/yyyy and user enters date value in a textbox in MM/dd/yyyy and if my code use Convert.ToDateTime(txtDate.text); it gives error "String was not recognized as a valid DateTime".
Example 2
-
- Drag and drop from explorer works differently under debug (platform 64 bit Vista)
by Paulustrious
- 2 Replies
- Last post
by Paulustrious
- I have a form with AllowDrop=true. If I am running under debug and drag a file from explorer over my form then the DragEnter event does not fire. If I run the exe directly it does fire. Under debug I can drag a file from the solution explorer and the event does fire. Also, with explorer 'run as administrator' I can drag files to my form under debug.
I suspect this is some form of security i
-
- Publishing a WindowsApplication using MAGE
by dotnet4Rookie
- 0 Replies
- Last post
by dotnet4Rookie
- Im trying to deploy a very simple WindowsApplication project in VS 2005 using mage from the VS command prompt. For this I do the following things:
1. Create a signing certificate using makecert.exe. First I create the .pvk and the .cer files and using them I create the .pfx certificate using the pvk2pfx.exe tool.
C:\DeployTest\DeployTest>makecert -sv testCert.pvk -ss testCertStore
-
- Support for Tooltip max length?
by misterfoo
- 1 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Hello,
The win32 native tooltip control supports a "max tip width" property (set via TTM_SETMAXTIPWIDTH), which causes long tooltips to wrap onto a new line to avoid excessively wide tooltips. I cannot find any such support in the builtin ToolTip control - does anyone know of an implementation that does support this What would it take to get this added to the next framework releas
-
- Capturing KeyDown on a control
by fubak
- 3 Replies
- Last post
by fubak
- I've got a WinForm with a Control in it. The control has textboxes, comboboxes, etc in it. In the WinForm code, I am trying to capture the KeyDown event when you have focus in either the WinForm or the Control by adding an EventHandler on both objects. Basically, I just want to call a method whenever someone presses a key in the entire window. For some reason, it's not doing it. Suggestions
-
- Strong name assembly DataGridViewAutoFilter.dll
by pmak
- 6 Replies
- Last post
by pmak
- I have a datagridview control in a Windows form. I added the reference "DataGridViewAutoFilter.dll" to the project and changed one of the DataGridView control's column type to DataGridViewAutoFilterTextBoxColumn . When I compiled the project it failed with an error complaining that the "DataGridViewAutoFiler" does not have a strong name. How to make this "DataGridViewAutoF
-
- PropertyGrid - Custom Types
by Jacquipre
- 2 Replies
- Last post
by Jacquipre
- Hello, I've used a property grid in my project. I have a custom class, called Vector, which should be shown in the property grid too. So I used the TypeConverter and ExpandableObjectConverter. In the property grid, I see an entry called Location with a string representation of a Vector (like this "24;50"). I can expand this property and I see two sub-entries, called "X" and &qu
-
- VB.Net Setup Project Deployment
by AaRoN_P
- 1 Replies
- Last post
by Mayur Tendulkar
- Hi all,
I recently created a setup project for my application. I have configured it the way i want it and now its time to deploy it. However im a little confused as to what to do next.
If i wanted to start to distribute this (which, in reality, is a LONG LONG way off), what do i do
This is my first setup project. I used to just use the click once publish feature to deploy my a
-
- Custom Context Menu Strip
by Spyder.Snyper
- 2 Replies
- Last post
by Spyder.Snyper
- So I want to have something similar to a conext menu strip in my app...
I want it to act like a CMS. So I click the designated control, and this form/CMS will popup. When I click elsewhere, it goes away.
I can't use a CMS because I want to have some controls in there like some text boxes, a few radio/check boxes, a list box, etc... And it does not seem like a CMS can have those.
-
- Reorder of Row
by billb59
- 5 Replies
- Last post
by billb59
-
I'm really trying to simply move rows in a datagridview around and having no luck at all...
-
- Where does title text come from, for grouped buttons on taskbar?
by Buddhist
- 3 Replies
- Last post
by Yu Guo ¨C MSFT
- If I checked "Group similar taskbar buttons", I got a problem about text display on taskbar button, for my app.
I'm afraid that the text is supposed to be extracted from assembly descripiton, but it looks like not work for my case.
So, my question is, where's the title from Which assembly attribute, or else
Thanks.
-
- How to set a default value in a bound datatable
by Can-Ann
- 8 Replies
- Last post
by Can-Ann
- I want to access a specific field called "Default" in the datatable to set a value.
Can anyone show me the command and where is the correct place to put it (in the validation)
Code Block
//Get the dataadapter
this .da = BD.Employee. clsDependants .GetOneByID (intID);
//Set the DataAdapter with the DataTable
this .da.Fill( this .dt);
-
- What do you use for GridSize to represent an US Inch?
by matt ham
- 3 Replies
- Last post
by JohnWein
- Does anyone know what i would need to put when using the GridStyle view on the form so the distance between 2 dots will be half an inch or an inch
-
- How to grow rich in C# the event handler of a class in an inherited class
by polocar
- 2 Replies
- Last post
by polocar
- Hi, I¡¯m writing
a C# program (using Visual Studio 2005 Professional Edition). I have
defined a class MyPanel in the following way: class
MyPanel : Panel { ¡ } In this
class I have put a btn Button control, and I have defined the event handler:
btn.Click
+= new EventHandler(btn_Click); ¡ void
btn_Click(object sender, EventArgs e) { ¡ }
Then, I
have
-
- Using RichTextBox Columns with DataGirdView
by Oric.CQ
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I read several posts in this forum about DataGridView with RichTexBox Column . After some search, I found the following code from .NET Newb , updated by Ken Tucher :
Imports System
Imports System.Windows.Forms
Public Class RichTextBoxColumn Inherits DataGridViewColumn
Public Sub New()
MyBase.New(New RichTextBoxCell())
End Sub
Public Overrides Property CellTemplate()
-
- while doing setup
by narasiman_jayachandran_2b5374
- 0 Replies
- Last post
by narasiman_jayachandran_2b5374
- hi
while i am making setup i tell it cannot inculde an dll that dll is used for web browser than how to make setup
-
- Get problem when deploy my project!
by jasmine pham
- 2 Replies
- Last post
by hong thanh
- I deploy my project use Crystal Report by follow these steps:
1) Start Visual Studio 2005 (Beta2) 2) Select File , then click New Project . 3) Choose Other Project Types and Setup and Deployment . 4) Select Setup Project
5) Add in your project output, file, assembly...etc 6) In the Solution Explorer, right-click the setup project name, and click Properties 7) From the Property Pages