Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > c# > july 2005 > threads for monday july 4

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Cursor Keys
Posted by bernardpace NO[at]SPAM yahoo.com at 7/4/2005 11:47:13 PM
Hi, I am trying to control the Cursor Keys(Left, Right, Up, Down) in a Windows Form Application from the KeyPress Event. Can someone give me some help how do I identify which key was pressed. Thanks in Advance...more >>

HUMAN SOFTWARE DEVELOPMENT NETWORK : you're welcome
Posted by HUMAN SOFTWARE DEVELOPMENT NETWORK at 7/4/2005 11:23:54 PM
Hi, Human Software Websphere Development Network, is a community of teleworkers connected to our company. Main goal is to develop software solutions (websites, .Net, VB, Java, Portal, WSE, and so on) to our customer or other Business Partners. HSDN Workflow is summarized as follow : ...more >>

Deserialization version mismatch
Posted by Rohith at 7/4/2005 10:29:06 PM
I have a class which is serialized and stored in a file stream. Later I changed the class with adding some fields to it. Now when I deserialize (I am deserializing from a later version of my Application) the file framework throws an exception stating that “Possible Version mismatch. Type [...more >>

Ole DB Update failing
Posted by Greg at 7/4/2005 9:38:03 PM
I have code which creates a DataAdapter, and upddate command etc, and then finally does and update which fails. The error message which is returned is "Object Reference not set to an instance of an object." The update SQL is "Update Leads set Company_Name = ? where LeadId = ?" If I change...more >>

Oracle .NET data provider
Posted by Jonathan Woods at 7/4/2005 7:45:54 PM
I could not find Oracle .NET data provider for version 1.1. Do I have to use ODBC .NET data provider for instead? Which provider can offer best access to Oracle Database? I'm using Oracle 8i. Thanks for any kind response. ...more >>

Office XP Primary Interop Assemblies
Posted by J-T at 7/4/2005 3:57:11 PM
I'm trying to read an excell file in my .Net application using Office XP Primary Interop Assemblies (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_oxppias.asp). I have installed Office 2003 on my developemnt box.Will my application be able to read all kind...more >>

need help on scope of a function for intellisence
Posted by Chris at 7/4/2005 1:11:02 PM
Hi, I am writing a webpage in C#. Visual Studio .NET. the following code does not provide me with intellisence on the context, session, and page.cache. When I put the large if...then statment from the GetJSHyperlinksString() function into the private void on page load event the intell...more >>

crystal report
Posted by Riccio at 7/4/2005 12:13:38 PM
vb6 language: dr is a datareport. -------------------------------------------------------------------- With dr .Sections("Section4").Controls("titolo").Caption = "Attività" -------------------------------------------------------------------- can somebody show me how can I write...more >>



Update remote db
Posted by perspolis at 7/4/2005 11:42:00 AM
Hi all I want to update a remote db on my site. but I don't want to connect to db directly.. How can I do that?? thx ...more >>

Assign an anonymous delegate to an hashtable
Posted by Marco Segurini at 7/4/2005 11:26:45 AM
Hi, Building the following code namespace DelegateAnonymousToMap { class Program { class MyClass { } static void Main(string[] args) { System.Collections.Hashtable hash = new System.Collections.Hashtable(); hash.Add(1, delegate() {...more >>

Casting problem
Posted by Alexander Brown at 7/4/2005 11:04:17 AM
I run the following code: Control control = pluginInstance.Control; Console.WriteLine("type is "+control.GetType()); NewControl castControl = (NewControl)control; The Console has "type is MyNamespace.NewControl" written to it. However the third line of code throws a "Specified case is not ...more >>

Object reference not set to an instance of an object.
Posted by Greg at 7/4/2005 10:52:03 AM
Hi, I have been unable to resolve this error message: Object Ref not set to an instance of an object. The issue is that I cannot determine which object reference is causing the problem. The line of user code that gives the error message is: return oDataSet.DataAdapter.Update(oDataSet...more >>

MSMQ MultiCast (PGM) and garantied ordering
Posted by Eric St-Onge at 7/4/2005 8:35:01 AM
Hi, I have eleven C# applications running on eleven different computers sending packets to a MSMQ MultiCast configured queue (same address for all). Those eleven senders also act as receivers. Do all receivers receive the sent packets in the same order? Thanks Eric...more >>

Further question to "#define STATE_NULL 0x0000"
Posted by xudeutsch at 7/4/2005 8:06:17 AM
thanks, Nicholas and cody. but as far as i know, the following directive " #pragma pack(push,4)" will ensure that: when the data are transferred through networks to other platforms, the const value "STATE_NULL" will still be regarded as a 4-byte value in the stack, namely 0x0000. I dont know ...more >>

How to disable resizing a custom user control?
Posted by mehdi_mousavi at 7/4/2005 8:04:15 AM
Hi, I've written a custom user control, say, MyControl that's being derived from System.Windows.Forms.UserControl. The problem is that I need the control to be fixed size; i.e., I donot want the control to be resized either in design mode, or run-time. How can I do that? Any help would be hig...more >>

Creating AVI file from bitmaps
Posted by gehho at 7/4/2005 7:17:52 AM
hi, I'm currently working on a project that reads frames out of a video file, processes them and saves them to an AVI-file. For extracting the frames from the source file I use the AviFileWrapper by Corinna John. So I read the images frame by frame, process them and would like to save them....more >>

Delphi 2 CSharp conversion
Posted by Sanjay Kedare at 7/4/2005 5:09:03 AM
Hi, I am evaluating various alternatives of converting Delphi (Ver 4.0) screens to C# screens. Are there any tools available for such conversion? if yes how much conversion do they achieve? The number of screens to be converted are huge, we are aiming minimum regression impact. What cou...more >>

Singleton + IDisposable
Posted by Tom at 7/4/2005 1:48:58 AM
Hi there. I wonder how a singleton could be (auto)disposed. For instance : class Foo : IDisposable { private static readonly _instance = new Foo(); private Foo() { // opens a file or does anything that needs cleanup } public void Dispose() { } public static Foo...more >>

Creating a COM object
Posted by Carlos Lozano at 7/4/2005 12:32:03 AM
Hi, What is the right way to create an OCX COM component. The component is already registerred, but can't create an instance. I am using the reference to the interop module created. If I use javascript or vbscript it works. I will appreciate any help. I do the following (C#): Attempt ...more >>

how to minimize/restore a .NET windows application from taskbar
Posted by Nikki at 7/4/2005 12:30:54 AM
Hi, I m working on a windows application using c#.NET. Using borderless non-rectangular forms. Can anybody tell me how to minimize / restore that application from taskbar. (I m already using Notify Icon ) but also want the functionality from taskbar. Thanks, Nikki ...more >>

What is a property?
Posted by Peter Kirk at 7/4/2005 12:00:00 AM
Hi there, can someone tell me what exactly a "property" is in a C# class? As far as I can see it is "two methods" - ie a getter and a setter for an instance variable. What is the difference between these: public string InstanceStringVariable() { get { return _instanceStringVariabl...more >>

convert string to a number
Posted by Martin at 7/4/2005 12:00:00 AM
Hi, How can I convert a string type to a number, f.example an Interger? Thanks Martin ...more >>

Insert carriage return/line feed with C# and ADO.NET in MS Access
Posted by Torsten Zachert at 7/4/2005 12:00:00 AM
I would like to insert some text with embedded carriage return/line feed into a MS Access text field with OleDb and C# ADO.NET. I tried to use "\n" in combination with "\r". If I display the input in a text field I only see quads. Tia Torsten ...more >>

#include directive in c#
Posted by Max-Ph. Blickenstorfer at 7/4/2005 12:00:00 AM
I'd prefer to use C-Style #include directives to conditionally compile classes in c#. The code should look like #if (TEST) #include <..\inc\this.cs> #else #include <..\inc\that_one.cs> #endif Any hints warmly welcome. Regards MAx ...more >>

C# Forms
Posted by Stu at 7/4/2005 12:00:00 AM
Hi guys, I have gone through google and tried different ideas for the past 4 hours now and am getting nowhere. I currently have a class that raises an event, from this event I want to add a value to a listbox on form1. However I cannot access the listbox on form1. I need to make a refer...more >>

Have there any function to check the null and empty at once
Posted by ad at 7/4/2005 12:00:00 AM
I have a string like string sNo. I want to cast it to int with int.Parse(sNo) but if the string is null or empty, it will thow exception. I must check if sNo is not null and is not empty before cast like: if ((sNo<>null) && (sNo<>"")) Have there any function to check the null and "" at o...more >>

Getting Page Not found in Windows Server 2003 machine
Posted by Reshma Prabhu at 7/4/2005 12:00:00 AM
Hello, I am using Windows Server 2003 Enterprise Edition for deploying ASP.NET application. I also have a SharePoint Server running on that machine. When I deploy the web site and try to access it , I getting '404 Not Found' Error. Can any help me please to solve ...more >>

[OT] WinForms Windows Message Queue
Posted by Cool Guy at 7/4/2005 12:00:00 AM
It's possible to cause a WinForm window's message queue to process messages after it's processed WM_CLOSE, by using Invoke/BeginInvoke in a worker thread (meaning that complex work-arounds are required to make code that calls Invoke/BeginInvoke in a background thread thread-safe -- and which ...more >>

Reporting Services Error
Posted by Alex Smith at 7/4/2005 12:00:00 AM
Hi Friends, When I am browse http://localhost/ReportServer/Pages/ReportViewer.aspx , I get this type of error below. Reporting Services Error -------------------------------------------------------------------------------- An internal error occurred on the report server. See the error l...more >>


DevelopmentNow Blog