all groups > dotnet sdk > november 2003
Filter by week: 1 2 3 4 5
Serialization inheritance
Posted by Ilya Evseev at 11/28/2003 1:28:57 AM
Hi, folks!
There is some class in external library
that is declared with [Serializable()] attribute.
I need to create class inherited from them
that should be serializable too.
My class uses fields calculated at deserialization stage,
so it's declared not as following:
[Serializable()... more >>
Creation of temp folder
Posted by Harald at 11/27/2003 4:44:35 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 >>
missing tcp and http namespaces
Posted by Ron at 11/26/2003 1:55:28 PM
Hi,
Trying to work with Remoting and was neither able to
import System.Runtime.Remoting.Channels.Tcp nor
System.Runtime.Remoting.Channels.Http. IntelliSense
could only find up to the Channels namespace. It showed
the classes at that level but could not find the Tcp or
Http parts. Whe... more >>
Removing sample assemblies from the GAC?
Posted by Thomas at 11/20/2003 3:16:54 PM
Hi,
How do I remove the Reverser sample assemblies which are
added to the GAC when building the deployment samples? I
have tried "gacutil /u reverser" and manually deleting
them from the GAC folder, but I keep getting this error
message: "Assembly 'Reverser' could not be uninstalled
bec... more >>
can not get type of class inside System.Data
Posted by Cyrus at 11/20/2003 3:14:59 PM
I can not get the type of the classes inside Data namespace by using the
Type.GetType() method
It throws the following exception
An unhandled exception of type 'System.TypeLoadException' occurred in
datatier.dll
Additional information: Could not load type System.Data.SqlClient.SqlCommand
fro... more >>
PostMessage to VB.NET messageloop
Posted by SM at 11/20/2003 9:52:41 AM
Hello group,
i'm converting a VB6 application for .NET Framework.
The application depends on a DLL written in standard C.
The C DLL code creates an invisible window with CreateWindow()
with the WndProc function located into the VB.NET code.
Until the code was VB6/C code, they was OK.
Now... more >>
dynamically changing the menu !
Posted by vinod at 11/20/2003 3:20:39 AM
hi there ,
i am trying to develop an application where i have to
change the menu dynamically . i am new to mfc
programming . is there any chance of doing do . if so ,
how can i do it .
regards ,
vinod... more >>
how can i connect serial port COM1 and COM2
Posted by Hakan OTAL at 11/19/2003 3:16:46 PM
i use vb.net 2003 Arth. and i want to send some text to the Com PORT
How can i do this
Thanks for your help.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with Socket.Select()
Posted by Jerry M at 11/18/2003 11:27:33 PM
I am having a problem with my Socket.Select statment. I
have included the code below for reference. I basically
accept new sockets from clients and add them to an
ArrayList. I execute a Select() to see which ones have
data to be read. What is happening if at some point, when
my arraylist... more >>
TCP/IP app Desgin Question
Posted by MR at 11/18/2003 10:18:15 AM
this is a question on how to design an TCP Listener application.
background:
There will be several threads that listen on several ports (one per port).
when another app requests to connect, the connection will be accepted. then
messages will be received and passed to the main thread via a delega... more >>
.NET Framework SDK Samples Configuration
Posted by Rita at 11/17/2003 9:51:29 AM
I'm a developer & new to .NET. I'm following the
QuickStart Config Details on an XP pro notebook. When I
get to the step, Granting Access to the ASPNET user, I
get an error on the first command. This is:
osql -E -S (local)\NetSDK -
Q "sp_grantlogin 'MACHINENAME\ASPNET'" where I am
ins... more >>
encryption
Posted by Lloyd Dupont at 11/16/2003 6:22:55 PM
what's the difference between DES, RC2, Rijndael, TripleDES ?
For my application I choosed DES on the basis on speed.
if anyone else could give me other clues ?
... more >>
Automation and .NET (NEED HELP PLEASE)
Posted by scorpion53061 at 11/15/2003 10:10:44 AM
Hello,
This is a post that started in the vb.net newsgroup that I am having
difficulty in getting answers to. It involves using the web browser control
as the replacemnt for the Ole Container that existed in vb6. It is a vb.net
windows app. If anyone and I do mean anyone has answers to this pl... more >>
using csc
Posted by devmouse at 11/14/2003 12:50:57 PM
I ran vcvars32.bat, but I am unable to run csc from the
command line.
Docs do not indicate how to troubleshoot.
can someone help?... more >>
how to build a DataView ?
Posted by Lloyd Dupont at 11/14/2003 9:40:46 AM
I have a program manipulating DataTable and doing search in it
and returning a subset of them ...
moreover I don't use row filter but do the search 'manually'
is there a way I could create my DataView manually from this resul set ?
... more >>
HELP running QuickStart Samples
Posted by NewToSDK at 11/14/2003 6:41:16 AM
Can anyone offer advice ?
I am trying to run the QuickStart Samples. I Installed
MSDE and added the sample Databases but running into
problems when trying to grant access to the ASPNET user.
The documentation ;
.. For Windows Server 2003 family systems running IIS 6.0
replace <ASP.NE... more >>
Windows Hook?
Posted by Jeremy S. Pederson at 11/14/2003 2:30:51 AM
how would i go about putting a windows hook callback proc
in a class?
J. Pederson... more >>
Converting a vb application
Posted by SM at 11/13/2003 10:23:04 AM
Hello group,
we are converting a VB6 application, written by other
people, for .NET Framework.
Original application depends on a DLL written in standard C.
The application communicates with an external device
using serial API functions located on the DLL.
Original developer write a VB functi... more >>
mscoree error while running .msi
Posted by EP at 11/12/2003 1:50:10 PM
while installing an .msi I get the following error:
"msiexec.exe - mscoree.dll load error (Error code = %X).
Two different copies of MSCOREE.DLL have been loaded.
First copy:
<Unknown>
Second Copy:
C:\windows\microsoft.net\framework\v1.1.4322\mscorwks.dll
This is typically caused by... more >>
SDK QuickStart Configuration
Posted by Dennis at 11/12/2003 10:18:10 AM
When trying to run the .NET Framework SDK QuickStart
Configuration as per Details on Help document, the
following ;
osql -E -S(local)NetSDK -i InstPubs.sql
is giving me an error "Server does not exist or access
denied "
Why is this happening, I installed MSDE as per
instructions ???
T... more >>
Monitoring TCP/IP traffic
Posted by Eugene Lerner at 11/12/2003 6:35:08 AM
I need to write a program that will monitor (and log) all
packets sent between two devices (one is Windows XP
workstation and another is a third party unit)
communicating via TCP/IP interface.
Please advice where I can find any info as to how to get
started.
Thank you.
Eugene... more >>
User Account
Posted by Bruce Fullerton at 11/11/2003 7:56:42 PM
After installing .net framework sdk I find I have a new User Account called
"ASP.NET" (Win XP Home)
My questions are:
What is this for?
How would I use it?
Is it necessary to be there?
What would happen if I deleted it?
Thanks
... more >>
how to programatically(from a resource) add version info to an exe.
Posted by Nagaraju at 11/11/2003 4:29:10 PM
Hi,
We are developing an exe and want to add version info
programatically ( from .resources ).
How to do that using framework classes.
Thanks
Nagaraju... more >>
SSL in dotNet?
Posted by A J Le Couteur Bisson at 11/11/2003 4:21:34 PM
Is it possible to use SSL directly in dotNet?
I don't want to use it in conjunction with https
or any web based stuff. I just want to configure
a secure channel between authenticated PCs
on a network. I have looked for examples
but I can find nothing appropriate.
Help! (please)
Andy
... more >>
how to make sure single instance of exe is running?
Posted by Nagaraju at 11/11/2003 10:46:30 AM
Hi,
We are developing a .NET assembly(EXE). We wanted to make
sure that only one instance of EXE running. Is there any
way to verify(using framework classes) other instance
same exe is running or not? If it is then we can exit.
Hope I am clear.
Thanks
Nagaraju... more >>
Network Adapter configuration
Posted by alvaro NO[at]SPAM xxxcomp.com at 11/11/2003 6:44:09 AM
How can I programmatically configure an ETHERNET ADAPTER
to use DHCP in a WORKSTATION that can be running Windows
98/ME/NT/2K/XP?
Can I do it with a managed code using C# ? If not, how can
I do it with VC++ / Platform SDK?
Thanks in advance,
Alvaro Pereira
... more >>
console argument in VS .NET
Posted by james ou at 11/11/2003 1:55:01 AM
hi, everybody,
I create a console program, can I give it some argument
when I run it from VS .NET ?
thanks
... more >>
Dial-up support in .NET?
Posted by curt at 11/8/2003 7:58:12 PM
Can anybody tell me whether there is support for dial-up
connections in .NET? I am using c# and would like to
setup and manage a call. In the olden days I used
RasDial, is there a .NET equivalant or other method?
Thanks for any information,
curt... more >>
How to save as MHTML
Posted by ZhangZQ at 11/7/2003 11:11:48 AM
There is a very great function in IE Browser that save the entire webpage
includeing all elements to a single mht file, and this file can be browsed
again even it is offline. I want to know how to do this in the code?
Thank you very much!
... more >>
How to save as MHTML?
Posted by ZhangZQ at 11/7/2003 11:01:27 AM
There is a very great function in IE Browser that save the entire webpage
includeing all elements to a single mht file, and this file can be browsed
again even it is offline. I want to know how to do this in the code?
Thank you very much!
... more >>
Installing assemblies into the gac...
Posted by MO at 11/6/2003 3:35:40 PM
Why when I install an assembly into the gac is it not seen in the 'Add
Reference' dialog box under the .NET tab??? Everything works just fine, and
I can see it in the 'WINDOWS\assembly' folder -- just curious why it doesn't
show up in the VS .NET dialog box when you try to add a reference in your... more >>
Simulating Longhorn Sidebar
Posted by Navin Mishra at 11/6/2003 11:46:05 AM
Hi,
Is there a component available to simulate Longhorn style Sidebar on
Windows XP ? Or is there a sample application somewhere to show how to do
that ?
Thanks in advance and regards
Navin
... more >>
Problem with 'TcpClient'
Posted by Eugene Lerner at 11/6/2003 11:15:21 AM
I execute these steps -
TcpClient MyTcpClient = new TcpClient( . );
MyTcpClient.Connect( . ); //Connect to Server
NetworkStream MyNetworkStream;
MyNetworkStream = MyTcpClient.GetStream( ); //Get Network
Stream
IAsyncResult MyAsyncResult = NetworkStream.BeginRead(
.. ); //Start asynchronou... more >>
Framework Reference
Posted by Robert Harris at 11/6/2003 8:07:06 AM
TWIMC:
I am trying to find a browser based reference for the .NET framework. Maybe
something easier to use than the MSDN library.
Thank You.
... more >>
How to retrieve the summary info shown on the properties tab for a file
Posted by mreid NO[at]SPAM exhibitworks.com at 11/5/2003 11:06:01 PM
Can anyone tell me how to retrieve the summary information for the
properties of a file.
In windows explorer you would right on the file, select properties and then
click the summary tab.
... more >>
QuickStart Tutorial "A Personalized Portal" does not work (for me)
Posted by no.spam NO[at]SPAM gte.net at 11/4/2003 6:41:25 PM
When I try to execute this sample, I get an error indicating it could
not find SQL stored procedure "LoadPersonalizationSettings".
Did I miss something in setting the tutorial up? I found nothing on
the Microsoft site about this.
Thanks in advance for help.
... more >>
STL and .NET
Posted by Gideon at 11/4/2003 5:27:27 PM
hi all.
i've got old c++ code that uses STL containers extensively.
i would eventually like to compile that code as a .NET assembly and later
use it from c#.
how much of a problem would that be, mixing managed and non-managed objects,
etc?
anyone has had experience with that?
... more >>
Eject USB flash disk
Posted by Hai Ly Hoang [MT00KSTN] at 11/4/2003 12:09:05 PM
In my application, i want to flush all data to USB and eject it (like select
Safe Remove from tray icon).
Is it possible ? How to to that ?
Thanks a lot
... more >>
VARIANT type problem
Posted by ZhangZQ at 11/4/2003 9:31:07 AM
If I have a method in an OCX, the definition is
[id(5), helpstring("Method Test1")] void Test1(VARIANT* a);
After I add reference to this OCX in Visual studio .net, it generates 2
dlls, and I look at the object browser, the definition of the above method
in the wrapper class is
Test1(ref ... more >>
COM interop
Posted by Lloyd Dupont at 11/3/2003 10:55:04 PM
I know it's possible to call COM server in C#.
but is it possible to create a new COM sever in C# ?
I mean I want to create a IShellBrowser (well something like that, I just
dicover it recently) I mean I want to write a shell extension to appear in
the windows explorer.
is it possible to do t... more >>
Framework 1.0 to 1.1 conversion
Posted by Luc Bisson at 11/3/2003 8:50:43 PM
Hi all,
We are using Framework 1.0 for all our ASP.NET and Windows application
projects.
We plan on going to Framework 1.1.
On MSDN, they say that for Windows application, we have to add a section in
the configuration file so the application will be forced to use the 1.1
framework.
Fo... more >>
how to write a "hard drive" driver
Posted by Lloyd Dupont at 11/3/2003 11:52:15 AM
I'm writting a C# network application, which could expose its data as a file
system.
I was thinking to have one back-end which would install itself as a
hard-drive on the client's computer, I would host the .NET runtime in my
driver, which has to be written in C, I suppose ?
could some one gi... more >>
Stream I/O: what about arrays of records, etc (why only byte[])?
Posted by Ted Miller at 11/3/2003 4:50:05 AM
So I've got a class that wants to write out an array of uints to a Stream.
It seems that in the most general case I am forced to copy my uint[] into a
byte[] just so I can call Stream.Write. If there was an overload of
Stream.Write that took a System.Array, an index, and a count, this would be
t... more >>
How to distribute a C# Application
Posted by Ali at 11/2/2003 11:41:16 AM
Hi
I have written a C# application uding MS Visual
Studio .NET
When runnig the program in another maachine i get an error
message "Program failed to initialise properly"
I belive i need to intall CRL...
How can i create a setup program which will run my C#
program in another mac... more >>
interop
Posted by ZhangZQ at 11/1/2003 10:10:43 PM
I created a ocx that has a method,
[id(5), helpstring("·½·¨Test1")] void Test1(VARIANT* a);
the implementation is
void Cocx030820Ctrl::Test1(VARIANT* a)
{
try
{
//see here
AFX_MANAGE_STATE(AfxGetStaticModuleState());
ST_PRINT* m;
//get data
m=(ST_PRINT*)a;
CString s;
s.... more >>
|