Hi Experts,
Do you have any "best practices" about coding to share?
I want to include an if statement in my application for the status of an Excel file. If the file is already open, proceed with method; but if the file is not open, open it.
I have an extensive and complicated print system based on GDI plus, I want to be able to control where the output of the application goes as it has to have the capacity to print to multiple pr...
This is a simple question I am sure but Ive had a rough day. I have a drop down list of states for a program I am working on. I need to be able to select multiple states (Currently it only acc...
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...
NetworkStream.DataAvailable occasionally returns false, even when the complete data has not arrived.
Is there any workaround for this issue.
The scenario is: There is two asp text fields Date From and Date To and in both there are asp Calender and a ajax Calendar Extender beside the text field. So when the calendar is clicked it po...
Hi,
I've inplemented in the "Join" page of a site I'm building in C#/ASP.NET, something like you can see at:
http://www2.dte.ua.pt/ilte/form.html
(just begin typing in the login textbox a...
Hi all,
how do I hide a horizontal scroll bar in datagrid. I use the below code doesnt work. Is there any property to hide
Or is there any way to create a custom grid to hide the horizont...
im from belgium so sorry for my bad english,
Im making a with user registration and a login. i made in web.config ths settings
<authentication mode="Forms">
<forms timeout="500...
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:-------...
Hello experts -
I have a pdf with certain editable sections when looked at through a pdf reader. In those sections, my client wants to populate some data that is in a Sharepoint list. How ...
what are the differences between Page_Load and Page_Init besides that Init occurs earlier than load?
Hi
I am writing an update code in visual studio 2005 using c#
I need to use (using System.Data.ADO)
and I add a reference to system.Data
but in the buil I got this error
the type or na...
trying to convert a SelectedValue to an interger -- getting the following error message:
int tmpDropDownList1 = Convert.ToInt32(DropDownList1.SelectedValue);
Input string was not in a co...
Hi,
I need to develop a way of displaying a shoe-print shaped mouse cursor, it needs to be scalable and rotatable. I think this will involve some form of polygon (Point[]). Please see the a...
hi
iam having 2 events i want to call one event in other event in my case i want to add rows dynamically in datagridview at runtime by clicking the addrow button here is my code
My windows application written in C# needs to do the following:
Display Form1. When click on button on Form1 then display Form2 (Modal). When Form2 is closed I want to be able to display ...
Hi All,
I was trying to set panel1.AutoScroll to my Custom Panel. But this doesnt work.
I have attched the code snippet.
Thanks
Adib
i want to do set operations on arrays like below sample in c# 2.0
string[] test ={ "Hello", "world", "!" };
string[] test1 ={"Hello","there","." };
kind of test INTERSECT test1 and get ...
I made a nice context menu and deployed it. But people are having trouble because my design requires them to select the item and then right click.
How can I make it so I can right click th...
Hi Experts,
I want to know how to register my assemble in GAC programmaticaly ?
Hi,
I've been making a program and part of my code requires me to call upon a batch script. The Problem i am having is that i would like to launch the batch file from C:\Documents and Setti...
Hi all,
my question is how can I encode a string from textbox1 (cyrillic letters, as far as i understand - its unicode) to Western European (ISO) encoding?
what i got so far is
...
Hi all,
is there a better way of doing this?
// Add each module
int Counter = 0;
foreach (xxx.yyyRow row in tblTable.Rows)
{
Object.Elements[Counter] = GetOtherObjectById(row.ID)...