Instances of the class (written in C#) must be placed into the session of an ASP.NET application deployed to a server cluster with distributed sessions. What are the minimal requirements for...
Hi,
I'm building this website in C#/ASP.NET that access a SQL SERVER 2005.
I'm using user sa and its password along with the SQL SERVER's IP and database name.
I know this is not the ...
I'm receiving the following error message while posting to a Web Service. "There is an error in the XML document" I really don't have much more information than its a pretty standard submissio...
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 ...
Greetings all
I am in the process of creating a Data Access Layer for my Windows app (C#). I right-clicked the solution explorer and selected to add a Class. When I looked at the structure...
Nice title, right? Anyway, I'm doing this little app that creates directories. I'm pretty happy with its operation thus far. I have been specifying the initial path in which to create direc...
Hello. I need to immediately kill a running thread in C# when the user clicks a command button. The thread migrates data from an Access database one row at a time and massages that data befo...
I'm somewhat of a beginner when it comes to programming, and I would consider myself more on top of writing code in VB.NET than in C#.NET.
So I am very used to using the objects in VB: Syst...
I am getting this error message when times out...
this is when I leave the page for a couple of minutes etc. I have extended the login timeout to 60 minutes via asp config file ... but al...
Hello,
We are developing windows forms based application.
We have datagridview and text box in toolstrip to perform searches in this datagrid there is also status bar and main menu strip.
...
I have an MDI Application:
How do I call a MDI Parent method from my MDI Child form?
And visa-versa - how do I call a MDI Child method from my MDI Parent?
Hi There,
What's the syntax for testing for sqldatareader ordinals for null?I tried something like below but it's not working.
Sean
class.propertyname = reader.GetOrdina...
I would like to print an image alonf with some text. I can print the text but not an image yet.
using (Graphics g = e.Graphics)
{
//Print Date Time
tstring = "Date Time";
g.DrawStrin...
from my code you can see that i'm using the ffmpeg.exe command-line utility for converting a file to a different video type. with "RedirectStandardOutput" and "UseShellExecute" values switched...
Hi
I need some help making a certain event public.
Here is my example:
I have a WindowsControlLibrary1, which has 1 Button (button1) and 1 TextBox (textBox1). I build a control from i...
I don't really know C# at all. What I need is a program that will prompt for a text file and then immediately print it to the printer of the user's choosing -- in landscape orientation.
I ...
Hi,
I have a project where I'm trying to generate page titles on the fly. The problem is that I have to set the color too. I have Brushes.Black or Brushes. Orange at my disposal, but I'd ...
I need an expert desperately! I keep getting this error:
"Unable to cast object of type 'System.Xml.XmlTextReaderImpl' to type 'System.Xml.XmlTextReader'."
For the specified line of cod...
I'm using a UserControl and some other windows controls (textbox, groupbox, ...) on the form.
I'm trying to access the control from other function like this -
if(control.GetType() == t...
In Visual C#.NET 2005, I want to add a "Clock" ( run by real time on my PC ) to a Form , can use a Control ( ??? ) or code ...
and how to do that .
Thanks !!!
I'm getting a strange error in Visual Studio 2005. When I open my project I get the following message:
An exception occurred while trying to update the data smart tasks, thy will be disabl...
I have a windows service in C# that was suppose to write some events into its own EventLog.
I created the EventLog using the component on the toolbar I added an installer for it, set all th...
I have a strongly typed datset that I am going to updat a database with. I want to loop though the edited rows to set the lastupdated date field and loop through the added rows to set the dat...
We're considering upgrading to MS Visual Studio 2005 from VS 2003. Our concern is backwards compatability with existing web apps. At the moment we have several applications running under ASP...
Hi guys,, need your expert advice here. :)
I need some help here to figure out what I should do to make a fast insert..
I have q question open here regaring batch update.
http://www.ex...