-
- Refresh Form Without Changing Its Position
by lucerias
- 3 Replies
- Last post
by nobugz
- I have tried the two following methods and i can achieve refresh purpose but i can't keep the position of the windows. Basically, i hope to refresh the windows which means reexecute from the form_load action without closing or disposing it. Once we dispose or close it, the position will definitely change when we call it out again. May i know how to solve this Thank you.
Method 1 Pri
-
- Problem with SaveFileDialog
by marafado
- 4 Replies
- Last post
by marafado
- The problem is. My application is executed by other (redmon redirect port), the user assigned to process is the logged user, but when i open the SaveFileDialog get the Documents andSettings of LocalService. How can i fix this problem
-
- Windows authentification and shared folders
by Beaulieu
- 5 Replies
- Last post
by Christopher Payne
- Hi,
Users have a .NET application which connect to a Word document on a share drive and print the results.
We want to remove access ("shared drive") to all users but not the application.
how can i grant the application access but not the user into a folder so the APP can still be able to generate the report
thank you
-
- GDI+ memory errors
by floofthegoof
- 5 Replies
- Last post
by nobugz
- I released a game several months ago written in C#. I tested it on every computer I could find and everything worked fine. I recently got a new computer at work and I'm finding that my game crashes intermittantly during a Graphics.DrawImage call with an 'Out of Memory' error. The docs don't even list MemoryException as one of the possible exceptions for this function.
Both my computer at ho
-
- What is the KeyChar for Ctrl+C and Ctrl+V in C#
by Manoj Kumar Goud
- 6 Replies
- Last post
by IsshouFuuraibou
- Hi,
Keychar of Backspace key is e.KeyChar == (char)Keys.Back
Similarly what can I write for keychar of CtrlC and CtrlV
With regards,
Manoj
-
- Set language and company
by Wuschba
- 4 Replies
- Last post
by Wuschba
- Hi. Makinge an installer of a small C#-project, I came across some problems with settings: I found no GUI-way to set things like the default-company ("Default Company Name"), project-name ("Setup"), product-name ("Setup") and the language. I use an english Visual Studio, but want to make a German installer. I can set all this manually by editing my Setup.vdproj, but
-
- Form problem
by wookie85
- 12 Replies
- Last post
by Timo S
- my program got 3 form i face a problem when i jus close my form 2 or 3 as the program is still running anyway to solve the problem Something like if form 2 or 3 is close it will link back to form 1 or when form 2 or 3 is close the problem will stop running . below is a example of the code for my form
This is the code form Form1:
public partial class Form1 : Form
{
pu
-
- String Value and DataGridView Problem
by Anonymous576343
- 1 Replies
- Last post
by Hayder Marzouk
- Hi all,
I've been having trouble with getting the DataGridView to show the actual string rather than the length of the string. I'm passing a BindingSource that is bound to a String List, but all the DataGridView shows is a single column of the string lengths.
How can I get DataGridView (in J#) to show the actual strings rather than the length of the string itself I read something abo
-
- Running Uninstall Shield Launch Condition
by CookingMonster
- 8 Replies
- Last post
by PhilWilson
- I want to remove an old install built will install shield. I am detecting the .isu file and trying to run a launch condition of [WindowsFolder]isuninst.exe -f"C:\Program files\File Folder\File.isu" -y -a but this fails. How can I remove the old program
-
- Do I need a Bootstrapper?
by Richard Bysouth
- 6 Replies
- Last post
by David Guyer MSFT
- Hi I have 2 installers for my app, one for the client app (exe, dlls, config etc.), one for server components (shared data files, sql express db). I have a few questions relating to the architecture of the deployment:
For the server install, I will be providing the mdf/ldf files. These either need to be attached to an existing SQL 2005 installation (any version) or SQL Express will need to b
-
- MSI and Installshield
by JRuland
- 2 Replies
- Last post
by JRuland
- hello, i have been charged with the task of making one of our products deployable via active directory, i.e. with windows installer. i noticed that it is possible to launch an executable from windows installer, and i have successfully launched our current installshield installer from an MSI database and deployed it on a couple of machines. i removed the UI components so that it can be run automati
-
- URGENT Copying Window C# 2.0
by meNu
- 4 Replies
- Last post
by meNu
- Does anyone know if you can use the Copying Window which is displayed when you copy a file/folder The window which appears with a file being copied from one folder to the other and also there is a progress bar along with the file names which are being copied!
-
- Change prerequisite location after publish
by Johan Burger
- 8 Replies
- Last post
by Johan Burger
- Hi,
I publish my application to our development server. I then manually copy everything to our Test server, change all the db connection info, resign manifest, etc. and the app works great.
The problem occurs when a user, without the .Net framework, runs the app for the first time from the test server. The installer tries to install the .Net framework from the development server instead
-
- DrawString problem
by Cornel Gav
- 6 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I used the DrawString() method to display a text in the center of a datagrid. The problem is that when I resize the form the datagrid refreshes and the string dissapeares. How can I block this dataGridViewX1.CreateGraphics()..DrawString("my string", dataGridViewX1.Font, Brushes.Red, new PointF(dataGridViewX1.Width / 2, dataGridViewX1.Height / 2)); Thanks
-
- How to compute the time and display the time in the cell of a DataGridView
by ianmars
- 6 Replies
- Last post
by Gavin Jin - MSFT
- Hi To All, I have a table in the database with time data type fields. These are the fields: ---------------------------- Start_time End_time Total_Actual_Hours all of these fields are declared of time type This is the formula for the computation: -------------------------------------------------------- Total_Actual_Hours = End_time - Start_time These fields were displayed as a recordset in the Da
-
- Datagrid Columns
by Balagangadharan.R
- 2 Replies
- Last post
by Balagangadharan.R
- Hi all Im Developing a windows application using VS2005(vb.net)
i have a datagridview with two columns
and 5 rows
what i need is
1st row ,column1 should be txtbox column
2nd row ,column1 should be Combobox column
3rd row ,column1 should be txtbox column
4th row ,column1 should be image column
5th row ,column1 should be txtbox column
is it possible to do
-
- Serial Port
by Jukes
- 9 Replies
- Last post
by nobugz
- I am trying to read in a String from a barcode scanner that sends a message in between a STX and ETX. I have followed many of the tutorials, but for some reason I can't get anything off of the buffer. I am completely new at this kind of IO programming so I'm wondering if I'm missing something. Does it have to do something with the STX and ETX since it doesnt send a "/r/n" I dunno let me
-
- Moving back and forth between records in a DataView
by Testsubject
- 6 Replies
- Last post
by Testsubject
- Hi,
Here is the scenario I currently have:
I have a DataGridView bound to a DataView containing a number of records (form1). When a user double clicks on a row it brings up a form (form2) containing details on the selected row. I have this part working without a problem. On form2 there are two buttons enabling the user to move back and forth through the records displayed in the Dat
-
- Databinding without Windows.Forms
by PassionateProgrammer101
- 1 Replies
- Last post
by timvw
- Hi,
I am not if this is the right place to post this question.
I have a dll, no gui, which needs a data binding mechanism.
Since BinderContext and CurrencyManager are derived from windows forms, how do I Implement data binding
Thanks
-
- my.computer.keyboard incorrect when form not focus
by Mike123456
- 1 Replies
- Last post
by nobugz
- Querying my.computer.keyboard gives incorrect results, e.g. when checking if capslock is on, unless the form running the code has the focus. When the form does not have the focus my.computer.keyboard seems to return the capslock value at the point when the form last had focus. Is there any way of refreshing the keyboard information even when the focus has moved to another application
Thanky
-
- Setting parent does not Undo correctly
by Quirk
- 1 Replies
- Last post
by Quirk
- I've implemented a custom DesignSurface and added a simple implementation of an UndoEngine to it. Most everything "undoes" correctly, though I've run into a case where setting the Parent of a Control will not undo correctly. I have the following code (child and parent are Controls with non-null values): ... parent_pd = TypeDescriptor.GetProperties(child)["Parent"]; if (parent_p
-
- Retain DataGridView Column formatting after adding rows
by bullpit
- 4 Replies
- Last post
by bullpit
- Hi,
I have a small problem with datagridview. The datagridview I am using is not bound to data from database. Instead, I am using to display data in tabular format. I add the rows using DataGridView.Rows.Add method. I use a string array as a row to add. Before adding, I format the values according to the default format of the columns (because datagridview doesn't seem to format them if I ad
-
- how to invoke this method
by carlosag81
- 5 Replies
- Last post
by Rong-Chun Zhang - MSFT
- In this code Im trying to make the subtypecombobox to display options according to the type selected
but I'm not really sure how to call this method so that it works as its supposed to
Thanks in advance guys
here's the complete code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
-
- delete from datagridview
by clarkiwrc
- 1 Replies
- Last post
by clarkiwrc
- I am using a datagridview to display records from a database. After clicking the delete and save button on the binding navigator I receive the following error: Command text was not set for the command object. There is no command text in my table adapter. I have done this many times in my application and have not had to manually create this. Why am I having to create it now, and how do I create it
-
- is there anything like Spring RichClientProject in .net world
by 天&#2622
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- is there anything like Spring RichClientProject in .net world