-
- vcredist_x86 keeps wanting to re-install
by Kevin8264
- 5 Replies
- Last post
by JohnHind
- I have a deployment project, good old setup.exe, and all works great, except every time I pop in the CD it wants to install the Visual C++ 2005 Redistributable. It doesn't matter this component is already installed, it doesn't matter I installed it 5 minutes ago, it doesn't matter I'm running on my development machine with VS installed, it keeps wanting to install the C++ redistributabl
-
- VS2005 Windows Application Form Templates (C#)
by owiccrossett
- 1 Replies
- Last post
by Guang-Ming Bian - MSFT
- Hi,
I am new at VS2005 and have started building forms and have am using SQL 2005 as the database(backend). Now, my forms in the windows application area look ok, but I really need help finding some new forms. I can't seem to find any templates or samples that I can import into my project. I really don't need a lot just some forms that look decent. Does anyone know where there are some form
-
- Difficult question!
by Andr&#
- 12 Replies
- Last post
by timvw
- Heres a difficult question I have a button called split it means that i copy items in a listview1 and if (subitems[1]k441211 for example) allready exists then add +1. for example: (listview1) columheader1, columheader2, columheader3, columheader4, columheader5 Online, k441211 DateTime.now , ad , whatever if i click on button after selectedlistview.item i want to copy the hole item with all the su
-
- Multi-Header DataGridView
by Pr.wa'el
- 2 Replies
- Last post
by Pr.wa'el
- Hi . Can i add more than one header in DataGridView . And if i can How can i Add them . Also can i arrange them in groups under each other ; i mean Main Header & Child Headers .
Thanks .
-
- retrieving data from the dabase and updating it
by sunnyk
- 3 Replies
- Last post
by sunnyk
- Hi everyone.
I am trying to make a database program in c# using SQL server. The program window has 3 text boxes and 2 datetime picker boxes. it also has a dataGridView. now i want the user to fill in the text boxes and the datetimepicker boxes and when they press the add button, it should send it to the database and also fill it in the dataGridView. I have already created the datatable and the
-
- OracleClient with Clickonce Deployment
by vsnetdeveloper
- 9 Replies
- Last post
by Deepak Rai
- I am trying to deploy an application using Clickonce. I previously was using OleDbConnection to connect to an oracle database. However i would like to use the System.Data.OracleClient namespace instead. Upon publishing the application the users get an error when they try to connect to the database.
Do i have to install the oracle connectivity files manually on the user's computer Is there a wa
-
- OnMouseClick & onMouseDown events question
by sanchez911
- 2 Replies
- Last post
by sanchez911
- Hi!
How can I make difference between onMouseClick & onMouseDown For example, I want to make 2 behaviours of form: if mouse button is pressed and mouse is moved, do one action (for example, move form), and if mouse button is clicked, do another action.
If I use both events, onMouseDown is always executed (even if I just click), and onMouseClick - never..
-
- MSI Installer application deployment
by Subbu
- 1 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi, I know clickonce has a very neat feature for updates using the System.Deployment.Application namespace APIs but, is there another way in which a similar API is available for checking updates for MSI installers If not, is there any other way of doing this Please advice, Thanks, Subbu
-
- Custom Action invoking vbscripts and exe
by CC.NET
- 2 Replies
- Last post
by CC.NET
- Hi there, can someone give me examples of the following (it can be an URL link)
How to launch a vbscript as custom action
How to launch exe as custom action. (does my exe have to include an installer class I've only gotten it to work if I build an exe with an installer class...and the install class will create a new process and start it )
How to un-GAC dlls in the setup project
-
- Memory Leak with WinForms Control
by Alex114
- 3 Replies
- Last post
by Mark
- I've tested WinForms Control with this simple code. Running the code produces a 1MB memory leak per hour. I checked process memory usage in TaskManager. I would appreciate any feedback.
using System;
using System.Windows.Forms;
namespace ConsoleApplication1
{
class Program
{
static void Main( string [] args)
{
while (
-
- Merging Excel Workbooks, Visual Studio 2005
by HELPNewToVB
- 7 Replies
- Last post
by HELPNewToVB
- I'm comparing two excel workbooks. One from this week, one from last week, they have the same information but maybe an extra few rows because of added data for the new week. In the workbook from this week, I'm adding an additional column to calculate the difference from last week, but in order for me to do this, I have to make sure the same row information is being compared to the previous week, b
-
- main form can only open once problem(wont do that)
by programmer01
- 2 Replies
- Last post
by programmer01
- Hey,
I thought I finished a project but...sadly it has 1 small problem I just donĄ¯t have a clue what to do to fix...
This solution has 2 projects in it, 1 windows forms project and 1 class project.
In the Program.cs of the Windows Forms project I have some code that was working that makes it so only 1 instance of the main program will run, but I added the 2nd project(the class) to my solu
-
- Sockets and Windows Forms
by David S. Anderson
- 3 Replies
- Last post
by Dav? S. A???????
- I have a problem with my windows forms application in which I am not quite sure how to troubleshoot. Basically I have a Socket Client/Server program running and the client sends some information to the server via a NetworkStream, the problem is it doesn't always send the information or the server doesn't retreive it (not sure which); I have my server which listens for the data and when that data i
-
- How to generate serial number in datagridview
by JananiSharma
- 4 Replies
- Last post
by Damiaan
- Hi I want to display the datagridview like S.No Price Quantity Total 1 10 2 20 2 20 3 60 3 40 5 200 Net amount: 280 I am new to c# windows application.Here I tried private void dataGridView1_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e) { count = count + 1; dataGridView1.Rows[e.RowIndex].Cells[0].Value = count;
-
- Problem in Graphics.DrawImage with RightToLeftLayout
by MajidRoody
- 5 Replies
- Last post
by nobugz
- Hi all. I have a problem in Graphics.DrawImage with RightToLeftLayout(Form1: RightToLeftLayout=true RightToLeft=yes) private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; Bitmap b = new Bitmap(@"C:\1.jpg"); g.Clear(this.BackColor); g.DrawImage(b, 0,0,b.Width*2,b.Height*2); } result painted in (1,0) instead (0,0). with GDI(StretchBlt) it is too wrong. Only w
-
- Switching forms in Visual C++
by Alxenen
- 2 Replies
- Last post
by alxandr
- Ok... I've been reading this forum for an houer now and i can't figure out to do this... I have created a new windows forms project in VC++... Then i added a second form (named Form2) and i added a button on each of the forms. The buttons are both named button1. What i want is when you click button1 on form1, form1 dissapares and form2 shows up and versa vi. The problem is only I need to know acca
-
- Drawing parts of an Image
by Alex-MyRpg
- 14 Replies
- Last post
by Alex-MyRpg
- Hi - quick question. I need to use DrawImage/DrawImageUnscaled to draw certain source areas from a certain Bitmap, using a Graphics object, many times. I've tried many variations of the call and they all are very slow... 30~50 iterations takes almost a second. There's nothing I can do about the size of my image file either, unforunately. Making it a small-size PNG doesn't help at all. Also, I real
-
- Saving a panel content as an image
by djzar2004
- 12 Replies
- Last post
by djzar2004
- Hello!
It's possible to save what is seen on a panel as an image( .jpg, bmp....)
Serialize how
Thank's
Luis
-
- How to synchronize data between two windows forms
by modtran
- 1 Replies
- Last post
by Gavin Jin - MSFT
- Hi
I have two windows forms:
1-st with a DataGridView control and 2-nd with a detailed view of selected row from the 1-st form. How can I synchronize the data between 2-nd form and the linked DataGridView control on 1-st form.
When I close the detailed form how to refresh data in the linked row.
Thanks in advance
George
-
- all solutions for concurrency violation
by seco
- 14 Replies
- Last post
by Luc Morin
- Hi i have been collecting solutions for concurrency violation exception more that one year yet i didn'y find the proper way to solve it !!! could you help me in this im developing database app using vb.net 2005 and access database . my way to get data is adding new datasource from datasource window, then bind textboxs and datagridview ,, and writting the update code as follows
Code Snip
-
- Zorder across different process
by Madhura B
- 4 Replies
- Last post
by madhu_bayari
- Hi
Following is my requirement
I have an main window in an application (process 1). Lets call it Form1.
Form1 has a panel, sitting in the middle of the form, whose bounds (location, size) are exposed through remoting
I have another application (process 2) which has another main form Form2
Now, I have a form (say ChildForm2) which I show from Form2.
The location an
-
- The system cannot find the file specified. in Temporary Internet Files folder...
by hazz
- 6 Replies
- Last post
by hazz
- On a online only publish which has worked on 2 machines was attempted on a third that did not have .NET 2.0 on it. .NET 2.0 was successfully installed but received this non-specific error:
The following error occurred attempting to install 'C:\Documents and Settings\johng\Local Settings\Temporary Internet Files\Content.IE5\H4K7LT0L\test.application':
"The system cannot find the file spe
-
- Using foreach to populate many TextBoxes
by GaryVe
- 7 Replies
- Last post
by GaryVe
- Hi, I have many TextBoxes on my Form. I want to populate them with values from a string array. (The the number of TextBoxes is the same as the array size.) I'm guessing that the best would be to use a 'foreach' where I additionally test that each one is a TextBox and has the right TabIndex or Tab (ie. this should match the index of the array). Two questions - is the above the right approach; and -
-
- FolderBrowserDialog Bug. Dialog keeps crashing on x64 system
by Mark Laverty
- 2 Replies
- Last post
by Mark Laverty
- I have an applicaiton that I'm working on and I need to include several folder browser dialogs in different places.
I am using Visual studio 2005 plus the .Net framework 2.0 on Windows 2003 Server x64.
I have all OS, .Net and VS 2005 updates and patches installed.
The problem is that the folder browser dialog keeps crashing and returning "Object reference not set to an in
-
- How to use IXMLDocument in C#?
by Henry581538
- 2 Replies
- Last post
by Henry
- Hi.
when i need to load a file asynchronous,in c# how to write it
my program:
IXMLDOMDocument rssDom= new DOMDocument();
rssDom.async = true;
rssDom.onreadystatechange = // in javascript ,we write function(){;} but here
rssDom.load(url);
I tried delegate,but I got error message.
Thanks.