microsoft.public.dotnet.framework.sdk Archive - April 2004
Post a message to this list
Messages
Page: 12
Need Help With On Regex Expression (4 replies)
microsoft.public.dotnet.framework.sdk
Folks, I have a very large text file to parse and I'm thinking of using a regex. I need to isolate data bounded by "200~" (200tilde). The "200~" appears at the start of a line. There can be one or more lines between each "200~". This regex, ^(200~), gets the "200~"'s only. I need to get what's in between. The following is a sample of the text file in question. 200~012~020000654518~0503012002~06033...
Find OS installed partition (2 replies)
microsoft.public.dotnet.framework.sdk
Hi, I am developing a dll in C#. This has to find the root directory(partition) in which the currently running Operating System is installed. Is there a way to do it and how? Thanks in advance, Arr S
Compile.. (3 replies)
microsoft.public.dotnet.framework.sdk
Hi there I have a bit of a prob: I want to compile several cs source files to a single Assembly library y.dll but the source files have some dependencies between them. The solution has been developed in VS.Net but I don't have the IDE so I just want to compile it with the csc. Is there a good how to or Getting started? I know the basic csc environment but what I need is a guide on how to write a g...
ui-less access to htmldom? Like mshtml? (2 replies, VIP)
microsoft.public.dotnet.framework.sdk
Hi... I didn't see it just browsing msdn, but is there a .Net ui less html dom object? Something that implements the (usually) client side scripting html dom object model but without the implied UI? We're working on some automated tools in .Net to fetch and analyze web pages and we were hoping a .Net object might exist already to give us this kind of access in C#. In the old ASP days, we found an ...
VARIANT array (3 replies)
microsoft.public.dotnet.framework.sdk
I need to use a VARIANT array. But, I am not sure whether it's available in C#. I found a VARIANT API in the platform SDK (in the OleAuto.h file). Is this is the right one that I've to use? If so, how to include this .h file? Thanks in advance, Arr S.
ngen.exe question (2 replies)
microsoft.public.dotnet.framework.sdk
Hi people, I tried to use ngen.exe on an executable generated by C#, but I don't see where the generated executable is placed. I use it as follows (from the tools menu): ngen.exe "$(ProjectDir)bin\release\myprogram.exe" The output goes to the output window, and it doesn't say it failed. But the original file doesn't appear to have changed, and I don't see a new executable appear. Another question....
Unloading Fonts (2 replies, VIP)
microsoft.public.dotnet.framework.sdk
Greetings, I am writing a font application in c# and would like to know how to load and unload fonts from memory. I can remove the file and the registry settings, but I have to reboot in order to get it out of memory. I have also tried using the RemoveFontResource API, but it didn't accomplish removing it from memory. Maybe I implemented it wrong? Any help is greatly appreciated! Thanks, Kevin
c# postbuild event (2 replies)
microsoft.public.dotnet.framework.sdk
Hi All, I have an c# application including lots of different dll projects. On project options, I have coded a postbuild event script shown below to gather all my files in different project in one path after successfull build. copy $(TargetPath) Y:\CommonFiles\$(TargetFileName) after build, this script generates a postbuild.bat file and in this file i have this line copy D:\Project\FRONT END\SCREEN...
Local Area Disconnected (3 replies)
microsoft.public.dotnet.framework.sdk
Hi all, I already wrote this question but now I'll be more accurate in the question: How can I notice that my local are connection is Unpluged/Local Area Disconnected ? I'm writing in C# Windows application and I cannot find the write class that can handle it, I do know that I need an event. Please add some code samples. I didn't find this question in this Newsgroup anywhere. Thanks.
Common Setup Files (3790.0): where is PSDK-x86.msi? (2 replies)
microsoft.public.dotnet.framework.sdk
I regularly get the exception message: with Title Common Setup Files (3790.0) and complaining that the installation package PSDK x86.msi cannot be found. Where should I look for that file?
URGENT: How can I avoid my SOURCE CODE from DECOMPILERS like Anakrino9? (8 replies, VIP)
microsoft.public.dotnet.framework.sdk
I'm scare because using Anakrino9 I was able to DECOMPILE my PROJECT. I have been working on it for a year now and it's too unfair that anybody out threr will be able to DECOMPILE my APP what can I do??? Thanks
Disconnected Architecture (3 replies)
microsoft.public.dotnet.framework.sdk
We are looking to build a system where the admin portion of the system will be ASP.NET based residing on a central server and the field service portion of the system will be WinForms based. The field service personal will be running the WinForms app on their laptop to collect data. After collecting their data the field personal will need to connect to the Internet and synchronize with the admin se...
Getting Folder Permissions (4 replies, VIP)
microsoft.public.dotnet.framework.sdk
Hello folks I have to get the NTFS permissions of a folder programmatically. I am using C#. Pls hint me if i am missing anything in the code below. private void GetSecurityPermission(string strShareName) { NERR eRetVal NERR.ERROR FAILURE; EXPLICIT ACCESS oEA; IntPtr pZero IntPtr.Zero; IntPtr pSidOwner pZero; IntPtr pSidGroup pZero; IntPtr pSACL pZero; IntPtr pDACL pZero;IntPtr psd pZero; int nExpl...
How to set "SpecialBuild" VersionInfo in C#/VS.NET? (4 replies, VIP)
microsoft.public.dotnet.framework.sdk
I'm searching all over for how to set the "FileVersionInfo.SpecialBuild" property for my C# app from the VS.NET IDE/build environment, and all I can see is how to read the property from an external app file. I need to set this string in order to embed licensing info for an auxiliary DLL to read. When I Google for this, all I see is how to do it with a ".rc" file, but AFAIK I'm not using ".rc" file...
problems with HttpWebRequest (2 replies)
microsoft.public.dotnet.framework.sdk
using HttpWebRequest to make HTTP request t web server and get resulting HTML in the response, when the response includes hebrew characters (not unicode) these characters are moved away after StreamReader reader new StreamReader ( response.GetResponseStream() ); strHTML reader.ReadToEnd(); is there anyway to save all the data came with the response using this object? TIA.
FileSystemWatcher Problem (3 replies)
microsoft.public.dotnet.framework.sdk
I am a bit confused. I am using a 3rd party COM object that adds records to a SQL DB through OLE (that's what they use). I can get this working perfectly in .NET. Now, when I add the FileSystemWatcher to the code, watching for new files. Upon a new file, read the file and use that information with the COM object to insert into the DB. When the FileSystemWatcher is involved, there is some kind of e...
XmlValidatingReader ERROR ! (4 replies)
microsoft.public.dotnet.framework.sdk
Hi, I need to validate a XML Document using the W3C XForms Schema. I'm doing it like this reader new XmlValidatingReader(xml, XmlNodeType.Document, null); reader.Schemas.Add(XmlSchema.Read( new FileStream("XML Events Schema.xsd", FileMode.Open), null)); reader.Schemas.Add(XmlSchema.Read( new FileStream(@"XForms Schema.xsd", FileMode.Open), null)); The first add method works with no problem but the...
ComboBox class, CB_INSERTSTRING , VB.NET and marshalling... (6 replies)
microsoft.public.dotnet.framework.sdk
Hello All, let me pose a simple question about combobox and the CB INSERTSTRING message. Suppose for instance that I already have a combobox handle, how can I declare and use the SendMessage function just for insert a new item into the combobox ? Of course, the combo box DO NOT belong to my process, so I can't use the standard properties of that class. In fact, I need to "put" a new entry in the c...
exception after using HttpWebRequest (3 replies, VIP)
microsoft.public.dotnet.framework.sdk
my system runs Windows2000 server with sp4, dot net framework version 1.1 (1.1.4322), Visual Studio 2003 (7.1.3088), making a windows application in C# that uses HttpWebRequest and brings data, after about a minuete from the end of the response, while the window stays open, i get exception: system.dll!System.Net.Sockets.OverlappedAsyncResult.CompletionPortCallback(uint errorCode 64, uint numBytes ...
bug in HttpWebRequest? (4 replies, VIP)
microsoft.public.dotnet.framework.sdk
using HttpWebRequest to make HTTP request t web server and get resulting HTML in the response, when the response includes hebrew characters (not unicode) these characters are moved away after StreamReader reader new StreamReader ( response.GetResponseStream() ); strHTML reader.ReadToEnd(); is there anyway to save all the data came with the response using this object? TIA.
Redirected request in HttpWebRequest does not maintain specified method! (8 replies, VIP)
microsoft.public.dotnet.framework.sdk
This appears to be a critical bug in the .NET Framework. Surely I am wrong though! PLEASE HELP if anyone has any idea? Thanks, Jon From: Jon Davis [mailto:jon@accentra.net] Sent: Friday, March 26, 2004 9:31 PM To: bloggerDev@yahoogroups.com Subject: RE: [bloggerDev] Blogger API still not working for me : ( Seems the AutoRedirect feature in the HttpWebRequest object in .NET Framework does not maint...
System::Web::Mail. (3 replies)
microsoft.public.dotnet.framework.sdk
Hi , i have visual studio.NET 2003 installed , but there is no namespace by the name System::Web::Mail. Any idea how to get it ? Tarun Tarun ********************************************************************** Tarundeep Singh Kalra (tarundeep1976 nospam at yahoo dot nospam dot com) *************************************************************************
HttpWebRequest Client Certificates - Suppressing User Prompts (3 replies, VIP)
microsoft.public.dotnet.framework.sdk
Hi I'm using HttpWebRequest to connect to a secure site which requests a client certificate. When this happens, a dialog box pops up titled "signing data with your private exchange key" asking the user to confirm that the application should be allowed to use the private key. However, the application makes many connections and I would like to suppress this dialog. I understand that the underlying C...
using libraries (2 replies)
microsoft.public.dotnet.framework.sdk
I'm working on a project, and I want to reference some sorce code libraries that my group shares. I dont want the VS.NET to copy the source code into my project, I want it to reference the code where it is. How can I make VS.NET do this? It always copies the files. Also, I would rather not make the libs into dll because then I have a boat load of dlls to worry about. thanks.
Thread Synchronisation (4 replies, VIP)
microsoft.public.dotnet.framework.sdk
Hi all, I'm currently struggling a little to get my head around thread synchronisation. I would like some feedback based on the following example. I have a class that instantiates several timers. As each timer fires it callsback to a method in the class timer Tick. This is an instance method not static. timer tick calls another instance method Process file. This method sets and checks quite a few ...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification