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 > dotnet general > november 2003 > threads for wednesday november 5

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

Enterprise Instrumentation and Windows Trace Session Manager
Posted by Sean Walker at 11/5/2003 9:39:14 PM
I have installed the Microsoft Enterprise Instrumentation framework and have installed the samples. I have events successfully being logged to the Application Event Log using the Simple Instrumentation Sample Application. I cannot however get the TraceEventSink to log them, even though t...more >>


Failure of the Windos Component Model
Posted by john bailo at 11/5/2003 7:04:21 PM
here is an example of why the Windos component architecture is a failure: 0. Use Outlook. 1. Use Word as the editor. 2. Make a spelling mistake. 3. Now make the same mistake in the Subject line. 4. The spell checker sees the mistake in the Body, BUT not the subject line. See -- it's ...more >>

Access database to XML
Posted by EMW at 11/5/2003 6:51:10 PM
Hi Is it possible to convert a MDB access database to a XML (sheet/something)? I'm very new with XML, thus I don't know all its possibilities. I'm writing a program for my PDA and since it is not possible to open the CDB database with .NETCF, I'm looking for other possibilities then buying 3r...more >>

JavaScript Confirm before submit
Posted by Jeremy at 11/5/2003 6:03:40 PM
I have a datagrid that users interact with to add/edit/delete, but before the .aspx submits for the delete action I want to pop up a JavaScript confirm box. If the user clicks OK on that box I want the page to be submited and to delete the item(s) from the grid, if the user clicks CANCE...more >>

Events and Tree like collections :: Would love to hear you opinion!
Posted by Sasha at 11/5/2003 5:47:42 PM
Hi everyone, Here is my problem: I have the following classes: - DataNode - this class is designed to hold some data and will be contained in a tree like data structure DataTree. When DataNode is changed, it raises "Changed" event. The class has a reference to the DataNode it is being cont...more >>

User interface for a Service
Posted by dan at 11/5/2003 5:31:06 PM
We have created a program P1 (VB.net) which must be permanently active in order to perform some administrative tasks on the hard disk. It will be installed as a service and thus has no user interface. We want to create a program P2 to allow the Sever Administrator to monitor the activity of ...more >>

VB code in Excel macro
Posted by Don at 11/5/2003 4:21:08 PM
Within an application that I am writing, I am trying to allow the user to select a text (.txt) file from the Open File dialog box in Excel. This is working. The problem is, I want to eliminate the user from having to go through the 3-step Text Import Wizard, which appears right after user se...more >>

"error CS1577: Assembly generation failed -- Unexpected exception processing attribute -- System.ArgumentException: Invalid directory on URL."
Posted by Olaf.Baeyens NO[at]SPAM skyscan.be at 11/5/2003 4:00:38 PM
Some time ago I installed VC# 2003, made a small generic project, compile with the allow unsafe flag and I get the error below: "error CS1577: Assembly generation failed -- Unexpected exception processing attribute -- System.ArgumentException: Invalid directory on URL." (If I do not compile w...more >>



Repost: Isolation In AppDomain - How to prevent the main AppDomain to crash when another AppDomain Crashes??????
Posted by José Joye at 11/5/2003 3:51:04 PM
I have a windows service where I create another appdomains. In the newly created AppDomain, I make use of a C library. If I issue an Abort(1) within this library, it simply hard stop my main AppDomain!!!!!!!!!!!!How could I prevent my main AppDomain to stop when the other stopped?Thanks a lot,Jo...more >>

Visual Studio debugging
Posted by erik.reiter NO[at]SPAM intel.com at 11/5/2003 3:32:17 PM
I have written an add in to the IDE that fires an event to check for processes that have started up that are in a user specified list. If one of them is found it will attach the debugger to the process. This works great when the client and my server drone are the same machine, but as soon as I...more >>

Line numbers and method name for EventLog
Posted by clrat NO[at]SPAM tdc.dk at 11/5/2003 3:25:03 PM
Where do I find line numbers and source file information that I can print to for example the EventLog, making it easier to debug errors? Claus Rathje TDC Services A/S...more >>

migrating vb6 source CODE to .net
Posted by Paco at 11/5/2003 3:02:19 PM
Hi fellow programmers: Is there an option (within vstudio.net) or a tool that would allow me to 'convert' VB6 source code to vb.net? If not, are condemned to re-write the application. I understand that modules (already compiled) can be called from .net, but my question regards specifical...more >>

Bailo UI Supercedes All
Posted by jbailo at 11/5/2003 2:24:46 PM
The Bailo User Interface (BUI) rules all: I just deleted all my icons and put a 'Command Line' on my toolbar. Just that and a MozillaFirebird launcher. Now if I want to run xmms i type 'xmms' If i want to read news i type 'pan' if i want to watch my extensive collection of porn thumbna...more >>

Is c# so easy? Easier than c? Think again...
Posted by jbailo at 11/5/2003 1:58:49 PM
Subject: dotnet is a farce. You know, I was always impressed with the way one could write a http program with c# or java. To me, it showed how 'superior' these languages are because they made it so 'easy' to set up connection points, open a socket, send the request. But, I never real...more >>

Slow IDE
Posted by David Taylor at 11/5/2003 1:38:25 PM
I'm doing my first real project in VB.NET (2003 version) and first kudos to Microsoft for moving VB towards a much richer language...it's taking a bit of getting used to, but it seem to be a much better language and has features that were "missing" in VB6 (multithreading, decent registry access, ...more >>

I must always rebuild my solution
Posted by Peter Stojkovic at 11/5/2003 1:02:35 PM
I have a Solution with 3 projects all in VB. If I make Changes in project A in one file, and say run, than the compiler finds always errors in a other forms, that should be correct. After a full rebuild of the solution everything is OK. But that needs too much time, to make ALWAYS a full ...more >>

VS.NET integration with VSS
Posted by (mcs2 NO[at]SPAM andrew.cmu.edu) at 11/5/2003 1:01:15 PM
I ahve a problem getting Visual Studio .NET 2003 Enterprise Archtiect integrated with Visual SourceSafe. I have the latest version of the Sourcesafe client on my machine, but when I want to add a VS.NET solution to VSS database, the option is not available. By all documentation I've read, I sh...more >>

AppDomain and delegate... How?????
Posted by José Joye at 11/5/2003 12:37:34 PM
I have created a new AppDomain from within my window Service. I need to pass some delegates to an instance of a class loaded in the other appDomain. With the way I currently do it, the delegates get called. HOWEVER, in the second appDomain and not in my main AppDomain. The class that contain...more >>

Problems editing stored porcedures
Posted by LeRoy at 11/5/2003 12:26:15 PM
I am connecting to an Oracle database and I need to edit a stored procedure with Visual Studio .NET version 7.0.9466. According to all of the documentation I should just double click it. For some reason it does not work. Does anyone know how I can resolve this? Thanks ...more >>

Datagrid - pulling a cell value from a column - Any help would be GREATLY appreciated.
Posted by sholder NO[at]SPAM ensafe.com at 11/5/2003 11:57:23 AM
I have a question. I have some data that I am pulling into a dataset that needs to have each row of data emailed out. I got the email funciton working great but its extracting that data that is becoming the problem. I assume it would be in a loop, and to do that I am guessing something like this...more >>

CreateDektop
Posted by Paul at 11/5/2003 11:47:32 AM
Does anyone have any good vb examples of creating a new deskop and then using the SetThreadDesktop facility to talk to applications on the new desktop ? Thanks ...more >>

Stored procedure parameter output value
Posted by Steven at 11/5/2003 11:38:04 AM
I'm calling a stored procedure which has an output parameter of type int. Once the stored procedure is executed, I want to check the value of the parameter in case it is null. However, when the a null value is returned I don't seem to be able to detect it. Any help would be greatly appreciated...more >>

Error: Application has generated an exception that could not be handled
Posted by Jim at 11/5/2003 11:30:16 AM
I built my Assemblies and created the .MSI file for installation. I've installed it with no problems on my XP & 2K machines. But a friend of mine who is running 2K gets this message when trying to run my app: ----------------------------------------------------------------- Common Language R...more >>

Removal from Source Control
Posted by Michael Slattery at 11/5/2003 11:25:09 AM
Hello... I need to recover an old backup of a solution (with 3 projects) that was under source control. I thought I removed all that was needed however I get the following error message when I open the solution... The solution appears to be under source control, but its binding info...more >>

Error 448 - database name is longer than 11 characters?
Posted by Jasper Recto at 11/5/2003 10:11:55 AM
I have a little program that opens a progress database and runs a report. Dim Path As Object Dim Report As Object Path = "d:\ReportBuilder\VendorShipping.p" Report = Shell("""V:\PROGRESS\bin\prowin32.exe"" """ & Path & """", 1) When it tries to run I get this error: Error **Your databas...more >>

Please help - font color
Posted by Keni at 11/5/2003 9:16:25 AM
How do I set the font color of the text on the actual tab of a tab page? I have tried changing the forecolor. That only changes the color for the text inside the tab, it doesn't change the color of the text displayed on the actual tab. I want to change the color of TabPage1.text, not th...more >>

Is there a user group for Microsoft's Application Blocks?
Posted by BillyM at 11/5/2003 9:10:17 AM
I really like Microsoft's Application Blocks, but am finding the documentation on the UI not particularly user friendly. In particular, I would like to create an MDI parent form and use the navigationGraph to navigate child forms within it, but it is not clear if this is even possible. A user...more >>

Converting ArrayList to String Array
Posted by Walter Zydhek at 11/5/2003 8:24:48 AM
Is it possible to convert an ArrayList to a string array? I have a routine that takes a string array as a parameter, converts it to an ArrayList for manipulation purposes, and now I need to convert it back to a string array. example of code I am using: Sub MakeChanges(byval strChange() as...more >>

ActiveX Control to VB.NET
Posted by Simon Morris at 11/5/2003 8:10:04 AM
I read that you could add a old Activex Control to VB.NET. I try to add 'Microsoft ADO Data Control 6.0 (SP4) (OLEDB)' and 'Microsoft Hierarchical FlexGrid Control 6.0 (SP4) (OLEDB)' to a form but I get "You do not have a license to use this ActiveX Control" Any help? Thanks. ...more >>

Opening Files Exclusively
Posted by PM at 11/5/2003 6:51:23 AM
Has anyone found a way to open a file exclusively where it will fail if the file is already open, i have tried the following _FileStream = new FileStream(@"C:\Data.txt", FileMode.Open, FileAccess.ReadWrite, FileShare.None); which does not prevent me from opening the file even if another u...more >>

Please, help !
Posted by Sukist at 11/5/2003 5:55:16 AM
Hi all ! I=B4m with a trouble in my project... I have a dll referenced in my project. So, I update this dll, and try to reference it again. But, when I run the project, the older references becomes=20 active ! In build, I receive the following message: Warning: The dependency 'rn_ADO_VNet,=20...more >>

.jpg compression with .net
Posted by RCIC at 11/5/2003 4:46:02 AM
I want to upload a file to my website. I'd like to compress the file on upload so when I redisplay the file on a website it is as small possible. Is their an easy way to compress jpgs in .Net?...more >>

Asynchronous Sockets in .NET
Posted by Corne Oosthuizen at 11/5/2003 1:42:43 AM
I'm writing a Telnet Server application using Asynchronous sockets. I spawn a listener thread to handel incomming connections and create a separate client socket for each new connection. I then set the new client socket to BeginReceive(). My problem: When two client socket connections...more >>

dateTimePicker strange behaviour
Posted by daniel at 11/5/2003 1:01:46 AM
Hello there, using .net 1.1, a simple winform app, with a single datTimePicker control and the handler dateTimePicker1_ValueChanged. The handler displays a MessageBox. When i change the day selected in the datTimePicker everything seems OK, but when i change the month, the event is send c...more >>

Writing in IL
Posted by William Ryan at 11/5/2003 12:35:13 AM
This is going to sound really stupid... but I'm trying to learn IL better. I've seen a book on writing code in IL. But lets say that I was a total IL guru.. Where would I actually write the instructions? What type of project would I create? TIA, Bill -- Cordially, W.G. Ryan dotn...more >>

How to dleete Database.
Posted by Mahesh D. Rane at 11/5/2003 12:25:17 AM
Hi, How to forcefully delete sql database even if the connection to that database is open. I want some query or code in C#. Regards, Mahesh...more >>


DevelopmentNow Blog