-
- Deployment Installer issue/problem
by ahmedilyas
- 7 Replies
- Last post
by Stanley_S
- This was working fine with VS.NET 2003 on one of my big projects. I was able to configure the installer to remove a previous version of the software and that worked fine. Even if told it not to, it would still work fine.
In VS.NET 2005, if the application is already installed and i set the "RemovePreviousVersions" flag to true OR false, when running the setup file, I get this error:
"An erro
-
- Database connection problems
by Indiana Ginge
- 1 Replies
- Last post
by Indiana Ginge
- Hi all,
I have been working on this problem for the full past 2 days, i really need some ones help...PLEASE.
I have what at first seems to be a common problem, I have added textboxs etc from the data source. This in turn brought up the table adapter, binding navigator etc. I have the binding controls working except they do not write back to the database.
In trying to resolve t
-
- Creating Menu from DataSet??
by Chris Zwirlein
- 2 Replies
- Last post
by Chris Zwirlein
- Hi!
I'm searching for a hint... I created a DataSet from a Database Query which looks like:
ITEM_NAME LVL
File 1
Save 2
Create 2
Create New 3
Create Specific 3
Quit 2
My Problem is to make a DropDown Menu out of this using a ToolStripMenuItem. The LVL number is to specify
-
- IDE Freezes with high CPU every time form is opened
by razorkai
- 4 Replies
- Last post
by razorkai
- Hi all.
I have recently taken over a new C# application as part of my new job and I have encountered a situation that is slowly driving me mad. There is one specific form within the application that takes forever to open in the form designer. I right click View Designer and the form starts to open. Within 5 - 8 seconds the form has completely drawn on screen but then the PC's cpu spikes to
-
- 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
-
- DataGridveiw display invisible Column , After Assign datagridview.datasource=null
by anup phansa
- 1 Replies
- Last post
by H. Tony
- Hi, All
I have set ¡°CustomerId¡± Field is invisible in datagridview
When First time assign datatable to datagridview it is work fine.
But when I do
Datagridview.datasource=null
After then assign Datatable, It display the ¡°CustomerId¡± column
I want to datagrid does not display ¡°CustomerId¡± Column after assign null val
-
- Button action on listbox event
by Mike Peters
- 2 Replies
- Last post
by Bob zhu - MSFT
- Hi
First of all I'm new to c#. I want a button to instigate a different behaviour in reponse to an item in a listbox. If the user enters a number in one textbox and another in another textbox and then selects addition (from a list of operations) from the listbox, on pressing the calculate button the result is displayed in another textbox.
Mike
-
- DataGridViewComboBox taking more time to display Dropdown items
by Jean-Marc Flamand dit le_belue
- 3 Replies
- Last post
by Rong-Chun Zhang - MSFT
- First problem is
Our current Application in development is crashing when loading the very large data ( Approx 114,373 Records) in to the already attached DataGridViewComboBoxColumn .
Please suggest me the possible solution.
Second Problem is
I did Create the DataGridViewComboBoxColumn combobox , load the very larger data and attached to the data gridview . Now click on the DataGrid
-
- System.IndexOutOfRangeException in Application.Run(new frmMain); line.
by FlatWhite
- 6 Replies
- Last post
by FlatWhite
- Hi All,
Honestly I couldn't figure out where to ask this question so I am trying my chance here.
I am getting System.IndexOutOfRangeException in Application.Run(new frmMain); line. Since this much information didn't make sense to me having this exception in the main method and I couldn't succeed to reproduce the error, I checked stack trace for further information on the error.
-
- Tapping the Enter Key
by Kapalic
- 5 Replies
- Last post
by Kapalic
- How can I move the focus to a button when I press the enter key in the Text Box
Thnx!
-
- Getting app install info at run-time
by AdkMan
- 3 Replies
- Last post
by PhilWilson
- I'm building an installer using a VS 2005 setup project. I'm enabling the option for the user to decide whether to install for "Everyone" or "Just me" when they run Setup.exe.
What has me confused is how to accommodate this decision on the application side. How can I find out at run-time what type of install was performed so that I can go to the right places for my file
-
- Custom Updates Problem
by jaime.rq
- 14 Replies
- Last post
by SLang
- I am using ClickOnce, but the application checks for updates by it self, using manual update check. The problem is that if the user doesn't update the application; the next time, when the application starts, it starts like be configure to check for updates before start, so the user get a message from ClickOnce that tells to him that a new version is avaible. How can I avoid this behavior and confi
-
- Raise event on datagridview
by TWild
- 2 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Is there a way to raise an event manually I have a datagridview where I want to be able to rightclick a row, select delete from the context menu and trigger the rowsdeleted event of the datagridview.
Thanks
-
- read richtextbox line by line..place into textboxs?
by maxrpg
- 6 Replies
- Last post
by maxrpg
- hi,
im trying to figure out how to read the contents of a richtextbox Line by Line and place each line into a texbox...for example:
place line 1 of richtextbox into textbox1
place line 2 of richtextbox into textbox2
place line 3 of richtextbox into textbox3
....and so on
ive looked all over and havent found anything to help me on this..im really stuck can someone
-
- Multithreading problem
by Navdeep
- 6 Replies
- Last post
by Navdeep
- I have simple example of one form application with a label,text box and button controls on it. Now the user enters digit in text box say 5. Click button and it counts 5 in 5 seconds. When the function count is counting 5. I want to call another function showlabel, which updates label with lapsed seconds. So I want to call one function from another function, which interacts with the control on the
-
- sample database
by Musafir
- 2 Replies
- Last post
by Musafir
- Hi..
I wanted to create a tree view which gets populated from the database. I had used the code from the website:
http://asp.dotnetheaven.com/util/srcview.aspx path=~/aspnet/samples/ctrlref/navigation/TreeView/TreeView11.src&file=App_Themes\Default\Default.skin&lang=C%23+Source
As i dont use a stored procedure, i had used the query itself. But i am not getting the tree view
-
- How to let the setup program install prerequests offline?
by yuanning
- 2 Replies
- Last post
by yuanning
- If I dont want my app's user download prerequests online, yet let setup program launch them from the file location I specified automatically. Then how to make it
-
- Windows.form.MonthCalendar
by Anonymous261977
- 1 Replies
- Last post
by Wei Zhou - MSFT
- I am using the MonthCalendar control and want to disable saturday and sunday from being selected from the calendar.
Can anyone please suggest how to do this
-
- Problem with FromStream in PictureBox
by XpyXt
- 5 Replies
- Last post
by XpyXt
- Hi again!!! I have a picture in a buffer and i need put it in picturebox. The error give me is: Invalid parameter in the source code Image ^Ima = Drawing::Image::FromStream(asd); // asd is a stream.
Code Snippet
MemoryStream ^streamMem = gcnew MemoryStream; StreamReader ^PrivateStreamW = gcnew StreamReader(sysWsk->DebugSR()); array<unsigned char>^ImaArray =
-
- TreeView: SelectedNode always null?!
by michivo
- 13 Replies
- Last post
by nobugz
- I'm experiencing a weird problem with a System.Windows.Forms.TreeView. After the following few lines of code: TreeNode myNode = new TreeNode("foo"); treeView.Nodes.Clear(); treeView.Nodes.Add(myNode); treeView.SelectedNode = treeView.Nodes[0]; treeView.SelectedNode is null. I'm doing a whole lot of things with my treeView before that, so I don't know what messed it up. Anyway, after cleari
-
- ALT + F4 (C# development)
by Ronni Marker
- 2 Replies
- Last post
by Ronni Marker
- Hello Gents. Am trying to alter the way ALT+F4 closes an application and hope I can get some guru help here. I have a component that calls an Windows form for a regstration page. On that Windows form I have two buttons. One closes the application by: System.Environment.Exit(); and the other button closes the application by: System.Enviroment.Exit(-1); The first only closes the form that runs in
-
- Remote Desktop client embedded in TabControl
by Jochen Z
- 6 Replies
- Last post
by Jochen Z
- Hi,
I'm writing a windows forms application and I need remote desktop within that application.
I referenced MSTSCLib and used the RDP client control. The control is embedded in a TabControl.
Everything works fine, except for one very annoying thing: when I switch tabs and return to the RDP client control tab, the RDP client no longer responds to any user interaction (mouse clicks, keyboar
-
- Handler for menu click event - foreach error
by Can-Ann
- 14 Replies
- Last post
by nobugz
- I am trying to create a handler for all items and sub items in the menu_click event.
The foreach is given me an error - can anyone explain how to correct.
Code Snippet
#region Handlers
//Recursive method to set the handler for the click event on all menu items
private void SetMenuHandlers( Menu parentMenu, EventHandler handler)
{
foreach ( MenuItem m
-
- multi-language, multi - culture application
by Sha_woop
- 13 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi,
i`m trying to develop a multi-language application. The dispay for the Date Time depends on the culture, I mean English might use decimal (.) and french uses as (,).
My problem is as follows:
When i`m loading data from the database, the data are raw.
I use a dataset which I bind to my grid.
Dim dt As DataTable = New System.Data.DataTable( "paiements"
-
- Adding .Net Framework 3.0 as ClickOnce prerequisite
by perku
- 1 Replies
- Last post
by David Guyer MSFT
- What do I need to do to be able to make .Net Framework 3.0 a prerequisite for a ClickOnce-deployed application in VS2005
I'm running VS2005 on XP sp2 and I have installed the .Net Framework 3.0 runtime. What do I have to do to get the framework to appear as an option when I define the prerequisites for my application
I would like to avoid installing the "Visual Studio 2005 extensions f