all groups > dotnet general > january 2006 > threads for thursday january 12
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
Text Size (Extent?)
Posted by Gary Brown at 1/12/2006 9:07:15 PM
Hi,
MFC has functions that calculate the width and height of a
text string, GetTextExtent being one of them. Does .NET/C#
have an equivalent?
Or how does one do this in C#?
Thanks,
Gary
... more >>
Seeking examples of screen scraping....
Posted by Jim at 1/12/2006 6:52:25 PM
I want to extract data from several websites that I visit daily. I'd like
to condense the info into a single web page that I can visit (instead of the
multiple websites I have to visit now to get the same info). There are no
open APIs or webservices for these websites that I am aware of.
... more >>
Dynamic AppDomains
Posted by Shaun McDonnell at 1/12/2006 5:41:03 PM
I have an application that uses the FileSystemWatcher to monitor for the
"drop" of certain files in a folder. Custom actions are then executed based
on the file name, size, etc.
This application can listen for an unlimited number of files and therefore,
runs an unlimitede number of threads... more >>
Adding custom Mail header to System.Net.Mail.MailMessage
Posted by asnowfall NO[at]SPAM gmail.com at 1/12/2006 4:16:45 PM
I am creating MailMessage out of already existing email message.
My existing message has few custom properties. I wan to add them to
System.Net.Mail.MailMessage
How to add custom properties?
I was thinking adding custom properties to
System.Net.Mail.MailMessage.Headers. but it's a READONLY... more >>
Internal details of System.Random
Posted by rossum at 1/12/2006 3:28:01 PM
I am looking for a source for the internal details of the
System.Random pseudo random number generator. Something reasonably
technical please, not how to use it (which I know) but more how does
it work under the hood.
Failing that I have three specific questions:
1 Is the core PRNG using i... more >>
Assembly manifest mismtach & File or Assembly name not found
Posted by guxu NO[at]SPAM hotmail.com at 1/12/2006 3:00:47 PM
I have a VB application referencing some C# dlls. Got new set of C#
dll assemblies, now kept getting errors when I run my VB application.
There were errors like assmbly reference mismatch. Also in debug mode,
it errored at New or CreateObject of the referenced COM object. I have
checked GAC a... more >>
How to destroy an object and all references to it vb.net
Posted by Miguel Ribeiro at 1/12/2006 2:06:38 PM
Hi,
The crux of my problem is that I want to destroy an object without using
the reference (by using a collection etc.) and have the reference
basically show 'nothing'
I have a MDI form with forms that are going to be displayed on it. The
layout is quite complex since I am going to try g... more >>
Microsoft .NET 1.1 Framework installation problem
Posted by chatakondu NO[at]SPAM gmail.com at 1/12/2006 1:39:45 PM
While installing the .NET 1.1 framework I have been getting problem
like this.
"Microsoft .NET Framework Setup failed. If this problem continues,
contact Product Support Services."
I could never fix this. No info in Microsoft Support and there is info
in Google but not working. I had to de... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
how can I get all user who have right to a directory
Posted by dahuzizyd at 1/12/2006 12:38:08 PM
Hi all:
I have a directory . How can I get all user name who have right to this
directory,such as
view , modify?
thanks in advance
Yadong Zhao
... more >>
Newbie - ASP.net - check network file exists
Posted by lh at 1/12/2006 12:32:49 PM
I have some code working - but only if the files I need are on the c: drive.
Dim fs As New FileStream(sFile, FileMode.Open, FileAccess.Read)
I try to check sFile exists like this.
Dim fso As New Scripting.FileSystemObject
If fso.FileExists(sFile) Then
or
If File.Exists(sFile) The... more >>
how to add color the browser scrollbar
Posted by Shun at 1/12/2006 11:46:41 AM
Hello,
How to the add a blue color scrollbar to the browser Left and bottom.
Thanx
Shun
... more >>
Configuration System failed to initialize
Posted by Russ at 1/12/2006 11:27:06 AM
I have a windows service written in C#, and whenever I start it up, I get the
error "Configuration System failed to initialize" when ever I call
ConfigurationManager.AppSettings["path"].
I tried hard coding the values, but I also have a web service I am calling
in this windows service, and ... more >>
Instantiate Shell.Explorer.2 at runtime for a web page
Posted by jmi0 NO[at]SPAM att.net at 1/12/2006 10:55:32 AM
I want to create a custom user control to be used in a web page (by
object tag) as an assembly. The user control needs to have a web
browser control in it. Having tried with the managed
System.Windows.Forms.WebBrowser or AxSHDocVw.AxWebBrowser, none of them
worked from IE invocation unfortuna... more >>
where does Microsoft.Xml.Xquery live?
Posted by Daniel at 1/12/2006 10:46:59 AM
where does Microsoft.Xml.Xquery live?
where does Microsoft.Xml.Xquery live? all i can find is a copy of it in the
sample project:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvsdev05/html/vs05c5.asp
but would like to know where Microsoft.Xml.Xquery should be obtained.
... more >>
Unloading and replacing an assembly
Posted by Jonas Bergman at 1/12/2006 10:46:37 AM
I have an application that dynamically loads an assembly dureing runtime. I
want to send a mesage to the application that a new version of the assembly
is available.
I then want to unload the assembly and replace the existing file with a new
file with the same name, without exiting the appl... more >>
ListBase with unknown generic
Posted by mytchewbacca NO[at]SPAM msn.com at 1/12/2006 10:45:20 AM
I would like to create a base class that inherits List(of X) where X
would be determined by the class inheriting the base.
ie
Public MustInherit Class ListBase : Inherits List(Of ?)
Protected Sub common()
//This code would not be specific to the list type, as that
could be a... more >>
Queer Problem
Posted by Rajiv Das at 1/12/2006 10:29:02 AM
C#, WinXP SP2, VS 2005Beta2
I need to emulate the browser functionality wihin my app. I need to visit a
web page , parse it and post back the results to another page. Everything
works fine, except that when the steps are performed from the browser, the
web server provides an extra set-cooki... more >>
Anyone got an infix to postfix (RPN) math notation converter?
Posted by PIEBALD at 1/12/2006 10:16:06 AM
Anyone got an infix to postfix (RPN) math notation converter?
I've looked around a bit and haven't found anything quite what I want.
I just want a method that will take a string in infix notation and return a
string in Reverse Polish Notation.
... more >>
Financial functions in .Net
Posted by keith at 1/12/2006 9:52:02 AM
Hello,
I am writing a C# application but needs some financial functions like
Present Value function (PV) in the Microsoft.visualbasic assembly. Is there
anyway to access these functions from the Microsoft.VisualBasic assemble or
are there any other .Net assemblies that would provide access... more >>
Maximum number of open file streams
Posted by Pinnguy at 1/12/2006 9:03:02 AM
Hello, I assume that there is some maximum limit to the number of open file
streams (open files) in .NET for an application. What is the limit, can I
obtain this limit programmatically?
Thanks... more >>
Run a .Net Service as a Console App to Debug
Posted by JohnH at 1/12/2006 7:01:04 AM
Does any one now how to create a .net service thet when run from the command
line with say a -D argument will run as a console app and be able to output
to that console window. The same .exe would start as a normal service wihout
the -D argument and require use of the NET START command or othe... more >>
Requesting advice on methods to use
Posted by yashgt NO[at]SPAM gmail.com at 1/12/2006 5:14:49 AM
Hi,
I am writing an application in VB .NET 2005. Is it a good idea to use
VB 6-like functions such as Trim, MsgBox, Val, etc. or should I think
of using members of the System.String class, MessageBox class, etc.?
What are the pros and cons?
Thanks
... more >>
Welsh culture on server 2003
Posted by Bobbus at 1/12/2006 5:06:03 AM
Hi,
I'm trying to change the culture to Welsh by doing the following:
Thread.CurrentThread.CurrentCulture = New CultureInfo("cy-GB")
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture
The above code works okay on Windows XP, but fails to work on Server 2003.
The... more >>
GetProcess().ProcessName call hangs in the Enterprise Library
Posted by Eduard Ralph at 1/12/2006 3:01:38 AM
Hi,
I've been having a very weird problem in connection with using the
Enterprise Library. I'm programming a Windows Service and utilise the
logging and configuration component. During the initial loading of my
own configuration file I log the status because I also do some checks
to assure th... more >>
Cash problem in asp.net
Posted by Danny M at 1/12/2006 1:14:06 AM
I am making a website in asp.net
But I have a problem with a few pages.
When I placed a breakpoint in my code in the Page_Load sub it didnt
stop
But when i made the page the startup page it stopped at the breakpoint.
So i changed the page .. I added some buttons.
And when i run the website I d... more >>
ASP.Net 2.0: It seems simple, but.....
Posted by Jim at 1/12/2006 12:26:01 AM
I saw a simple web page. It had a frameset with 2 frames. The left frame
was a navigtion frame, with links to interesting websites and a place to
place a username (guess some of the websites were kinda personalized). The
right frame contained the website of the link clicked in the navigatio... more >>
|