all groups > dotnet framework > november 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
Mising C# and VB.net in Web User Controls. Please help
Posted by fritz_schenk NO[at]SPAM countrywide.com at 11/30/2003 9:10:07 PM
[This followup was posted to microsoft.public.dotnet.framework and a copy was sent to the cited author.]
I have a need to mix C# (or JScript) and VB.net in Web User Controls.
When I create a user control, the ID creates this in the current
project's language and I noticed the that class gener... more >>
COM Marshalling in .NET
Posted by Tim at 11/30/2003 9:06:56 PM
I have a question regarding the COM marshaling that occurs
between .NET and COM components. I'm on a large project
currently written with VB6/C++/COM, and we are considering
moving to .NET for "peices" of the project. As I
understand it, COM Interop allows .NET and COM to play
together, ... more >>
XmlTextReader: How to ignore DTDs.
Posted by Philipp at 11/30/2003 5:26:29 PM
Given an xhtml document with a doctype declaration:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
XmlTextReader will read the dtd and fail if it can't (for
e.g. no connection to the internet.)
How can this feature be turn... more >>
Virtual File System implementation
Posted by Will Program For Food at 11/30/2003 1:13:12 PM
Hi,
I am curious as to how some applications achieve creating some sort of
virtual file system, basically this is what I mean:
a) Does not matter whether it is opening a file that "behaves" as a VFS or
simply creating such virtual drive
b) A "new" drive is mapped into the computer (i.e. ... more >>
Interface Invariant
Posted by Interface Invariant at 11/30/2003 10:33:50 AM
(Say) I define Interface 'X' and implement it in
Class 'Y'.
Why, according to the interface invariant, must I create
a new interface if I want to modify any methods, members,
properties, indexers and events defined within it?
If I change, for example, a return type of a method in
Inter... more >>
Compiler pre-concatenation of const string values.
Posted by bughunter NO[at]SPAM hotmail.com at 11/30/2003 9:41:37 AM
I have just noticed an odd difference in performance between two
almost identical routines in a lexical analyser I was writing.
On investigation I found that the slower routine was repeatedly
concatenating two const string values together. On declaring the
concatenated result as a seperate var... more >>
How to catch an exception ocurred in the work thread from the main thread?
Posted by Kueushiong Tu at 11/29/2003 7:52:56 PM
I have a window form application. The main thread creates
a work thread to do a web request. The work thread has the
exception mechanism in place so that if there is anything
wrong with the web request, the exception is catched in
the work thread. However it still causes the main thread
to cra... more >>
NEED CAREER ADVICES ON MCSD
Posted by KEPLER at 11/29/2003 4:44:57 PM
Hi, I'm 25 years old and I have already programmed in
C/C++ and Delphi... I am currently unemployed, and I
have all my time to learn new things .. my main question
is :
Can I get a good (interesting, paying, a job for a career
etc..) job with ONLY a MCSD .net as education ? and how ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Framework directory
Posted by Zanna at 11/29/2003 10:46:15 AM
Hi,
does someone know how to retrieve the framework installation path?
I mean I wanto to get the C:\WINNT\Microsoft.NET\Framework\v1.1.4322
diretory for the framework 1.1
Thanks
--
Math Parser : http://www.neodatatype.net
... more >>
Problem of data storage
Posted by Harry at 11/29/2003 7:47:36 AM
Dear All,
In my program, i would like to save some custom
settings for the users. Next time when the users load the progam, they will
see the settings that they have made before. For example, imagine that i am
writing a ftp client, which allows users to add their favorite ftp site in
my
prog... more >>
passing a ref to a method
Posted by Ken at 11/29/2003 5:56:57 AM
Objects are reference types.
When i pass an object as a parameter to a method, in Java
this automatically means I am passing a reference of that
Object, not a copy of it.
In C#, this means the same, except there is the 'ref'
keyword which explicitly tells the C# compiler to act on
the ... more >>
dotnet framework version
Posted by anoop at 11/29/2003 4:52:25 AM
I have .net framework version 1.0 installed previously on
my windows XP, now I have downloaded new version that
is .net Framework version 1.1 from the Windows Update.
Should I discard the previous version or both version can
be installed on side by side, without having any problems... more >>
location of gac
Posted by John A Grandy at 11/28/2003 11:34:57 PM
where is the gac located ?
... more >>
How to cause a line break in a textbox?
Posted by Kueishiong Tu at 11/28/2003 9:59:53 PM
I have a multi-line textbox. How do I cause a line break
in the textbox?... more >>
Enumerating sub-namespaces
Posted by Ed Curren at 11/28/2003 4:52:50 PM
Hello all,
I want to enumerate the namespaces under a given
namespace. For example I would like to submit the
namespace of System and get CodeDOM, Collections,
ComponentModel, Configuration, etc. Can someone clue me
in on how to do this?
Thanks All
Ed... more >>
ASP.NET 2.0 question on Partial Types with J.I.T.
Posted by nospam at 11/28/2003 4:02:01 PM
Ok, 3rd or is it the 4th time I have asked this question on Partial Types,
so, since it seems to me that Partial Types is still in the design or
development stages at Microsoft, I am going to ask it differently.
FOUR QUESTIONS:
The background:
I got three (3) files
(1) Untitled.aspx
(... more >>
GAC assemblies not in Add Reference
Posted by dan weichart at 11/28/2003 3:04:20 PM
I have deployed some assemblies to the GAC but am unable
to see the assemblies in the .NET tab of the Add Reference
form in Visual Studio. The assemblies do appear in the
Assembly Cache in the .NET configuration tool. Interop
assemblies were deployed via tlbimp and gacutil. A .NET
assemb... more >>
Managing strings stored in resource files of a localizable application
Posted by Maksim Izbrodin at 11/28/2003 9:17:16 AM
We are working on a localizable application created using
Visual C# .NET 2003 with the UI strings stored in all the
separate localized resource files. Are there any means to
automatically verify that all the strings used in the
code (referenced by resource entry names) are defined in
the ... more >>
Portability of code
Posted by Lisa at 11/28/2003 7:45:44 AM
Hi,
Can I write code for the .NET Framework using Visual
Studio .NET and then just deploy the installation file in
another Operating System?
To which extent is .NET Code portable?
Thank you,
Lisa... more >>
COM+ in .NET
Posted by Sandeep Singh at 11/28/2003 7:36:05 AM
I have been using COM+ with VB6.0. Howw com+is used in
VB.Net?? As per my info, .net is a plateform independent
application development env. and COM+ can be used on
win2K+ os only. So does it mean that com+ is obsolete
now???? Can somebody explain me about this in detail??... more >>
Referencing project within solution
Posted by Frederick at 11/28/2003 7:30:03 AM
I have a VS.NET Solution containing two projects.
I want to add a reference to one of the projects from the
other project (say: reference 2 from 1) i.e. select the
DLL assembly from project 2 and put it as a reference on
project 1.
Quite a simple concept, but my builds are not outputting... more >>
How can I ping an IP from C#?
Posted by Juhny at 11/28/2003 5:24:38 AM
I am trying to write a program to find out wich IPs are
"active" in a LAN. Can anyone help? Thanks.... more >>
Strange XmlSerializer behaviour
Posted by Michael Dyremo at 11/28/2003 4:56:18 AM
Hello!
We have a serious problem with the class
System.Xml.Serialization.XmlSerializer
in .NET 1.1. The problem has occured on Windows 2000
Servers with Service Pack 2, 3 and 4. We havent tested
on Windows 2003 Servers yet. The error occurs on
some servers, but not on all. This code worked fi... more >>
.
Posted by nilson at 11/28/2003 1:50:39 AM
I=B4ll show to students that .net framework is huge and=20
it=B4s very important to known it, not just known IDE and=20
sintax differences!
... more >>
Read Bitmap and create Method to Create Image at runtime
Posted by Mark Johnson at 11/28/2003 1:07:31 AM
Is there Source available that could read in a Image/Bitmap and create a C#
Method that would use Grafics to create this Image/Bitmap at runtime without
having load (in a other program using this created Method) the original
Bitmap again?
Mark Johnson, Berlin Germany
mj10777@mj10777.de
... more >>
I have the following error...help
Posted by Paul at 11/27/2003 9:36:33 PM
I tried to generate a prototype and the following error
message.....how to fix it...thanks. I checked the IE
the "Work Offline" item is UNCHECK
..NET Framework Cannot access the Web server because
Microsoft Internet Explorer is offline. Run Internet
Explorer, uncheck the File menu's 'Work... more >>
Dataset - client or server memory?
Posted by timmso at 11/27/2003 8:53:27 PM
One of my books says a DataSet is holds data in memory on the client.
Another book says it holds data in the server's memory.
Are both of these correct statements?
... more >>
How do I find a particular file in my harddisk?
Posted by Chrysan at 11/27/2003 7:31:35 PM
How do i write code in Visual Basic .Net to find the path
of a particular filename (e.g. test.txt) in my harddisk?
thanks.... more >>
is this an error becos of incompatible datatypes between COM+ and .Net
Posted by Buddhike de Silva at 11/27/2003 7:19:50 PM
Hi,
I created a small serviced component using VB.net.
It has an interface and a class as dfefined as follows.
CEvent.vb
---------
Imports System.EnterpriseServices
Public Class CEvent
Inherits ServicedComponent
Implements IEvent
Public Sub LogMsg(ByVal c As String, _
... more >>
Smart Navigation on ASP.NET 2.0 for Mozilla or Netscape
Posted by nospam at 11/27/2003 6:35:18 PM
Is there going to be any smart navigation in ASP.NET 2.0 for Mozilla or
Netscape?
Thanks.
... more >>
Indexers
Posted by Alvin Bruney at 11/27/2003 6:01:31 PM
In later versions of the framework is it possible to have indexers on
properties for member fields?
Say for example I have
private ArrayList blah;
and a propget
public object Blah[int index]
{
get { return blah[index]; }
}
... more >>
InstallUtil
Posted by Colin Basterfield at 11/27/2003 5:49:06 PM
Hi,
Not sure if this is the right place for this question, but I'll ask
anyway...
I have written a windows service to poll a database and collect some
information and write it to an XML file for local retrieval, anyways when I
do
InstallUtil OnlinePolling.exe it comes up with a login scr... more >>
Work at home or part time programming work related to .NET
Posted by Ahmed Shafi at 11/27/2003 5:33:34 PM
Hi there,
Is there any place on the internet where I can find programming jobs related
to .NET/C# etc. (not permenant jobs rather work at home type of stuff.) ?
regards,
Ahmed.
... more >>
Capturing windows events (hooks)..
Posted by Mohit Sachdeva at 11/27/2003 5:14:50 PM
Hello folks.
I want my app to process windows events first, so that it has some kind of a
"global hook". The scenario is - i want my app to process all messages for
"F3" key (or any other key for that matter) first before any other window
does it. This has to happen whether my app is minimized, ... more >>
Is NetworkStream.BeginWrite thread-safe?
Posted by Robert Crago at 11/27/2003 4:33:54 PM
Hi there,
[I can't find a dotnet.framework.networking group to post
to so I'm posting here. If there is a better place,
please let me know...]
Can an asynchronous NetworkStream.BeginWrite/EndWrite
combination using one thread be interrupted by another
thread writing to the same stream,... more >>
string - Filename pattern matching within .NET
Posted by Sea Sharper at 11/27/2003 3:38:06 PM
Hi,
C#, from a FileSystemWatcher I would like to catch all files with a *.*
filter but then inside the event handler compare against a list of wildcards
(eg '*.abc;*.def')
Is there anywhere inside the Framework where I can do something like
Pattern x = new Pattern("*.abc");
if ( x.Matche... more >>
Installer - Taking Parameters from Command Line?
Posted by Microsoft at 11/27/2003 1:59:34 PM
I'm using installutil.exe to install our service.
However our service works similarily to the way that SQL Server does in that
you can have multiple installs of the service with multiple versions running
as separate services. (good for issolation)
My question is, how would I go about passing... more >>
a simple gc question
Posted by Gideon at 11/27/2003 12:39:01 PM
i understand __gc[] work different that native arrays.
say i need a __gc[] member, and a get function, that returns a ref to it.
i cant seem to make it happen.
this code:
***********CODE***********
publc __gc class Foo{
public:
Int32* get(){
return array;
};
Int32 ... more >>
How: To get true dynamic polymorphism (i.e. smalltalk)
Posted by Yechezkal Gutfreund at 11/27/2003 12:27:25 PM
I have two subclasses of SpriteModel (1) LocalSprite (2)Sprite
Both implement a method called .ToXml() which returns an XmlDocument. But
they are different.
I instances of these objects stored in a Hashtable. Extracting them from the
Hashtable means that I get a object that is tentatively a... more >>
How to open an application from a windows service
Posted by Ricardo Correia at 11/27/2003 12:07:15 PM
Hello,
Does anyone know how to open an application from a
windows service??
For example, I have a windows service running and using a
timer or something else I want to open Windows Calculator!
I used:
Shell("calc", AppWinStyle.NormalFocus)
and
Process.Start("calc")
but nothing seems t... more >>
How to retrieve a Control (if any) under the mouse at any time ?
Posted by Pascal SIMON at 11/27/2003 11:51:17 AM
Hi
I think i've read something about it but i don't remember where, so i ask it
again (sorry)...
I want to retrieve the Control/Form under the Mouse at any time.
I know i can convert the mouse position to a Point using
"get_MousePosition()". But after that, i'm locked.
In fact, i'm looking... more >>
.NET IDE 2002 and 2003 resources compatibiliy
Posted by Alec Solter at 11/27/2003 10:59:51 AM
Using .NET IDE 2003 I created a simple form that includes a button with
image. When trying to run this project on old .NET IDE 2002 it is throws the
following exception:
System.InvalidCastException: Specified cast is not valid.
It's happens on the following line in standard Initializ... more >>
design question - global GUI?
Posted by Norvin Laudon at 11/27/2003 10:08:31 AM
Hi,
I find in the typical applications I develop in C#, I have a UI form, and a
bunch of my own classes (instances of which are used in the forms).
Almost always, these child classes need interaction with the UI. Some need
to display something to the user, and others need to get input from t... more >>
Looking for help/resources on Writing a nice detailed design / tech design for vb.net code
Posted by spamproof2005 NO[at]SPAM yahoo.com at 11/27/2003 9:49:35 AM
I'm looking for an example of a detailed design that I can follow or
get ideas from before programming in vb.net.
Currently, I'm using this outline approach that describes my Project,
Classes, Methods, properties etc and it goes something like this...
I. Project: ProjectName
A. Class: Cl... more >>
MainMenu
Posted by Sloddey at 11/27/2003 9:21:51 AM
Hello Experts!!!
How to get undock the MainMenu from top on the Form??? (Expl. to the
bottom etc.)
(I mean in .NET and without Windows APIs)
Thanx in advance,
........Wladi
... more >>
Any solutions?
Posted by leonardfurby NO[at]SPAM hotmail.com at 11/27/2003 6:15:19 AM
Hi.
I have seen alot of cases on google where people having the same
problem, but I have not seen a comprehensive solution yet. I really
hope someone can solve this once and for all.
I have created a SmartClient (No touch deployment) and it runs Ok. But
when I change the program and retry it ... more >>
Automatic creation of a temp folder
Posted by Harald at 11/27/2003 5:02:15 AM
I heard that any .net object can create a temporary
folder. I need that because of downloading files
from a webpage to the client with correct user
affiliation to prevent file access crashes.
Can anyone help me where to find this info or
this object.
Best regards
Harald
... more >>
c# to vb net
Posted by fivemagic at 11/27/2003 3:13:23 AM
someone knows how to convert c# code to vb net
automatically? ... more >>
.NET 1.1 and W2k SP4 issues?
Posted by Michael Dyremo at 11/27/2003 2:05:04 AM
Hello.
Does anyone know any problems when using .NET 1.1 with
W2k SP4 ? Is there a list of the issues on the web?
If I have a server with .NET 1.0 and SP3, in which order
should I upgrade the server?
First .NET 1.1 and then SP4 OR first SP4 and then .NET
1.1?
I am thankful for any sugg... more >>
Difference in managed code and managed object
Posted by Girish at 11/27/2003 2:01:45 AM
Can Somebody please tell me what is the difference between
managed code and managed object.... more >>
|