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 > dotnet general > march 2008 > threads for march 8 - 14, 2008

Filter by week: 1 2 3 4 5

Print all file in a project or solution
Posted by Tem at 3/14/2008 11:52:54 PM
Is there a quick way to print all files in a project or solution in visual studio 2008? Tem ...more >>


Path too long exception
Posted by Peter at 3/14/2008 4:03:47 PM
How to deal with this exception? I need to quickly make my appl to be able to open files beyong this limit Any help appreciated. Peter...more >>

How to debug component written in VS2003 in a VS2005 application
Posted by HairlipDog58 at 3/14/2008 3:06:00 PM
I have a component that was developed in VS2003 that I need to debug in a VS2005 application. Basic steps are: Build the component for Debug in VS2003. Set the following VS2003 project properties for the component: Project > Configuration Properties > Debugging > Debug Mode = Program Pr...more >>

SQLMetal - Problem generating VB from DBML
Posted by Adrian at 3/14/2008 1:29:39 PM
I have a test DBML file:- <?xml version=3D"1.0" encoding=3D"utf-8"?> <Database Name=3D"myDB" EntityNamespace=3D"MyEntNS" = ContextNamespace=3D"MyConNs" Class=3D"DBdc" = xmlns=3D"http://schemas.microsoft.com/linqtosql/dbml/2007"> <Table Name=3D"dbo.PARENTTABLE" Member=3D"PARENTTABLE"> <...more >>

dll configuration
Posted by Cetel Sistemas at 3/14/2008 9:19:01 AM
Hi, I`d like to know if it is possible to configure a dll dinamically. I want to change the dll.config values and make the dll take those new values. If this is possible I'd like to go a bit further. I wrote a dll in c# (usercontrol) which I use as an active X in asp.NET: <object id="Ac...more >>

FIND THIS INTERESTING BUG IN C#
Posted by Shyam B at 3/13/2008 10:45:05 PM
THIS SEEMS TO BE A BUG !! Watch this : (In C# ) IHTMLElement oElement = (IHTMLElement)myChildren.Current; I have created an object of IHTMLELement interface. Now when i do the following : Line 1) oElement.setAttribute("uip_copyZeroLeft",oElement.style.pixelLeft, 0) ; Line 2) o...more >>

Excel in Office 2007
Posted by Trizia at 3/13/2008 6:45:01 PM
I have a problem with Excel in Office 2007. When I click on a .xls file, Excel program opens but not the file required. I don't even get an Excel page, simply the light blue screen of Excel. I have to manually open the xls. files I need. Any ideas as to what could be causing this? I have...more >>

SPF: Grid in a context menu - is this possible?
Posted by Griff at 3/13/2008 4:49:44 PM
In Visual Studio, if you hover over an item, the IDE open up a context menu with an expandable [+] sign. Clicking on this then brings up a context menu that appears as a grid. Clicking on sub items with a [+] then open up further contextmenus etc, etc. I'd like to be able to open up a con...more >>



Can legacy code call .NET?
Posted by clintonb at 3/13/2008 2:43:21 PM
At our company we have some old code written using Powersoft's Power++ (a RAD C++ product). Power++ has been discontinued for quite a while now so we don't want to use it for new projects. We'd like to write a program in .NET that can be called by an old program we wrote in Power++. I'm assu...more >>

CustomValidator in GridView getting "no message" on errors
Posted by doug at 3/13/2008 2:02:00 PM
I have a gridview and have placed customvalidator controls in it. If I put a break on the sub to do custom validation, run the page, select a row and press the EDIT button, putting me into Update/Cancel mode, I can edit the date textbox putting in garbage and press update. It takes the break...more >>

WebRequest POST XMLDOM Not XMLDOM.xml
Posted by Dave Harkness at 3/13/2008 1:57:23 PM
I am trying to post an XML DOM to an ASP page using WebRequest. (C#) I know how to use a stream to send xml data but a stream is primarily intended for text. The asp page expects an XML object. Any help would be GREATLY appreciated. dave.harknessNOSPAMMING@comcast.net ...more >>

What Framework Classes Do You Use the Most?
Posted by Mike Hofer at 3/13/2008 10:58:07 AM
I could use some feedback from you all in the .NET community. Here's the question, in a nutshell: Aside from the data types shown below, what classes in the .NET Framework do you use most frequently in the applications that you develop? The data types and classes I'd like to exclude from th...more >>

Public Shared Dataset
Posted by Miro at 3/13/2008 10:19:30 AM
I'm just trying to wrap something around my head and am looking for some pro's vs con's on this scenario of what I am thinking of trying... If someone with some experience with this could point me in the right direction - Lets say you have an MDI and 2 forms that open in that app. Each fo...more >>

Question from .net beginner regarding rebuilding custom class library consumer projects:
Posted by jz3@blakereal.com at 3/13/2008 9:49:44 AM
I have two vb.net projects, one that creates a class library and another that uses ("consumes") the class library. Whenever I rebuild the class library project then use it in the consumer project the consumer project won't compile unless I delete the reference to the class library in the consume...more >>

Installing VS - sql develop edition
Posted by Miro at 3/12/2008 9:06:54 PM
I am installing VS 2008 pro, First I uninstalled all express editions, and also sql express. Then installing vs 2008 pro it installed sql express again. Then inserting cd #2, for the SQL developer edition, it wants to update sql express, but i notice with the service pack 2 that not all o...more >>

Interfaces to MS Exchange/Outlook to add Calendar appointments or
Posted by EMcCarthy at 3/12/2008 7:29:04 AM
My organization currently has interfaces in place to generate MS Outlook emails from our business applications. I am trying to determine if it is possible and how difficult it might be to interface with MS Ecxhange or Outlook from a business application and add items to a user's calendar, tas...more >>

Is it possible/how to skip the first dialog in setup bootstrap?
Posted by Ulf at 3/12/2008 6:21:02 AM
Hi, We have created a setup project for an app in MS VS .Net with Windows Installer Bootstrapper selected. When installing the app, we wonder if it is possible to start the installation using setup.exe without being asked the question to either start the installation or to quit the installa...more >>

TransactionScope MSDTC has been disabled error only on 2nd ExecRea
Posted by exe at 3/12/2008 4:09:00 AM
Hi, I'm using TransactionScope to do a serie Insert, Update, Delete operations with the ExecuteNonQuery and some Selects with ExecuteScalar everything works fine with multiple connections in the same scope. Problem is that when i do two Selects with ExecuteReader (to fill datasets) it show...more >>

How to get the path of "Common Files" directory
Posted by Norbert_Pürringer at 3/12/2008 3:47:13 AM
Hello, is there a way to get the path of the directory "Common Files" via .NET? I was not able to find a proper function in class Path. Thank you, Norbert...more >>

XP Administrator password
Posted by Douglas at 3/12/2008 2:25:03 AM
My teens access/delete/change my administrator password easily. In fact I see there are a multitude of resources available, ostensibly catering to people who have forgotten their password, for deleting and changing them. But look for advice on securing your password, what do you find? It does...more >>

how to end a thread without an exception?
Posted by buu at 3/11/2008 9:05:39 PM
I have a thread that ends with system.threading.thread.currentThread.Abort() method.. .. but, it throws me an exception.. is there any other way to end a thread? ...more >>

Office Accounting 2008 - how do I invoice an expense item?
Posted by Will S at 3/11/2008 8:35:00 PM
I've rented equipment for a job, I've created an expense report for that cost. I'd now like to be able to assign this expense to my client, I'd also like to be able to include this expense as a non-taxible line item in an invoice to that client so they can reimburse me. Thanks in advance! ...more >>

Internationalization Support in 3.5 - What's New?
Posted by Robert Cramer at 3/11/2008 3:35:25 PM
I'm preparing for a major ASP.NET development effort that will require extensive internationalization support. I have a bunch of resources and I'm happy with those - with the exception that they cover the 2.0 version of the ..NET Framework. I would appreciate it if someone could point me to...more >>

.NET VB WinForms reference to the class
Posted by Rick at 3/11/2008 2:24:58 PM
Hi, In C++, if there's a class named clsMyForm, which has a static ("shared" in VB.NET) member variable named "Total" , and an instance (object) of the class named oMyForm, the static member of the class, can be referenced thru the instance as follows: oMyForm::clsMyForm.Total In VB .NET, ...more >>

Server Replication Software: What are folks using?
Posted by darrel at 3/11/2008 2:15:23 PM
It's that time of the year again where we get annoyed with our internal product and hope to find something newer and better out there. Alas, we usually don't find anything. The scenario: We use a home-grown .net CMS product that we've built in a staging/live server enviornment. We have o...more >>

Desktop will not display shortcuts
Posted by Rik at 3/11/2008 1:45:00 PM
I down loaded and installed iTunes update. Noted that it took a long time to "finalize". When finished iTunes shortcut had disapeared. When I restarted computer all shortcuts were gone from desktop. Restore function will not restore to any point prior to install. Shortcuts sent to d...more >>

Associate .SLN with Visual 2005 not 2003
Posted by John Walker at 3/11/2008 12:48:02 PM
When i doubleclick on an .SLN file it attempts to open up the solution in Visual Studio 2003. Is there a way to change the default so it will automatically open the solution in 2005? Thanks, John...more >>

SmtpClient.UseDefaultCredentials does not work in Authenticated SM
Posted by vik at 3/11/2008 11:58:03 AM
I use SmtpClient to send email in my program, and I set the UserDefaultCredentials to true to use the logged on user's credentials. However it doesn't work on authenticated SMTP server. It will throws exception saying 'System.Net.Mail.SmtpException: The SMTP server requires a secure connect...more >>

CLR doesn't do warm start?
Posted by benji at 3/11/2008 7:03:00 AM
Hi, As this article (http://msdn2.microsoft.com/en-us/magazine/cc163655.aspx) mentions, there is a cold and warm start time for managed apps. I'm running a few .net 2.0 winforms apps on my desktop (XP) and until last week, I had the expected cold followed by warm time. Now, my cold and "war...more >>

\\servername\sharename is unavailable
Posted by V&B at 3/11/2008 1:39:03 AM
Lately we get the problem on our server that it cannot reach the backupserver by \\servename\sharename, but when we use \\IP-adress\sharename it is no prblem. When we ping the backupserver we get the right IP-adres back. After reboot of the server the problem is gone for a while, but returns ...more >>

trying to print smaller picture
Posted by Heather at 3/10/2008 9:21:02 PM
Hi - I have a picture that is 8.5 x 11 and I need to print it to a smaller size and centered on the page. Any idea how to do this? Thanks - -- Heather...more >>

DOWNLOADED ITUNES BUT CANNOT RUN
Posted by JOHN at 3/10/2008 7:04:00 PM
I DOWNLOADED ITUNES THE DOWN LOAD WAS SUCCESFUL BUT I HAVE ERROR MESSAGE WHICH SAYS '' ITUNES ENCOUNTED PROBLEM AND CANNOT START....more >>

Live One Care Restore
Posted by bazzandjo at 3/10/2008 6:25:01 PM
When I restore a backup from some earlier time, do I lose work that has been saved since the backup? -- bazzandjo...more >>

Property Set procedure with a structure array
Posted by Mark Raishbrook at 3/10/2008 12:52:02 PM
Apologies in advance for what is a very simple question, but I just cannot get my head around it. I have a public class Something with a public structure T mapped to the local variable m_Test(). Whenever I try to set the value of the property Test, I get the error "Expression is a value and ...more >>

convert int to numeric (formatted) string
Posted by raulavi at 3/10/2008 11:55:01 AM
vs2005 c# hi: need to convert a simple int to a format nnnn. if I have int 1 I want the result to be padded with 0s as 0001 on a string I have int 1 and I want "0001" any help. Thanks so far these dont work field.ToString("nnnn") or field.ToString("####") ...more >>

.net windows service using alot of Paged pool
Posted by RF at 3/10/2008 11:02:00 AM
Hi We have a windows service implemented in C# that will call some legacy VB6 COM objects. This is a memory intensive application that will create alot of objects but looking at the memory and virtual memory footprint it will remain under the 70meg level. On the other hand the Paged pool w...more >>

How Do I INsert Numbers Into a Raffle Ticket Template
Posted by ChefAnn at 3/9/2008 6:43:00 AM
I have downloaded a template to create raffle tickets and I want to avoid having to manually type in the ticket numbers. Can I input the numbers into an Excel spreadsheet and then merge with the Word document? Or can I actually input a formula in Word to assign ticket numbers? ...more >>

DLLs and Embedded Resources
Posted by Reuben at 3/8/2008 7:26:01 PM
Hi, I was designing an application which is intended to run in the background, and I was wondering about how I should load my resources to reduce the memory footprint. I was thinking of keeping all the embedded resources in a DLL, so that they only get loaded when needed. So my question is t...more >>

how to play MP3 files
Posted by Andrew at 3/8/2008 6:14:09 PM
Hi, I need to play MP3 files from my .NET 2.0 SP1 C# WinForm app. I tried referencing Microsoft.DirectX.AudioVideoPlayback; and creating Audio class for playback. But I get the following error which is beyod my ability to comprehend. [ DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX\1.0....more >>

Low Refresh Rate
Posted by Brett at 3/8/2008 6:05:00 PM
I using a new laptop running Vista and have Nvidia GeForce 7600 graphics card. I'm trying to connect my TV to this computer using Svideo. It has worked in the past however I must have changed a setting somewhere? On my second computer with Xp it all connects right! So it's all connected ...more >>

how to play MP3 files
Posted by Andrew at 3/8/2008 4:15:59 PM
Hi, Sorry for crosspost. I need to play MP3 files from my .NET 2.0 SP1 C# WinForm app. I tried referencing Microsoft.DirectX.AudioVideoPlayback; and creating = Audio class for playback. But I get the following error which is beyod = my ability to comprehend. [ DLL = 'C:\WINDOWS\assem...more >>

Typed datasets and table table adapters components not showing in Toolbox
Posted by bz at 3/8/2008 3:02:44 PM
Typed datasets and table table adapters components not showing in Toolbox Hi, I have a solution with several projects. One project contains datasets with table adapters. When I opened a usercontrol in design mode, it used to have all datasets and tableadapters in toolbox, under a tab name ...more >>

System.ServiceProcess
Posted by Luke Davis at 3/8/2008 12:49:46 PM
This class is not showing up in C# Visual Studio Express Any ideas? Is this class antiquated?...more >>

Adding pictures to My Pictures from emails
Posted by Kimberbum at 3/8/2008 12:36:00 PM
I made a new folder in My Pictures and now I want to send pictures I got from an email to that folder. I can not figure out how to do this. Can anyone help me? I would greatly appreciate it....more >>

how to send a reference/addressof some procedure to a new thread?
Posted by buu at 3/8/2008 10:53:33 AM
So, I have a new thread creating something like: dim myThread as new System.Threading.Thread(AddressOf myProcedure) but, could I send an any kind of parameter instead of call to myProcedure??? I don't know did I made myself clear, but I would like to have something like: public sub S...more >>

Difference between VS 2005 and VS 2005 Express
Posted by Curious at 3/8/2008 7:34:45 AM
What's the difference between Visual Studio 2005 and Visual Studio 2005 Express? I want to start a project on multi-threading in .NET. Will using Visual Studio 2005 Express be sufficient?...more >>


DevelopmentNow Blog