all groups > dotnet framework > june 2006 > threads for june 22 - 28, 2006
Filter by week: 1 2 3 4 5
Tab Control without tab section
Posted by Goh at 6/28/2006 6:51:51 PM
Hi,
Any component that work like Tab but without the all the tabs for
user to click from one view to another view. we will programmatically other
button to perform tabs view change from one to another.
hope that you guy understand what I trying to explain. I need this
bec... more >>
how do I download the right version
Posted by Windwatcher at 6/28/2006 5:33:38 PM
I am trying to install a program which requires Net Framework 1.1.4332.
Microsoft has so many different listings for this, I can't figure out which
one I am supposed to download. I'd appreciate a link or just the correct
title for what I want. Thanks for helping....
... more >>
Getting Array Type From Type
Posted by gary at 6/28/2006 4:21:07 PM
Currently I am doing the following to find an one dimensional array
type of a type -
Type asSingle;
Type asArray = Array.CreateInstance ( asSingle , 0 ).GetType ( );
Is there a way to do this without creating an instance?
I do not know the array type at design time.
Thanks in adv... more >>
Update Profile of Created User
Posted by Morgan at 6/28/2006 3:17:01 PM
I've created my own version of the CreateUserWizard control that gathers up
all the information I need when a user requests an account. Once all the
data is gathered and validated, the FinishButtonClick property calls a method
that does the following:
1. Creates the user account:
Membersh... more >>
Error with partitioned session
Posted by Demi at 6/28/2006 1:33:02 PM
Running ASP.NET2. Every once in a while I get this error:
Unable to cast object of type 'System.Collections.DictionaryEntry' to type
'System.Web.PartitionInfo'.
at System.Web.PartitionManager.Dispose()
at System.Web.SessionState.SqlSessionStateStore.OnAppDomainUnload(Object
unuse... more >>
Get Dotnet Framework version from command line
Posted by bcastaing NO[at]SPAM gmail.com at 6/28/2006 9:45:15 AM
Hi everybody,
I write a VBS script witch uses csc.exe (command line dotnet compiler),
but my problem is to detect what version of Dotnet Framework is
installed on the server to use the good repertory 1.1 or 2.0 (v1.1.4322
or v2.0.50215 ...)
What command line or script can I use to get this in... more >>
Combobox refresh after changing displaymember and valuemember
Posted by dchman at 6/28/2006 9:31:02 AM
I want to set the values for the combobox.displaymember and valuemember at
runtime. Its seems simple enough, but after changing them in response to a
change in an option group, I can't figure out how to get the combobox to
refresh itself with the new settings. I've tried the combobox.refresh... more >>
OrderedDictionary - to retrieve objects in same order
Posted by Suhaib at 6/28/2006 8:20:01 AM
Hi,
I want to use OrderedDictionary to get my objects in same order as they
are inserted in. I also want to access the objects using a key. So my
question is whether this is the best option or there is some better
collection object than OD. The current MSDN documentation dosn't says
anyt... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Not CLS-compliant
Posted by Kevin Burton at 6/28/2006 8:09:02 AM
I have an argument in the constructor for a VB form that as a parameter that
looks like:
ByVal lblHeader As Controls.MGLabel
Visual Studio 2005 gives me a warning:
Type of parameter 'lblHeader' is not CLS-compliant
I am not sure what to do.
Thank you.
Kevin... more >>
way using splash screen
Posted by Goh at 6/28/2006 12:00:00 AM
Hi,
Just think to get some comment from communitiy regarding best
pratice using splash screen. If we develop an application that need loading
database to dataset it's we need done it at main page fill up all nessarcy
table to dataset. since the splash screen only counter the main pa... more >>
Managed to unmanaged performance
Posted by Toadfather at 6/27/2006 11:24:21 PM
Hi all
Existing COM ATL DLL wrapping a C++ library. Interoping from a C#
application, passing a large string containng XML (5-130kb). Need to
significantly improve performance of both the interoping and the
performance of the native functions (performance critical app).
Opinions sought on mos... more >>
Diagnosing root cause of .NET application using nearly 500 MB memory
Posted by Matt Adamson at 6/27/2006 9:23:49 PM
We have a .NET application which is obviously using nearly 500MB memory and
we can't understand why. I created a dump for a different issue and the
server ended up creating a process shutdown dump of this size.
I have seen the DumpLargeObjectSegments command however I'm not sure what to
look... more >>
Versions Needed?
Posted by Tom Grillot at 6/27/2006 4:26:22 PM
In my "Add or Remove Programs" list I have the following:
Microsoft .NET Framework (English)
Update Installed on 3/16/2005
Update Installed on 3/18/2005
and
Microsoft .NET Framework 1.1
Update Installed on 3/16/2005
Update ... more >>
How to figure out if data is base64encoded.
Posted by Jeremy Chapman at 6/27/2006 4:25:29 PM
Is there some way to programatically tell if a string is base64 encoded?
... more >>
Assembly.LoadFrom loading a .net 2.0 assembly from a 1.1 app
Posted by Jeremy Chapman at 6/27/2006 2:28:37 PM
Is it possible to load a .net 2.0 assembly from a 1.1 app using
Assenbly.LoadFrom or possibly some other means?
... more >>
Selialize exceptions
Posted by YC at 6/27/2006 7:57:02 AM
Hi,
I creating a custom exception and I'm implementing the best practice with a
constructor which is needed for serialization (with Serialization Info info,
StreamingContext context).
My question is - what’s the use for serializing exceptions when working with
web services as my remoting m... more >>
CHM file with .NET
Posted by Fla at 6/27/2006 7:05:52 AM
Hy!
I've got the following question in VB.NET.
How can I access to a particular topic of a CHM file generated by HTML
Help Workshop?
Some newsgroups/sites on web suggest to use CHM file for help-on-line
and the HTML files for accessing a particular topic; but I want to use
only the CHM file al... more >>
XML merging
Posted by Sanjib Biswas at 6/27/2006 1:52:46 AM
Hi All,
I am looking for XML merging for the following scenarios. I want to =
load both the input files and show in the tree viewer and highlight the =
differences. Now its up to the user to select the correct node. Any non =
conflicting differences should be automatically merge onto the me... more >>
convert datetime to sortable format
Posted by pranesh.nayak NO[at]SPAM gmail.com at 6/26/2006 11:38:43 PM
Hello again,
I need to convert date to "yyyy-MM-ddTHH:mm:ss" format.
Below code does this, but it appends time twice in date variable.
DateTimeFormatInfo dy = new DateTimeFormatInfo();
dy.ShortDatePattern = "yyyy-MM-ddTHH:mm:ss";
dy.ShortTimePattern = "";
// next set dy to current cultur... more >>
DateTime without time instance
Posted by pranesh.nayak NO[at]SPAM gmail.com at 6/26/2006 11:01:56 PM
Hello group,
I'm calling Java webservice from c#.Net client which accepts only date
without time instance. The type of variable should be DateTime. I think
c# doesn't support shortdate type. Please let me know if anybody has
already come across this problem.
... more >>
NOT using the System.Threadpool in server class applications
Posted by Chris Mullins at 6/26/2006 9:24:07 PM
Quite often of late I've been asked about when to use the System Threadpool.
I finally sat down and wrote a blog detailing the issues in the ThreadPool
and why it's unsuitable for use in production grade server applications.
Any feedback on this is appriciated!
http://www.coversant.net/do... more >>
DataGridView
Posted by Goh at 6/26/2006 6:05:34 PM
Hi,
As we all know that Asp.net allo DataGridView inside another
DataGridView. How can we implement this kind of thing in Win Form.
Thanks.
Goh
... more >>
Create my own designer
Posted by Andrey Dzizenko at 6/26/2006 1:56:22 PM
Hi all!
I want to create a designer for graphical elements such as line or
rectangle. This designer should add an object to some workspace and then
allow to transform it (change size and position).
Its something like ControlDesigner, but ControlDesigner doesn't allow to
move the right... more >>
Programmatically Install Certificate into Windows Certificate Store
Posted by Brad at 6/26/2006 12:08:40 PM
I have a Personal Information Exchange PCKS #12 certificate file that
requires a password when manually installing. This certificate was
issued by a 3rd party company I need to communicate with via https.
Initially I exported the PCKS #12 certificate to a DER encoded binary
X.509 certificate an... more >>
How should I convert Rtf to plain text?
Posted by PIEBALD at 6/26/2006 12:03:02 PM
So far, as a work-around at least, I'm instantiating a RichTextBox, setting
its Rtf property to the rich text I have, then using the Text property to get
the plain text.
This works, but I expect there's a more efficient way.... more >>
Possible binding issue
Posted by Trent Rossiter at 6/26/2006 11:00:02 AM
I am using reflection to create an assembly (Assembly A) and invoke a method.
Assembly A has its own config file, which is set at run time. To read this
config file I had to set some binding flags in the code, now this seems to
work fine, Assembly A can read its config file. However Assembly A... more >>
Get text message of textbox in a webpage
Posted by vutaviva NO[at]SPAM gmail.com at 6/25/2006 3:14:42 AM
Hi,
Please help me!
I want to get the text of one textbox in a webpage. For example, I
compose mail by gmail. After I type content of my mail and click a
button on toolbar (created by myself), my function will grasp all this
content. Final, I'll create signature from this content.
How... more >>
compile-time error generating custom attributes
Posted by Picho at 6/25/2006 1:34:46 AM
hi all,
can I create my own compile-time attributes?
e.g. an attribute applied to a method and that will generate a compile time
error if the method has the wrong signature?
I was hinted twords 'Intellisense API' but cant seem to find it at all...
thanx,
Picho
... more >>
Export .Net Report to Microsoft Power Point
Posted by Goh at 6/24/2006 7:01:36 PM
Hi,
As I know Crystal Report Viewer allow export to pdf, word,excel. But now
I'm searching the way to export my report to Microsoft Power Point. Do you
guy know how to done that?
Any suggestion on how to done this? Does any Microsoft component is
providing this kind of export sin... more >>
Is this possible?!?!?!?
Posted by S Reichard at 6/24/2006 1:18:02 PM
Here is my issue... I am working on creating a website
http://www.adoptabrick.com
The new site is in progress http://www.adoptabrick.com/pilot
The first website uses flash right now on the page marked "The Wall". I
would like to change the page to utilize aspx. Is it possible?
Her... more >>
What is reflection?
Posted by idletask NO[at]SPAM msn.com at 6/24/2006 12:25:33 PM
Can someone tell me what Reflection is? Specifically, what's the
System.Reflection class for? I know that seems like a silly question
to some people here...
The reason is that I use a function that prints a printdoc object
directly to a file. I tried getting my object to print to file
direc... more >>
VisualStudio 2000 to use .Net Framework 1.1
Posted by Waldemar at 6/24/2006 11:41:01 AM
I am using VisualStudio 2000 which uses .Net Framework 1.0
How can I make it to use .Net Framework 1.1?
Thank you,
Waldemar... more >>
storing dataset
Posted by gyoder at 6/24/2006 8:25:18 AM
what is the prefered method of storing a dataset to a non-database file.
perhaps a binary file?
thanks
... more >>
AccessViolationException at Xsl Transform
Posted by Anton at 6/24/2006 12:00:00 AM
Hi,
I'm getting the following exception when doing a XSL Transform:
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
at Execute(XmlQueryRuntime
{urn:schemas-microsoft-com:xslt-debug}runtime)
at... more >>
SerialPort on a Thread
Posted by George Nentidis at 6/23/2006 9:17:16 PM
Hi there all.
I have a problem with SerialPort that can't seem to find a solution for
a couple of days now.
I use the SerialPort to send AT commands to a modem.
Simple AT commands like ATE1, ATQ0 etc. and simple call.
Open the port, Send the AT command, read the response, close the port.
... more >>
find out whether there already is an object of the same derived type in a generic collection
Posted by Fabian at 6/23/2006 3:36:42 PM
Hello,
I have a class hierarchy of "Task Activity" classes for a machine
control system. To manage the activities I have a dictionary class,
derived from Dictionary<string, TaskActivity>.
I have to check whether this dictionary (already) contains a
TaskActivity object of a specific type an... more >>
Application settings in visual studio 2005
Posted by ryan.ness NO[at]SPAM gmail.com at 6/23/2006 3:36:41 PM
Hopefully I will explain this clearly...
I have some old dlls written in vb.net (2003). I want to reference one
of these in a visual studio .net 2005 project.
So I can make the reference, but I'm having problems getting the old
dll, to see an application setting in the 2005 project. I don'... more >>
Can I run a .net 1.1 application on .net 2.0
Posted by Seshagiri at 6/23/2006 10:39:02 AM
If a target machine has ONLY .net 2.0 installed on it, can my application
(compiled on .net 1.1) run without any problems?
... more >>
Possible to target application to multiple frameworks?
Posted by Joseph Geretz at 6/23/2006 10:20:03 AM
I am contracting a solution out to be developed in C#. Besides for the
application features themselves, we have two goals for the *distribution* of
this software.
1. It should be easily 'installable'. Simply dropping the software onto the
box should be all that is necessary. My impression i... more >>
Loops and textboxes
Posted by steven scaife at 6/23/2006 9:21:03 AM
I have created a class that inherits from the dictionary base, and i have 10
text boxes on my form, these are labelled txtPrice0 to txtPrice9. I have
populated my class with values from a database. I want to be able to get the
values from my class into the text value of each box.
Each val... more >>
IComparer (or the IComparable methods it relies upon) did not retu
Posted by Darragh Jones at 6/23/2006 8:55:02 AM
I'm trying to figure out why I'm getting the following error message when
trying to radomly sort a list of custom objects. In particular I've noticed
the following strange behaviour I'm hoping someone could shed some light
on....
1. When the list contains only 3 objects the sort works fine,... more >>
IDisposable
Posted by Jimmy Palanca at 6/23/2006 8:52:02 AM
Is there a quick way to get a list of all classes in .Net Framework 1.1 that
implement IDisposable?... more >>
How to get DateTime format settings from Control Panel
Posted by Egil Winther at 6/23/2006 12:00:00 AM
Hi everyone,
I'm having difficulties retrieving datetime formats that has been customized
in the control pane.
I can get the cultureinfo, but I get same settings regardless of what i do
in the control panel.
Any ideas?
Brgds
Egil Winther
¨ShipNet AS
... more >>
Database Connection
Posted by Repton Walker at 6/22/2006 8:18:01 PM
Hi,
Is there any way to connect to a Lotus Notes Database using Visual Studio 2005
Thanks in advance
Repton... more >>
How to share the socket between .net framework 1.1 and unmanaged code
Posted by Ray Lau at 6/22/2006 5:15:59 PM
Dear all,
How to share the socket between .net framework 1.1 and unmanaged code?
Best regards,
Ray
... more >>
System ShutDown..
Posted by VJ at 6/22/2006 3:57:27 PM
Our application writes pretty large XML files to local file store.. I would
say anywhere between 3-5MB of data at time.. but nothing more...The
DataSet.WriteXML() method in the framework, corrupts the files when System
is shutting down. What I mean here is the file does not get flushed
prope... more >>
Cache Classes for Non-ASP.NET Apps??
Posted by Jason Harmon at 6/22/2006 1:20:16 PM
Does anyone know of a class (third party or otherwise) that implements
caching functionality similar to the "System.Web.Caching.Cache" class for
ASP.NET, but which can be used by non-ASP.NET apps (in my case a Windows
service)?
The System.Web.Caching.Cache class has exactly the functionalit... more >>
How to: Launch A Console Appplication in Hidden Mode?
Posted by ESmith at 6/22/2006 9:17:33 AM
I want to create a small console application that essentially gets some
information and then launches a Windows Application. What I want to do is
have the console application launched in hidden mode - I know how to do this
from with a Windows Application by creating a Process and using StartI... more >>
System.Net.Mail
Posted by GastonFouche at 6/22/2006 8:45:02 AM
We are converting some applications from Frwk 1.1 to 2.0
We have changed System.web.mail to System.net.mail..
(using the samples provider by msdn site to send mail (quite easy, its
almost the same)
one curious Issue has arisen in out testing... The Email is not actually
sent out until the... more >>
GZipStream decompression not working
Posted by 7elephants at 6/22/2006 7:28:44 AM
I have written a class to do compression/decompression using
System.IO.Compression.GZipStream. The compression seems to work fine,
but when I try and decompress a compressed string, nothing is returned
in the buffer...To do the processing, I pass the GZipStream as input
into the following funct... more >>
jump into code when exception occur during debug (in Try..)?
Posted by mtczx232 NO[at]SPAM yahoo.com at 6/22/2006 4:22:17 AM
VS2005 - VB
when we have code in try block, when exception occur during debug. the
debuger not jump into the code, before run the catch block. this
behavior make debugging difficult.
I not sure, but i remember another experience (maybe with VS2003) that
first jump into the code and if i dec... more >>
|