|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
Serialize IPAddress
balmerch -
3 Dec 2005 10:20 PM - 3 messages
How might I serialize an IPAddress? I read it needs to have a default constructor so I made a wrapper class: [Serializable] public class IPAddressEx : IPAddress { public IPAddressEx() ...
Remoting making DNS calls - How to prevent that
Mehmed -
3 Dec 2005 9:08 PM - 1 message
Hi, I have the following code creating remote object on a diffrent machine: ===================================================== string servicePath = "10.10.10.110"; string portNumber = "8081"; string serviceName = "MyService"; string serviceFullPath = "tcp://" + servicePath + ":" + portNumber + "/" + serviceName; startParameters.LoginServicePath = serviceFullPath; MyLoginService login = (MyLoginService)Activator.GetObject(typeof(Company.Common.MyLoginService), serviceFullPath); ...
How to compile for .net 1.1 & 2.0?
David Thielen -
3 Dec 2005 8:27 PM - 7 messages
Hi; How can I build a dll so it runs under both .net 1.1 and .net 2.0 (without requiring a config file)? The dll I have runs fine under both, so I want it to just work using whatever the exe that calls it is using. ...
Overriden attribute does not work on overriden methods
NetronProject -
3 Dec 2005 12:10 PM - 1 message
My control inherites from ScrollableControl and overrides the BackColor property. The DescriptionFromAttribute inherits from the DescriptionAttribute to return localized information. The same for the CategoryFrom. ______________________________________ [CategoryFrom("Behavior"), DescriptionFrom("BackColorDescription"), DefaultValue(typeof(Color), "Color.WhiteSmoke")] public override Color BackColor { ...
I can't copy a picture to word!
Lloyd Dupont -
3 Dec 2005 6:34 AM - 2 messages
I have a copy code as below. Which works well inside my application. But if I try to copy a picture into word, it always fail! Any tips? ===== public static void SetPasteboard(Object obj) { IDataObject ido = new DataObject(); ...
ACM and .NET Framework
ThunderMusic -
3 Dec 2005 1:18 AM - 1 message
Hi, I would like to know if ACM (Audio Compression Manager) drivers are integrated into .NET framework in any manner or If I'l have to use directly the win32 DLLs? If I have to use the win32 DLLs, is there, somewhere, any extensive list of ...
Writing hyperlinks into windows event logs?
Matt Nicholson -
3 Dec 2005 12:43 AM - 1 message
So I'm banging my head against the 33k limit within a windows event log. I want to capture errors but I also want to provide debug information. My thought was to generate an HTML file with all relevant tracing and debug ...
HttpWebRequest and obsoleted serialization constructor
Ivan Peev -
3 Dec 2005 12:35 AM - 2 messages
Hello, I have question related to HttpWebRequest class, part of System.Net namespace. Apparently in .NET 2.0 version, the one and only available from outside constructor is now declared as obsolete (this is a dump from Reflector): [Obsolete("Serialization is obsoleted for this type. ...
itextsharp pdf generation, insert image header.
guoqi zheng -
2 Dec 2005 11:51 PM - 1 message
Does anyone has experience with itextsharp for PDF file generation? It is open source and has very clear document, so basically everything works fine except when I am trying to insert image header. I know there is document.header property, however this header can only ...
Gdi objects and memory leak
Duff -
2 Dec 2005 11:00 PM - 7 messages
Hi all, I am facing some serious issues with an application written in c#. I noticed (using Task Manager) that the number of GDI objects is increasing during the use of the application which crashes. I don't know how to locate the problem ...
Tree Node sorting
Michael D. Ober -
2 Dec 2005 10:54 PM - 3 messages
How do I sort the nodes of a treenode alphabetically by their text values? Thanks, Mike Ober. ...
getting the user the app is running as
darrel -
2 Dec 2005 9:55 PM - 5 messages
Is there a relatively simple way to grab and display what user the application is running as? I'm trying to let my application upload a file but am getting access denied errors. I gave the user ASPNET permissions, but that isn't working, so I ...
Crainiate.ERM.Shape multi-threading
Ivan -
2 Dec 2005 9:42 PM - 2 messages
if not appropriate newsgroup, let me know the appropriate one to send this to. UI thread (UT) creates Crainiate.ERM.Shape with annotation that is an int. A background thread (BT) changes the int and redraws the shape. How should the BT, instead, notify the UT to redraw the shape? ...
How to convert Byte[] into String?
EOS -
2 Dec 2005 6:14 PM - 7 messages
Hi, I would like to ask on how to convert array of bytes, Byte[] into String? I tried StringIwant = System.Convert.ToString(byteData); but it actually return "System.Byte[]" rather than convert the data I wanted into string. I guess it should be a rather simple question. ...
Online training for MCAD
SolaFide -
2 Dec 2005 5:54 PM - 1 message
Hi all, I'm new to the group. I'm looking for a reputable place/institution that provides online courses specifically in preparation for the MCAD exams. Obviously, I could probably find an institution that has online courses which fall into the range of knowledge required for the exams, ...
Sudden error on connection, conflict sql 2000-2005? desperated!
Pieter -
2 Dec 2005 5:50 PM - 5 messages
Hi, I have some nasty error when deploying my application (VB.NET 20002) on the users-computers. I'm using an SQL 2000 database. The problem I guess is the fact that I had a local SQL 2000 and a local SQL ...
MSIL Language Specification
Zachary Turner -
2 Dec 2005 5:28 PM - 5 messages
Is there a place I can get a hold of the MSIL Language Specification? I want a detailed reference for MSIL without having to resort to a book such as Serge Linden's, since it is obviously doesn't cover the ...
vs 2003 and 2005 on same machine?
barret bonden -
2 Dec 2005 3:29 PM - 2 messages
I had VS 2003 running fine, then downloaded and instaled SQL server 2005 Express (which did not run well) , and wanted to play with Visual Web Devel. 2005 - ran the MS uninstall script from their site to remove SS2005 - it ...
DotNet As Late Bound Automation Server
Derek Hart -
2 Dec 2005 3:03 PM - 2 messages
I have a vb.net application in which I have used global variables. I converted it to become a late bound automation server (it is a dll now), where I simply want to call it from an Access application and run it. To my ...
Controls inside DataGridViewCell
Tristan -
2 Dec 2005 2:40 PM - 1 message
Hi, I wish to have a type of DataGridViewCell which contains a button aswell as a text entry section. Is this possible with the new DataGridView component or am I going to have to paint the button in the cell's paint method which is very inefficient. ...
copy to pasteboard international text (to Notepad)
Lloyd Dupont -
2 Dec 2005 1:59 PM - 2 messages
I try to copy text from a home made TextView to Notepad. If I paste international text FROM notepad I get 3 pasteboard type: -System.String -Text -UnicodeText when I copy from my text view TO Notepad I put it UnicodeText & ...
FileSystemWatcher and FTP
craig@amtdatatechnologies -
2 Dec 2005 11:48 AM - 5 messages
Hi, I've being looking for a root-cause for the following problem (currently have a work-around):- We have a .NET FileSystemWatcher watching an FTP directory. The FTP folder/account is on a Windows 2003 Server system (SP1), and the FTP account ...
SIPClient??
awf_ng -
2 Dec 2005 10:09 AM - 2 messages
Sometime back I went to a MS seminar where they were demonstrating features of Visual Studio 2005 and I'm sure the presenter was using a class called SIPClient or something similar to send instant messages to MSN messenger. Basically, he'd write a bit of C#, run it and it would ...
how can a post-back be prevented for a button?
suma -
2 Dec 2005 9:33 AM - 2 messages
my web page consists of a timer along with a number of buttons ( application for tambola game). the timer raises an event on it's expiry time. that is fine. but i doun't what some of the buttons to throw the post-back(refreshing ...
newbie help on webservices
rene.rugerio -
2 Dec 2005 4:21 AM - 1 message
hi i want to consume a web service with the following restrictions - the web service is dinamically allocated (changing server and operation name). - i only receive from web service "posters" addresses like <<http://server/service1.asmx?op=methods>> ...
.NET Framework 2 and ALLUSERS property is not 1
Chele327 -
2 Dec 2005 4:00 AM - 1 message
Hi there, i would like to publish .net framework 2 to users using active directory group policy i've followed the instructions for 1.1 which has been recommended on various postings Deploying the .NET Framework 1.1 Using Active Directory
[link] ...
DllImportAttribute
Ori Calvo -
2 Dec 2005 1:52 AM - 3 messages
Hello All, I am using DllImport attribute to do some work againt an unmanaged dll. The unmanaged DLL is written that way that when calling one method a global variable is updated so when calling an another function inside the DLL the ...
Collection of Generic Objects
msnews.microsoft.com -
2 Dec 2005 12:21 AM - 17 messages
I got (what I hope to be is) a simple question.... I have a class called PropertyObject<T> so in my code I created something like this.. name = new PropertyObject<string>("goot"); age = new PropertyObject<int>(20); ...
System.Transactions namespace is not found in my vs 2005
BF -
1 Dec 2005 11:22 PM - 4 messages
I am trying to use TransactionScope in vs 2005 for transaction control. But after I put the code in, I noticed System.Transactions namespace does not exist at all! Can anybody tell me why I don't have it from my vs 2005? I am ...
Decoding animated GIF/Images
arc -
1 Dec 2005 10:57 PM - 1 message
What is the best way to decode and parse the images/frames with its attributes from an animated GIF file? Thanks ...
Targeting builds for .NET FW 1.1 using VS 2005
arc -
1 Dec 2005 10:43 PM - 4 messages
I didn't position my query well last time, so rephrasing and posting it again: We are looking to target our product for VS 2005 environment (currently built using VS.NET 2003 & FW 1.1) while also continuing support for .NET FW ...
.NET versioning
harvey.kwok -
1 Dec 2005 10:33 PM - 15 messages
Hi all, We have delivered a product with version 2.0.0.66 to our customers. This product includes product.exe and library.dll. Then, the development is continued. Now, we are at the version of 2.0.0.77. We ...
"Patching secure assemblies whose digital certificate has expired" ??
Arnie -
1 Dec 2005 10:12 PM - 1 message
"We use an Authenticode (digital code signing) certificate from Verisign to digitally sign our .NET assemblies, and to ensure the assemblies in a calling tree are authentic as each class and public method in secure assemblies are decorated with this attribute: ...
HotTrack on TabControl with Draw mode of OwnerDrawFixed in VB-VS20
NeilG -
1 Dec 2005 9:41 PM - 9 messages
I'm trying to implement a custom look on selected tabs on a tab control. I've done this successfully. However, I noticed that when I set the draw mode to OwnerDrawFixed the HotTrack property is ignored. I figured this was by design and tried to implement it in the method I'm ...
401 Unauthorized reading file from UserControl
Jeff -
1 Dec 2005 9:05 PM - 1 message
All, I have a Windows Control Library, that I have imbeded into a web page. It works great, with one exception. The control is to read a tif file for display. The tif file is on a web server. I am using the following code: ...
Undocumented Breaking change in Attribute.GetCustomAttribute?
jmr -
1 Dec 2005 8:44 PM - 1 message
I think I've found an undocumented breaking change in Attribute.GetCustomAttribute. The following source code runs just fine in ..NET 1.1 and fails with an AmbiguousMatchException in .NET 2.0. Please note that this should not be a case of the AmbiguousMatchException as documented ...
VS 2005, compiling against .NET 1.1
Paul Aspinall -
1 Dec 2005 8:38 PM - 3 messages
Hi I have VS 2005, but some of the components I'm using (Infragistics NetAdvantage 2005), have issues with .NET 2.0 For this reason, I'm being forced to compile against .NET 1.1 How do I do this?? Is it possible?? Is it supported to use VS 2005 with .NET ...
Using .NET FW 2.0 assemblies in .NET FW 1.1 environment
arc -
1 Dec 2005 8:36 PM - 1 message
There are some features that we want to use from .NET FW 2.0 in our product but we are not ready to do a total transition to 2.0 on the server side code as yet. Server side uses 1.1 and it will consume assemblies that we are now building ...
Compact C# .NET -> How to add TreeView's nodes/items from threads?
EOS -
1 Dec 2005 8:02 PM - 3 messages
Hi, I am new to PDA development and my background is purely C/C++. Now I can get the rought ideas on Compact C# .net for PDA development. But I am having troubles on adding TreeView with nodes and items from ...
User and Network Problems after installing .Net Framework
barneagle -
1 Dec 2005 7:15 PM - 1 message
While trying to install SyncToy (from Microsoft PowerToys) I was told I needed to install the .Net Framework. I trusted Microsoft to know what they were talking about, so went ahead and installed "Microsoft .NET Framework Version 1.1 Redistributable Package" from the Microsoft ...
Clickonce deployment issue
balmerch -
1 Dec 2005 7:10 PM - 2 messages
I published a project for clickonce deployment onto our company iis. If the user has the .net framework installed, it works fine and installs the program, however if they do not have the .net framework installed it gives a "Page Cannot be Displayed" error when the page redirects to the setup.exe ...
what protocol does smtpclient.send() use
Abraham Andres Luna -
1 Dec 2005 7:05 PM - 3 messages
hello everyone, i setup an outlook express account to use an IMAP server now when i send a message, it is saved to the sent folder on the mail server that way when i log in using the browser i can have my sent folder ...
Detecting which application currently has focus...
Paul Aspinall -
1 Dec 2005 7:00 PM - 2 messages
Hi I am trying to write a piece of code, which will tell me which application currently has focus / which the user is currently working on. ie. if the user is currently in IE, or Word etc.... How can I find this in .NET? ...
Can anyone help me fix an EXE program that was programed in vs6?
tamir -
1 Dec 2005 6:24 PM - 1 message
Can anyone help me fix an EXE program that was programed in vs6? tamir - 1 דצמבר 10:20 can anyone help me fix an EXE program that was programed in vs6? I use ...
Failed to load resources from resource file. Please check your Set
Preference -
1 Dec 2005 4:46 PM - 2 messages
We get this message when running a C++ Managed application developed with Visual Studio 2003, on some client machines. “Failed to load resources from resource file. Please check your Setup†We haven’t been able to determine why this happens only on some client ...
SMTPClinet - mailMessage.DeliveryNotificationOptions only works once per session?
Scott Townsend -
1 Dec 2005 3:24 PM - 1 message
I'm trying to send an email and get a delivery receipt back. I'm setting the MailMessage.DeliveryNotificationOptions = DeliveryNotificationOptions.OnSuccess and it works great for the First email that is sent. Any emails after the first do not generate a Delivery Receipt. ...
Merging Cells in DataGridView
Tristan -
1 Dec 2005 3:09 PM - 1 message
Hi, I have two types of cell in my DataGridView, a DataGridViewButtonCell and a DataGridViewTextBoxCell. Would I need to do is have these two cells merged somehow so that I have a text box but with a button on the ...
Change ASP.NET debug Setting (VS 2005)
scorpion53061 -
1 Dec 2005 2:32 PM - 2 messages
I want the VS.NET 2005 to use 127.0.0.1 (the asp.net development server that attempts to debug the page) instead of localhost when debugging web pages. Localhost is a real problem for me as it is very slow. I ...
Problem uploading files with HttpWebRequest
AnCap -
1 Dec 2005 2:15 PM - 3 messages
Hello folks, I'm having a problem uploading files. The code that is responsible for this works almost all the time, but fails when trying to upload files that approach a megabyte in size or more, from a server that has a slow internet ...
OCR scanning images from code
Klaus Jensen -
1 Dec 2005 12:56 PM - 11 messages
Hi I need to be able to OCR-scan bitmap images from .net code. Ie: text = ocrcomponent.scan(myImage) The images are actually ads, and are all quite different. I need to extract the text for fulltext-indexing purposes, so it is not important that there ...
Extended ASCII Encoding in .NET
JoeUser -
1 Dec 2005 10:46 AM - 6 messages
Does anyone know how to decode extended ASCII string into extended ASCII bytes? For example, "ä" is 228 in the extended ASCII character set. ASCIIEncoding supports 7-bit ASCII, thus every character in the extended set is decoded as "?". ...
Fille.Move reports wrong file being used by different process
Ian Rowland -
1 Dec 2005 10:39 AM - 1 message
When using File.Move(source, destination), if the source file is in use by another process this method reports that it is the destination file that is in use and not the source file! This can be seen from a visual inspection of the File.Move code (see last ...
how to "implements an interface" using CodeDom
sql chen -
1 Dec 2005 9:40 AM - 2 messages
'Hello 'i have generate such a simple class by CodeDom '========================================== Public Class A Public Function B() End Class '========================================== 'But i want improve these code as follow: '========================================== Public Class A Implements IData Public Function B() implements IData.B ...
Weird error - anyone can help?
choongseng -
1 Dec 2005 8:18 AM - 1 message
I've this weird error, wonder if anyone here can help. Out of nowhere, the constructor seems to call the ArrayList.Add, and this is absolutely no in my constructor of the class. it is a ASP.net application and it happends only after some ...
Help!! Creating a RAS _VPN Network connection class - Problem
den 2005 -
1 Dec 2005 8:12 AM - 2 messages
Hi everybody, I found this code but unable to make it work. I like to create a Remote access service using VPN Network connection in order I could interact with remote database. I like to created a fixed link to a remote server with ...
my .net prog will run with out framework
murali.trichy -
1 Dec 2005 7:24 AM - 2 messages
hi, my c#.net program will run with out .net framework ? bye ???Murali??? ...
Watch out for w32.spybot.worm
news -
1 Dec 2005 6:38 AM - 1 message
I just got rid of a nasty virus designed to get ebay pwds, uids, bank details, etc and then I assume use them. I know this is not a virus NG, but as a software engineer, I feel obliged to ...
Offline Data Synchronization
Fenno -
1 Dec 2005 4:23 AM - 3 messages
One of the requirements of a development project I am working on is for end users to be able to take their laptop off the network and do work on the application (VB.NET win-forms app with SQL Server database). ...
Calling close on StringReader (or not)
Brad Wood -
1 Dec 2005 12:04 AM - 8 messages
I have a test routine where I want to call new XmlTextReader( new StringReader( xmlString ) ) repeatedly. Structuring the code so that I call Close (which calls Dispose) on the StringReader makes the code much fatter. Is failing to call Close on each instance here really a bad thing? Is ...
How can I pass Thread.CurrentPrincipal across AppDomain?
Stan -
30 Nov 2005 10:06 PM - 1 message
I guess it is by desing, but I would like to find a workaround: Machine 1 ----------- // Attach GenericPrincipal to the thread GenericIdentity MyIdentity = new GenericIdentity (UserId); GenericPrincipal MyPrincipal = new GenericPrincipal (MyIdentity, Roles ); Thread.CurrentPrincipal = MyPrincipal; // Machine1 calls ServicedComponent on Machine2 ...
call .net 2.0 assemblies from .net 1.1
Perecli Manole -
30 Nov 2005 9:50 PM - 17 messages
There are some features that I want to use from .NET 2.0 but my company is not ready to do the shift yet. I have incapsulated these functions in a .NET 2.0 assembly that I want to call from our existing .NET 1.1 application. ...
NFS Support in the .NET Framework
Robert Burdick [eMVP] -
30 Nov 2005 9:49 PM - 1 message
Hello All: Does the .NET Framework have built in classes / support for Network File System (NFS) protocol? Robert ...
Restricting access of class variable to another single class?
Danny Tuppeny -
30 Nov 2005 9:43 PM - 5 messages
Hi all, The next few paragraphs put my question in context, but feel free to skip down to the end if you don't care *why* I need the answer! :) **************************************** *** Start of long-winded description *** **************************************** I've got some classes that define a tree structure. When the Parent ...
Disable prompting for updates
Bruce Parker -
30 Nov 2005 9:40 PM - 10 messages
How do you disable the prompt a user gets when an update is available. I want to automatically update the application every time they start it. ...
HttpWebRequest with HTTPS URL over proxy
Praveen -
30 Nov 2005 8:45 PM - 7 messages
Hi All, I was facing problem using the HttpWebRequest class to make a connection to a secure site with a proxy server. I am getting the below error An unhandled exception of type 'System.NotSupportedException' occurred in system.dll Additional information: The ServicePointManager does not support proxies of ...
Getting text from PDF
Klaus Jensen -
30 Nov 2005 8:10 PM - 5 messages
Hi! I need to extract all text from PDF-files for fulltext-indexing purposes. How do I do that? I have looked at several PDF-components, but none of them have features to read the text in the PDF - only create PDF's. ...
.net framework 1.1 install failure on fresh XP MCE
Bjorn Heijligers -
30 Nov 2005 8:09 PM - 4 messages
I've been trying to install .net 1.1 on a fresh Windows XP MCE machine all day. the MCE version i downloaded from msdn 2 days ago (english) and everytime i try to install .net framework 1.1 the installation stops/hangs/stall at the ...
Catastrophic failure
mamin -
30 Nov 2005 7:39 PM - 2 messages
When I'm trying to run any asp.net application, the following error appears: "CS0007: Unexpected common language runtime initialization error --Catastrophic failure" I've reinstalled .NET Framework but without any results.I've also tried to use aspnet_regiis -i but the problem is still the same. ...
Install .NET Framework 1.1 issue.
MikeLI2004 -
30 Nov 2005 6:09 PM - 2 messages
I try to re-install .NET Framework 1.1 on my desktop computer. But I keep getting an error message: Microsoft .NET Framework Setup failed. If this problem continues, contact Product Support Service. Does anybody know how to resolve this problem? ...
Specifying the Form Icon from the Application Icon
Phil Galey -
30 Nov 2005 6:07 PM - 1 message
Once you have specified an Application Icon in the project properties dialog, isn't there a way of getting that icon to appear in the form when the application runs without having to separately select the form in design time again specify the same icon? ...
Windows Installer
jsh02_nova@hotmail.com -
30 Nov 2005 5:32 PM - 1 message
Where's the forum for Windows Installer questions? ...
can vb.net support WINAPI(_stadcall)?
jg -
30 Nov 2005 5:25 PM - 8 messages
or would I have to use C# or C++? ...
Getting Read/Delivery receipts from SMTPClient mail message?
Scott Townsend -
30 Nov 2005 5:23 PM - 2 messages
I'm trying to get a Delivery Receipt from sending a message using the System.Net.Mail.SMTPClient Class There seems to be a few ways to do it. You can set the DeliveryNotificationOptions, or add Headers. I've tried the following with varying results. ...
VB 2005 Express Collection(of T) IComparator
Michael D. Ober -
30 Nov 2005 4:50 PM - 10 messages
In the code below, the IComparator function is never called. What am I missing? Public Class ArchiveInfo Implements System.IComparable(Of ArchiveInfo) Public FullName As String = "" Public AccountNumber As String = "" ...
customize drawing tool with messenger API?
Mad Scientist Jr -
30 Nov 2005 4:36 PM - 3 messages
The MSN Messenger drawing tool is great, but kind of limited. Would there be a way to make a customized messenger using the API with a more full featured drawing tool? As is the drawing tool only has the most basic functions and only lets ...
Error loading design screen for an Inherited form
Brandon Owensby -
30 Nov 2005 4:03 PM - 4 messages
I am using MDE 2003 version 7.1.3088 with .NET Framework 1.1. I have a C# program with a Windows Form I want to inherit from. When I create the inherited class I get an error when I try to go to the design screen. It ...
Programattically Change Password
MikeL -
30 Nov 2005 3:09 PM - 3 messages
Hello. I need to programmatically reset a user's password. We will create an account that has the proper authority to do so. I've been looking through the .Net framework for a class that might handle this but am having no luck. ...
IIS and .Net 2.0
Arne -
30 Nov 2005 1:31 PM - 5 messages
I have three web site on one Windows 2003 server. I tried to configure one to use the 2.0 framework. That doesn't work. The error message I got is that multiple web site can't use the same process to run different version of the ...
Detecting if a remoted object really exists
Michael Groeger -
30 Nov 2005 12:19 PM - 1 message
Hi, is there a chance to find out if a proxy to a remote object is dead without calling a method on the proxy? I have written a frontend for a service, the service itself is the remote object. When I first start my frontend ...
Detecting file changes just like Visual Studio
desmcc -
30 Nov 2005 9:27 AM - 4 messages
I want to mimic the functionality of Visual studio where if an opened file is modified outside of the IDE, the user is prompted if they wish to reload the file(s). What is the best approach to do this. I have ...
Directory of assembly when using services
Michael Groeger -
30 Nov 2005 9:26 AM - 5 messages
Hi all, normally, when starting a service the current directory (System.Environment.CurrentDirectory) is the system directory of the platform. The service itself can be started from another location e.g. c:\foo\bar\myservice.exe . Is there a way to get the directory the service ...
Remote Netwrok Connection to be created
den 2005 -
30 Nov 2005 7:51 AM - 1 message
Hi everybody, How would I create a class to simulate a network connection to a remote server via Internet using tcp\ip? I would used this connection to access a remote sql server. Similar to using TCPClient and TCPListener on a local ...
File preview in Windows Forms application
Ruepen -
30 Nov 2005 3:23 AM - 1 message
Hello I am creating a small C#.NET 1.1 Windows Forms application, which looks up power point files in a target directory. Now, what I wanted to do was have a preview of the 1st slide of the powerpoint file in a small area of the ...
.NET Framework 1.1 SP1 problem under ASP.NET.
Ken Varn -
29 Nov 2005 10:12 PM - 1 message
I have an ASP.NET application that makes a TCP remoting call to a managed C++ application through a managed C++ DLL. Everything has worked fine for some time now up until I have installed SP1. Now, what happens is that the ...
how to determine whether a datarow is null or not
guoqi zheng -
29 Nov 2005 9:15 PM - 3 messages
Dear sir, I am trying to find a row in a dataset. I know I can define a primaryKey and use rows.find(key) to locate this row. However, very often this row does not exists, what can I use to determine ...
Deploying a winform in 2.0 Framework on the intranet
Arne -
29 Nov 2005 8:21 PM - 2 messages
There should be a way to distribute a winform from a URL on the intranet. Where can I find more information on this subject? ...
Using System.Xml.XmlDocument to parse an XML Excel document
balmerch -
29 Nov 2005 7:46 PM - 2 messages
I am loading an xml excel document into the XmlDocument class, and using the SelectSingleNode method to try and select the node of the Worksheet in the document. It is not returning any results, but my XPath is right as far as I ...
Difficulty with Remoting and IPC Channels
mhetherington -
29 Nov 2005 6:48 PM - 4 messages
I'm trying to get an Remoting proof of concept working. Using TCP and/or HTTP Channels, the proof of concept works fine. However, when trying it with the IPC Channel, I get the following RemotingException when exectuing the ...
Best practices for a two-keyed (i.e. 2-dimensional) hash table in
Quimbly -
29 Nov 2005 6:36 PM - 3 messages
Is there a data structure built for this? Or do I have to do something like combining the keys into a single element? ...
confusion working with setup project?
Chris -
29 Nov 2005 6:30 PM - 1 message
Hi, I have a VB.NET 2003 project framework 1.1.4. I would like to create a setup project with the following structure for the final installation when the setup.msi is run. C:\program files\company name\progname (this I have completed) ...
Connecting to strong-named DLL outside of appbase
Mike -
29 Nov 2005 6:07 PM - 3 messages
Hi again, I'm working on an app that will be using an assembly that will be sitting on the network. I thought once I got the public key from the assembly I'd have it figured out, but alas, I don't. Any help would be ...
Play and Play application
Praveen Pandey -
29 Nov 2005 5:53 PM - 1 message
Hello Everyone: I have and existing client/ server application that is written in .Net. I recently got a requirement that we need to design a all future modules is such a way that the user can choose to install a module of the application. ...
Generic Union Type with Explicit Layout
Hagen Schendel -
29 Nov 2005 4:50 PM - 5 messages
I am desperately trying to build a generic union type with explicit field layout. First, I will show you my attempt without generics. This is something like a tagged union in functional languages like F#. Thus let us first write ...
EventHandling problem : Java has solution but what about Microsoft???
Mahesh Devjibhai Dhola [MVP] -
29 Nov 2005 4:14 PM - 23 messages
Hi, I have added few of the events in some control, example code is: btnControl.GotFocus +=new EventHandler(EventHandlingMethod); btnControl.Click +=new EventHandler(EventHandlingMethod); lblControl.Click +=new EventHandler(EventHandlingMethod); private void EventHandlingMethod(object sender, EventArgs e) { ....... } btnControl = Button object, lblControl = Lable object ...
What is the .NET equivalent of Java's MANIFEST.MF and co.?
Kunle Odutola -
29 Nov 2005 4:14 PM - 5 messages
I'm trying to understand where the information in the META.INF directory including MANIFEST.MF etc is to be found for .NET assemblies. Also some projects such as Eclipse's OSGi kernel stores additional info in the MANIFEST.MF file. What would be the .NET equivalent where such info can ...
Finding a DLL's public key value
Mike -
29 Nov 2005 3:12 PM - 4 messages
Hi all, I've been working on this problem for a few days and I'm about at my whit's end for searching, I appreciate any help I can get with this. I've got a DLL that was signed with a key (using VS 2005). I'm trying ...
Error using SmtpClient with local server
Jürgen Bayer -
29 Nov 2005 2:38 PM - 1 message
Hi, I try to send a mail using System.Web.Mail.SmtpMail via the local (virtual) SMTP server like this: System.Net.Mail.SmtpClient smtpClient = new System.Net.Mail.SmtpClient("localhost"); smtpClient.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; smtpClient.Send("t***@gmx.de", "t***@gmx.de", "Test", "This is as test"); // ...
ClickOnce and updating client applications
jjkboswell -
29 Nov 2005 12:52 PM - 1 message
I'm trying to understand the limitations of ClickOnce deployment, and have a question regarding how automated client application updates can be. I have a server .NET application with a client application that connects and uses .NET remoting objects in the server app. I need to ...
"Cannot find assembly..." when deserializing from memorystream
Gabriel Lozano-Morán -
29 Nov 2005 12:14 PM - 1 message
I have a strange exception imo when I try to deserialize a memorystream to an object using the following code: public static object Clone(object sheep) { if (master == null) { throw new ArgumentNullException("sheep"); ...
Network aware application 'a la MSN'
Lloyd Dupont -
29 Nov 2005 7:46 AM - 6 messages
I'm about to write a network aware application. Of course I intend to do UDP broadcasting to detect other app on my network. But I would like my application to be usable over the internet as well. Between to end user computer. ...
|
|||||||||||||||||||||||