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# > november 2007 > threads for monday november 19

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

multiple forms
Posted by ulazar at 11/19/2007 10:26:34 PM
I would like to open a form from a button in the principal form. Ok that's easy...the problem is that I want to use methods, variables of principal application and access to data source from the second form....more >>


Label Printing
Posted by Johnny at 11/19/2007 10:11:02 PM
Our application needs to be able to print barcode labels based on the orders being shipped. Does anyone have a suggestion as to the best barcode label solutions that I can integrate into your application to print these labels? Any suggestions would be appreciated....more >>

intercepting a handled exception in the debugger
Posted by colin at 11/19/2007 8:08:25 PM
Is it possible to do this ? i cant see any likly options. I have an exception handler but I want to examine the exception before it gets to the handler, Is there a way to do this ? At the moment i have to comment out the exception handler to examine whats going on at the time of the exception ...more >>

Visual Studio 2008 released
Posted by Jon Skeet [C# MVP] at 11/19/2007 7:36:48 PM
Just in case people had missed it, Visual Studio 2008 is now available for download for MSDN subscribers, and the Express editions are also out: http://www.microsoft.com/express/download/ -- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skee...more >>

ANN: VS2008 - RTM'd
Posted by Willy Denoyette [MVP] at 11/19/2007 7:35:18 PM
The wait is over, get your copy of VS2008 RTM from here: http://msdn2.microsoft.com/en-us/vstudio/products/aa700831.aspx Willy. ...more >>

me business. Join for FREE¢À¢À¢À
Posted by C K at 11/19/2007 7:22:25 PM
"EARN $25,$50,even $100 per hour..." MILLIONS OF PEOPLE ALL OVER THE WORLD ARE MAKING MONEY ONLINE WITH JUST A COMPUTER AND WORKING FEW HOURS A WEEK, YOU CAN TOO!! For More Details: http://web2earnonline.blogspot.com/ http://onlineincomemax.blogspot.com/...more >>

Write AppSettings Keys Programmaticaly
Posted by Sylvie at 11/19/2007 5:04:25 PM
I am Developing a web application and reading connection strings from Web.Config file, How can I write appSettings keys programmaticaly via a web page ? Thanks <?xml version="1.0"?> <configuration> <appSettings> <add key="SQLServer" value="SERVER"/> <add key="S...more >>

.NET system loading
Posted by colin at 11/19/2007 4:59:56 PM
Hi, I have a potential destination for my 'ready to be beta tested' .NET c# program, but there is reluctance to install .NET onto some pretty old machines due to the unknown impact on other applications wich otherwise run ok and need to be certian they remain that way, as the .NET installation ...more >>



process class
Posted by Analizer1 at 11/19/2007 4:32:11 PM
hello Im using Process Class to Run Wzzip.exe, Winzip's command line utility is there a way to hide the dos box that pops up ive Set oProcess.StartupInof.CreateNoWindow=true thanks ...more >>

best SDI methods
Posted by R.A.F. at 11/19/2007 4:30:01 PM
Hi, I would like to have your advice regarding a simple SDI application. i have 3 forms : FMain, FMainHW and FMainSW. when my application run FMain display the main menu and interface of the SDI application. in this menu i have 2 items HW and SW. when i click on HW item, it should display...more >>

getting container element type with reflection
Posted by colin at 11/19/2007 3:08:37 PM
Hi, Im using reflection and I have a general handler for a container type object where I have the System.Type info of the container itself but I need to find out the type of the element contained in it. The full name of the Type info does usualy include the type, but is there a way of getting...more >>

Where i can define global variable?
Posted by Tark Siala at 11/19/2007 2:44:33 PM
hi i worked with VB6 then i changed to C#. i want define Variable thats i can accessed from any Form or Class in my project. in VB6 you can do that by define as "Global" in Module, but in C# i can't find Global for all forms in project. ----------- Tarek M. Siala Software Developer http:/...more >>

vs2008 question.
Posted by Frank Rizzo at 11/19/2007 2:01:59 PM
Before I download and install 2008, I have a question. One of the selling points of 2008 is multi-targeting. I work on a team where everyone uses vs2005. Can I use vs 2008 for development and have it target .net 2.0 and count on the IDE not to mess up the .csproj and .sln files, so that m...more >>

determine object's collection
Posted by Jure Bogataj at 11/19/2007 12:23:33 PM
Hello! This may be a silly question, but anyway: If I have collection / list of objects: public class MyCollection : List<MyObject> { } public class MyObject { ... } And then somewhere in the code I add object to the collection: .... MyCollection col = new MyCollection() MyO...more >>

Dispose(bool), Idisposable, form closing etc.
Posted by rbrowning1958 at 11/19/2007 12:14:30 PM
Hello, I am confused by dispose etc. and hope someone can set me right. 1. The Dispose(Bool) the IDE generates for a form has nothing to do with IDisposable, right? 2. So when is this called? When a form is closed? If this is caused automatically when a form is closed how can I then access ...more >>

Sending POST to a web page
Posted by ofiras at 11/19/2007 12:08:05 PM
Hello everyone, How can I sand a post to a web page? I want that when the page is trying to fetch a post variable, it will be something the program defined first. Please help, Ofir....more >>

time critical programming
Posted by Peter Sprenger at 11/19/2007 10:28:02 AM
Hi, I have no experience in doing time critical things in a .NET language. I need to modify 8 ISDN streams (each 64kbit) in realtime with max. 30ms delay. Has somebody experience in doing time ctritical things in C# or another .NET language? Could the garbage collector be a problem? Any ...more >>

Use MSBuild
Posted by rfaux at 11/19/2007 10:19:23 AM
Since VS basically uses MSBuild to compile everything you can send the value for /define on the commandline to MSBuild buy using MSBuilds property DefineConstants like so... /property:DefineConstants="CommaDelemitedList"...more >>

Return an Array
Posted by Trecius at 11/19/2007 9:53:03 AM
Hello, Newsgroupians: I have a simple question. I have a function that I want to return an array. I want the array to be other objects that were instantiated in the function itself. What's the correct way to return the array? Here's what I would like to happen... public object[] MyFu...more >>

GZipStream weird behavior.
Posted by Rene at 11/19/2007 9:47:29 AM
The snipped of code below will not work unless I un-rem the "compressZip.Close()" instruction. Question: Why do I need to close the GZipStream object used for compression in order to successfully use a GZipStream to decompress??? To me they should be totally independent form one another. Wh...more >>

what is the best datatype for..
Posted by calvert4rent@gmail.com at 11/19/2007 7:53:54 AM
I need to some sort of data type that will hold a listing of ID's and their counts/frequency. As I do some processing I get an ID back which I need to store and keep an accurate count for how many times that ID is listed. For example I might get a listing of these numbers: 1,4,6,23,6,2,54,1,6...more >>

Help with unc paths
Posted by Gerald Piotrowski at 11/19/2007 7:51:00 AM
Hello, I am new to C# and am having a problem with my program. I have created a small test to try and find the problem but I can't seem to find it. The following code is my test. using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; n...more >>

.NET XmlSerializer can serialize xs:documentation elements?
Posted by atong at 11/19/2007 6:44:19 AM
Id like to know if .NET XmlSerializer can serialize "xs:documentation" elements. For example, consider the following code fragment written in C#: public class class1 : WebService { public struct SampleStructure { [XmlElement("NAME1")] public string S1; [XmlEle...more >>

Dynamically Populate Datagrid
Posted by Soulless at 11/19/2007 6:36:17 AM
Hi, I'm such a nood it isn't funny and apologize for this question in advance. I have a datagrid on my form and wish to populate it from a Sybase source using a dynamic select. so, basically I can create a select statement in a string and retrieve it using ExecuteScalar to retrieve. I ...more >>

Thread Loading Form
Posted by Franck at 11/19/2007 6:07:13 AM
I have a form with a loading bar as marquee so i don't need to play with the progress thing. It's just a form to show activity in other way. So what i need to do is start it at the beginning of the process which take 10-30 sec depends and have to stop it at the end. I have to use thread so i ...more >>

Singleton class, use another class?
Posted by davebythesea at 11/19/2007 5:49:00 AM
Hi, I have created a Singleton class to provide some database functionality in my mobile application. I have a public class called Utility which performs various operations on data. Is it ok to use the utility class in my Singleton class? Here is some code to hopefully make it clearer what ...more >>

Generics and inheritance
Posted by billr at 11/19/2007 4:28:01 AM
Sorry if this is the wrong group, but I can think not of where else to post (excepting of course my cross group post to .NET Development/General) I have an inheritance hierarchy in place as follows ... PersonVisitor<T> <-- AlphabeticVisitor<T> <-- FamilyNameVisitor<T> public interfac...more >>

Best Approach to MS EntLib DAAB Database Object
Posted by Abhishek Tripathi at 11/19/2007 2:19:36 AM
Hi, I am using a code similar to Database db = DatabaseFactory.CreateDatabase("MyDB") in every function of my DAL that interacts directly to database. But recently I have started getting connection pool errors. I think, it is because of incorrect usage pattern of Database Object of DAA...more >>

AxShDocVw.AxWebBrowser.Navigate and object headers
Posted by CodeRazor at 11/19/2007 2:01:00 AM
I am hosting a web application within a windows form using MsHtmlHstInterop.dll. I am opening the web browser window using: object flags = 0; object targetFrame = String.Empty; object postData = String.Empty; object headers = String.Empty; this.WebBrowser.Navigate("http://www.m...more >>

Recovery settings of a windows service
Posted by svandanapu at 11/19/2007 1:06:49 AM
Hi All, I written one windows service and its working fine. I Need to check the recovery settings of that service from one windows application. How do I can get the recovery settings of(first failure, second failure and third failure) a service programatically. can any one please help me in thi...more >>

Mdi Child Form - Limiting Placement Within Mdi Parent
Posted by Bob Johnson at 11/19/2007 12:29:02 AM
..NET 3.5: I have placed two controls at the top of an Mdi parent form. The top-most control is a Panel that is docked to the Top. Immediately below the Panel is a user control that is Anchored to the Top, Left, and Right. At runtme I can drag Mdi child forms toward the top of the Mdi parent....more >>


DevelopmentNow Blog