all groups > dotnet general > november 2004 > threads for monday november 22
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
Read Locked Files
Posted by Leon at 11/22/2004 11:41:06 PM
I'm trying to read a locked log file with C# but i get an IOExeption telling
me that the file is in use by another process.
Is there a way to read the file?
the file is only 200k so if i cannot read it, is it possible to copy it to a
temp file and then read it?
please show me some examp... more >>
number formating
Posted by Tom at 11/22/2004 10:54:17 PM
Hi guys
just wondering how do I format a number from 1 to 0001 ?
eg.
1 to 0001
12 to 0012
532 to 0532
Thanks
Tom
... more >>
View State
Posted by Sundar at 11/22/2004 9:49:03 PM
Hi
Im having one doubt in Viewstate. Actually Viewstate is used to maintain the
state of the controls for postback of the page. If I Set the Page level
EnableViewState=False and the Viewstate for the control (say Textbox) as
False. Now Im posting form for process then again im getting the val... more >>
MSDN home page in IDE?????
Posted by walker_712 NO[at]SPAM hotmail.com at 11/22/2004 9:42:45 PM
Every now and then while I'm working in the dotnet IDE coding away,
the MSDN home page and launched with the browser a tabbed windows
within the IDE. How do I tell it to stop launching this as I'm not
interested in reading their stupid web site???? I've gone through the
settings but cannot see a... more >>
regex puzzle!
Posted by galenstewart NO[at]SPAM yahoo.com at 11/22/2004 8:44:05 PM
The objective is to extract the first n characters of text from an
HTML block. I wish to preserve all HTML (links, formatting etc.), and
at the same time, extend the size of the block to ensure that all
closing tags are recovered.
For example, simply extracting the first 400 characters of a HT... more >>
building a URL dynamically and URLEncode?
Posted by DC Gringo at 11/22/2004 8:09:00 PM
I am having trouble building a URL the serves up an image
dynamically...something involving the & separating my URL parameters. If I
put the same URL in with & instead of the code-generated &, everything
is fine. I've tried URLEncode and URLDecode in both directions and no dice.
hELP!
'... more >>
Looking for a suitable news group
Posted by S Shulman at 11/22/2004 7:02:19 PM
I need some info about using GDI+ in VB.NET
Any suggetstions
Thank you,
Shmuel
... more >>
How to set .resx file as embedded resource via compiler command?
Posted by Cindy Liu at 11/22/2004 3:37:01 PM
Hi,
I have a VS.Net project that has a resource file set as embedded resource.
To compile the project via VS, I have no problem. But our build system uses
compiler command, not VS.Net. How to set a resource file as embedded resource
in the command line?
Thanks in advance!!!
Cindy... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Launching An Application from C# Using a URL
Posted by Drew Lettington at 11/22/2004 3:09:02 PM
I want to launch an installation (setup.exe) from a Web Server using via a
URL. I currently accomplish this by passing the URL to IE:
System.Diagnostics.Process ieProcess = new System.Diagnostics.Process();
ieProcess.StartInfo.FileName = "iexplore.exe";
ieProcess.StartInfo.Arguments = "http:... more >>
Calling a Microsoft Access Module using ASP.NET
Posted by Matt Howard at 11/22/2004 2:50:26 PM
I was wondering if anyone had any code samples on how to call functions
within a Microsoft Access module using ASP.NET. I found a posting on how
to do it with C#, but does anyone know how to do it using VB and
ASP.NET?
Thanks
*** Sent via Developersdex http://www.developersdex.com ***
... more >>
Event logging Qs
Posted by Bill Belliveau at 11/22/2004 1:27:04 PM
Couple of questions about event logging.
1. Aside from the fields such as user, computer, etc – what are the size
limits of the description and data fields (if any). I couldn’t find this
anywhere.
2. Is there a way to create an event log that behaves like the security
event log? Su... more >>
Chat (client/server) controls??
Posted by M O J O at 11/22/2004 11:37:07 AM
Hi,
I'm developping a chat/client/server program, but I can't figure out how to
do this. I've tried severeal chat examples, but no good and fully working
examples.
I've spend too much time now trying to figure it out, therefor I'm looking
for buying components that can do this:
* A cl... more >>
Cookies: Multiple Domain Names/Same server
Posted by Phil Lamey at 11/22/2004 11:09:01 AM
Hi All,
What do you do when your external DNS lists varying DNS names for the same
server. I know you can specify a domain for the cookie but how can you
request the cookie or a specific domain?
IE: Let say in then DNS www.x.mydomain.com and www.y.mydomain.com point to
the same server.... more >>
Problem in developing newsreader in vb.net
Posted by balu at 11/22/2004 11:08:47 AM
Hello,
I am developing a Newsreader in vb.net and i am getting a problem in posting
article to newserver for a particular set of newsgroups. i developin g this
newsreader using nntp commands.I need vb.net code for posting a article . I
getting a problem in defining a article format.
Kindly ... more >>
Question with despair - will buy movie tickets for the first one who helps
Posted by Oliver at 11/22/2004 10:46:41 AM
Hi,
I have spent my entire weekend trying to solve this, now I have to admit I
need your help.
Here is my code:
Dim cred() As DataSourceCredentials
Dim cc As New DataSourceCredentials
cred(0) = cc
cred(0).DataSourceName = "198.87.87.6"
cred(0).Password = "XXX"
cred(0).UserName = "YYY"
... more >>
Again! Help! I can't connect to Active Directory!
Posted by koloskova NO[at]SPAM hotmail.com at 11/22/2004 10:11:16 AM
Hi,
I'm referring to the question of Amadelle (13 october 2004), please
see
http://groups.google.com/groups?q=Directorysearcher+async&hl=en&lr=&c2coff=1&selm=10mrg65nb7gnb89%40corp.supernews.com&rnum=1
kindly answered by Jared, specifically to the words
-------------------------------------... more >>
Should it be a Windows Service?
Posted by Jake at 11/22/2004 10:07:01 AM
I have to run a scheduled task once a year. Should I build a Windows
Service to do this? So basically the service would always be running and a
timer would poll every minute to determine to execute the task?
I'm looking for the best practices approach.
My application is a distributed C... more >>
VB2C#
Posted by Claudio at 11/22/2004 9:46:16 AM
Does anyone know if there is any application the converts VB.NET to C#.NET?
... more >>
Dependent Dropdown Lists in C#
Posted by Tony Grider at 11/22/2004 9:07:07 AM
I am trying to find a way to create dependent dropdown lists in C# The old
way I knew involved javascript and will no longer work in the new design. I
need for each list to be database driven (data is pulled from database)
Example:
First Box would have Years 2004, 2003, 2002, 2001, etc.
Sec... more >>
DataGrid - Ensure Row Visible
Posted by Ben Reese at 11/22/2004 5:22:27 AM
I might be blind, but I cannot find a way to ensure that a particular row in
my data grid is visible i.e the grid is scrolled so that the row at the
current position of the currency manager is contained within the client
rectangle.
In fact just having the scrollbars default to being scrolle... more >>
Custom Trace Listener & .exe.config
Posted by Geopsaros at 11/22/2004 3:59:02 AM
Hi!
I have created a custom trace Listener class, called "DBTraceListener"
it works fine when i add it manually in code :
(eg. Trace.listeners.add(new DBTraceListener("myDBListener",
TraceLevel.Verbose, getDBConnection) )
What I'm trying to achieve now is to add this listener via the... more >>
MS Access database remains open in ASP.NET?
Posted by WQ at 11/22/2004 2:20:30 AM
Folks,
I am sure this is a simple one for you gurus. I am rather new to ASP.Net.
I have setup a connection string to an MS Access database using web.cfg.
Somehow, some component of ASP.Net keeps the database opened (I can see the
..ldb file) even when the user has physically logged off (sessi... more >>
vb.net
Posted by George Bassili at 11/22/2004 2:02:25 AM
Hi everyone,
I'm new to VB.NEt so excuse my simplistic questions:
1) i want to do a settings screen with the tree view control on the left
with nodes like "DB connections" "COlor" "Other Settings"
and make it change the form to its right based on the selection made
from the tree.
I hav... more >>
No more cheap VS2002-2003 upgrades?
Posted by Bob Rosen at 11/22/2004 1:50:33 AM
I have been out of the Visual Studio loop for a while. I have the 2002
version of VS Professional and came across a couple of web pages talking
about a $29 developer upgrade to the 2003 version, all of which pointed to
http://msdn.microsoft.com/howtobuy/ for details. When I went to that page,
... more >>
|