all groups > dotnet framework > december 2007 > threads for december 8 - 14, 2007
Filter by week: 1 2 3 4 5
Extended TreeNode
Posted by Hakan Ugur at 12/14/2007 5:10:27 PM
Hi All,
I got a treeview object. I extended its TreeNodes to ExTreeNode and then
added ExTreeNode to Treeview control and binded to screen. And then, when I
try to read treeview it returns TreeNode instead of ExTreeNode. When I try
to cast to ExTreeNode, it throws Invalid Cast Exception.
H... more >>
Garbage collection
Posted by Alan T at 12/14/2007 3:00:41 PM
What is the frequency the garbage collector to clear the non-referenced
memory?
eg. every minute?
... more >>
Master Page Gridview Export Excel
Posted by Madison at 12/14/2007 2:56:01 PM
Hello,
I try to export to Excel from gridview using framework2 with master page.
Here is my coding
Response.Clear()
Response.AddHeader("content-disposition",
"attachment;filename=foe.xls")
Response.ContentType = "application/vnd.xls"
Response.Charset = ""
... more >>
Defender problem Adding "Allowed Items" vs "Permit or Deny"
Posted by Lou_makemyday at 12/14/2007 2:44:00 PM
I have Ad-Aware installed on my PC (XP SP2 home edition) and every day I have
to select "Permit" to allow AWRTD.sys driver Ad-Watch registry filter. I
would like to add this to the "Allowed items" list to avoid the daily
selecting of "Permit." I don't recall I was every given the choice of
... more >>
Installing Linux in Microsoft Virtual PC 2007 in Windows Vista
Posted by Chip at 12/14/2007 10:08:00 AM
I need help installing Linux on Microsoft Virtual PC 2007. i have a laptop
running Microsoft Windows Vista Home Premium.
--
-Chip... more >>
Microsoft.Office.Tools.Ribbon controls
Posted by Tahir Sultan at 12/14/2007 7:41:04 AM
Hi,
I am using Visual studio 2008 (.net 3.5) and I have seen
Microsoft.Office.Tools.Ribbon namespace. I want to use these ribbon controls
in my Windows Form application. It looks like that these ribbon controls are
only available to office application project and NOT available to Windows ... more >>
Where to place WPF specific question?
Posted by Alex74 at 12/14/2007 2:03:50 AM
Hi!
I've some complicated WPF specific question, but don't have to found
any WPF specific newsgroup.
Is it possible to ask here or can somebody recommend an WPF newsgroup?
Alex... more >>
Turn bmp-file at 90 degrees
Posted by Alexander Vasilevsky at 12/13/2007 4:12:36 PM
How turn bmp-file at 90 degrees?
http://www.alvas.net - Audio tools for C# and VB.Net developers + Christmas
discount
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Linq to Sql custom property
Posted by Chuck P at 12/13/2007 3:50:02 PM
I have a table called Personnel.
I would like to have a property in the created object Table that is not in
the physical SQL table.
For example a field like IsEligibleForRetirement.
I saw I could use sprocs for Insert/Update/Delete on the objectTable created
and
that I could add a method ... more >>
System.ServiceProcess.ServiceController weirdness
Posted by Mark at 12/13/2007 1:42:00 PM
Hi...
I inherited some code where someone wanted to start/stop services and
display a little ... progress bar while waiting.
Originally it was implemented with
ServiceController.{Start|Stop}()
for (int i = 0; i < 60; i++)
{
Console.WriteLine (".");
try
{
ServiceController... more >>
Fax Server
Posted by BMW at 12/13/2007 1:34:37 PM
Can I use VB.Net to write a Fax Server program to perform the fax function.
I have a lot of statement want to fax to customers every month. I have a vb
program to generate the PDF files.
I have a WinFaxPro by Symantec but not stable at all. And I want to use
Windows API. Can I do that?
... more >>
References and VS Build Failures
Posted by Chris Marsh at 12/13/2007 1:12:10 PM
All
I have a Visual Studio 2003 .NET project which was failing to build, on the
grounds that one of the [third party] assemblies (ICSharpCode.SharpZipLib)
was unable to be copied to the bin folder as it would overwrite another
assembly in the build folder with the same name but of a differe... more >>
User Settings
Posted by Steve Barnett at 12/13/2007 11:48:37 AM
I added some user settings to my app which caused the Settings.settings to
be generated etc... and all was well and lovely and the Sun was shining.
Then I changed the version number of my assembly (it had been updated, after
all) and all of my settings disappeared, which was somewhat less tha... more >>
Prevent Ctrl+Tab in MDI App
Posted by Rory Becker at 12/13/2007 11:04:23 AM
I have an MDI based application in which I would like to totally control
the switching between child windows (which will all be maximised).
I would therefore like to disable the switching between child windows through
the use of Ctrl+Tab and Ctrl+Shift+Tab.
Note that these Child windows ... more >>
IsDayLightSavingTime method
Posted by linda.chen@faa.gov at 12/13/2007 10:30:15 AM
H all,
I just joined a project and am thinking to use
TimeZone.IsDayLightSavingTime inside the application.
This year(2007) the day light saving rule is changed. My machine has
all latest patches so the method runs OK from my machine. But I am
worry about my users. I know all my users have ... more >>
ApplicationSettingsBase
Posted by Jim at 12/13/2007 8:08:51 AM
I am upgrading a c# project from 2.0 to 3.5.
I am getting:
Error 2 The type or namespace name 'ApplicationSettingsBase' does not
exist in the namespace 'System.Configuration' (are you missing an
assembly reference?)
in the generated Settings.Designer.cs
My net 3.5 sdk directories (as oppos... more >>
EBCDIC conversion
Posted by Arne Garvander at 12/13/2007 6:48:01 AM
Is there a codepage in .net that converts from EBCDIC to ASCII and vice versa.
A have a home grown conversion in .net and it does not work for the ^
character.
--
Arne Garvander
Certified Geek
Professional Data Dude... more >>
Understanding .NET versions -- for a non-programmer
Posted by Bryan L at 12/12/2007 4:58:27 PM
I'm an Administrator/IT Manager. Athough I dabbled in Basic and Pascal
programming years ago as a kid, I am absolutely not a programmer.
I'm looking for a high-level overview of the .NET versions and how they all
relate (or don't) to each other. For example, I know .NET 1.1 and 2.0 are
se... more >>
Inheriting from a SortedList
Posted by Venkatesh Reddy at 12/12/2007 9:50:17 AM
Hi all -
So, basically, I want to create a class inherited from a SortedList<T1, T2>
with the types T1, T2 fixed. But the C# compiler gives me an error when I do
this:
class C : SortedList<T1, T2>
{
}
Instead, I have to do this:
class C<T1, T2> : SortedList<T1, T2>
{
}
But the... more >>
Hiding a base function so it is not accessible
Posted by Mike at 12/12/2007 5:15:39 AM
According to the MSDN (see reference below), it is possible to change
a base class function from public to private. How is this done? I've
tried using "new", but the function is still accessible.
From MSDN:
"A derived type can hide an inherited member by defining a new member
with the same si... more >>
.NET Runtime 2.0 Error
Posted by James Lamanna at 12/11/2007 1:59:58 PM
Hi,
A couple of users have been getting this same .NET Runtime 2.0 error
from an app that I have written, and I haven't been able to diagnose
or debug the problem:
Faulting application.....faulting module kernel32.dll version
5.1.2600.3119 stamp 46239bd5 debug? 0, fault address 0x00012a5b.
... more >>
Help running a .NET 2005 executable on a network share? Trying to use ClickOnce
Posted by baydart99@gmail.com at 12/11/2007 12:29:31 PM
Hi I recently installed VS 2005 and have been awoken to the world of
it's security. Previously of course my users, all part of are
organizations network, could run executables from a Network Share.
When I tried running my new VS 2005 .Net version from the share I got
an exception on Exception... more >>
Flash video DLL? a .NET dll to convert various video to FLV.
Posted by John Mott at 12/11/2007 12:13:09 PM
Does anyone know of a .NET dll that will convert different video formats to
FLV for flash video site? I want to write a wrapper program to do this
programmatically on a server after upload.
Thanks,
john
johnmott59@hotmail.com
... more >>
delegate not removed from invoicationlist
Posted by Bart at 12/11/2007 8:33:03 AM
Hi, what is wrong with following code:
try
{
subm.EndInvoke(ar);
}
catch (System.Net.WebException ex)
{
try
{
... more >>
Missing "cross-thread" MDA?
Posted by Peter Duniho at 12/11/2007 12:30:26 AM
Okay, I'm guessing I'm overlooking something simple here, but I'm
obviously not going to find it.
Someone please tell me the exact name of the "Cross-thread operation not
valid" MDA, as seen in the "Managed Debugging Assistants" list in the
Debug/Exceptions... menu of Visual Studio 2005?... more >>
Run app from network share
Posted by B at 12/10/2007 11:25:31 PM
Can somedoby tell me the steps, or perhaps examples, which I have to
complete to access .net application on client computer from network shared
folder on server computer??
I made a release of my appplication and it is on my D disk (D:\Test) and I
use third party control (xyz.dll) which is
in ... more >>
Parsing a MailMessage
Posted by Edgar Harris at 12/10/2007 8:22:01 PM
I have to parse mail messages from an email server for an application that
I'm working on. I'm somewhat familiar with the MailMessage class that is
available in the .NET Framework. I've noticed that the MailMessage class has
a host of convenient properties that have all of the information I ... more >>
Pointer to string in C#
Posted by Mike at 12/10/2007 5:44:02 PM
WARNING: newbie to C#
Is there a way to do this:
WCHAR szString[] = L"This is your girlfriends string";
LPWSTR pszString = szString; // This is a pointer to her string
wcscpy(pszString, L"And now I touch it!");
in C#?
Something like this:
string strText = "This is C# string";
objec... more >>
wpf - dragdrop - no realy complete example
Posted by Rolf Welskes at 12/10/2007 5:09:40 PM
Hello,
because there are no managed news group for window presentation foundation
and one has told me I can use this, here my problem:
I have searched in the msdn and there are samples for dragdrop, yes,
BUT:
Think for one who had never made dragdrop.
There is no complete example in the fo... more >>
framework 3.5 folder looks short
Posted by Francesco Sozzi at 12/10/2007 11:57:42 AM
I've just installed VS 2008 and I discovered that Framework 3.5 folder
(C:\WINDOWS\Microsoft.NET\Framework\v3.5 ) is very short if compared to
prevoious versions (26.4 MB for 3.5 vs 164MB for 2.0). It has very few files
and all assemblies seem to stay into Compact Framework folder instead
(... more >>
comp. crashes
Posted by roee at 12/10/2007 1:58:01 AM
hi.
i got a system crashed of my system, when i tried to load it again it didn't
worked.
farther inspection found out that the memory didn't passed the bios
inspection.
trying to reinstall the system from scratch worked. but after two restarts
it failed again.
is it possible that from a me... more >>
ReadLine needs twice Return Hit after Console.TreatControlCAsInput = true;
Posted by Kerem Gümrükcü at 12/9/2007 8:49:26 PM
Hi,
i am not a friend of crossposting, but this is a exception here.
Either i dont get it or whatever, can someone tell me, why
the Console.ReadLine() needs twice Enter hit, after the
Console.TreatControlCAsInput = true; has been set and
how can i avoid this with Console.TreatControlCAsInput ... more >>
One for the multithreading Gurus
Posted by dgleeson3@eircom.net at 12/9/2007 1:55:24 PM
Hello All
Im having lots of fun with window handles and invoke.
The code started off in a single class. Main thread set up a worker
thread and the worker thread updated the progress bar on form1 (which
only has a progress bar and a button). All worked well - No problems.
The implementatio... more >>
Framework version
Posted by Lou at 12/9/2007 10:36:11 AM
How can I programmatically get the current framework version?
-Lou
... more >>
Refering, Registering a DLL to .NET
Posted by samanthapantha333@googlemail.com at 12/9/2007 9:55:01 AM
I am quite new to .net development, and uptill now had sussed it, I
have created a web application, kind of like a blog on my localhost,
It is delvered through SQL, and depending on where the user assigns
the pages will depend on where it is published in the site, but I
wan't to add a text edito... more >>
Replicate Data Between SQL 2005
Posted by Brian P. Hammer at 12/8/2007 7:25:29 PM
All,
I am looking at updating our .Net application to allow off line clients. By
this, I mean clients using the .Net app while not connected to the internet
or our corporate network. The application currently uses SQL 2005 to house
data and some application configurations. I don't have a... more >>
|