all groups > dotnet framework > december 2003
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 31
RegistryKey class anyway of getting value type?
Posted by unemotionalhumanoid at 12/31/2003 9:24:18 PM
I am using the RegistryKey class to get access to the windows registry, I
can get a value from the registry by doing:
RegistryKey registryKey1 =
Registry.LocalMachine.OpenSubKey("Software\\test");
registryKey1.GetValue("test2")
How do I find out what type "test2" is? i.e. string, dword, bin... more >>
Need an answer
Posted by k_srinivas78 NO[at]SPAM hotmail.com at 12/31/2003 8:41:26 PM
Hi to all..
Happy New Year to all..
Need a help. I want an information regarding the site or
information regarding "How to Connect to Microsoft
Exchange Server through VB.Net" and How to send an E-Mail
from VB.Net.
Thanks
Srinivas.K... more >>
Invalid key size creating ICryptoTransform instance for TripleDES
Posted by Jan_Weingärtner at 12/31/2003 5:15:26 PM
Hi.
I just try to encrypt data with TripleDES.
The LegalKeySize is defined as MinSize=128, MaxSize=192, SkipSize=64.
So i try to use a 128 byte array for key and IV :
-----------------------
byte[] pwd = new System.Text.ASCIIEncoding().GetBytes(new string('a', 128));
byte[] desIV = new Syste... more >>
Unique assembly (dll/ocx)
Posted by Cesar Ronchese at 12/31/2003 4:26:21 PM
Hi.
I've been developed a dll em VB .net and set it to GAC.
Then, I build an executable to make use from that dll. It works fine.
Now, I did modifications in that dll, and rebuild her.
When I call the executable again, I noted that the executable is not using
the new version of my dll.
... more >>
Does Activator.CreateInstance work on Friend contructors?
Posted by kw_harry NO[at]SPAM yahoo.com at 12/31/2003 2:57:42 PM
I have a class with a contructor that is declared
Protected Friend. In another class in the same assembly I
try to create a new instance of the class using
Activator.CreateInstance, but I get a missing procedure
exception. Is there a reason why this doesn't work? I
don't have a problem ... more >>
Local System Service modifying HKEY_LOCAL_MACHINE?
Posted by gregory_may at 12/31/2003 1:25:30 PM
I came accross this article that tells me that a Local/System service has a
hard time modifying any regestry keys in HKCU. Does anyone know if a
Local/System service can easily modify regestry keys in HKEY_LOCAL_MACHINE?
Thanks!
http://www.windowsitlibrary.com/Content/314/1.html:
Note: ... more >>
synchronizing in multithreaded application
Posted by Law at 12/31/2003 11:39:02 AM
I have the following synchronizing problem below with
multithreaded application. I wonder if you know the
resolution.
I have 3 classes:
1) Product class
2) Buffer class (the name can be changed later)
3) Upload class
Product class is responsible in retrieving product
information from ... more >>
GC does not release memory...memory keeps growing!!!!
Posted by Mahesh Prasad at 12/31/2003 11:07:11 AM
Hi,
I'm having a very very frustrating experience with the .NET. I've a simple
crawler console application.
The main objective of the crawler is to read a list of URLs and make HTTP
calls to a web server and save
the html files locally.
I had setup perfmon to monitor the memory usage of th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Installer classes and config files?
Posted by Bob Willer at 12/30/2003 7:54:51 PM
I have a .NET Installer class that gets executed during my installation.
However, that installer class is reliant on an associated .config file. So I
have "MyClass.dll" that is a .NET Installer class. I also have a file
"MyClass.dll.config" that is deployed into the same destination directory.
... more >>
Oracle error occurred, but error message could not be retrieved from Oracle
Posted by Gerard Lai at 12/30/2003 6:09:31 PM
I am writing a web based application using vb.net in my
host computer. Every time i improve the application, i
will port this to my staging server. The strange thing is
that sometimes when i tried to access this application in
the staging server, it gave me this error and i cannot
retrieve... more >>
How to Do Unattended Install of .NET Framework 1.1?
Posted by Mike Lemons at 12/30/2003 5:48:52 PM
I want to incorporate an unattended installation of the
newest .NET Framework 1.1 package on my Windows XP Pro,
with SP1a clients. I can't find instuctions and my
attempts to use the Windows Installer with the network
installation package that I downloaded have failed.... more >>
ExecuteAssembly does not work at production
Posted by Egbert Nierop (MVP for IIS) at 12/30/2003 5:37:59 PM
Hi,
In development, code below works. But at production, I'll get a assembly key
mismatch. I'm am very sure, all assemblies are compiled and copied. The
batch exec, is a .NET application as well.
Is something wrong with code below?
Thanks for your time!
AppDomain currentDomain = Ap... more >>
Failure of installing net framework
Posted by Xuyal at 12/30/2003 4:50:29 PM
Hi:Everybody!
I've encountered setting up failure in installing of net
framework,it happened in the last registration stage of
setting up,so it was rolling back and could not be
installed to Windows Xp system.
Hope to find a solution to it
Thanks a lot... more >>
Windows 2003 Server Variables
Posted by Nick at 12/30/2003 3:13:55 PM
I am having a disagreement with my hosting company they are saying I am
running on a Windows 2003 box. But when I do a trace the values that are
returned are.
SERVER_SOFTWARE Microsoft-IIS/5.0
Server software is set to Microsoft-IIS/5.0 can somebody actually verify on
their own ser... more >>
W2K -vs- XP Pro -vs- W2003 for .Net
Posted by Scott at 12/30/2003 2:30:07 PM
I've been a developer for 10 years, and these last 5 years
I've been doing VB6 and ASP, however I think it's time for
me to expand my expertise by getting into dot.net.
I will be taking a C# course in January, and I'm trying to
decide what setup to install. I know I will use VS.net
Ent... more >>
Good starting point for walking code
Posted by Keith Patrick at 12/30/2003 12:46:23 PM
I have a project where I want to programmatically analyze an assembly by
looking at every method of every class and recursively do the same for every
method called within. Am I going to have to manually decompile assemblies
from raw bytes to do this, or is there a set of classes in the framework... more >>
Timeout with HttpWebRequest
Posted by donler at 12/30/2003 11:33:05 AM
I call this code multiple times. After some period of time (I don't know how
long, sometimes after a short period and then it will recover),
(HttpWebResponse)webRequest.GetResponse() starts to timeout. At some point
it will continue to timeout and never recover until I stop the app and start
it ... more >>
Delay Signing of Strong Name Assemblies
Posted by timm.hagen NO[at]SPAM paisleyconsulting.com at 12/30/2003 10:29:53 AM
I am trying to strong name an ASP.NET Application. I have been
successfull if I supply the private key file, but now I am trying to
use delayed signing to create the assembly but with no success. I get
the following error ... The check of the signature failed for assembly
'Microsoft.Applicatio... more >>
Help with Regular Expressions
Posted by Brian at 12/30/2003 9:32:55 AM
In the process of monitoring my inbox with .NET code, I
would like to check the body of the email message to
determine if there is a code (GUID) stored in the body of
the mail message formatted like the code below. The
position of the code may or may not be the last thing in
the body of th... more >>
an error occured while registering the generated type library: Error Accessing OLE Registry
Posted by Ashish at 12/30/2003 9:18:42 AM
hi All,
I have been fighting this error when i build the dll which is marked for
com registration, it simply is refusing to regsiter the type library
!, although the same code works on other machine and registers the type
library
i have taken following steps in trying to diagnose the s... more >>
Redirecting assembly versions
Posted by Steve at 12/30/2003 9:17:03 AM
When redirectiong assembly versions, is it possible to
use *'s?
<bindingRedirect oldVersion="9.0.0.452"
newVersion="9.*.*.*"/>
At one time I believe I read this was possible but I
can't find any documents on it now.
Thanks,
Steve... more >>
comunication
Posted by Pedro at 12/30/2003 7:09:37 AM
How can you send and recive data to a usb port, or is it
beter to do it with the serial port? Ej: I have a device
witch has both interfaces, witch should I use?
Thx
Pedro... more >>
Cannot get application to start
Posted by Tom Dresch at 12/30/2003 6:40:33 AM
I have developed an application using Visual Basic .NET.
It runs fine on Windows XP platforms once the >NET 1.1
Framework is installed. BUT it will not start on Windows ME
or Windows 2000 Professional.
I am using the JetEngine to work with an Access database.
Any help is appreciated... more >>
Debug Shared Assemblies
Posted by Rakesh at 12/30/2003 6:20:25 AM
Hi All,
I have a created a solution in VS.NET, which has several
projects.
The output of 2 Class Library projects, is deployed in the
GAC. The reference of these assemblies is added in the
other projects using the File References, so the CopyLocal
property of these references are fals... more >>
HTTP Webserver - tcp thread issues
Posted by Microsoft News at 12/30/2003 1:07:48 AM
Hi,
I have been using several http server code examples from the web, include
one from msdn, and I can't seem to get a simple http server thread working.
I can connect the server successful using IE6 and following url:
http://127.0.0.1:5050
But when I attempt a second connect the windows symb... more >>
Uninstall Assembly from GAC
Posted by Mark Irvine at 12/29/2003 9:29:54 PM
Hi,
I have been writing a small Hello World app to try installing it into the
GAC. However whenever I try to uninstall it I get an error message:
Assembly 'NihcoMobile' could not be uninstalled because it is required by
other applications.
Not matter how I try to uninstall it (explorer, ... more >>
advanced .net remoting questions
Posted by Paul Fi at 12/29/2003 7:52:02 PM
1.communication between the client and server has to go thru client and
server channel sinks before its turned to object method invokations
those channel sinks carry messages thru and other header informations
now how can u secure those header information like the requestheaders
from being modif... more >>
where to start for telephony programming with .NET
Posted by jeff at 12/29/2003 1:19:48 PM
I am totally new in the telephony programming area. can
someone point out where to start to do telephony
programming with .NET?
thanks
jeff... more >>
URGENT: COM Interop BUG!?
Posted by Nadav at 12/29/2003 10:26:38 AM
Hi,
Introduction
***************
I have a system build of a collection of 'Native COM objects' and '.NET =
COM interop' objects, all of the COM objects are managed through a =
'Native COM' layer, this layer manage the underlying COM Objects and =
upon request, provide a pointer to those obje... more >>
IIS problem with Excel , C# and ASP.NET
Posted by ana_paranos NO[at]SPAM yahoo.com at 12/29/2003 9:53:07 AM
Here is the problem:
I have an IIS installed on my computer and a web site. When you click
on the button on that website, it should save excel file. If I do it,
it works fine ( but I'm an administrator on my own machine). If
someone else try that same thing (calling the web site through URL),
t... more >>
Get referenced assemblies- loaded and unloaded
Posted by Mark Allsop at 12/29/2003 9:48:30 AM
Hi,
Can anyone help me- I need to find out at runtime the assemblies which are
referenced from an assembly.
I have tried the Assmebly.GetReferencedAssemblies() function, however it
seems to only return assemblies which have been loaded- I need to also get
the assemblies which have not yet b... more >>
ResourceSets
Posted by Rubén_Altman at 12/29/2003 6:35:52 AM
Does anybody know weather there is a way to iterate over a=20
ResourceSet when using .NET Framework 1.0? I've seen in=20
the 1.1 documentation that ResourceSet class implements=20
GetEnumerator method, but I can't find nothing similar in=20
the old version.
I've also try to inherit the Resour... more >>
Change value in Web.config programatically
Posted by mg at 12/29/2003 4:22:33 AM
How can I change the value of "timeout" in Web.config
<sessionState timeout="20" />
in one deployed app (project A) from a method call in a
WebForm (C#) that's running in another deployed app
(project B) on the same server.... more >>
Joker for a digit in File Dialog Filter
Posted by Phil at 12/29/2003 4:18:55 AM
Hi All!
I would like to filter files, in a file dialog, with
digits in extension only, i.e., files with extensions
from *.000 to *.999. Since I could not find a joker for a
digit, I made a filter in a brute-force way:
fileDialog.Filter = "Test files (*.000 - *.999)|";
int i;
for(i = 0... more >>
Class Library Reading from .config files
Posted by Makarand at 12/29/2003 12:22:01 AM
Hi all
I have one doubt abt class library(.dll)
I want my .dll to read from the config files and client
should able to edit the config files. How should I do
this, since this would be dome different .config file
than the one that is generated in project (web.config,
app.config)
Please... more >>
Design time property support for a collection
Posted by Edward Diener at 12/28/2003 9:54:58 PM
In C++ Builder one could set up a collection of items, by deriving a
collection from TCollection and a collection item from TCollectionItem and
tieing the two together in the derived code, which a user could edit at
design time. This collection had immediate support in C++ Builder's RAD
designer... more >>
GetPrivateProfileString any managed method?
Posted by robains NO[at]SPAM msn-dot-com.no-spam.invalid at 12/28/2003 9:29:45 PM
I have a lot of files I use to store application settings that are NOT
part of the registery (and should NOT be). Can't seem to find a .NET
Framework equivalent of GetPrivateProfileString -- I need to be able
to specify my own file location (C:\MyApp\MyApp.INI) and read values
from this file.
... more >>
regarding session timeout
Posted by Yadnesh at 12/28/2003 8:24:15 PM
Dear all,
I am facing a problem in asp.net .As you might be knowing
that any asp.net application has web.config file
where you can change the timeout period.
What I want is to redirect a user to the login page once
his/her session is expired by using Session_onEnd method
in the Global.asax... more >>
.NET framework issues, any advice would be of help
Posted by Jon Jack at 12/28/2003 6:49:10 PM
I'm using Visual C++.NET 2002 Standard to compile a
freeware audio/music synth. I'm using the gaming library
OpenAL for my audio.
I just started to do testing on the program for its
first release and the target machine can't run the program
because it doesn't have the .NET framewor... more >>
Saving a stream to file
Posted by jester at 12/28/2003 6:29:52 PM
Hi! I have a very simple problem. I'm calling a method w/c
returns a Stream. How do I save the stream to file?
Currently what I do is (in pseudo-code):
returnedStream.Read(arrayOfBytes)
FileStream outFile = File.Create(...)
outFile.Write(arrayOfBytes)
//-Flush, close, cleanup, etc...
... more >>
type checking with libraries
Posted by Alessandro Fragnani de Morais at 12/28/2003 1:44:56 PM
Hi,
In Win32 framework, we used to work with .dll files as libraries of
functions, not objects. We couldn't use objects because using a "IS"
operation (on Delphi for instance) to check the type of the class, should
not work.. I mean:
1. I have an object (TForm) on my application (.exe)
2. ... more >>
GetTickCount
Posted by Chad Z. Hower aka Kudzu at 12/28/2003 12:16:48 PM
I have some code that is calling GetTickCount in the Win32 API. Currently I
have it calling out direct but I'd like to port this little last piece to a
full .net API. Ive searched MSDN and cannot find any .net replacement for it.
What should I use to replace this?
--
Chad Z. Hower (a.k.... more >>
best practices using procedure attributes
Posted by zoodeka NO[at]SPAM hotmail.com at 12/28/2003 11:29:12 AM
I seeking for information about using attributes with class/procedure declarations
I want to get result same as microsoft releases for their components.
For example the method XMLDocument.createAttribute
in object browser of the visual studio describes information of him
description
argume... more >>
VB .Net Performance
Posted by Ron at 12/28/2003 12:17:46 AM
Is there anyway to speed up the startup of VB .net apps. They seem slower
than vb6 both in startup and window loads and unloads including dialog
boxes.
Ron
... more >>
Windows Service - OnStart - Errorhandling
Posted by Erik Tamminga at 12/27/2003 6:34:08 PM
Hi,
This has probably been asked before but ...
I've written a Windows Service in C#. Everything works fine, exept for the
fact that I do not want the service to start succesfull if it has problems
reading it's own configuration file. I've tried raising an execption, which
does infact cause... more >>
test
Posted by Feichtner Christian at 12/27/2003 5:33:16 PM
Hallo
dnasd asd as dasd as das das asd
asdasd
as
as
Gruß Christian... more >>
How to re-enter a thread?
Posted by Mountain Bikn' Guy at 12/27/2003 4:19:46 PM
I'm using async delegate calls. I would like to re-enter my initial thread
after the callback. (I'm not using UI controls, so Control.Invoke is not the
solution.) How can I manually implement behavior like Control.Invoke? How
can I re-enter my initial thread? Any suggestions?
Thanks!
Mountain
... more >>
.Net newsgroups backed up at dotnetgroups.com
Posted by martinho NO[at]SPAM 74tech-dot-com.no-spam.invalid at 12/27/2003 4:01:03 PM
All important .Net Newsgroups are being backed up online at
www.dotnetboards.com.
You'll be able to find all your posts and answers to them, even if
they are long time gone from newsgroup servers, which is pretty good
idea I think.
Anyways, I just though it's good to have it in our favourites.
... more >>
ColorDialog question...
Posted by Steve Randall at 12/27/2003 2:54:09 PM
If you enable the 'define custom colors' button on the
ColorDialog control the displayed form displays the basic
colors on the left-hand side and the 'color builder' on
the right-hand side.
What I would like to be able to do is just display
the 'color builder' bit, and not the show the ba... more >>
Next Itteration .NET Framework?
Posted by Chris Morse at 12/27/2003 10:12:42 AM
Hi,
Been trying to find some information about the next itteration of the
..NET Framework. I can find information about the next VB.NET release,
which includes edit-and-continue, but I don't see any mention of what
or when the next release of the .NET framework will be.
Anyone have any i... more >>
|