Filter by week: 1 2 3 4 5
Posted by Nir at 4/7/2008 9:51:36 PM
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,
Convert Time to DateTime?
Posted by coconet at 4/7/2008 4:44:57 PM
I have this value
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?
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?
file i/o in multithreaded apps
Posted by Mark at 4/7/2008 2:54:03 PM
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
g_LogFileWriter = new StreamWriter(new FileStream(file, Append, Write.
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
what is the advantage of using two database for a single project.
Don't see what you're looking for? Search DevelopmentNow.com.
two CLR in a machine
Posted by Raghu Sunkara at 4/6/2008 8:06:45 PM
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.
Two CLRS in one system?
Posted by Raghu Sunkara at 4/6/2008 5:23:00 PM
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
please tell me.
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 firstname.lastname@example.org at 4/5/2008 8:41:57 PM
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
OleDb problem in excel
Posted by barry at 4/4/2008 3:27:09 PM
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
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 >>
Posted by jms at 4/4/2008 7:39:00 AM
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
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 >>
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
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 email@example.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 >>
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?
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
Simple TCP Socket Communicator - Please Help
Posted by Tomasz J at 4/3/2008 2:06:49 PM
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
Have a huge XML file with multitudes of "LogEntry" nodes / text
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.
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
I've a requirement wherein I need to unzip a zipped folder programatically
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
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:
Posted by Fred at 4/2/2008 3:59:52 PM
I am exploring WCF and I have a question a bit out of topic.
I can read, for example here :
that HttpBinfing is preferred to NetTcpBinding for internet scenarios.
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
(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.
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 ?
.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?
Problem with UserControl
Posted by Abhishek at 4/2/2008 4:47:00 AM
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
Thanks for your time,
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 >>