all groups > dotnet framework > june 2008
Filter by week: 1 2 3 4 5
FileSystemWatcher
Posted by Waldy at 6/23/2008 4:19:27 PM
Hi there,
I cannot get the FileSystemWatcher to work. I want to monitor
a directory for when files are copied into it. I have set the Filter
property to *.* and the NotifyFilter property to CreationTime. However, the
Created event never gets raised. I'm running it from a sys... more >>
Microsoft Word 2003 Saving Problem
Posted by alliann11 at 6/23/2008 2:04:17 PM
I am having problems with losing information that I am working on. Twice now
I have lost a document I was working on because when I go to save it, and
error an error message pops up asking if I want to continue and save. If I
click no, it takes me to another box where it says:
"File Conver... more >>
task bar
Posted by hershel at 6/23/2008 1:43:01 PM
could someone help me get rid of the yahoo search bar on the task bar it is a
new vista pc, the search bar is drivng me crazy and I want the room on the
task bar for other things
Thanks
--
hershel... more >>
ASP.Net Hosting
Posted by john at 6/23/2008 9:30:35 AM
I have hosted my site designed by Dreamweaver for quite some time. The
first page was named indexhtml. I recently re-designed my site using
Asp.net where the first page is Default.aspx.
Now my site cannot be accessed from the internet. I made sure the new
files are copied in the website, on the ... more >>
VS 2008 tutorial recommendation
Posted by nicnat at 6/22/2008 9:13:00 PM
I'm a new user of Visual Studio 2008 and wondered if anyone had
recommendations for a book or a website to give a tutorial. I want to learn
about this version of Visual Studio and I also want to learn about this
version of Visual Basic. Thanks.
... more >>
WCF Error
Posted by Tom at 6/21/2008 4:05:41 PM
Hello,
I have a simple WCF client/service solution and I'm trying to call an
operation in the service from the client. However, I get the following
error back:
System.ServiceModel.CommunicationException: The socket connection was
aborted. This coule be caused by an error processing you... more >>
Identifying the Publish Version of a ClickOnce app at Runtime
Posted by michael at 6/20/2008 2:30:18 PM
Not really sure where to post this but here goes:
I would like to be able to put a Publish Version in an AboutBox in my VS
2008 WPF application. I am following this example in the VS2008 help files:
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/fxref_system.deployment/html/a848f1ad-bea0-1762-ff71-5... more >>
Using Structs As Dictionary Keys
Posted by JonOfAllTrades at 6/20/2008 1:57:06 PM
Good afternoon. I think I've gotten to the bottom of an issue that's been
frustrating me this afternoon, but I find the result somewhat astonishing.
Can anyone explain to me why this is desirable behavior?
I need to look up values based on four integer keys. I've written two- and
three-k... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Selecting ComboBox Item throws odd exception.
Posted by ryan baldwin at 6/20/2008 11:25:11 AM
I'm creating a sample project to help solve another problem (oh how this
rabbit hole is getting deep!) and I'm having the following problem.
Given the following XmlDataProvider:
<Window.Resources>
<XmlNamespaceMappingCollection x:Key="namespaceMappings">
<XmlNamespaceMappin... more >>
How To: do network sniffing on Vista?
Posted by Lloyd Dupont at 6/20/2008 9:30:55 AM
I am trying to implement some UDP based network communication protocol.
It's error prone a a network sniffer will greatly help me understand wha't
going on (sometimes I don't get any messages...)
I found this one which (unfortunately) works only on XP:
http://www.codeproject.com/KB/IP/CSNetwo... more >>
Remote Win64 registry access from Win32 managed app?
Posted by Lance at 6/20/2008 9:18:04 AM
Since the following article was posted, have there been any updates to the
..NET framework (any version) to support remote access to the Win64 registry
from a managed app running on a Win32 system? We'd prefer to do this in
managed code without having to resort to PInvoke calling native code th... more >>
Deserialize whole node's inner text as string
Posted by Joerg Battermann at 6/20/2008 7:20:03 AM
Hello there,
I 'have' to serialize xhtml within a xml-node without escaping /
wrapping it in CDATA tags, but also need to be able do deserialize it.
The structure looks e.g. like this:
<Requirement>
<IDNumber>1234</IDNumber>
<Description><html xmlns=3D"http://www.w3.org/1999/xhtml"><head... more >>
Serialising/Deserialising subclass to base class
Posted by Chris Ashley at 6/20/2008 1:44:51 AM
I have a class "RtpImage" which inherits from a class called
"LogImage". I serialise this class and then deserialise back to a
LogImage. However it seems that .NET is remembering its type and calls
the RtpImage constructor/finaliser instead of the LogImage constructor/
finaliser. This is causing... more >>
Disappearing Data on Dynamically Loaded WPF Form
Posted by ryan baldwin at 6/19/2008 3:43:18 PM
Hey all -
I'm seeing some extremely odd behaviour on dynamically loaded XAML forms
that are bound to an XmlDataProvider. This will be slightly difficult
for me to explain, so I'll try to give everybody some background of what
we're doing and what the problem is.
We're creating an applic... more >>
How to determine if a property is inherited or not using reflection?
Posted by Mark_google@nadigs.net at 6/19/2008 3:02:15 PM
I've tried using TypeDescriptor.GetProperties to get
PropertyDescriptors and I've tried <t>.GetProperties to get
PropertyInfo but I can't figure out how to determine for a given
property whether or not the property in question is inherited from an
ancestor or not.
For that matter, I can't det... more >>
GC causing variable run-time ?
Posted by OliviuG at 6/19/2008 1:50:01 PM
We have a .Net 1.1 application and witnessing huge variance in performance,
and suspect the GC is the culprit.
The same operation can take 6mins initially, then 2:30 mins, then 3 mins.
The variance is bigger on slower machines. On a 4 core 2.36 workstation the
variance is limited and the sa... more >>
enterprise policy configuration
Posted by A. at 6/18/2008 1:54:01 PM
Hi
We are soon going to deploy some applications that are build on the dotnet
framework. Inthat regard we're looking at how we can configure the framwork
on our client computerts centrally. On each client computer you have the "
Microsoft Dotnet framework configuration".
How can we do th... more >>
config.sys
Posted by Ginnie at 6/18/2008 11:47:01 AM
Not sure what happened - but as of today - cannot run this program - message
cannot locate.
Thanks for any help... more >>
Handling Unhandled Exception in DotNet
Posted by Acchu at 6/18/2008 3:52:51 AM
Hi,
i'm loading a third party unmanaged dll in my dot net application.
the dll doesn't have a try catch block for any of the functions
declarations . When a method in the dll is called by the dot net
application, the dll creates a thread and for some reason the thread
throws a access violation ... more >>
trying out UDP socket, and failing.... (on Vista)
Posted by Lloyd Dupont at 6/18/2008 12:03:00 AM
I think Vista might be the culprit....
Anyway, could anyone share with me how to send some data over UDP and
recieve it?
Now it's not working, and I have no clue if it's the sending or recieving or
both which fails....
Anyway I have simple code like that:
=== send ====
public void Send(... more >>
Remote Win64 registry access from Win32 managed app ?
Posted by Lance at 6/17/2008 5:25:27 PM
Since the following article was posted, have there been any updates to the
..NET framework (any version) to support remote access to the Win64 registry
from a managed app running on a Win32 system? We'd prefer to do this in
managed code without having to resort to PInvoke calling native code... more >>
Assembly missing in GAC after Publish?
Posted by Pieter at 6/17/2008 10:49:55 AM
Hi,
We're using ClickOnce alreaddy more than a year for a given applicaiton,
doing more than 50 publishes without any problem.
Yesterday we made a minor change to one of our components (let's say with
the name MyAssembly), and incremented it's version (AssemblyVersion: from
0.1.7.0 to 0.1.7... more >>
Relationship between versions of .Net Framework
Posted by P Chase at 6/17/2008 3:45:20 AM
I am developing an application using Visual Studio 2005, Windows XP
(or 2003) and C#. I am using facilities of .Net Framework 3.0, but not
of 3.5.
I am falling foul of some memory leaks in the framework, which
Microsoft claim to have fixed in .Net Framework 3.5 SP1.
I confess to not really ... more >>
Windows Workflow Foundation State Engine - general questions
Posted by Nathan at 6/16/2008 7:17:04 PM
Okay, I've been cramming my brain the past few nights on the whole
concept of using Windows Workflow Foundation in my project. I understand
the basics of persistence, tracking, etc and how there's a WF host
running the workflows themselves. What I don't completely understand yet
is how that ... more >>
Compiling to exe
Posted by nicnat at 6/16/2008 5:07:33 PM
Sorry for the very basic question. Using .NET, can I create .EXE programs
which will run on any Windows machine without that machine having to install
..NET components first? I want to write applications, compile to .exe, and
have them run on Windows machines without requiring those machines... more >>
GetActiveObject is returning System.__ComObject
Posted by Lakefront at 6/16/2008 2:29:48 PM
hello group:
i am using the following C# statement to acquire the Excel instance
currently running:
Excel.Application app =
(Excel.Application)System.Runtime.InteropServices.Marshal.GetActiveObject("Excel.Application");
--
but, the value of app is System.__ComObject.
why isn't it Excel.... more >>
How to determine the CAS for an assembly at runtime
Posted by lizet.pena@gmail.com at 6/16/2008 2:01:57 PM
We have a windows form application that is deployed to several remote
users.
We use a batch file to execute the application.
This batch file is in charge of doing an xcopy of any new files
sitting on the deployment share (Intranet).
The batch file also starts the application.
We've notic... more >>
How to retrieve deleted data for outlook
Posted by Teerin at 6/15/2008 10:59:00 PM
I have accidently deleted my calender from my outlook. Is there anyway that i
can retrieve it back? Hope someone can help me.
... more >>
JavaScript scripting engine suggestion
Posted by Tomas at 6/15/2008 8:28:02 AM
Hi,
I am searching for component which could execute JavaScript(not
JavaScript.NET) in .NET application.
For example I have JS below, I need to pass MyData variable from .NET
application, execute JS and read Answer value. Is it possible?
function myCon(MyData) {
Answer:= MyData+1;
}... more >>
Checking for .Net Security policy from JavaScript
Posted by peterbf at 6/15/2008 3:23:51 AM
Hello
I have a .Net usercontrol which I use on a webpage as an ActiveX
component. The component is activated with JavaScript. The problem is
that if a user does not have the correct Security Policy setup, then
the page just shows a small icon whith a cross on it. I would like to
check if the ... more >>
how can I check if a socket connection is still alive from tcp client?
Posted by klwizzard at 6/13/2008 2:55:56 PM
Dear newsgroup,
I want to check from a tcp client if a socket connection to a server is
available or the server is down.
I'm using a TcpClient to handle the connection.
I'm using the asynchron communication with a stream.
For the test I'm using the Client property of the TcpClient.
I've t... more >>
Device Context Question
Posted by ncolosi at 6/12/2008 6:38:00 PM
Is it possible to render a winform directly to a memory device context
instead of rendering to a display device context ?
... more >>
Help with .Net Framework 3.5 to unblock a program.
Posted by Tim at 6/12/2008 5:45:05 PM
From: "Tim" <new2maryland05@comcast.net>
Subject: How do i let .NET Framework 3.5 to allow a program to run,
otherwise its blocking it.
Date: Thursday, June 12, 2008 5:36 PM
Hi,
My question is about the Microsoft .NET Framework 3.5; I was wondering how
do i open the configuation pr... more >>
OOP Question about .NET Framework
Posted by jmDesktop at 6/12/2008 8:09:26 AM
In the .NET framework, how does one class "see" another class? For
example, in the DataTable class there is a method called NewRow(). It
returns an object type DataRow. But how does DataTable know about
DataRow? I guess this is more fundemental than .net. How does a
framework no about the o... more >>
Windows updates wreck screen settings
Posted by Bakes at 6/11/2008 7:44:01 PM
When I download Windows security updates my screen resolution, font sizes and
icon placments change to default. It appears that the monitor is booting up
in safe mode. or the lowest resolution. The icons are enormous.
Every time this happens I must reset all of my display settings and
repo... more >>
How to pick up the size of font, that was a text fitted in an area?
Posted by Alexander Vasilevsky at 6/11/2008 7:36:02 PM
There is a certain text and certain rectangle. It is needed to pick up the
size of font all the same by appearance, that a text fully blended in a
rectangle.
http://www.alvas.net - Audio tools for C# and VB.Net developers
... more >>
WebBrowser without Internet Explorer
Posted by Thom Little at 6/11/2008 7:35:37 PM
There are some third party programs that claim to be able to remove Internet
Explorer from Windows.
Assuming this is true, when Internet Explorer is removed in this manner is
the .NET Framework WebBrowser control also removed?
Asked another way ... can I have a functioning WebBrowser control... more >>
system.net.mail.smtpclient.clientcertificates property
Posted by Marco Shaw [MVP] at 6/11/2008 1:52:40 PM
http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.clientcertificates.aspx
I'm having a hard time to find/understand how this property works. It
only supports get, but how does one go about defining this property in
the first place? Is it via another method where we have to ... more >>
Help
Posted by matthew at 6/11/2008 11:22:03 AM
i've have tried to setup my windows media center extender 5 times all ready.
the problem seems to be that on my xbox 360 it says 'the xbox 360 has been
disconnected because the program has an aplication has launched UI
unexpectally'. It says on the Xbox website that the problem seems to be th... more >>
Annoying Web Service Compilation Issue
Posted by Rollasoc at 6/11/2008 12:31:50 AM
Ok, this is going to be a bit difficult to explain, since it is
slightly convoluted.
I have a c# DLL. Lets call it Common.DLL
It contains base classes and enums and structs etc
Lets say it has an enum called Mode.
I have two Webservices. Call them A and B.
Both of these webserv... more >>
Form created on BackGroundThread
Posted by Pieter at 6/10/2008 2:25:16 PM
Hi,
I have some generic module that handles exceptions. simply you call it like
this: "LogManager.ErrorMessage(ex)".
Worked great, until we now discovered that it isn't Thread-safe. What
actially happens is this: A Form is made, labels and buttons are made etc
with the exception-details,... more >>
deadlock when using waitOne in a STA thread
Posted by Daniel Cuculescu at 6/10/2008 11:31:45 AM
Hi,
I have the problem described bellow with the calls to WaitHandle.WaitOne
causing re-entrancy on main GUI thread (STA) of a .NET application and I
would like to find out:
- did anybody else run into the same problem?
- is it a known issue? is there a fix for it?
- is there a work... more >>
Calling from .Net 1.1 to .Net 2.0/3.0
Posted by Jim1400 at 6/10/2008 8:20:21 AM
What are the options for calling from .Net 1.1 to .Net 2.0/3.0 besides COM?
Thanks.
... more >>
Howto hide a console app window and don't show it in the taskbar
Posted by klwizzard at 6/9/2008 4:19:47 PM
Hello at all,
I want to use an console application as an host.
In one other component I want to implement an tray Icon.
For this case I want to hide the consoleapp window after starting dthe
application.
Also I don't want that console app window will shown in the taskbar.
Here are my ques... more >>
Show only two font families ("Courier New", "Bitstream Vera Sans Mono") in font dialog box
Posted by Gouri.Mahajan7@gmail.com at 6/9/2008 12:45:52 AM
Hello,
I want to show only two font families in font dialog box. Can anybody
please help me.??
Thanks in advance.
Regards,
Gouri.... more >>
Filename Encoding Help
Posted by Adhal at 6/8/2008 11:27:26 PM
Hello,
On Vista & XP, I want to store filenames in a text file. What encoding
should I use?
UTF16 (Encoding.Unicode)
OR
UTF32 (Encoding.UTF32).
I think UTF16 is enough? Anyway that is what I am currently using.
One other question. If I have a Japanese system and I again I want to st... more >>
how to sign up with own email account
Posted by CT at 6/8/2008 7:09:00 PM
Hi
Can anyone tell me how can i sign up the discussion group using my company
email account
thanks
CT... more >>
ObservableCollection - notification when item has changed (not the collection)
Posted by David Ching at 6/8/2008 3:25:40 PM
Hello,
I have defined:
public class RawStat : INotifyPropertyChanged
{
...
}
public class RawStatCollection : ObservableCollection<RawStat>
{
...
}
void rawStats_CollectionChanged(object sender,
System.Collections.Specialized.Notify... more >>
Vista debug Issue
Posted by Sid Price at 6/7/2008 5:12:56 PM
Hello,
I am try to debug my application, built on XP SP2 machine with VS 2005, on a
Vista VMWare virtual machine in order to fix a startup exception when
running my application under Vista. Unfortunately I have been unable to make
much progress as the exception occurs during the main form ini... more >>
Programming in NET for user rights
Posted by Meek dba Tangentals Design at 6/5/2008 1:03:51 PM
I'm a freelance developer using Vista Ultima on my work machine. Now
when I first installed Vista I made changes such as giving myself as the
Administrator, full read&write privileges to directories like Program
Files. Is there a list somewhere, or can someone supply me with a list
of the... more >>
|