Groups | Blog | Home


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# > august 2003 > threads for monday august 18

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

how to get handle and use it?
Posted by Jared at 8/18/2003 11:50:46 PM
Again me Can anyone tell me how to get a handle of a form and using that handle show it? I have MDI application where child forms are all instances of one form. Since I cannot give then individual names, only solution that I could think of are handles. So, when child is minimized, it just becom...more >>


Invoking WebSvc Dynamically!~
Posted by Vai2000 at 8/18/2003 10:49:33 PM
Hi All, I am trying 2 invoke a websvc dynamically. All I will have is the WSDL. I want to avoid the design time programming (i.e adding web reference etc). How will I achieve this goal? TIA -- ======== Regards Vai ======== ...more >>

copy matrices
Posted by phoenix at 8/18/2003 10:03:35 PM
Hello, could somebody provide some info on what the fastest way is to copy arrays? Basically I'm having a Matrix class which internally is represented by a 2D array of floats (float[,] data). I'm wondering what the best way is to copy all that data in for example a Clone() method. Should i u...more >>

Need advice for Middleware
Posted by Calimero at 8/18/2003 8:14:21 PM
I have to write a middleware that could be see as a very specialized Web server (based on threads and sockets) I hesitate between C++ (speed) and C# (more elegant) What is the performance penalty if I use C# instead of native (not managed) C++ ? This software could have to manage 100's of simul...more >>

problem accessing members of class
Posted by Jon Agiato at 8/18/2003 7:56:37 PM
Hello all, Here is the jist of my situation: I have an ArrayList of class A. class A contains a Stack of class B. I need to add instances of class B to the Stack in each instance of class A within the ArrayList like so (except correct, hehe): classA[blahblah].stackInA.add(new classB(blah)); ...more >>

the wrong forum, but.... (executing shell command on selected text)
Posted by sklett at 8/18/2003 7:43:51 PM
Hi- I apologize for asking this in the wrong forum, but I can't think what would be the correct one, OR... I can't find the correct one. Basically, I would like to execute a shell command on selected text. For example, after you install the google toolbar, you can search google based on the ...more >>

How to remember the path i accessed last time and open it next time?
Posted by Steven at 8/18/2003 7:31:05 PM
Hello, I have a problem in using TreeView. I want to remember the path I have accessed. When I open the dialog of this TreeView next time , it could be opened automatically. Does anyone can help me? Thanks. bestRegards from Steven Suen 2003/8/18 ...more >>

probs adding objects to array ( simple )
Posted by andrewcw at 8/18/2003 6:23:32 PM
Seems it should be simple. I had problems with a larger class and the newsgroup suggested something I also tried. So I pruned my class to see if I could find out what could be wrong, Still dont know. This snippet is easily dropped into any project, THANKS namespace QCLoader { public cla...more >>



File's custom attributes
Posted by StGo at 8/18/2003 6:03:17 PM
How can i read/write file's custom attributs(like subject,author...) in C#??? Thanks :)) ...more >>

Double Click in treeView
Posted by Brian Smith at 8/18/2003 5:40:02 PM
Is there a way to avoid the default action of TreeNode expansion/contraction caused by double click? I can add an event handler to pop up my properties dialog on double click, but it has the unintended side-effect of toggling the expansion of that subtree. Thanks in advance, Brian ...more >>

Writing an LDAP interface?
Posted by Frank Drebin at 8/18/2003 5:21:45 PM
I have a need to allow other LDAP-compliant customers that want to integrate thier own single-signon to be able to map to accounts in my SQL2K database. Since they are using LDAP - I'm assuming I'd need to write a listener that responds with what they are looking for. Is there something that...more >>

problem with versionning
Posted by Achim Zeeck at 8/18/2003 5:04:20 PM
hi all - i've got a problem with versioned assemblies, and maybe somebody can help: i created an assembly (dll) in two versions (1.0.0.0 and 2.0.0.0), put them in the gac and produced a test app (testapp.exe) which references this assembly (v1). additionally, i created an app.config (testapp.e...more >>

xsltTransform
Posted by Mate Visky at 8/18/2003 4:00:05 PM
hi, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconimplementationofdiscretionarybehaviorsinxsltransformclass.asp "The disable-output-escaping attribute is ignored when the xsl:text or xsl:value-of elements are used in an xsl:comment, xsl:processing-instruc...more >>

web server not installed error
Posted by george r smith at 8/18/2003 3:41:12 PM
I am running 2000 Professional at work and can not create any web applications or webservices because I do not have a web server installed. I reinstalled visual studio but could not find IIS anywhere. Where do I get a webserver to use. Please do not ask me to ask our system administrator we h...more >>

Compress a string
Posted by Darren B at 8/18/2003 2:46:43 PM
I have a long string, actually a MAPI entry ID that I want to compress down for storing into a database. An example is: "0000000020CCCFAC05C0B14B920BE916F0ADEC54070012EA1E9997A09B4391EA8D617B81A95 3000000004E46000012EA1E9997A09B4391EA8D617B81A953000000005D820000" Anybody have any ides On how ...more >>

cloning objects
Posted by Cody Manix at 8/18/2003 2:44:28 PM
iam trying to program a copy constructor that is able to create a bitwise copy of its argument: MyClass { int a; // lots of different fields goes here float x; MyClass (MyClass my) { // create an exact copy of mc here } } normaly, object.MemberWiseClone() would be the wa...more >>

C# service on stop not triggered
Posted by mcjabba NO[at]SPAM iname.com at 8/18/2003 2:33:00 PM
Hello, I've written a (quite complicated) windows service using C# , starting from a wizzard generated project.Added custom installers, installs and run just fine, does all the work it's supposed to do. I do not change the CanStop propery anywhere in the code. But the OnStop protected o...more >>

Non-responsive
Posted by Jim Christiano at 8/18/2003 2:15:24 PM
I've created a C# window's form application that migrates data. As it migrates data, the program itself is non-responsive. I would like to implement a cancel button to stop the migration mid-stream. Will I have to use threading to split the tasks or is there another way? Thanks in advance, ...more >>

Memory Leak with Web-Requests
Posted by Andreas Lennartz at 8/18/2003 1:28:18 PM
Hello, I have some problems with the class WebRequest and its childs. I am developing a bot that visits a lot of different urls and returns the content. But every time an URL-Request is finished there is a memory leak. Here is a small example that reproduces this problem: I read of a File w...more >>

DirectoryInfo.Exists and Network drives
Posted by Peter Somu at 8/18/2003 1:07:12 PM
Hello, It seems like the method DirectoryInfo.Exists does not work for network mapped directories. Is this true? If so, what mechanism is there to verify that a netowork directory exists? Thanks in advance Peter Somu psomu@yahoo.com ...more >>

Object reference not set to an instance of an object
Posted by andrewcw at 8/18/2003 12:21:04 PM
( excuse earlier bad post, I was attemptingt to use tab key which sent message ). I am using a class genereated by XSD. From data I will collect I plan to build the object & serialize as XMl But I cannot yet load the object heirarchy w/o error an array of diskitem with each having an array...more >>

Assigning Values
Posted by JJ at 8/18/2003 11:58:00 AM
Hi All, I am trying to assign an int value to a textbox. Of course C# doesn't like this so is common to use Convert.toInt32 textboxs with numbers then use Convert.toString assign the values back into the Textboxs? Like the following: tbEstLMPOnPeak.Text = Convert.ToString(Convert.ToInt...more >>

IO question
Posted by Bor de Wolf at 8/18/2003 11:53:05 AM
Please tell me why I am not getting out what I put in. FileStream nrIn = new FileStream("DataCount.prl",FileMode.OpenOrCreate,FileAccess.Read) ; BinaryReader inr = new BinaryReader(nrIn); recordNumber = inr.Read(); nrIn.Close(); Console.WriteLine("The current recordnumber is{0}",recordNumber...more >>

Load an Satellite-Assembly
Posted by Rudolf Ball at 8/18/2003 11:15:13 AM
Dear NG, i want to load a plugin (WinForm) in my Applikation. That works fine. Now I want to globalize that plugin. So I have to load the Satellite Assembly, as well. But how can I load this (and when?). Thank you very much Rudi ...more >>

Carriage Return and Line Feed
Posted by David N. at 8/18/2003 11:12:24 AM
Hi All, I spent too much time on trying to get the CrLf into a string, which contains embedded SQL statements that can be executed by the SQLClient.SqlCommand. Note that these SQL statements work fine in VB.Net. Here is a sample of the code using System; namespace MyTest { internal cla...more >>

How to cut bitmap?
Posted by ekey at 8/18/2003 10:18:11 AM
Hi: I want to create Bmp by fellow code,and it good work, Bitmap bitmap1 = new Bitmap((Image)iData.GetData(DataFormats.Bitmap)) but i want to cut the part of the Bmp now . How to do it ? for example : Bitmap bitmap2 = new Bitmap(bitmap1,bitmap1.Width,bitmap1.Height - 100); but now b...more >>

How to RUN a function pointer
Posted by Harkos at 8/18/2003 9:48:31 AM
Hello, I have some code using LoadLibrary, GetProcAddress and FreeLibrary methods of Win32 API. I can correctly load and dispose any native DLL and even retrieve the function pointer with GetProcAddress. What I can't is to run this method. So, does anybody knows how to call this function point...more >>

C# String Handling
Posted by Ryan Folstad at 8/18/2003 9:41:48 AM
Hello i have a problem with c# string handling. Hopefully someone can explain what im doing wrong. this code: string windowsdir = "c:\\windows"; string installdir ="c:\\install"; string path= String.Format("{0}\\system32\\cscript.exe {1}\\filename.vbs", windowsdir, installdir); The inspe...more >>

How can i create a windows service for my application?
Posted by Lucian at 8/18/2003 5:47:40 AM
Hi, how can i create a windows service and then how can i install it. Thanx....more >>

C# Excel Add-in / XML / XPath Problem
Posted by petersmith1960 NO[at]SPAM yahoo.de at 8/18/2003 5:46:09 AM
Hello, I've a problem, and I'd appreciate any help you can offer. I'm developing an Excel XP Add-In with C#. The scenario is the following: 1. connect to a web service to get XML data (this works already) 2. how do I fill the cells with the XML data (there are Xpath directives in the cel...more >>

How to marshal a managed byte[][] to unmanaged byte **???
Posted by eric.angela NO[at]SPAM raketnet.nl at 8/18/2003 4:28:52 AM
// In an unmanaged DLL the following function must be called: // int VFGeneralize(const BYTE * const * features); // "features" parameter is supposed to be an array of byte arrays. // function is Marshaled as follows: [DllImport("duh.dll", EntryPoint="VFGeneralize", SetLastError=true, Char...more >>

App that manipulates graphics
Posted by yuriy_zubarev NO[at]SPAM yahoo.ca at 8/18/2003 3:49:13 AM
Hello everyone, I'm starting with new endeavour of writing Windows-based application in C# that will manipulate graphic elements in a certain manner (I will describe it briefly bellow). Being a seasoned developer in general, I don't have any experience with what I'm about to start implementi...more >>

Html parsing file
Posted by david at 8/18/2003 3:49:05 AM
Is there a stream reader that can pasrse files which are in HTML format (i.e can't be passed as normal text files)? thanks David...more >>

Input Mask in Textbox?
Posted by Tony at 8/18/2003 3:03:15 AM
Hello everyone... Just wondering is it possible to have input mask in a textbox control? i want my phone number textbox to force the user to enter in this format (__) ____ ____ Is there any way to do it in a text box control.. or any other control that can make this possible? Thanks Tony ...more >>

How to connect to Oracle database ?
Posted by Hai Ly Hoang (MT00KSTN) at 8/18/2003 2:12:08 AM
Hi, I'm an Oracle newbie. I've just created a table in Oracle with CREATE TABLE. Now, in C#, how to connect to database and get my table ? Thanks ...more >>

fill a value into a cell in Excel / Office Add-In
Posted by petersmith1960 NO[at]SPAM yahoo.de at 8/18/2003 1:45:26 AM
Hello, how do I put a value in a cell in Excel XP I'm programming an add-in, so all the variables (excelApp ..) work, I'm just putting the code snipplets here. click on the Add-in button in the toolbar executes a windows form. in this form are a textbox and an ok button. public void showBu...more >>

How to get the full file name from an embedded text file?
Posted by Patrick Blackman at 8/18/2003 12:32:39 AM
I have a text file embedded in my dll, how can I load that file without = using the GetManifestResourceStream of the Assembly class, I want to = read it as if it was just located in my c:\my document folder. Any ideas?...more >>


DevelopmentNow Blog