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 2004 > threads for saturday july 31

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

Dataset and dataadapter
Posted by GM at 7/31/2004 9:11:01 PM
-What is the advantage of placing the dataset into the designer? -is it possible to share adapters across webforms? -is it possible to created a set of adapter with one dataset to reuse across webforms? thanks, ...more >>


Number of files in a directory.
Posted by prelugejunk NO[at]SPAM hotmail-dot-com.no-spam.invalid at 7/31/2004 8:02:42 PM
EDIT: I no longer need only specific file types in a directory, just the total number of files! Is there a more efficient way other than this: string[] files = Directory.GetFiles(path); count = files.length; It seems like such a waste to have to create a full array of strings, speciall...more >>

Context menu IE
Posted by r+r at 7/31/2004 7:24:30 PM
Hello All I need to add a context menu voice in Internet Explorer allowing me to retrieve the urls of a web page. Well,i'm able to add it ( the voice) but I have to completely understand how my program interfaces with the web page and viceversa. From msdn I read about scripting.... any...more >>

Memory usage.
Posted by Nick at 7/31/2004 4:52:08 PM
I have a program that generates a custom bimap every 50ms. Which is slow, but no way to make it faster. Now I want to keep it generating as fast as possible (which is 50 ms). But I have to store these images somewhere. The only place I can think of is ram. What effect would so many bitmaps have ...more >>

Type class question
Posted by alexandre jenny at 7/31/2004 4:45:33 PM
Easy : Type mytype = myclass.GetType(); // my isn't an array class. How can I get easily the Type of an array of myclass using only mytype ? Alexandre ...more >>

Application->SP problem
Posted by Viktor Popov at 7/31/2004 4:34:48 PM
Hi, I use ASP.NET/C#/MS SQL and I'm trying to do the following but I find it very hard! I have Stored Procedure which saves data from the Application into DataBase. One of its parameters is @Rooms INT. When A user insert in the WebForm a value everything is allright because I do this: cmd....more >>

DirectX 9
Posted by Raul at 7/31/2004 4:33:55 PM
Hi everyone Wonder if anyone can please help me, have this urgent work to get done and the major problem is that I am complete noive to C Sharp & Directx 9 (SDK) which I have installed on my home PC, but everytime I try run a example I get the following error messages in Visual Studio.N...more >>

What is the difference between ASP.Net and DotNet ?
Posted by petsmirn NO[at]SPAM email.com at 7/31/2004 4:23:18 PM
Sometimes authors are writing in their articles just about DotNet other refer to ASP.NET Is there a difference or just a different name for the same ? Peter ...more >>



How do I find out the local DotNet version ?
Posted by hamiltonx NO[at]SPAM lycos.com at 7/31/2004 4:05:23 PM
When I inspect a new computer. How can I find out which DotNet version (e.g. NONE, or 3.0 or 4.0) is currently installed on it? Sven ...more >>

Keyword this not available in the current context
Posted by Amit W. at 7/31/2004 4:03:02 PM
Hi I'm trying to use Rockford Lhotka's "Implementing a Background Process in Visual Basic .NET" in C#" http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet09272002.asp. I have added the Background project in my solution as a VB Project. My UI is in C#. When I...more >>

newbie: web.config for a webservice!
Posted by Jeff at 7/31/2004 4:02:54 PM
Hi all! IDE: Visual Studio 2003 .NET OS: XP Pro I'm experimenting with c# and created a webservice. I want to put configuration settings into the web.config file so that the webservice gets more flexible... Below are 3 questions: Question 1: <?xml version="1.0" encoding="utf-8" ?> <...more >>

Dynamically referencing to .NET class libraries
Posted by M.H.Paravresh at 7/31/2004 3:02:53 PM
We want to have Add-in modules for our application. previously it was possible by loading dynamic link libraries(Dlls). what about .NET framework? ...more >>

menu
Posted by freddy at 7/31/2004 2:05:02 PM
I have a mainmenu and sub menus. One of my menus is menuItem5 and when the form runs and the menuItem is clicked the form resizes itself to make it bigger(More Details). I would like the form to show Less Details and the form resiZe itself back to the way it started...more >>

Initializing objects in ctor or class
Posted by Razzie at 7/31/2004 1:10:42 PM
Hello all, This may seem like a silly question but I suddenly wondered about this. Is there any difference between the following 2 situations? 1) class A { private SomeObject o = new SomeObject(); public A() {} } 2) class A { private SomeObject o; publ...more >>

ComboBox Default values
Posted by NCrum at 7/31/2004 9:35:02 AM
I want to set the Default value of a Combobox for any changeable record and have got this working but it is totaly unsatisfactory see the code below I loop through the items in the Combo looking for a match between cVal and the selectedValue then stop when I do have a match the obvious problem i...more >>

Generate MS-like looking documentation?
Posted by Andy Meca at 7/31/2004 9:33:39 AM
I wrote a component library in C#. Is there a tool that will generate documentation for me which looks exactly like the Microsoft .NET framework documentation? I saw a third party component that had documentation that looked just like it was from the .NET framework documentation - same exact ...more >>

Passing Datetime paramters to SQL Select
Posted by JWH035 at 7/31/2004 9:01:01 AM
I'm having a problem properly passing a datetime variable to SQL from C#. In the sqladapter's properties / SelectCommand / parameters when I hard code the Value to a date for selection purposes the datagrid is properly filled. However when I attempt to pass the date value collected from the date c...more >>

Scroll after appendText in RichTextBox
Posted by Joseph Lee at 7/31/2004 8:55:28 AM
Hi, I am trying to find the command to scroll the richtextbox to the latest appended string at the bottom. I have tried update, refresh and scroll to caret but it does not seem to work Thanks Joey ...more >>

How can I hihglight the whole row of DataGrid ?
Posted by Serg Matvienko at 7/31/2004 8:21:18 AM
Hi everybody, My dataGrid is "for read" only.How can I hihglight the whole row of DataGrid when I am navigating through rows? Now I can see only a small triangle on the right side of dataGrid moving. Thanks a lot in advance, Serg ...more >>

Delay
Posted by adish11 at 7/31/2004 6:20:58 AM
Hi, In Web Application I would like to create delay for 30 sec in the code to enable external process to run. During the delay in application I would like to show the user message like "Please wait while the data being updated..." Can u help me please with code lines? Thank u very much f...more >>

question about Trim
Posted by Gidi at 7/31/2004 5:45:02 AM
hi, how can i take a float number and make it's lengeth to be only 3 or 4 numbers after the points, for example: if i have the number 1.999999999999 i want it to be 1.999 thnaks...more >>

Question about checking input
Posted by Gidi at 7/31/2004 4:23:01 AM
hi, how can i check that the input that the user inserts is of the type i need. for expample if i want the user to insert only numbers how can i check that he hasn't insert letters or something else? i hope that there is a better way then to check char by char... thanks...more >>

problem when listing evidences
Posted by fred at 7/31/2004 3:42:07 AM
i wrote this small application: ---------------------------------------------- using System; using System.Reflection; using System.Collections; using System.Security.Policy; namespace SecTest { class DisplayEvidences { static void Main(string[] args) { Assembly assembly = Assembly.Lo...more >>

insert data into dataGrid or DataSet
Posted by Gidi at 7/31/2004 3:13:01 AM
hello, i have dataGrid that connected to a DataSet, and i want that when one coulmn in specifc row is changed it will effect other coulmn. i need to use the current cell changed event but i don't know how to enter the data to the dataGrid. how can i do it?? thanks...more >>

Data sharing between applications
Posted by Tom Q at 7/31/2004 1:02:02 AM
A user has multiple applications running on his/her PC and I want to create a broker component or service that is shared among the multiple apps. Each time an application changes a record it notifies the broker and the broker in turn notifies the other applications so they can take appropriate ...more >>

IActiveDesktop interface from shell32
Posted by David at 7/31/2004 12:46:49 AM
hello... how can i use IActiveDesktop COM interface from shell32.dll? thanx... ...more >>

javascript and axwebbrowser
Posted by nicolas at 7/31/2004 12:41:40 AM
Hello Can i launch a javascrit function on a HTML page which is on a axwebbrowser ? Thanks Nico ...more >>


DevelopmentNow Blog