Quantcast
Browsing all 12583 articles
Browse latest View live

Visual Studio 2010, Calling a Form without any click event: batch file

Hi AllI have multiple forms, Form 1, Form2, Form3.Form1 > Has 2 buttons, On Button 1 click event I am running a batch file, on Button2 click event I am calling Form2 and running a batch file.Now...

View Article


connection string question

Hello there, I have created a windows form using ADO.NET inside of it to write/update/delete from a table in my SQL server.Now my porject is working fine with no problems with I use it on my PC where I...

View Article


Creating a NotifyIcon icon and changing it upon different situations

Hello, I have a notifyicon for the task bar that also shows the battery wifi and network status. i want to use an image for one situation and use another image for a different situation. For...

View Article

How to create WinForms app with custom script editor to adjust datatable...

I need to create a WinForms application with a custom VB script editor that would allow the user to manipulate values in an underlying datatable. The user would have access to the datafields in the...

View Article

Error Code 0x81000019

I have had nothing but trouble trying to set this new computer up to accept doing backup.I run the windows backup, as I've done on my new lap top. but this computer refused to identify the hard drives,...

View Article


Windows Forum Application

Hi everyone,  This job has to be done in "Microsoft Visual Studio 2010" as a "Windows Forum Application" which will do these 2 main functions. 1. Books: Picture, Title, Current Price, Number of Bids,...

View Article

_Error converting data type numeric to decimal while I m trying to cast the...

HiError converting data type numeric to decimal while I m trying to cast the decimal values 165560D to store to the database.The data type for the column is decimal(8,3).Please help me...

View Article

Tooltips in PropertyGrid - hiding or customizing text.

I have a strong interest in either hiding the default tooltips on items in the Windows Forms PropertyGrid or possibly being able to customize the tooltip text instead. Are either of these possible?

View Article


Sorting Date/Time data in List View

I have four columns my program populates at run time from database. One of the column is a date data. I converted those dates to string when populating but when it comes to sort this column it can't...

View Article


WinForm C# - Execution of the code WinForm but not before

Hi,I am a programmer in the first year in EPITA, an IT school in France, so excuse me if I express myself badly. I will try to be.I have got some troubles with my programming code, all is in C#.Well,...

View Article

Excel Object not releasing. VB.net 2012

so I'm using vb.net to transfer data from a excel file to list view. Everything works out fine i.e the importing part but i cant seem to release the excel object as excel.exe is still in task manager...

View Article

Hiding a control without whitespace

Hi,I am designing a windows form application, in that i have to hide a textbox and groupbox control based on the seleced item of a combo box. i used the "Visible" property as below:Textbox1.Visible =...

View Article

Enable and disable close button (X) using C#

I want to disable only close(X) button on a windows form and again i want to enable it depending  on a condtion in c#. I know that i can disable by overriding the CreateParams as below : private const...

View Article


Datagridview Checkbox column forecolor

Hello,i'm trying to change the forecolor of a checkbox cell but this does not work. This happens while the DataRowPainted event is thrown. I'm checking a statusfield and if the status is true i want to...

View Article

OutOf Memory Exception

Now I m running the window application loading the large amount of data and extracting those data and saving back to the Database.The data amount is too large. That is why, I follow the below...

View Article


vb.net Chart control

Hello my name is Ozan BayrakI have a Windows Form ApplicationI just made a random numbers that I load on Datagridvieuw(As datatable) and I make a chart with thatBut how can I change the size of the...

View Article

Two vertical Scrollbars - rich text box control

Hi,Is it possible that 2 vertical scrollbars be displayed for one control(richtext box or any similar control) in a windows application c#?

View Article


Random Color

Hello everyone! I am just making a simple program for fun. And i need my program to select random color to draw a line. Here is part of my code:rand1 = new Random().Next(-1000, 1000); rand2 = new...

View Article

Image may be NSFW.
Clik here to view.

Need walk through - C#.net using ComboBox to populate DataGridView

I've been busting my head over this and really need some help. I have five DataGridViews I'd like to use and I want to populate each with the selection from my ComboBox. The ComboBox pulls id numbers...

View Article

PropertyGrid how to get an actual object and not a String (object) from a...

Creating a form with a propertyGrid and then adding this code:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq;...

View Article
Browsing all 12583 articles
Browse latest View live