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# > june 2007 > threads for wednesday june 6

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

Where is my thread?
Posted by Carlot at 6/6/2007 11:41:00 PM
Someone know where the thread I posted yestarday is gone? It was about 'Calling a VB Activex DLL method from C# (NET 1.1 - 2003)' Thanks Carlot...more >>


how to change variable value which is using as param list in sub functoin
Posted by cty0000 NO[at]SPAM gmail.com at 6/6/2007 11:01:12 PM
I need to set several variable (can be different type) by sub function.. I don't know the count of variable and type, so i used object type and parameter list like below source.. After setData function call a1,a2 is still -1 and "AAA" I want to be change as 3,"BBB" Does anybody can help me??? ...more >>

Using Derived class
Posted by visweswararao.neeli NO[at]SPAM gmail.com at 6/6/2007 9:16:52 PM
I have two DLL's .One Dll contains the Base class and the second dll containts the derived class. Now I want to use the second dll only not referencing the first dll in my project. I tried but I was failed to do so. Please help me out. ...more >>

Share configurable application settings between projects in a vsnet solution
Posted by Meteor at 6/6/2007 9:07:40 PM
I have a vs2005 solution containing about 5 projects, three of which have their own .settings files. When I deploy the application, I want all the settings to be in one place - configurable - presumably in an app.config file where I can edit them. The settings will be used by a windows service...more >>

Which event is raised after a DataGridView sorts itself?
Posted by Pucca at 6/6/2007 8:36:00 PM
Hi, I'm using vs2005, .net 2, C# for windows application. I have a DataGridView control that its datasource is from a dataset datatable. After the user changes the data on a row in the grid, the grid sorts itself based on the new updated value. Anyone knows which event is raised after ...more >>

How can I include prerequiste files in my installation to install
Posted by Pucca at 6/6/2007 8:23:00 PM
Hi, I'm using vs2005, .net 2, C# for windows application. My application needs a couple of prerequists like .net 2.0 and windows installer and some service packs. I have all these files. How can I include them in my installation to install when the installation detects they're missing on th...more >>

WCF Proxies
Posted by james at 6/6/2007 6:49:35 PM
Hi Guys, Is it expensive to create proxies in WCF? I always create new proxy instances (when not using sessions) so I don't have to worry about a proxy falling into a Faulted state. I started an application that where performance is an issue, and I was curious if creating new proxies is goi...more >>

First file within a directory
Posted by Gaurav at 6/6/2007 6:44:01 PM
Hi...I have a requirement to find the first file within a directory. I know we can use the GetFiles() method of Directory class, but am a little stuck up with the syntax. Can somebody plz let me know who this can be done? Thanks......more >>



First file in a directory?
Posted by Gaurav at 6/6/2007 4:48:00 PM
Hi... I am trying to get the name of the first file in a directory. I know that I have to use the Directory class and the GetFiles method. I am a little stuck with the syntax ... can somebody plzzzz show me a code snippet on how to "get the first file in a directory". Appreciate your help! ...more >>

radio buttons in a dataGridView help...
Posted by trint at 6/6/2007 4:34:25 PM
Hi, I need to add a cell to my dataGridView that will contain 4 radio buttons and another cell that contains 3 textboxes. Any examples of this would be appreciated. Thanks, Trint ...more >>

Data flow
Posted by colin at 6/6/2007 3:56:37 PM
Hi, Im tidying up some code ive written wich atm is all in the main form. its working reasonably well, uses zedgraph wich is nice, but i need to tidy it up as its become increasingly difficult to work with. although very fluent in C++ etc, im still geting to grips with c#, and I think theres ...more >>

Remove Row from a DataView
Posted by MarkusJNZ NO[at]SPAM gmail.com at 6/6/2007 2:02:40 PM
Hi, I have a dataview which I am using to bind to a gridview. In the page load event I am checking for a condition in each row of the dataview and if it exists I want to remove the row from the dataview before I bind it to the gridview; Pseudo code below ================ DataView people ...more >>

C# : transfer data from one database to other
Posted by sravan_reddy001 at 6/6/2007 1:50:58 PM
I had created an appication that serves as an address book i used the SQL server 2000 as the database to store the contacts; its only a single table that contains enitre details now i thought of transferring the entire details from the table(name : addressbook) in sql 2000 to the ms access t...more >>

Changing the font for a label programmatically
Posted by Randy at 6/6/2007 1:21:47 PM
I've got an ASP VS 2005 project. I'm trying to figure out how to = programmatically change the font of a label. From memory, this was done = easily in 2003, but the Font property is read-only. Can someone please show me how to change the font programmatically? Thanks...more >>

Derived Button Control Subclass Issue
Posted by gregarican at 6/6/2007 1:05:29 PM
There is a C# CTI app I'm working on using Visual Studio 2005 at revision level 8.0.50727-7600. I need a couple of Windows Form Button controls to emulate line buttons on a telephone. So I went to create a class file for the user control to subclass this out. Something basic for a start, just in...more >>

DispatchEntry DispatchTable - Converting C++ to C#
Posted by jwgoerlich NO[at]SPAM gmail.com at 6/6/2007 12:02:06 PM
Hello group, How would one write the following C++ code in C#? What .Net object could I use for a DispatchEntry? DispatchEntry DispatchTable[] = { { TEXT("classfilter"), cmdClassFilter, MSG_CLASSFILTER_SHORT, MSG_CLASSFILTER_LONG }, { TEXT("classes"), cmdClasses, MSG_CLAS...more >>

Inserting a blank line between XML elements
Posted by MaxMax at 6/6/2007 11:52:03 AM
I want to insert a white line between XML elements to raise human readability example: <MyNode> </MyNode> <MyNode> </MyNode> <MyNode> </MyNode> How should I do it? I'm creating the XML using XmlDocument and inserting the nodes. I tried inserting white space using for example: ...more >>

Winfprm Application Hangs on exit.
Posted by at 6/6/2007 11:51:48 AM
hi , I have a application which reads files, directory,and its version and version information is written to text file.Its working fine if files in directory are less but problem arises when no of file increases. Its hangs and on pressing exit button it showing application not responding.....more >>

getting the value of a selected/unselected item in a checkboxlist
Posted by Brett Wesoloski at 6/6/2007 11:33:56 AM
I am having a bit of a problem getting the current value of the checkbox list. I have tried using the selected value as I thought that would give me the current value of the check box but it appears to be giving me the first value that is selected all the time. I have also tried to use t...more >>

How to create a user control container?
Posted by Joseph Geretz at 6/6/2007 10:56:24 AM
Don't get me wrong - I'm a fan of .NET; I am enthusiastic about the richness and elegance of the environment. However, richness and elegance should be dedicated toward making development easier for developers, not more difficult. In many ways this goal is achieved. However, I've run up against...more >>

C# protected constructor question
Posted by kmrneedsnethelp at 6/6/2007 10:46:00 AM
I have the class structure shown below. When I compile I receive the following erros: 'B.B()' is inaccessible due to its protection level 'C.C()' is inaccessible due to its protection level I am sure it is because of the protected keyword on the constructors for B and C but I do not underst...more >>

Form.ShowDialog() overloads
Posted by Frank Rizzo at 6/6/2007 10:46:00 AM
I am not grokking the difference between Form.ShowDialog() and Form.ShowDialog(this). I have a form (parent form) that kicks off a modal dialog using Form.ShowDialog(). The modal dialog has a 3rd party control on it. The weird thing is that I can click on parent form's icon in the taskbar...more >>

color text
Posted by at 6/6/2007 10:07:27 AM
Hi, if I put a string into a label, label.Text = horsy[0] + "\t" + " - " + "\t" + returns.totReturn.ToString();, is it possible to have the 'returns.totReturn.ToString()' string part in a different colur. Regards Robert ...more >>

Has VS some equivalent of Delphi Bevel and Shape components?
Posted by ommail NO[at]SPAM wp.pl at 6/6/2007 10:05:48 AM
Delphi has nice looking and easy to use components Bevel and Shape. Unfortunately I don't found anything similar in VS 2005. Maybe I missed something? If not - is there some library of free gui components you could recommend? Regards ...more >>

writing to notepad
Posted by at 6/6/2007 10:04:27 AM
Hi, Im using streamwriter to write to notepad or word. No problems with this. Is it possible to write to either notpad or word, while the document is open, and the data to update as its written. At the momment notepad has to be closed, saved and reopened to see the data. Word doesnt allow me to...more >>

Is it same old .NET Framework 2.0 underneath 3.0 framework?
Posted by Ronald S. Cook at 6/6/2007 9:44:45 AM
Does .NET 3.0 Framework contained any fixes to .NET 2.0 Framework, or if it is same old 2.0 Framework just with WCF, WPF, and WF on top of it? I have a colleague who thinks they updated the 2.0 framework when they packaged WCF, WPF, and WF with it. I'm npot so sure. Thanks, Ron ...more >>

NET View in C#
Posted by Eric at 6/6/2007 8:26:00 AM
Knows somebody how to do a 'NET VIEW' with the .Net framework / ASP.NET? Using WMI? Capturing DOS output? Or are there any useful classes? thanks Eric...more >>

Novice question on interoperability
Posted by Gregory Khra at 6/6/2007 8:16:02 AM
I need to write a C# DLL that is called from unmanaged C++ client. I would prefer not to use COM if I can (unnecessary overhead, time-sensitive application). Can somebody direct me at the tutorial or a sample? Thank you. Gregory...more >>

C# 3.0
Posted by RITESHIR at 6/6/2007 7:32:01 AM
What is a "Predicate Deligate". Please explain....more >>

Need references for .Net app replicating SQL2005 database to the laptops
Posted by Earl at 6/6/2007 2:35:30 AM
Can anyone point me to some good references for coding a Winforms app to trigger replication (merge preferably) on SQL2005? I'm setting up a scenario where I want my app to allow multiple laptops to synchronize to the distribution SQL2005 database and I'd like to do it either automatically or ...more >>

C# - Do we hav any methods to handle the mouse events
Posted by sravan_reddy001 at 6/6/2007 1:41:37 AM
do we hav any methods defined in C# to handle all the mouse events like ->mouseover ->mousemoved ->mousedragged i just want to create a drawing box.... ...more >>

How do I pass beyond cave 7 of digger .net ?
Posted by at 6/6/2007 1:26:59 AM
Hello, Is there anyone familiar with digger .net, I can't get passed cave 7, how many caves are there? Thanks in advance ...more >>

stdole.IPictureDisp
Posted by Yael at 6/6/2007 12:44:01 AM
Hi, I have problem is with return stdole.IPictureDisp in this method if the computer don't have vs.net installed. I created a com add-in for outlook 2003 in vs.net 2003 c#. if I calling stdole.IPictureDisp Pic = MatarotHost.ImageToIPicture(Image.FromStream(imgStreamPic)); And I don't have ...more >>

Form designer looses controls
Posted by Rainer Queck at 6/6/2007 12:00:00 AM
Hi NG, It happens quit often, that in Visual Studio 2005 the form designer "looses" controls. Actually it does not really loose them, but the are no longer visible and to get them back I must close the formdesigner and reopen it. I observe this quit often with controls contained in a tabP...more >>

Passing arguments to ClickOnce applications
Posted by Jean Paul Mertens at 6/6/2007 12:00:00 AM
Hello, Is there a simple way for passing arguments to applications deployed with ClickOnce and having off-line capabilities. My app takes arguments if I start it with the whole path to it "c:\whole\path\myapp.exe /arg=123" but as I do not know where the application reside on the client P...more >>

how to instantiate a global class visible in whole application
Posted by Peted at 6/6/2007 12:00:00 AM
I have an application with mdi parent form, and mutliple child forms. In the mdi parent form i want to instantiate a device class for comunicating to a peice of hardware via serial port. its constructor would look something like Device kvm = new Device(Serialport); There may be more t...more >>

Getting the name of user on remote computer
Posted by Heike Pertzel at 6/6/2007 12:00:00 AM
Hallo NG! I would like to get the name of the user logged on on a another computer. I've written the following code which gives me the LogonId of this user. But getting with this Id the name of the user doesn't work. I would appreciate every hint or help! Regards Heike Pertzel *****...more >>

deployment
Posted by Doug at 6/6/2007 12:00:00 AM
Hi I have my app ready to go and I would like some advice about deployment. I have coded some files that my app will rely on and have included references to these files in my application such as location="c:\\abc\\def\\ghi\\my.xml"; is the a way that I can reference such files in my co...more >>

Dundas Chart Enterprise ASP - datasource
Posted by Przemek at 6/6/2007 12:00:00 AM
Hello, I have problem Dundas Chart Enterprise ASP for Visual Studio 2005 not see data in series ValueMembersY. DataSource is ok I have MsSql 2005 standard. ValueMembersX is OK Chart see data. I install Chart in other computer and see ValueMembersY data. Please help me ! Best Reg...more >>

Shared Assemblies
Posted by sravan_reddy001 at 6/6/2007 12:00:00 AM
I created an assembly and installed it into the Global Assembly Cache. (I can find that in my C:\windows\Assembly\ directory) after that i designed a client application to test that global assembly what sud i do in the client application to access the classes in that Global Assembly i us...more >>

customise button appearences
Posted by Peted at 6/6/2007 12:00:00 AM
im using radio button array with button appearence. Im just wondering if there is a easy way programtically to enhance the button look with such things a gradient color fills and effects and stuff, without having to resort to using bitmaps or images for backgrounds ? Im mostly interested in ...more >>

Cant get Style.Continuous to work with ToolStripProgressbar
Posted by Johan at 6/6/2007 12:00:00 AM
Hi! I cant get the ToolStripProgressbar property "Style.Continuous" to work in my Windows form application. The progress bar still have the default look(blocks) when i run it. Is there any thing more you have to do to get it to work? Regards /Johan...more >>


DevelopmentNow Blog