all groups > dotnet framework > october 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 31
aspnet_wp.exe (PID: 500) was recycled because memory consumption e
Posted by Raju at 10/31/2004 2:41:06 PM
Hi ,
We are develoed the .net application(asp.net, vb.net and sql server ). Till
yesterday there was no problem with the application. Is was working fine.
In our application we have one Lock and Unlock Button. When you click on
Lock button, the page will turn into ReadOnly mode. When you cl... more >>
Multiple executables based on compilation flag
Posted by Manu S via .NET 247 at 10/31/2004 3:51:05 AM
Hello,
I have a C# project that generate an executable a.exe
I would like to create a stripped down version of this program using a compilation flag. The executable should have a different name, say b.exe
What is the best setup to get to this result?
Thanks!
-----------------------
Pos... more >>
Edit Excel Text Box using C#
Posted by Manish Zanzaria via .NET 247 at 10/31/2004 3:50:19 AM
Hi,
I would like to edit an Excel Text Box using C#. I was able to do the select part with the following code:
((Excel.Shape)xa.ActiveWorkbook.ActiveSheet).Select("txtViews");
But then how to edit the text of the TextBox? Any help would be really appreciated.
From: Manish
------------... more >>
iso-8859-1 in webservice-responses
Posted by bernhard gruber via .NET 247 at 10/31/2004 3:48:17 AM
Hi,
I have a webservice in c#.net.
I want to send all the responses of the webservice encoded in "iso-8859-1", so that german special characters will be displayed correctly.
I put this line in both files, machine.config and web.config:
<globalization requestEncoding="iso-8859-1" responseEn... more >>
Visual Studio upgrade to .net 1.1 possible?
Posted by kppk at 10/31/2004 2:04:13 AM
Hi,
does anyone know is it possible to update Visual studio (7.0.9466) to use
..net/SDK 1.1?
Thanks... more >>
Dynamically creating resource-only dlls
Posted by foehammer NO[at]SPAM hotmail.com at 10/30/2004 7:56:52 PM
Hello,
I have created an application which will use resources that will be
loaded at runtime. I'd like to package these resources in
resource-only dlls that will be loaded dynamically by my application.
I'm not doing this for localization purposes, but rather as a means to
offer dynamic content... more >>
using WebRequest with cookie
Posted by Ya Ya at 10/30/2004 7:11:51 PM
I am trying to download a web page using WebRequest.
The problem is that this page uses cookies. In IE, I can view this page
correctly (since I have the cookie) but when downloading using WebRequest I
don't get the page I want.
How can I add cookie information to my WebRequest ?
How do I know... more >>
Calling a method in different aspx.vb code page
Posted by johnf401 at 10/30/2004 2:24:05 PM
I've got a VB .NET Web application that has several frames (for discussion
sake, let's call them Form1.aspx and Form2.aspx). I want to be able to call
a code module in Form2.aspx.vb from code module in Form1.aspx.vb. How do I
format this statement?
I'm not interested in calling client-side ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Error Upgrading to .NET Framework 1.1
Posted by illini4life at 10/30/2004 2:20:03 PM
This question had been asked, but I cannot find any answer. When I try to
upgrade to .NET Framework 1.1, I receive the following messages:
"Fatal Execution Engine Error (0x7926fcd8)"
And the next box:
"Application had generated and exception that could not be handled.
Process id=0x97c (2... more >>
paswword windows
Posted by Frank at 10/30/2004 8:57:10 AM
Salve
da quando ho installato il framework mi capita che
all'accensione il computer mi chiede la password cosa che prima non=20
faceva , infatti faceva l logon automatico
il sitema operativo =E8 98 ma fa uguale anche su ME mi sapete
dare una spegazione
grazie=20
Frank... more >>
Strong Name assembly question
Posted by ~~~ .NET Ed ~~~ at 10/30/2004 4:39:44 AM
OK this is the setup I have in which I am experiencing a problem:
1. I have written an application with about 6-7 satellite assemblies
(dependents). These are all mine and
get compiled by me. They all -including the application- have been
signed with a strong name key.
2. The application ... more >>
how to do accounting underline?
Posted by Jon K at 10/29/2004 6:52:01 PM
Is there a way to do single and double accounting underline in .NET? ... more >>
Datagrid
Posted by Manny Chohan at 10/29/2004 5:33:04 PM
I have set the datasource of datagrid to datatable. One of the column
recieves 0 or 1 as a value. I need to load two different images based on
values in column.
Can someone guide me in appropriate direction to get this done.
Cheers
Manny... more >>
OCX Controls
Posted by Charles A. Lackman at 10/29/2004 3:03:28 PM
Hello,
I have created a project that is dynamically adding an OCX control to my
form. I also have other OCX controls on the form that I have placed from
the designer.
When I call the form using ShowDialog, the forms Load_Event does not fire.
When I call the form using Show the forms Load... more >>
convert string to guid
Posted by Random at 10/29/2004 2:47:13 PM
How can I convert a system.string value to a system.guid? I know the string
is a valid guid. All I'm trying to do is to pass the value into a stored
procedure that accepts a guid. The wrapper function I have for this would
need to convert the string parameter it receives and convert it to a... more >>
Newbie question.
Posted by Sami at 10/29/2004 2:21:22 PM
Hello,
I just started learning .NET programming under C#.
In C++ I use Event objects and WaitForMultipleObjects for Thread
synchronization.
What is the equivalent og Event objects under .NET/C#?
--
Regards,
Sami
[Remove Numbers from e-mail address to use it]
... more >>
HOWTO: Create Windows Service with parameter
Posted by Topper at 10/29/2004 1:54:56 PM
Hello.
How do i create my custom Windows Service that will run with parameter. For
example, "Path to execute" field will contains path like
"<fullPath>\MyService.exe /myParam".
What can i add to my CustomService class or its installer?
Anybody knows how?
... more >>
Object is an ambigous reference
Posted by Manny Chohan at 10/29/2004 1:26:03 PM
Hi Guys, i am gettting the error:
'Object is an ambigous reference' while compiling the code.
heres my code:
void MyDataGrid_Page(Object sender, DataGridPageChangedEventArgs e)
{
startindex = e.NewPageIndex * MyDataGrid.PageSize;
MyDataGrid.CurrentPageIndex=e.NewPageIndex;
BindDataGrid()... more >>
Events and Garbage collection
Posted by Sebastiaan Olijerhoek at 10/29/2004 12:20:59 PM
When an eventhandler is created to an object A that stays in use longer than
the object B that implements the eventhandler then the object B is not
release from memory before you remove the eventhandler manually (in a
Dispose method for instance). See code below.
Is this correct?
Are there any ... more >>
RelativePath
Posted by Rick Strahl [MVP] at 10/29/2004 11:32:24 AM
Does anybody know if there's some sort of function available to create a
relative path from a full path? Basically the reverse of Path.GetFullPath()?
Basically I need to pass in a path and a base path (usually the current
directory) and try to get back something like:
..\somefile.txt
...\..... more >>
SMTPMail question
Posted by Rob C at 10/29/2004 9:52:21 AM
Hello,
Please forgive this basic question. When sending mail using the SMTPMail
class in System.Web.Mail, how does the mail server know you are allowed to
send mail through it? For example, I used smtp.comcast.net as the Smpt Server
(because that is my internet provider), and it sent the mail... more >>
MethodInfo.Invoke, parameter values are not updated.
Posted by JP Wrye at 10/29/2004 9:26:36 AM
Hello All,
I'm working on a utility that will let me orchestrate when methods are
invoked. As I Invoke each method I'm passing an object whose values I want
to change with the implementation of each method. The methods invoke in the
correct order, but the parameters that are passed aren'... more >>
Help - Multithreading Question
Posted by ajedi4ever at 10/29/2004 9:20:13 AM
I am trying to execute a blocking call in a thread which times out after a
certain time.
The problem I am having is that the thread does not seem to die after it is
done doing its work. I have a MAIN that never dies, the problem I am having
is that either on timeout or on successfull comple... more >>
Attaching debugger
Posted by Sajjad Akhter at 10/29/2004 9:10:32 AM
Hi,
I have a program which loads other .net dlls and creates objects from there
and invoke functions from those objects.
I wanted to load debugger so that user can debug those dlls esily i can
attach debugger using Debbuger.Launch()
but it breaks on my this line i want it to stop on fir... more >>
Converting Type Library to .NET Assembly
Posted by Ãstþór IP at 10/29/2004 7:19:04 AM
I am programming online shop in .NET using Commerce Server 2000 type library.
I'm need to convert the DLLs to .NET assembly and I use tlbimp.exe for that,
but I get error when I try to convert shipmgr.dll.
First I enter the Bin folder:
cd "C:\Program Files\Microsoft.NET\SDK\v1.1\Bin"
Make... more >>
Home Alone with .....
Posted by Michael Jackson at 10/28/2004 10:17:22 PM
This is a multi-part message in MIME format.
------=_NextPart_000_0019_01C4BD3B.E5C883A0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_001A_01C4BD3B.E5C883A0"
------=_NextPart_001_001A_01C4BD3B.E5C883A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfe... more >>
Should the output of HttpUtility.HtmlDecode() is the same as brows
Posted by Thana N. at 10/28/2004 9:44:06 PM
Hi there!,
I've found that HttpUtility.HtmlDecode() will not decode to space if the
input text is something like "<b>SKY CAPTAIN & THE WORLD OF </b>". The
output is the same as the input. But output on browser is correct. Should
the output of HttpUtility.HtmlDecode() is the same as ... more >>
Random problem starting .NET app
Posted by David Eu at 10/28/2004 9:44:03 PM
Some users of my .NET app report that when invoking the app they get errors
with messages like
"Unexpected error at Process id=0xfffe6fa5(-102491); Thread
> id=0xfffd181d(-190435)"
For most users the app works but I'm thinking that on some people's machines
if certain required .NET dll de... more >>
Need Help!! PLEASE!!
Posted by President Killer at 10/28/2004 9:18:36 PM
Well, I posted this a few days ago, but there's no answer...
I have a terrible problem with Windows XP Service Pack 2 and the .NET
Framework 1.0 (included with Visual Studio .NET 2002). Since I installed the
SP2, I can't see any text on labels, buttons, frames and lists on all my
..NET appl... more >>
Constructor Question
Posted by thrax at 10/28/2004 7:04:03 PM
I am making some abstract classes and I want the user who wants to
implement these classes must implement a parameter less constructor (need
to use Activator to create an Instance just by using parameter less
constructor)
Some ideas will be very help full
Thanks in advance
--
... more >>
Implement VB.NET interface via C# - Problem?
Posted by Chris Keller at 10/28/2004 5:35:03 PM
I've built a simple Interface in VB.NET - other VB.NET projects can reference
and use this interface just fine:
Public Interface IC4IPlugin
Enum TerminateReason
IC4IClosing
WindowsSessionEnding
Other
End Enum
ReadOnly Property PluginName() As String... more >>
Question about License Providers
Posted by ~~~ .NET Ed ~~~ at 10/28/2004 4:19:55 PM
When I create my own license provider I override GetLicense and IsKeyValid.
My question is whether IsKeyValid is only called from within GetLicense() or
will IsKeyValid be called randomly (by the framework) without calling
GetLicense() ? I have not found that information anywhere and I would like... more >>
Application has generated an exception that could not be handled
Posted by Skylar Challand at 10/28/2004 3:36:49 PM
I am getting the following message on a Windows XP computer when trying
to run a VB program. The same program is installed on 8 different
computers without any issues. .NET Framework is installed & app was
installed using the installer that comes with Visual Studio .NET. The
application uses... more >>
I need speed Mr .Net....speed
Posted by Ham at 10/28/2004 3:36:36 PM
Yeah,
Gotto work with my VB.Net graphic application for days, do any possible type
of code optimization, check for unhandled errors and finally come up with
sth that can't process 2D graphics and photos at an acceptable speed. I have
heard things about the virtual machine of Mr. Net, that it can... more >>
Framework 1.1 SP1 and Serbian (Latin) locale
Posted by Boris Drajer at 10/28/2004 11:59:40 AM
I had some problems with localization after installing SP1 for .Net
framework 1.1. I think I've found a solution, too, but would like an
"official" opinion on this topic :)
Now, if I'm correct, in SP1 the "Serbian (Latin) (Serbia)" locale was
renamed to "Serbian (Latin) (Serbia and Mont... more >>
Socket stopped working!
Posted by Brian Taylor at 10/28/2004 10:43:36 AM
We have a FTP copy program that queries a number of sites for data. However
it suddenly stopped working on Windows Server 2003 (but it still works fine
on Windows XP). What is more confusing is that it stopped for only 2 ftp
servers out of around 15 (Unix servers)! Note that other ftp clients ... more >>
ResourceManager
Posted by joeycalisay at 10/28/2004 10:04:06 AM
How come ResourceManager.GetString method now after .NET 1.1 SP1 generates
System.Runtime.InteropServices.COMException now, but before it generates
Resource exception (perhaps MissingManifestResourceException).
I can bypass the exception being thrown before since I can exclude
System.Resources... more >>
Microsoft .NET Framework Configuration -- Windows 98 ??
Posted by Darrell Wesley at 10/28/2004 9:49:13 AM
Where do I find the Microsoft .NET Framework Configuration tool on a Win98
machine?... more >>
StrongNameIdentityPermission LinkDemand versus internal
Posted by Kevin Burton at 10/28/2004 9:43:01 AM
I was wondering what the difference is between decorating a class (or method)
with StrongNameIdentityPermission LinkDemand and declaring a class internal?
Is one more secure than the other? Would there be a reason to use both?
Thank you for your comments?
Kevin... more >>
C# application requires more than 1.4GB WorkingSet.
Posted by Ken at 10/28/2004 9:27:42 AM
Hello,
I am writing a C# console application in Dev Studio.NET (v1.1). Running on
XP Pro (SP2) and 2000 Server.
My application requires a lot of memory. I am running on a machine with 4GB
physical memory. However, when my application allocates more than ~1.4GB, I
receive an "Out of memo... more >>
Controling the Window size of an application launched from C#
Posted by Oldman at 10/28/2004 8:33:02 AM
I have looked everywhere on how to set the size of a window of a process that
is being launched from a C# app and can't seem to figure out how to do it.
This used to be in the startupinfo structure in Win32 programming but it
seems to be missing out of the ProcessStartInfo class.
Does anybody ... more >>
.Net 2.0 and Internet Explorer Embedded Controls
Posted by thedreamer2000 NO[at]SPAM hotmail.com at 10/28/2004 2:45:05 AM
Hello,
we currently use .net embedded window controls in our application,
compiled on version 1.1. I'd like to be able to install the beta of
2.0 and investigate the changes, however Internet explorer will always
use the latest version of the framework installed to run any embedded
controls. ... more >>
socket prgm-Error
Posted by rajamanickam at 10/28/2004 1:29:07 AM
I tried a socket application in C#(windows XP 2002). I used 1900 port with
UDP protocal to receive msg from my client application(multi casting). The
receiving application is giving some problem.. like "Only one usage of each
socket address (protocol/network address/port) is normally permitted... more >>
Why SetSocketOption cannot change the KeepAlive time interval
Posted by Ken at 10/27/2004 9:17:07 PM
Hi,
I have a C# TCP client program. I want to make use of the KeepAlive
functionality to check that the connection is still alive after some time
interval. I try to use the SetSocketOption method to change the KeepAlive
interval (default is 2 hours) to be shorter, but it doesn't work. The
K... more >>
Integration with source safe
Posted by Scott Ocamb at 10/27/2004 8:23:18 PM
hello
I am seeing an issue with visual studio and VSS i have not seen before. When
i add a solution to source control that has a web project and a class
project, it get added in an odd way. It adds .rro to the solution name and
the projects in VSS do not match the structure on the disk. I have... more >>
SQL Server Password Query
Posted by BGlacain at 10/27/2004 8:10:11 PM
Hi Folks,
I was wondering if there's a way to change a user's password without knowing
what the current one is. sp_password needs the new password, even if the sa
account is executing it. Is it possible to change the password without
knowing the new one?
Thanks,
Brian
... more >>
Windows-Unix Socket Interface
Posted by nsp at 10/27/2004 7:23:09 PM
Hi all,
Would like to know if it is possible to interface a socket connection
between Unix and a VB application running on Windows?
Thanks!
... more >>
Encrypt text to only viewable characters??
Posted by jonhyland NO[at]SPAM hotmail.com at 10/27/2004 5:47:33 PM
Hi all,
I need to take a string value encrypt it in such a way that I can view
the resulting characters, i.e. pass the encrypted value in a query
string.
My problem is the resulting encrypted string contains characters that
are not viewable (extended / localized) and I can't pass them as
p... more >>
Determine which assembly references are not from the base framework...
Posted by Nathan Baulch at 10/27/2004 5:07:33 PM
I'm looking for the best way to determine which assembly dependencies are
not part of the base framework and which are third party libraries.
My application stores add-on DLL's in a DB for transparent distribution to
all clients. Obviously when loading DLLs into the DB, it is necessary to
r... more >>
SN.EXE and Exported Public Keys
Posted by Brian R. at 10/27/2004 2:27:03 PM
I am using SN.exe to generate key pairs and to extract the public key from
the pair so that our developers can do delayed signing without having to give
them the private key. Here's my concern. The public key and public key
token displayed from the key pair and the public key only are differ... more >>
|