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 friday july 16

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

Accessing SQL Server in a worker thread
Posted by Matthias Steinbart at 7/16/2004 9:47:18 PM
Hi there, I'm trying to access an SQL Server through an SqlConnection within a worker thread. This doesn't seem to work. If I call the Open() method, nothing happens on the Server and no Exception is thrown. Is this by design or am I missing something out? thanks in advance. Matthias ...more >>


job role.
Posted by yang at 7/16/2004 8:34:31 PM
hi this is the job profile a company is after . the role is for a vb.net / C# programmer (windows). "A demonstrated thorough understanding of the software development lifecycle working to methodologies, standards and procedures" what are the methodologies in .net? i have used only one p...more >>

A way to stop the computer
Posted by Tomomichi Amano at 7/16/2004 8:31:07 PM
Hello. Is there a way to stop the computer (put the computer in standby mode /andor/ shut off the computer) through a C# program? If there is, how can I do it? Thanks in advance. ...more >>

Changing a dynamic C# Code to database drven...
Posted by Sebastian Meier at 7/16/2004 8:00:15 PM
Hi Everyone, i have a "static" source code which works fine. my problem is now, that the look of the internet page is only to be changed by editing the source code. For better handling of the code i thought that i might generate the page elements (textbox, label, dropdown aso) from a database....more >>

Re: is there a very simple script interpreter?
Posted by Maurice Reeves at 7/16/2004 7:31:24 PM
You could use Reflection to instantiate your business logic and then look at your object and see if it has a Command corresponding to the name in the script, and if it does, execute it, but frankly that seems like a hell of a lot of overhead to do what should probably be done in the code itself....more >>

How to tell if Internet access is available?
Posted by Jon Pope at 7/16/2004 5:59:31 PM
Is there a way to determine if the local machine has access to the internet? Cheers, Jon ...more >>

Reading a file backwards in C#
Posted by Neil Patel at 7/16/2004 5:41:02 PM
I have a log file that puts the most recent record at the bottom of the file. Each line is delimited by a \r\n Does anyone know how to seek to the end of the file and start reading backwards?...more >>

Still Having Problems with VS.NET 2003
Posted by Michael C at 7/16/2004 5:10:11 PM
Hi all, I'm still having problems with VS.NET 2003 running on my XP machine. I finally decided I might as well uninstall completely and reinstall from scratch. But lo and behold it won't let me uninstall... It gets stuck about 2/3rds of the way through the uninstall (based on the progress b...more >>



Unistalling Visual Studio.Net 2003...
Posted by Andres Romero at 7/16/2004 5:04:01 PM
I need to unistall complety my version of VisualStudio.NET and reinstall it COMPLETY NEWLY, including user accounts and so. My problem is tha a can't create ASP.NET Web projects because it sends me an error message, but after a was able to do it. The problem is that my baby edits the ASNET user ...more >>

run application
Posted by adish11 at 7/16/2004 4:53:44 PM
Hi, In web application coded with c#, I'm trying to run application from the code. I'm using System.Diagnostics.Process.Start("c:\\test.exe") Although it recognize the file it doesn't run him. Can you help me,please? ...more >>

Serialization Question
Posted by Silesian at 7/16/2004 4:27:17 PM
I realize that this is a newbie question but maybe someone will be able to tell me what am I doing wrong. createFile() gets called each time I have the user generate some numbers which then get added to the binlist ArrayList. I'm able to serialize and deserialize the Arraylist. However, when I ...more >>

passing a vector of doubles
Posted by Henrique Bucher at 7/16/2004 4:20:01 PM
Hi Kind of newbie question: We have a DLL with a function with a prototype like void mult( int mtxhandle, double* x, double* y, int size ); where "size" is the size of both x and y vectors. What should be the correct sintax to define its respective DllImport wrapper in order to use it l...more >>

Image from memory
Posted by DotNetJunkies User at 7/16/2004 3:56:43 PM
i am using a dll that places an image data in memory and returns to me two wariable long P1 and long P2 i am using C# P1 is the memory address and P2 is the number of bytes written i want to place this image in a picturebox named pictureBox1 how can i do this in c++ the code works like this ...more >>

Images from memory
Posted by DotNetJunkies User at 7/16/2004 3:51:21 PM
i am using a dll that places an image data in memory and returns to me two wariable long P1 and long P2 i am using C# P1 is the memory address and P2 is the number of bytes written i want to place this image in a picturebox named pictureBox1 how can i do this in c++ the code works like this ...more >>

C# B-tree
Posted by kapanadze NO[at]SPAM gmx.de at 7/16/2004 3:36:21 PM
Hello, I'm looking for an implementation of the B-tree (balanced Tree) Data Structure(C# code)....more >>

RichTextBox
Posted by Tank at 7/16/2004 3:25:14 PM
I have RichTextBox in my dialog. Currently, I am loading the content from a file. Is there anyway to have the text 'binded' to it during compile time ? The idea is not to distribute the rtf file when installing the application. ...more >>

Events
Posted by Duncan Mole at 7/16/2004 3:24:59 PM
Hi, Can somebody explain to me how and when Event Handling delegates are removed from the Event delegate. Is it when the instance of the object whose method it wraps is CG'ed? Thanks ...more >>

Copying files using process class in ASP.NET
Posted by Mark at 7/16/2004 3:11:36 PM
Hi all, I am trying to execute a batch file to copy over files from one server to another. The batch file is using robocopy to copy over the files. ============ private void CopyFiles() {// Use the process name space to copy over the files System.Diagnostics.Process oProc = new System.Diagnosti...more >>

Slow ActiveDirectory responses
Posted by Susanne Christe at 7/16/2004 2:34:29 PM
Hi all, I have a Problem with this code, I am using Threads in the main form but to load all the users from one OU (there are about 700 of them, not realy very much) it needs about 10-20 sek ( without Threads in the main form even 1 min). Do you know how to speed up the searching process...more >>

Is there an equivalent to the C++ friend keyword in C#?
Posted by Jean-Francois Hamelin at 7/16/2004 2:28:44 PM
Hi, Is there an equivalent to the C++ friend keyword in C#? Thanks JF ...more >>

DNS Server
Posted by RF at 7/16/2004 2:28:27 PM
Hi, What api or wmi can I use to access forward zones and dns records from a designated server. I 'm creating a gui app to display dns records/zone. How can I accomplish this task? Thanks, RF ...more >>

Searching for subsets within multidimensional arrays
Posted by Scott Handojo at 7/16/2004 1:39:47 PM
Lets say I have the following arrays X1 (1, 2, 7, 8) X2 (1, 2, 4, 6) X3 (1, 2, 3, 5) X4 (1, 3, 5) X5 (2, 3, 5) X6 (4, 5, 6, 8) My 'search array' is comprised of S1 (1,2,3,5,7,8) I want all the arrays with either the same values or a subset there of. So the result should be that I h...more >>

uml tools
Posted by e-mid at 7/16/2004 1:00:28 PM
i am looking for free UML tools? if you know a good one, let me know! thnkz.. ...more >>

GroupBox OnPaintBackground
Posted by Bob C. at 7/16/2004 12:55:09 PM
Hi All, I placed a GroupBox on form. I am doing some drawing on groupbox. I dont want to get GroupBox's background erased while i call myGroupbox.Invalidate(). How can i stop erasing the background? Thanks, Sudhakar. ...more >>

Table.Select not work with '*' in middle of query...
Posted by VM at 7/16/2004 12:26:12 PM
If I want to run this query ( " col_output like '<del> *BOX' " ), it'll throw an exception. How can I search for any rows that begin with '<del>' and end with 'BOX'? Would it also be possible to retrieve any rows that begin with '*<del>' and end with 'BOX*' (ie. "col_output like '*<del>*BOX*' "...more >>

C#: Toolbar button image not visible for a disabled button.
Posted by Sveta at 7/16/2004 12:19:54 PM
Hi all! C# question: Does anyone knows how to make a toolbar button image to make visible for a disabled button? When the toolbar button is disabled, only the gray hole is displayed instead of the grayed out image. Thank you....more >>

Installing assembly to GAC
Posted by Chris Fink at 7/16/2004 11:50:01 AM
I just installed my assembly to the GAC using the GACUTIL and I can see it in the winnt\assembly folder. However, I am unable to see the assembly when I import it into the project in the using statement . It's in the GAC but not available to my project??? When I installed the assembly to the GA...more >>

asp.net question
Posted by Zi Jong at 7/16/2004 11:30:31 AM
hi when i open a file in asp.net i get the following error. could not open in design view . place quotes around a <% %> block used as an attrbute value or within a <select> element. what is the problem and how can i solve it thnx ...more >>

IDL to C#?
Posted by Leon_Amirreza at 7/16/2004 11:24:12 AM
Hi, Is there any tool that can convert and Interface definitions (especially oleidl.idl) to C# interface definitions? does MIDL.exe do that? i could just get c++ header files. or any way i can compile Vc++ header files to an assembly that i can import to c# projects? if yes please describe st...more >>

Function Name Conflict in a UserControl that implements UCOMIPersistFile??
Posted by Leon_Amirreza at 7/16/2004 11:23:43 AM
Hi, I have create a usercontrol that implements UICOMIPersistFile interface in c# but there exist a Load function both in the interface and the usercontrol that compiler nags about. anyway i can implement the Load function of the interface with a new name? or can i apply a property like "Entry...more >>

Visual Studio 2002 question
Posted by M D at 7/16/2004 11:14:37 AM
Don't throw anything at me. This is the closest group to the question. Can I create c++/c programs in VS 2002 that do not require the .net framework/classes? What are the steps? Is the MFC available in there? thx md *** Sent via Developersdex http://www.developersdex.com *** Don't j...more >>

Array question
Posted by Nikhil Patel at 7/16/2004 11:08:15 AM
I have a Jagged array that stores RoutingIDs and theirs corresponding Bank Names. I can access it as myArray[row][column]. The column index indicates whether the value is RoutingID or a BankName. myArray[0][0] - first bank's RoutingID myArray[0][1] - first bank's Name myArray[1][0] - second ...more >>

C# Browser Control?
Posted by Robert Kent at 7/16/2004 10:17:59 AM
http://msdn.microsoft.com/vjsharp/browsercontrols Does anyone know if there will be a version for C#? ...more >>

creating runtime tabpages with runtime controls C#
Posted by rp at 7/16/2004 9:38:18 AM
Hi, How would I create runtime tabpages with runtime controls(textBoxes,comboBox, checkedListBox), inserting,deleting, and modifing the tabpages whenever I want to in C#? Thanks in advance. rp...more >>

FileSystemWatcher events not firing
Posted by A. Elamiri at 7/16/2004 8:58:00 AM
Hello, For some reason the FileSystemWatcher events aren't firing. The code that sets the event delegates .... asmwatch.Path = AppDomain.CurrentDomain.BaseDirectory + "services\\"; asmwatch.Created +=new FileSystemEventHandler(asmwatch_Created); asmwatch.Changed +=new FileSystemEventHa...more >>

Problem converting to 32ARGB bitmap
Posted by James Dean at 7/16/2004 4:04:43 AM
I can display an 8bpp indexed bitmap correctly but when i tried to convert this to 32ARGB then it didn't display properly at all. I am just wondering how i can display the same 24bpp image at the the same width and height as the previous 8bpp data. Is it possible that i can just clone this data ...more >>

Not validating XML and just deserializing it and catching exceptions: is this a good approach???
Posted by anyusernameisgood NO[at]SPAM yahoo.com at 7/16/2004 3:20:33 AM
Hello, always having to validate an XML stream against a XSD may add up an important overhead. My XMLs are usually the result of serializing a class instance and often in my applications what I end up doing is just deserializing it back into a new instance of the same class. Considering what ...more >>

Drag Drop - KeyState
Posted by Paul Ledger at 7/16/2004 2:59:01 AM
I want to be able to display a context menu when the user righthand drags an item into a textbox. It states in the documentation that the e.KeyState property will be set accordingly in the drop event. But when I check the value it is always 0, the value is set correctly for Shift, Ctrl, Alt. Am I do...more >>

calling methods from within sql select statement
Posted by jez123456 at 7/16/2004 2:35:01 AM
Hi. I have a web form with a datagrid that displays employees who are on holiday. One of the datagrid columns shows the date of their last day of holiday, but what I really require is the Start Back at work date, i.e. if their last day of holiday is a Friday, then the Start Back date should be the f...more >>

COM+ Interop problem
Posted by Martin Maat at 7/16/2004 12:37:56 AM
Hi. I am using a COM component from managed code doing the following: Type type = Type.GetTypeFromCLSID(new Guid("B70FAAE6-4F85-480A-B1C5-DC9A6F175BFC"), serverMachineName, true); history = Activator.CreateInstance(type) as HistoryClass; This works on the local machine, no problem whatsoe...more >>

Max. # of services under a domain account
Posted by Sriram at 7/16/2004 12:01:01 AM
Hi, This could be slightly weird : I cannot run windows services beyond a certain number using the same domain login account. Sometimes I cannot start more than 7 services , where as sometimes its just 4. Is there any pooling of services that happens?( Why i ask this is that if I shutdown ...more >>


DevelopmentNow Blog