all groups > dotnet framework > march 2005
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
Obfuscation / code protection in .NET 2.0
Posted by Paul Aspinall at 3/31/2005 6:15:02 PM
Hi
Does anyone know if there are to be any improvements in Obfuscation / code
protection in .NET 2.0??
Will there be a better 'bundled' obfuscator??
I don't want to buy an obfuscator now, only to find I didn't need it, when
2.0 is released... for whatever reason.
Thanks
Paul
... more >>
Object Orientated Programming Advice
Posted by aaj at 3/31/2005 3:31:56 PM
Hi
I'm not sure if I'm in the correct group but I'm after some advice on Object
Orientated Programming concepts.
I've move from structured programming into VB.NET. I can grasp the language
syntax Ok, but I'm having a few problems with the ideas of OOPS.
As an exercise I am converting so... more >>
canceling BeginRead by closing socket - is it OK ?
Posted by Shane at 3/31/2005 3:28:36 PM
I want to use BeginRead on a socket stream. I want to abort the read if no
data arrives within a certain time interval. I know i can't cancell the
BeginRead directly but closing the socket seems to work. Does this cause any
problems (Resource leaks etc) ?
Should I also call EndRead after c... more >>
thread restart?
Posted by Random at 3/31/2005 11:02:35 AM
I have a thread that I want to start, to process items waiting in a Queue
class, and run in a loop until that Queue is empty. I've got a class set up
to take care of locking issues on the Queue so one thread can add more
things to the Queue while the other is removing and running a process on... more >>
Config file
Posted by Reza at 3/31/2005 10:51:09 AM
I want to change (add or edit some items to) .Config file of an application
during set up. Which classes are supported by .Net? Does .Net have a class to
change contents of a .Config file?
Regards.
Reza.... more >>
WinXP SP2 security -- blocked files -- how to unblock from code?
Posted by jsnyder000 at 3/31/2005 8:55:03 AM
I recently downloaded DNN 3.0. Thousands of files in hundreds of directories.
Every file that contains code or is runnable has been "blocked" by SP2
security features (something to do with zone elevation and local machine
lockdown, I gather).
I can unblock by right-clicking the file, se... more >>
Write to EventLog from a thread
Posted by PeterW at 3/31/2005 7:27:04 AM
How can I do this.
Do i just instantiate an EventLog object withing a thread and use it?
--
PeterW... more >>
How MSIL differ from .Net PE files
Posted by Balaji at 3/31/2005 3:43:04 AM
hi folks,
How MSIL differ from .Net PE file?
Is .NET PE is native CODE?
what is teh use of PE file .....
Is there is any tool by which we can create .Net PE file>
Thanks on advance... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Import picture based on SQL DB field
Posted by Morten Tapestry at 3/31/2005 12:29:02 AM
Hi I'm new to VB.NET, just switching from access.
On a large database for furniture i would like to just have the picture
location information, and have a form or report import the picture from a
file folder based on the location information in the database record, how can
i do that?
Wou... more >>
Easy Question.
Posted by patang at 3/30/2005 11:41:02 PM
I have an Access database which has one table called Employee. When I display
all the records of the table in a datagrid, everything is fine. However when
I put the WHERE clause for a a Join_Date field (which is Date/Time field) the
the records are not filtered as if there is no WHERE clause:
... more >>
Icon with EXE
Posted by 11Oppidan at 3/30/2005 9:33:31 PM
Hi,
How can I get my Release build .exe file to have an user defined icon
instead of the default exe box, so for example if a copy was on on my
desktop my exe would display my icon. I have included the icon within the
project but this doesn't seem make any difference...
Many thanks for ... more >>
C# Pocket PC creating Dialogue boxes
Posted by Greg at 3/30/2005 9:31:10 PM
How do I create dialogue boxes using C# and hte .net compact framework? I
want it to appear after the user does file connect.
Thanks... more >>
Interop.Shell32.dll
Posted by Z at 3/30/2005 7:21:03 PM
Hi,
A I use shell functions in my C# project, I need to add a reference to
shell32.dll. When I browse to shell32.dll and add it as a reference to my
project a file called Interop.Shell32.dll is created in the directory of the
executable. When I delete this file, the program crashes (as expe... more >>
Query Timeout
Posted by David de Passos at 3/30/2005 5:03:48 PM
How Can Set a Query Timeout and Catch the error when the time elapsed.
--
Cumprimentos,
David de Passos
--------------------------------------------------------------
RCSOFT, Lda.
E-Mail: passos@rcsoft.pt
Móvel: +351 966931639
Telefone: +351 239708708
Fax: +351 239708701
Tel. Direct... more >>
System.Timers.Timer bug : timer fires immediately/continously
Posted by felix at 3/30/2005 4:54:36 PM
In my application I have code something like:
protected System.Threading.Timer timer;
// called once on application boot
Init()
{
DateTime dueTime = DateTime.Now.AddDays(1); // in 24 hours
TimeSpan period = new TimeSpan(1, 0, 0, 0); // one day
timer = new System.Threading.Timer(
new S... more >>
Are attributes inherited?
Posted by David Laub at 3/30/2005 4:25:30 PM
If I have the following code
[MyAttr]
class XYZ
{
}
class InheritXYZ : XYZ
{
}
Is the [MyAttr] attribute defined for class XYZ automatically also defined
for class InheritXYZ (because InheritXYZ is inherited from XYZ)
... more >>
Will .net 1.0 resources work in 2.0?
Posted by James Gockel at 3/30/2005 4:08:38 PM
I have an old DVD that I got along time ago, that was when the .net 1 beta
came out. The resources CD.
I'm wondering if any resources or programs or sdks that are on the dvd or cd
can still apply to 2.0...
I'm entering back into the programming field, and am trying to learn C# in
the .net 2.... more >>
Sortable Custom Collections
Posted by David Young at 3/30/2005 4:00:28 PM
First of all Yes, I know it's possible and have implemented it before.
Using c#, Ive created several base class objects, many of which can belong
to collections. I've written the collection classes, i've inherited from
CollectionsBase and have written the necessary methods to make it
enumerable... more >>
.NET Framework 1.1 SP 1
Posted by Jazzkat at 3/30/2005 2:57:33 PM
Hi Folks,
I have downloaded the .Net Framework SP 1 and during the installation I get
the following message:
"An unhandled exception of type
'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Additional information: Exception has been thrown by the target of an
invoca... more >>
How would I get a method name from the calling assembly?
Posted by kevingabbert NO[at]SPAM gmail.com at 3/30/2005 12:00:12 PM
I was very happy to find:
System.Reflection.MethodBase.GetCurrentMethod.Name
however, I have an errorhandler in another dll, which means, when it is
called, I need to find out what function raised the error to begin
with. so far I have been using the above and passing it to the
errorhandler.... more >>
Timed out waiting for a program to execute.
Posted by Reddy at 3/30/2005 8:49:03 AM
I am recieving this error on few pages. They are running fine on dev server.
It's only happening production for few pages.
I searched internet and it seems lot of people have this problem. But none
provided the solution.
Thanks
Reddy
Timed out waiting for a program to execute. The c... more >>
How can a client detect a close on the server?
Posted by Molder at 3/30/2005 7:47:02 AM
I am programming a server and a client for a PLC that runs under WinCE .NET
4.2pro.
I want to detect on client side when the server does a close.
So far I tried it like this:
(Client)
I put the actual socket into a fdset and check it with select for
WRITEability.
Is this correct?? ... more >>
SELECT STATEMENT
Posted by patang at 3/30/2005 7:01:06 AM
I am displaying the records from a table in a grid. The simpel SELECT
statement works fine. However, I have to use this select statement
select right("00000" + Column1,2), column2, column3 FROM mytable
This does not work. I mean it is not showing the 0000's in the first column.
The above ... more >>
String.Format
Posted by Arne at 3/30/2005 6:41:05 AM
How can space fill a string to a fixed format?
It is easy with a number
RecordBase = String.Format("{0:000000}" ,storeid);
But not easy with a string
ponumber = String.Format("{0:GGGGGGGGGGGG}",ponumber);
The line above doesn't seem to work.... more >>
Can I run it without .NET framework?
Posted by alessio1946 NO[at]SPAM tiscali.it at 3/30/2005 4:22:46 AM
I know I can't run an exe file created using VS.NET into a PC in
which is not installed .NET framework.
I know also that this happen because the executable really contain
MSIL pseudo code.
Well, I've created a simple application using .NET VC++ and MFC
linked as a static library. I... more >>
Release Date of .NET 2.0
Posted by Ammar at 3/30/2005 3:55:04 AM
did any body know the Release Date of .NET 2.0 ?... more >>
psftp.exe
Posted by Julia at 3/30/2005 3:25:03 AM
Hi,
how can I call the psftp.exe from c# code? I need to get a file from another
computer...
Where can I find an example of this problem?
Thanks... more >>
Newbie: Clarification between ".Net Framework 1.1" and "ASP.NET 1.
Posted by charliewest at 3/30/2005 2:45:02 AM
I had thought that i had ASP.NET 1.1 installed on my machine. However, when
trying to open an ASP.NET project via VS .NET 2003, i get a warning that my
machine currently supports ASP.NET 1.0, and that if i open my project the
ASP.NET 1.1 specific code will not work.
I do have the .Net Fram... more >>
Create an application packet
Posted by djake NO[at]SPAM excite.it at 3/30/2005 2:00:46 AM
Hi,
using the old Visual Studio 6 I remember I could create a setup
program for my application using the wizard inside the IDE for VB, and
using installshield for VC.
But now I'm using .NET framework. How can i create a setup program
for my applications? (both for VC and VB)
Thank... more >>
HTTPWebRequest Memory Leak
Posted by JS at 3/30/2005 12:49:03 AM
Hi
We have a simple application that uses web request to pull information
accross the web and put it in a database. However, we have noticed a memory
leak. What happens is that with each request the Nonpaged memory is slowly
used up on the server until there are no resources left causing ot... more >>
recommendations needed for using xsd schema in a class library
Posted by wh1974 at 3/30/2005 12:48:21 AM
I need to move some code which at present is residing in some .aspx
codebehind files into a separate class library.
One of the functions makes use of an xml schema to create the structure
for a DataSet object which is returned to the caller. Currently the
schema is stored in an .xsd file which... more >>
What DB to use for multiuser file-based DB?
Posted by Tom G at 3/29/2005 7:19:01 PM
I am creating a .NET (C#) application that needs to store a small amount of
user- and customer-specific information in a file-based central repository.
I say "file-based" b/c requiring a DB server is not an option. The amount of
data is small (1-2 MB/user) but some of it is shared across use... more >>
Does framework 1.1 install on WinXP sp2?
Posted by Michael Byrnes at 3/29/2005 6:03:34 PM
Brand new computer. All updates applied from update.windows. 1st
program to install: framework 1.1. Won't install. Is there a reason?... more >>
Do I need both Framework 1.1 and 1.1 Hotfix
Posted by Anthony W DiGrigoli at 3/29/2005 5:21:05 PM
I am trying to make room on my machine and I notice that I have these three
listed in my Add/Remove window:
Microsoft .NET Framework 1.1
Microsoft .NET Framework 1.1 Hotfix (KB886903)
Microsoft Visual Studio .NET Enterprise Architect 2003 - English
Since EACH is listed as taking up 999.00MB I... more >>
How to use UML to make VB.NET classes (free)
Posted by DraguVaso at 3/29/2005 3:55:17 PM
Hi,
I know there are some tools to use UML and let it create automaticly the
classesi n Visual Studio .NET.
Are there any free software tools like this? Or can I somewhere download
good working trial-versions? What do you consider to use?
Thanks,
Pieter
... more >>
Performance Counter - Network Interface
Posted by Grant_Aust at 3/29/2005 1:54:36 PM
Hi all,
I am building a simple network monitor to show the current real-time traffic
in and out of the network.
Using the PerformaceCounter object set to the category of Network Interface
seems to be a little unreliable. Has anyone else found this?
Calling the NextValue method on the ob... more >>
interfaces and overloaded functions
Posted by WLM at 3/29/2005 1:31:10 PM
I was wondering if the following interface example is good programming
practice:
Public Interface IExample
Function GetInfo(byval index as Integer) as SomeObject
Function GetInfo() as SomeObject()
End Interface
Is it a problem for one function to return different types or it it better... more >>
DataGrid Problem
Posted by Arif Çimen at 3/29/2005 1:31:07 PM
Hi all,
I'm searching help files but it did not help.
How can I reach datagrid's row count and col count properties.
Thaks a lot.
Arif Çimen
... more >>
Release AppDomain Explicit?
Posted by xenophon at 3/29/2005 12:20:39 PM
I create a seperate AppDomain in code (AppDomain stuff is used in
ASP.NET and elsewhere in a WinForm app),and I want to make sure it
gets released properly. Right now I create it like this:
string binDir = AppDomain.CurrentDomain.BaseDirectory + "bin/" ;
AppDomain domain = AppDomain.... more >>
registry access on installation
Posted by Random at 3/29/2005 10:57:54 AM
On installing my service application, I need to add some additional entries
to the registry, but when I try to do this during the AfterInstall event of
the installer, I get an UnauthorizedAccessException. How can I get these
entries in?
... more >>
System.IO.FileNotFoundException on InstallUtil
Posted by Random at 3/29/2005 9:52:22 AM
I have written a Windows Service application, and I am trying to use
InstallUtil to install it on my local machine for testing. I am using the
logToconsole parameter and am getting a System.IO.FileNotFoundException
exception. I have references in my app, but no external files.
I did compi... more >>
Set FullControl for a folder
Posted by Avi Shilon at 3/29/2005 7:51:03 AM
Hi,
I need to set FullControl rights for
the user ASPNET for a specific folder.
Does anyone please have an idea how
to do it?
Thanks,
Avi... more >>
Open Excel from C# Application
Posted by Abhijeet Kumar at 3/29/2005 6:17:02 AM
I am exporting data to excel using ISAM Jet Database. and then invoking excel
using
Process.Start(fileName);
This works fine but if the excel file to which we are exporting is open then
the Excel does not open properly. Only the Title bar is loaded. and no sheets
are loaded. After that ev... more >>
.Net FrameWrok 2.0 and Visual Studio 2003
Posted by Reza Rahmati at 3/29/2005 5:49:02 AM
How can i Use .net Framework 2.0 in Visual Studio 2003 Invironmnet i need
some name spaces and fuctions that included in .net frame work 2.0.... more >>
Types of JIT & use of nGen
Posted by Balaji at 3/29/2005 3:01:03 AM
1.How may Types of JIt compiler is available in .Net?
2.What for nGen tool is used for ...
... more >>
.net framework 1.1 download
Posted by Charlie Brookhart at 3/28/2005 11:43:17 PM
I have an application that requires the .net framework 1.1 in order to run.
All I have been able to find in searching the microsoft site is the
following: patches for .net framework 1.1, .net framework 1.0
information/downloads, .net framework 1.1 redistributable package, .net
framework 1.1 SDK.... more >>
closing an application
Posted by Costi Stan at 3/28/2005 10:11:36 PM
Hi,
how do i exit a pocketpc application?
Using Application.Exit() seems not working ?!
Thanks,
Costi
... more >>
downloading files into visual studio from visual source safe
Posted by dmalhotr2001 NO[at]SPAM yahoo.com at 3/28/2005 8:49:22 PM
Hi,
I have a project in sourcesafe and I'm trying to download files from
source safe server on my local machine in Visual Studio.net 2003 ( File
--> Source Control --> Open From Source Control). I already picked the
directory in sourcesafe (which is setup as the working folder).
I get prom... more >>
Very Urgent!!! 302 Found and HttpWebRequest
Posted by PunX at 3/28/2005 7:57:02 PM
Hi!
I am trying to access an ASP.NET web site programmatically. I use
HttpWebRequest and HttpWebResponse classes. Everything goes well until I come
to a page that sends me a 302 Found response. I need to get Location header
from the response but it seems that HttpWebRequest only gets 200 OK. ... more >>
Regional Settings
Posted by David de Passos at 3/28/2005 6:19:07 PM
Hi!
How can set Regional settings in rum-time mode?
For example How can set decimal separator to "." in VB.NET?
--
--
Cumprimentos,
David de Passos
--------------------------------------------------------------
RCSOFT, Lda.
E-Mail: passos@rcsoft.pt
Móvel: +351 966931639
Telefone: ... more >>
|