all groups > dotnet framework > june 2004
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
MatchCollection.Matches() Hangs when attempting to access data member
Posted by David Elliott at 6/30/2004 5:17:34 PM
I am having a problem with a specific scenario with regular expressions. I am doing
some document processing and am looking for date formats within a document.
When I try to access the a property such as Count, after using Regex.Matches(),
the application hangs for several minutes, at which ... more >>
(To .Net Develpers and not only) Don't know what to think with byte ordering and similar
Posted by Vladimir at 6/30/2004 4:56:36 PM
Can anyone halp me with some questions?
Is there multiplatform standart in binary representation of primitive
datatypes when you writing it through BinaryWriter?
In other words if I write by BinaryWriter for example Int64 or Single, can I
without problem read it by BinaryWriter on platform wit... more >>
Problems with System.Configuration.IConfigurationSectionHandler in combination with GAC
Posted by Thomas Koch at 6/30/2004 3:00:52 PM
Hi there - I am implementing a custom
System.Configuration.IConfigurationSectionHandler to enable a custom
configuration setting in the application config file. This
IConfigurationSectionHandler is included in a signed dll.
Now, an exe application using my dll can also use this custom configur... more >>
can I call from one constructor another constructor ?
Posted by Paul at 6/30/2004 2:36:12 PM
public class A
{
public A ()
{
// here I would like to call the second version of _ctor, how to
accomplish this ?
}
public A (int a, int b, int c)
{
// some code
}
}
Thanks for any advice,
Paul
... more >>
printing doubt
Posted by dante_ NO[at]SPAM netcabo.pt at 6/30/2004 2:03:41 PM
Hi!
I posted a message on the other day, but i still have some doubts.
What i want to do is just to print some pages drawn in a
printdocument, since that the printdialog has a property called
"Allowsomepages". I set this property to true, but when I am going to
print something and chose that ... more >>
modifying image metadata causes quality degradation?
Posted by Travis at 6/30/2004 2:01:14 PM
Hi everyone,
I'm using the System.Drawing.Imaging.Bitmap to retrieve and modify the
metadata tags (user comments, keywords etc) of JPEGS. I was wondering if
changing these tags in any way degrades the image quality of the JPEG. I am
using SetPropertyItem to change the tag value and then call... more >>
Exceptions, not being caught outside of the IDE!!!
Posted by Rigga at 6/30/2004 11:14:36 AM
Hi all,
I am trying to catch the exceptions from a VB.NET app.
I use a startup project, so that i can show the MDI main application window
as a dialog within a Try Catch block. se below..
Try
Dim f as MainForm
f.ShowDialog()
Catch ex as Exception
' write nice error rep... more >>
.NET 2.0 ?
Posted by Lloyd Dupont at 6/30/2004 11:07:33 AM
I see there is a beta of VS.NET 2005
why can't we download just the beta of .NET 2.0 standalone ?
--
Lloyd Dupont, Software Architect
Get Your Data Mobile
http://www.ihookdb.com
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Use only one processor on multy-processor machine
Posted by Vitaly Sedov at 6/30/2004 10:59:09 AM
Hello!
How can I use only one processor to run my application on multy-processor
machine?
Thank you,
Vitaly Sedov
... more >>
Newbie: What version of Framework with VS.NET 2002
Posted by Sami at 6/30/2004 10:32:01 AM
Hello,
I have a Visual Studio.NET 2002 Enterprise Architect version that I would
like to use.
I am not sure which version of the .NET Framework is installed with it but
can I seperately download .NET Framework 1.1 and use it with VS.NET 2002?
How should I proceed with the installation process... more >>
ANN: .NET Framework 1.x Service Packs - Tech Preview
Posted by Thomas Scheidegger [MVP] at 6/30/2004 2:53:22 AM
..NET Framework 1.1 Service Pack 1 -Tech Preview-
http://www.microsoft.com/downloads/details.aspx?familyid=12721880-cb9f-4481-9610-987de96532e7
Download:
http://download.microsoft.com/download/8/f/d/8fd0931f-23e9-4a56-b793-112a9db3bffa/NDP1.1sp1-KB840129-X86-Beta.exe
Import... more >>
Threading probem!
Posted by KPH at 6/30/2004 2:46:23 AM
Hi,
I'm writing threading application by VB .NET.
I have 4 threads running on my App. But I found some thread have been stopped by write debug message. From my observation the time duration that thread stop processing quite random.
I have no idea why this happen, what wrong with my thread ... more >>
ANN: .NET SDK 2.0 Beta 1
Posted by Thomas Scheidegger [MVP] at 6/30/2004 2:31:07 AM
..NET Framework 2.0 SDK Beta 1 x86:
http://www.microsoft.com/downloads/details.aspx?familyid=916ec067-8bdc-4737-9430-6cec9667655c
Download [~230MB]:
http://download.microsoft.com/download/a/a/1/aa1bb223-d4fa-4e1e-80c4-2dc31fbb09dc/setup.exe
Runtime :
http://www.micro... more >>
Process.RedirectStandardInput Question
Posted by Matt Osborne at 6/29/2004 10:20:48 PM
Hello all.
I have an application that i am writing to automate an older system. The
system is based on a 16-bit DOS application. It apears to me that I am
unable to redirect input and output to and from the application. Does
anybody know if i am missing something simple?
Thanks
... more >>
How to retrieve Custom Attributes from the Type
Posted by Paul at 6/29/2004 9:17:58 PM
Hi!
I have a problem:
I've declared some classes and decorated them with my Custom Attributes.
(say ClassA and ClassB)
Now I have some Type member (in fact this is FieldInfo.FieldType) which is
eq. typeof (ClassB).
And when I call GetCustomAttributes() for this Type I never gets the
attrib... more >>
Escaping problem using Regular Expression
Posted by Henry at 6/29/2004 9:05:05 PM
I have this simple code,
string escaped = Regex.Escape( @"`~!@#$%^&*()_=+[]{}\|;:',<.>/?" + "\"" );
string input = @"a&+[b`${c}a'?sd:r]" + "\"" + @"@(-d)\e";
Regex re = new Regex( string.Format(@"([{0}]+)", escaped),
RegexOptions.CultureInvariant );
string s = re.Replace( input, "" );
It d... more >>
Express Version Kills Current Version
Posted by Lloyd Sheen at 6/29/2004 8:01:57 PM
Never mind what they tell you. Just installed 2.0 beta and no more 1.1.
Tried to run simple ASP app and doesn't work anymore. Ran aspnet_regiss -i
but to no avail. So anyone who tells you they run side by side needs to be
put in the stocks with the spammers.
No I can only hope that a syste... more >>
Garbage Colletion
Posted by Alan at 6/29/2004 7:37:51 PM
Hi,
I want to know how to make certain that those unreferenced memory blocks are
reclaimed by GC after GC.Collect() is called.
By the method of GetTotalMemory, it seems all of alloctated memory is
collected correctly after that call.But the result is a lot different when I
use the System Task M... more >>
transactions for file manipulations
Posted by Travis at 6/29/2004 6:14:00 PM
Hi All,
I was wondering the .NET framework supports transactions for I/O operations.
I am renaming, deleting, and moving multiple files and would like to
rollback the entire process if I encounter an exception.
Thanks
... more >>
Communicating with a Windows Service
Posted by kettch at 6/29/2004 4:00:01 PM
I have written an application that runs as a Windows Service. I have also written a small windows forms application to send the service some custom startup parameters. The application is also able to connect to instances of the service on the local machine, as well as remote servers.
I am having... more >>
Automatic build process + automatic NuNit (2 in 1 solution)
Posted by gicio NO[at]SPAM gmx.de at 6/29/2004 3:55:18 PM
Hi!
Can someone tell me can I use MsBuild with NuNit today?
Or is MsBuild only available for MSDN subscriptions ?
Or what do you for an automatic build process + automatic NuNit testing.
I looking for a 2 in 1 solution (build + NuNit)
gicio
... more >>
connect to web server using vb.net
Posted by NRD at 6/29/2004 2:49:39 PM
i'm looking for an example using vb.net to connect to a webserver,request a
webpage and get the returned html page.
tq.
... more >>
Reasons to use dot net
Posted by rj at 6/29/2004 2:36:53 PM
How many companies use dot net and the reasons to use dot net. Basically i
am tyring to find out usage stats on dot net. I need to convience my
friends to use dot net for a big project.
thanks
rj
... more >>
Domain List
Posted by Dan at 6/29/2004 2:23:01 PM
Good Day All,
I need to know how I would get a list of Domains that are part of our LAN: similar to the list that you get when you log onto windows. I have seen other programs do it so I know it is possible but I am just not sure how to get at that data.
Thanks for the help!
Dan... more >>
How to get the cell text of DataGrid
Posted by pkujchliu NO[at]SPAM yahoo.com at 6/29/2004 1:02:17 PM
My DataGrid consists of several columns from different tables. After
user modifies it, I would like to output the text of modified
DataGrid. My question is: how can I get the text of individual cell?
Thanks in advance.... more >>
Network communication samples please
Posted by Jeff Johnson [MVP: VB] at 6/29/2004 12:01:11 PM
I'm building a Windows service and I need to make a monitoring application
for users. Therefore I'll need to implement some form of communication
between the program on the users' workstations and the service on its own
machine. I'm afraid I'm completely out of my element here.
One of the thin... more >>
Null Reference in SoapFormatter.Deserialize
Posted by Stingray at 6/29/2004 11:44:35 AM
I'm getting a null reference exception inside the framework classes while
attempting to deserialize a soap message using SoapFormatter.Deserialize.
The soap message was previously serialized using SoapFormatter.Serialize.
Does anyone have a clue as to what I should look for? I'm using .NET 1.0
... more >>
ANN: .NET Framework 2.0 Beta 1
Posted by Thomas Scheidegger [MVP] at 6/29/2004 9:40:20 AM
..NET Framework Version 2.0 Redistributable Package Beta 1 (x86)
http://www.microsoft.com/downloads/details.aspx?familyid=f1232c37-0fee-4aa6-aa89-b6dcefc0873b
Download (at your own risk):
http://download.microsoft.com/download/9/6/6/9666067a-660f-48e0-a755-a83a81036b67/dotnetfx.exe
... more >>
XPBurn component
Posted by Aristeidis Bampakos at 6/29/2004 5:34:01 AM
I am using XPBurnComponent to burn one file on a CD. As soon as the burning process has been completed, I am trying to delete the file but I get an error stating that the file is being used by another process and cannot be deleted.
After I have closed the Form that instantiates the XPBurnComponent ... more >>
How to install .net runtime on several client machines?
Posted by sunil NO[at]SPAM volcanomail.com at 6/29/2004 2:26:07 AM
Dear All,
We have developed a WinForm application and are launching it via No
Touch. We would like to install .Net run time on all client
machines...but Administrators of the Organisation don't want to go to
each and every machine and install .net runtime and caspol it...is
there an enterpri... more >>
Simple web request?
Posted by Brian Taylor at 6/28/2004 10:36:08 PM
I am trying to get some data from a web site that has form-based
authentication (username/password with submitt button).
So I just need to write software to go to the URL, enter the username and
password and download the information from the resulting page.
Does anyone know how to do this - ... more >>
Starting a remote process
Posted by Ronan at 6/28/2004 7:10:31 PM
Does anybody knows how can I execute a process from one machine in another
one?
For example:
I´m executing a "From.exe" file in a machine A, and the code of
"From.exe" in that machine execute another "To.exe" file in machine B, so
the machine B now have a process called "To.exe" running.
I... more >>
TargetInvocationException being thrown - what does it mean?
Posted by markeboy at 6/28/2004 4:40:01 PM
I am passing in a object in to a method (ZoneTransactionController.SaveZone) that in running inside a COM+ component (with transaction.requiresNew set).
The object will serialise and deserialize properly.
However, we are getting the below exception on only one of our development machines. The... more >>
Any way to get Framework to return Line number of my code?
Posted by felechaji NO[at]SPAM yahoo-dot-com.no-spam.invalid at 6/28/2004 4:07:09 PM
I'm pretty new to .Net. I'm writing a Service and I have a number of
debug statements that go to a log, and I was thinking - it would be
wonderfully convenient if I could get the line number of my source
code into the log. I have done it "manually" with statements that
have the line number har... more >>
How do I call a OfficeCodeBehind Program from a Button
Posted by TrussworksLeo at 6/28/2004 3:59:02 PM
How do I call a OfficeCodeBehind Program from a Button?
The program calls a Word.doc. There is no form to call a new instance of.
--
Thank You, Leo... more >>
Using regular expressions to parse INI file
Posted by Marc Scheuner [MVP ADSI] at 6/28/2004 1:45:14 PM
Folks,
I was trying to parse standard Windows INI files using regular
expressions, but I can't seem to get it to work all the way....
I have two tasks, basically:
* retrieve all the section names (names between [....])
* given a section, retrieve all its key=value strings
I can achie... more >>
convert from unicode to ascii (hebrew)
Posted by z. f. at 6/28/2004 12:52:03 PM
Hi,
i need to convert a unicode string to ascii string (in order to put it in
HTML page url )
right now the string gets to the page, but when the url clicked (with the
unicode string in a query string parameter) - the page gets to its
destination but showing יפור ×הבה בלתי × ×©×... more >>
Sending email from vb.net with embedded images?
Posted by dave at 6/28/2004 12:15:02 PM
Is it possible to send an email from code vb.net with embedded images similar to the way you can send an email from without Outlook with the image within the contents of the email? (not a link to an external web server?)
thx
dave... more >>
ReflectionTypeLoadException From GetTypes()
Posted by Antony at 6/28/2004 12:12:35 PM
Hi all,
I could really use your help here. I am trying to create an instance of a
class defined in one of my assemblies, from a method in the same assembly.
The problem area of code looks something like this...
Assembly runningAssembly = Assembly.GetExecutingAssembly();
Type[] assemblyT... more >>
Are assemblies built at the project level?
Posted by Jeff Johnson [MVP: VB] at 6/28/2004 12:08:59 PM
Basically, my real question is "Can an assembly house code from multiple
languages or must each assembly contain code from only one language?" I
would like to create a single assembly that has code from a C# project and
also from a VB project. Impossible?
... more >>
Other FrameWork
Posted by Romain TAILLANDIER at 6/28/2004 11:52:36 AM
Hi group
I wonder which are the others FrameWork
there is the Windows FrameWork , the Linux framework which is beiing
developped.
Is there a Mac OS FrameWork ?
Is there a Palm OS Compact FrameWork ?
what about others OS ?
thank you to reply or give link :)
ROM
... more >>
Setting a default property for user control
Posted by Marty McFly at 6/28/2004 11:00:04 AM
Hello,
I have a control class that inherits from System.Web.UI.WebControls.Button.
When I drag this control from the "My User Controls" tab in the toolbox onto
the form, I want it to reflect the following default properties: Height =
32px, Width = 144px.
I declare the Width property in my ... more >>
How to get group membership with LDAP
Posted by Daniel Billingsley at 6/28/2004 10:36:39 AM
I'm trying to write a simple program to document group memberships in my
Active Directory structure.
As I understand it, LDAP is the way to do this programatically from C#.
I can get everything documented, but when I get to a group I don't know how
to reach in and get the members. The membe... more >>
Problems after installing Sharepoint Services
Posted by Brent at 6/28/2004 8:59:05 AM
Hi,
Recently, we installed Sharepoint Services on our test server (Server 2003)
to try it out. I made a new web for my regular aspx pages. My problem is
that now whenever I try to access my old pages, it prompts for a username
and password for that server. I want it to allow anonymous web reques... more >>
XML from ResourceManager?
Posted by elora_c NO[at]SPAM yahoo.com at 6/28/2004 7:28:32 AM
I'm using XslTransform to create an HTML page. The XSL page has all
of the HTML formatting. The actual text for the page comes from
resource files that are language dependent. I was using
ResourceManager to load the correct resource file, but I need to pass
XML to the XslTransform class. Is ... more >>
There is no source code available for the current location
Posted by yacrumb NO[at]SPAM yahoo.se at 6/28/2004 6:04:45 AM
Hello all,
when i'm stepping through my code the IDE suddenly do not find source
code anymore. A window pops up and shows the message "There is no
source code available for the current location".
How can i get rid of this feature/bug?
I have built all from scratch ,cleared all precompiled... more >>
vb.net
Posted by (prasad_chandi NO[at]SPAM yahoo.com) at 6/28/2004 5:25:05 AM
The main features of vb.net and how use in vb.net in frame work why?
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...... more >>
vb.net
Posted by (prasad_chandi NO[at]SPAM yahoo.com) at 6/28/2004 5:18:15 AM
what is difference between vb 6.0 and vb.net in the matter of passing of members by defaultly?
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP... more >>
How to send Alt-key to application
Posted by Edward at 6/28/2004 1:44:01 AM
From mine application I start another win-app using Process.Start(). Normally, when using the keyboard I can press Alt-F to access the file menu. How can I access the menu from within the first app using Process.StandardInput? Or, how can I send the Alt-key to this app?
Thanks in advance.... more >>
.NET Attribute's Instantiation
Posted by Paul at 6/27/2004 9:50:13 PM
Can you tell me, does Attribute objects have one instance per decorated
class or per object of given class ?
regards.. ;)
Paul
... more >>
|