Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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
May 2008
June 2008


all groups > dotnet framework > april 2008 > threads for april 1 - 7, 2008

Filter by week: 1 2 3 4 5

WinProc
Posted by Nir at 4/7/2008 9:51:36 PM
hi, i worte an application with C# and i am monitoring the Messages by overloading the WinProc. but when the pc is Locked out no new Message is monitor, ?????? ...more >>

Convert Time to DateTime?
Posted by coconet at 4/7/2008 4:44:57 PM
I have this value "07:01:14" And I want to convert it to a DateTime to store it in a SQL Server database. What is a clean way to do that? Thanks. ...more >>

Content Advisor - Yahhoo
Posted by Ron at 4/7/2008 4:01:00 PM
I can turn CA on & block everything including google, but it wont block the first page of Yahoo, or the first page of image or video search options. Plus, if I click on a link in the video search option, it still goes to the origin site & can show bad stuff. How can I kill Yahoo on content adv...more >>

Strong Name Needs for Referenced Assemblies?
Posted by coconet at 4/7/2008 3:46:24 PM
Please someonr refresh my memory and point me to the right document. If I create a strong-named assembly, any assemblies it uses must be strong named as well, correct? Thanks. ...more >>

file i/o in multithreaded apps
Posted by Mark at 4/7/2008 2:54:03 PM
Hi... I've got an app that's pretty multi-threaded. While I'm debugging, I'm trying to write a log file of events that happen, so I've got a global logger that has g_LogFileWriter = new StreamWriter(new FileStream(file, Append, Write. Share.Read); void Log2File(string format, params o...more >>

CSS and absolute positions
Posted by Arne Garvander at 4/7/2008 1:46:00 PM
I have an aspx page that use absolute positioning. Sometimes there is a 15 seconds delay from the time that the text of the page displayed until all bits and pieces are downloaded to the browser. Until everthing is down loaded the CSS styles will not br applied and my page looks very unprofes...more >>

Using HttpWebRequest and HttpWebResponse
Posted by Zoe Hart at 4/7/2008 12:33:23 PM
I maintaining or trying to maintain a relatively simply HttpHandler. The idea is that it takes a request to http://myhandler/url/someURL and creates a request to http://someaddress/someresource. When it gets the response, it streams that response back to the original incoming request. So it's ...more >>

why we use two databases
Posted by Raghu Sunkara at 4/6/2008 8:07:37 PM
hi, what is the advantage of using two database for a single project. Regards, Raghu Sunkara. ...more >>



two CLR in a machine
Posted by Raghu Sunkara at 4/6/2008 8:06:45 PM
hi, i installed .net framework 1.1 and 2.0 in one machine. so, it means two CLRs will be installed right? if i am wrong tell me. the machine has only one clr or two. Regards, Raghu Sunkara. ...more >>

Two CLRS in one system?
Posted by Raghu Sunkara at 4/6/2008 5:23:00 PM
Hi, I have installed .net framwork 1.1 and 2.0. I want to know two CLRs will be installed or only one CLR is installed in the machine. please tell me. Regards, Raghu Sunkara. ...more >>

Disable Dragging of Window
Posted by Kiran Prabhu at 4/6/2008 9:48:57 AM
Hi any body know how shall i disable moving a WPF window when windowstate is Normal....more >>

Usercontrol overriding Font causes exception
Posted by planb@newsreaders.com at 4/5/2008 8:41:57 PM
Hello, This has me stumped (as to the cause and the best fix other than "don't do that"). I have a form with a user control, when the user control is added to Me.Controls an exception occurs (Object reference not set to an instance of an object). I tracked this back to the Font Property --...more >>

Read Data into Entity Using Linq?
Posted by coconet at 4/5/2008 12:10:39 AM
I have tab-delimited data ( 300 lines, 2 pieces of data per line) that is in a string (it came from a network stream, not a file or anything else). I have a class with 2 properties. Can anyone show how I can use LINQ to import that string into n entities, mapping the first data element in a ...more >>

LINQ Caching Objects
Posted by Craig Wagner at 4/4/2008 6:19:01 PM
I've read in several places on the internet that if you make the same call to LINQ repeatedly (without refreshing or re-creating the datacontext) it will always return an object with the same values. I've seen this myself. I created a WinForm application, issued a LINQ query, used SQL Server ...more >>

OleDb problem in excel
Posted by barry at 4/4/2008 3:27:09 PM
Hi I am using OleDbconnection / OleDbCommand to connect to excel file and extract rows using Select ..., i find that OleDbDataReader return the rows but only string data is there all numeric data returned is null, the no. of fields returned is correct, does any know what could be the proble...more >>

Deactivating Data Execution Prevention with NXCOMPAT
Posted by Andrew Marshall at 4/4/2008 9:45:50 AM
Hi there. I've recently converted our .NET application to VS 2008 and started to have problems ( a cross thread call exception that was clearly erroneous ) with a 3rd party ActiveX control we use when running on 64bit Vista. After some research I suspected this was down to DEP and so after ...more >>

MSMQ Trigger
Posted by jms at 4/4/2008 7:39:00 AM
Hi, I am developing a C# application (Framework ver 3.0) using MSMQ Queues (target windows 2003 server). To quickly summarize, the application first checks for the presence of a specific private queue and will create it if it doesn't exist. If it exists, it will write the information to the...more >>

EventLog "The description for Event ID ( 1001 ) in Source ( Custom Company ) cannot be found ..."
Posted by Alan Dean at 4/4/2008 12:03:11 AM
Hi, I have been trying to leverage a custom event source, for which I have compiled a message library. The event source gets installed just fine, and when I write entries the category info gets pulled out of the message library correctly. The problem is that the message info seems to be com...more >>

Convert::ToInt32 problem
Posted by Dave Farquharson at 4/3/2008 4:10:14 PM
I am using Convert::ToInt32 to convert a string to an integer. On some small number of machines this is causing a System.FormatException. After chucking the problem at Google I found some promising info on a very strange registry problem -- HKEY_CURRENT_USER | Control Panel | International ...more >>

Interesting Client Server behavior - No connection could be made because the target machine actively refused it
Posted by rasta475@gmail.com at 4/3/2008 3:30:26 PM
I've got a handheld application (Windows Mobile 2003, CF 1.1) and a server application (Windows Server 2000+, Framework 2.0) and the purpose of these two pieces of software is to send collected data (Orders) from the handheld to the server as well as send updated reference data from the server t...more >>

COM+ Usage
Posted by coconet at 4/3/2008 2:43:45 PM
I would like to write a C# class that can be installed into the COM+ Catalog of a Win2003 server and be object pooled at Windows Startup so a live instance can be used by the web sites and .NET Win32 Services running on the box. Can anyone point me to modern samples how to do that? Thanks. ...more >>

Where to: Questions About EDM and CSDL
Posted by CharlesRCaplan@gmail.com at 4/3/2008 2:21:56 PM
We are about to start serious design on a new app here. I would like to use the Entity Framework stuff that's new in Framework 3.5 and since it's not even officially released yet, I'm sure to have some questions. So my question is "microsoft.public.dotnet.framework.adonet" the best group to ask ...more >>

Simple TCP Socket Communicator - Please Help
Posted by Tomasz J at 4/3/2008 2:06:49 PM
Hello developers, I am trying to create a simple TCP chat-like communicator. It will communicate with one peer only sending and receiving messages on the same port. I guess, this requirement is important. Once the communication is established it will not receive any other calls, so, I ...more >>

How to read sequentially from a random point in a large Xml File. (200 - 2000 MB)
Posted by Schwartzberg at 4/3/2008 12:59:08 PM
Hello Have a huge XML file with multitudes of "LogEntry" nodes / text lines. A small sample of this xml/text content is below. The file could be anywhere between 200 to 2000 MB. My questions comes in two parts. (A) I would like a solution (or ideas for it), in C#, -- to randomly access ...more >>

VS 2008 Mobile Web and Emulator
Posted by tucson at 4/3/2008 11:21:02 AM
I developing a mobile web app using VS 2008. This is a 2-part question. 1. From what I read http://www.satter.org/2008/01/mobile-web-deve.html and other articles, the mobile controls have been removed after asp.net 1.1. Is this correct? I just have to develop regular aspx pages and not use th...more >>

Reg Zip files
Posted by AVL at 4/3/2008 4:49:02 AM
Hi I've a requirement wherein I need to unzip a zipped folder programatically in .net. I've tried out System.IO.Compression namespace..but it writes the content into bytes which I dont need..I need the files to unzipped to a new folder.. HOw can I acheive it..are there any third party dlls f...more >>

log4Net problem in WCF services
Posted by Joe Bloggs at 4/3/2008 4:18:33 AM
Hi, I am experiencing problem using log4Net within a WCF services. In my service implementation, I would like to log messages using log4Net. I host my service inside and IIS and hence my log4net config sits inside the web.config file. Here is a sample of my code: ----------- [ServiceB...more >>

About WCF
Posted by Fred at 4/2/2008 3:59:52 PM
Hello, I am exploring WCF and I have a question a bit out of topic. I can read, for example here : http://www.code-magazine.com/article.aspx?quickid=0611051&page=1 that HttpBinfing is preferred to NetTcpBinding for internet scenarios. Why ? -- Fred foleide@free.fr...more >>

Best practices for logging information and error messages from an NT service?
Posted by Debbie.Croft@nospamforme.com at 4/2/2008 1:57:52 PM
I've writing an NT service (on Vista) that will perform various housekeeping activities throughout the day. This will be used by others in my organization. To assist in the inevitable troubleshooting, I'd like the service to log various error and status messages - so I can keep tabs on what ...more >>

.net configuration files
Posted by anowlin at 4/2/2008 1:50:28 PM
..net framework configuration files are physically stored in which one of the following formats? (1) encrypted .INI file, (2) INI file, (3) digitally signed XML file, (4) XML file, (5) Binary file i think it is the INI file but i am not for sure. thanks for your help. adam nowlin ...more >>

ClickOnce Questions
Posted by Robert E. Flaherty at 4/2/2008 1:24:01 PM
I have two separate but related requirements. 1) I need to be able to create a shortcut to a app published as a ClickOnce app which would include some command arguments. 2) I need to be able to launch from this first app, a second app, also created as a ClickOnce, sending it command argume...more >>

.NET Framework 3.5 SP1
Posted by John A Grandy at 4/2/2008 11:30:59 AM
Anyone know the release date ? ...more >>

.NET Framework 3.5 setup result of 9010?
Posted by Eric Smith at 4/2/2008 11:18:00 AM
We're using dotNetFx35setup.exe with the /norestart option in our installer. A tester reports that they saw a reboot dialog show up (which our installer doesn't do) and the final return value from the exe was logged as 9010. 1. Why would there be a reboot dialog if /norestart is specified? 2...more >>

Problem with UserControl
Posted by Abhishek at 4/2/2008 4:47:00 AM
Hi, We are facing problem with usercontrol in windows application. We have a usercontrol that is placed on a window form. User control contains some code that interact with the oracle database on Load event. But it seems like the code contained inside the usercontrol load event is executed,...more >>

WIN2000 Pro. SP4 with Framework 2.0
Posted by chris at 4/1/2008 9:38:00 AM
When installing my VS2008 app for "All Users", the non-administrative users require, what appears to be a brief reinstall. However, the reinstall fails with error code 2103. Does anyone have any ideas? Maybe a specific Windows udpate required? Thanks for your time, Chris...more >>

Update with AutoIncrement IDs problem
Posted by Tobias Wassermann at 4/1/2008 3:08:02 AM
We should consider a SQL Server (2005 – version 9.00.1399.00) database with two tables Parent and Child. Table Parent has one Id Field (type int) which is marked as Autoincrement (Is Identity=Yes, Increment=1, Seed=1), and the Child table has an integer column ParentId pointing via a foreign...more >>


DevelopmentNow Blog