all groups > dotnet general > february 2004 > threads for friday february 20
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
Regular expression to remove all html tags except for p and br
Posted by James Geurts at 2/20/2004 11:01:06 PM
Hi all
Can someone help me out with a regex to remove all html tags except for <p>,</p>,<br>,<br/> from a string
Thank
Jim... more >>
Date Time Problem
Posted by Paul Beckett at 2/20/2004 8:39:29 PM
My dates are stored in the format MM/dd/yyyy hh:mm:ss
However I want to work with dd/MM/yyyy only (note the reversal of month and
day).
I have been able to display the correct formatin a datagrid by using <%#
DataBinder.Eval(Container.DataItem, "Date", "{0:dd MMM yyyy}") %>
I have been ab... more >>
ADODB.Connection
Posted by Bob at 2/20/2004 7:41:06 PM
Am using VB.net 2003 on a W2K Pro development and target platform
Dim cn as ADODB.Connection = new ADODB.Connectio
Works fine in the IDE and with my test app, but immediately throws an exception on the target box
Both boxes have the .NET Platform installed. Both boxes have MDAC 2.7.1 installed... more >>
web parts for sharepoint services and portal
Posted by dave at 2/20/2004 7:41:05 PM
if i created a web part in vs.net like http://www.devx.com/dotnet/Article/17518/0/page/2 is it possible to use the web part in both the sharepoint services environment and the sharepoint portal environment without modification
new to these products and not sure where to look for resource
th
dave... more >>
Question on 10-key pad nuances and how to trap them?
Posted by OC at 2/20/2004 6:42:06 PM
Does anyone know if the 10-key pad on most keyboards is OEM specific? If so,
is there a way to generalize it?
For example, I have an application that treats the "/", "*", and "-" keys on
the ten-key as though the user had keyed F3, F6, or F9. It;s a high-speed,
high-volume, numeric-centric app... more >>
DataGrid problem
Posted by Katie at 2/20/2004 4:36:06 PM
Hi
If I add a row to a dataset which is bound to a datagrid, how can I change the backgrond color and text font etc of everything in that row of the datagrid
DataRow BlankRow = ds.Tables[0].NewRow( )
BlankRow[ "Commission" ] = String.Format("{0:c}", totalCommission.ToString())
DataView source ... more >>
Combobox empty
Posted by Massy at 2/20/2004 2:41:09 PM
Hi
I am using a datareader to retrieve values from my database and fill a combobox. Can anyone tell me how i would display a message in the combobox if no results are returned. At the moment i just get a blank combobox which may be confusing to the user
Many th
... more >>
Error writing to the Applicaton Log on a Windows 2003 server
Posted by Paul P at 2/20/2004 12:11:06 PM
I am having a problem writing errors to the application log on a Windows 2003 server running IIS 6
The error message is "InvalidOperationException: Cannot open log for source {0}."
I have created a Key called "TEST" under the Application in the Registry based on the
microsoft article 329291 and ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Autosize DataGrid columns
Posted by Jinx at 2/20/2004 11:53:34 AM
After filling data from a SQL server into a DataTable in a DataSet, I set a
DataGrid.DataSource to point to the DataTable. The grid displays the data
but all the columns are the same size. How do I get the colums to adjust
their width automatically so that the user does not have to double-click... more >>
ccsclass property for text label on web form within VS.NET 2003
Posted by FrodoBaggins at 2/20/2004 11:08:26 AM
Dear Team,
I am trying to use stylesheets on a web form.
Initially, I created a folder named 'styles' within the WebUI project.
In this I created the following stylesheet named 'drivingschool.css':
body
{
font-size: 12px;
font-family: verdana, arial;
colour: #000000;
}
... more >>
Compressed File Size
Posted by Ron Clarke at 2/20/2004 10:47:02 AM
Does anyone know how to get the compressed size of a file on disk?
FileInfo.Length gives the uncompressed size of a file, but I need to find
the amount of disk space taken up by files in compressed directories
(Windows XP). Getting the "compressed" attribute is available, but how does
one get th... more >>
inherit from data types?
Posted by Gabe Moothart at 2/20/2004 10:43:50 AM
I would like to create slightly modified 'custom' data types. For
instance, a 'Degree' type, which behaves exactly like a double, except
that it has an extra property 'ToRadians'. Or, a 'phone' data type which
behaves exactly like a string, except that it has an extra property,
'FormatPhon... more >>
Source Safe
Posted by Nancy at 2/20/2004 8:13:00 AM
Could you please guide me on what do I need to do if more
than one application developer is involved in building
the a same windows forms application?... more >>
IMAP
Posted by C at 2/20/2004 3:06:05 AM
Hi
We are currently using an IMAP server setup on Unix
Does anyone know if there is a Windows vesion pf IMAP? Links
Is the version of IMAP for Widnows a different API. I just want to be sure that my code will still work and that the API is not different
Thanks
C.... more >>
Updating character count as user types each character
Posted by refer_to_website NO[at]SPAM nospam.com at 2/20/2004 1:54:34 AM
My VB.NET web application has a textbox where the user is allowed to
enter up to 50 characters. I have a label on the form next to the
textbox that tells the user how many remaining characters he can
enter. This label needs to be refreshed on the fly each time the user
types a character into t... more >>
how to start service after installation is complete
Posted by Kaushik at 2/20/2004 1:46:06 AM
I am installing MSDE 2000 redistributable as a part of my setup program using Visual Studio Setup & Deployment Project. But I need to start the mssqlserver service manually by going into the control panel, which needs manual intervention. I want to know if this task can be automated. I want the setu... more >>
Server Explorer Phenomena
Posted by wzfisher NO[at]SPAM hotmail.com at 2/20/2004 1:00:11 AM
Here's the skinny:
XP Pro w/ Visual Studio.2002
Just installed SQL Server 2000 Developer which starts up fine.
The issue: In VS.2002, any instances of SQL under "SQL Servers" will
not expand at all. Furthermore, prior installations of the MSDE 2000
will not either. In essence, my Server Exp... more >>
Multiple Instances of a Service on 1 box
Posted by Mark Duregon at 2/20/2004 12:01:10 AM
Hi,
I am trying to create a Windows Service in C# that will install on a single box to support multiple environments. I have created the service and it works perfect. Now however, the client has decided to run multiple environments of the application (a web app) on the one box (i.e. production,... more >>
|