I have a main form and I open a window inside it and maximize it. Then from the main form again, I open another window with a maximum size setting to the same size as the form, meaning I decl...
Hi,
I have a Desktop C# application form, form contain button that call other form. I want to be able to detect if the other form is already shown and displayed if yes then Close it .. Els...
I have some code that pulls data from an excel spreadsheet into a DataTable. It just uses a simple query to pull the records we need. The problem is that one of the columns in the spreadsheet ...
hi
i noticed an error on my site log file as below:
ORA-04045: errors during recompilation/revalidation of MDSYS.SOR_TRUNC_TABL
can anyoen let me know what could be the casue of this erro...
In winforms VS2005 with C# I have a datagridview.
I want one of the columns to show an image from a URL that comes from the dataset the datagridview is bound to.
I declare :
dg...
Hi there,
Hoping someone can tell me if this is even possible. I'm having trouble passing a user control by ref .
Heres the scenario.:
File 1 : General_Functions.cs (located in the ...
Sorry for the C# beginner question but here goes...
say I have a declared type such as:
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct SAMPLE_STRUCT
...
Hi
I want user clicks the button, check the data with DB. If it is true then redirect him to another page. However, it throws ThreadAbortException.
How to fix it?
I have made a stored procedure in ORACLE 9i and it return an error message from it. I want to display that error in a Message Box of C#.NET application.
Plz Help....
Hi
I have a string \\HOME\\A7GGG5005
I would like to format it into 2 separate strings:
string a = HOME
string b = A7GGG5005
The length of string a and b is dynamic.
How can I d...
I have a simple program with two windows form. The main form contains a listview that is connected to a database and I created a function to refresh its display whenever an insert is added to...
I'm trying to import a common functions type file (that I created) within my C# application. I know that in VB.NET in order to access that file I would just say imports commonfunctions.vb or ...
Does anyone know how to go about mapping Lattitude and Longitude positions on the screen like points on a graph?
Thanks!
I just made a custom control which works great. But i'm not satisfied with my solution as i thought that there has to be a better way.
first i have a control which display a dataitem. it h...
So I'm having some issues with a site of mine and I need some help in how to 301 redirect all pages in my site. The problem is this:
www.ilawyersource.com/states.aspx/Employment_amp_Labor_L...
How do I capture key events when a DataGridViewCell is in edit mode??
Or, more simply, how do I force a user to enter only numbers when a cell is in edit mode ??
My C# application (framework 1.1) works fine at 96 DPI. But when DPI is changed to 120, all the controls in the form is gettting disturbed. Font size is getting changed( Bigger fonts) and cont...
Can I throw an exception like in the code below? Thanks
using System;
using System.IO;
public class ExceptionTest
{
public static void Main()
{
int i=-5;
try
...
Hi!
I need to write to a log file ( log.txt ) that is hosted on a website. ( http://www.abc.com/log/log.txt )
I tried to use streamwriter etc but it all gave me an error saying URI format ...
My intend is to ask the first instance of my application to perform a task before closing the 2nd or subsequence instances are launched.
Hello to all,
I am wondering if it is possible to detect a Form's "X" (next to the Maximize symbol in upper right corner of the form) when it is clicked?
Hello Sir,
I have below code in C# with Connection String and using store procedure with @JobID but its not working. Could tell me where im making the mistake please....
C# Code:-------...
I want to know how can i populate custom class "ProductView"
//
public class ProductView
{
private Design _design;
private Asset _asset;
private List<DesignText> _desi...
Hi Experts,
I have an ASP page that has fileUpload control on it. I use this control to browse for a Excel 2007 file. After I have selected the file, I run some C# code under the submit b...
Hi experts, I have a problem I want to open compobox programmatically for reproduce user click on the control. I use c# and net 2.0 compact edition