| |
thread by: AMP |
last post Jun 27 '08 by: Gilles Kohl [MVP]
Hello,
I am coming back to a project and I dont remember what the following
Regex says
I do know it removes all \r\n from the string, but I dont see how.
Can someone explain this one?
Regex re = new Regex(@"(+)",
RegexOptions.Compiled);
string op = re.Replace(FileToParse, "");
|
thread by: DotNetNewbie |
last post Jun 27 '08 by: DotNetNewbie
Hello,
I have a regex and I want to modify the value of a named capture
before doing the regex.Replace.
So something like:
string text = Regex.Replace(oldText, myRegex, @"<a href="$1">$1</a>",
regexOptions);
|
thread by: DotNetNewbie |
last post Jun 27 '08 by: DotNetNewbie
Hello,
I have a regex and I want to modify the value of a named capture
before doing the regex.Replace.
So something like:
string text = Regex.Replace(oldText, myRegex, @"<a href="$1">$1</a>",
regexOptions);
|
thread by: Tony |
last post Jun 27 '08 by: sloan
Hello!
I'm going to buy a book about .NET remoting. Is it any major difference
between .NET Framework 1.1 and 2.0 ?
//Tony
|
thread by: Frank Rizzo |
last post Jun 27 '08 by: Frank Rizzo
I have a seemingly inexplicable issue with an interaction of a WinForm
3rd party control and my business objects (that are bound to it via
BindingSource technique).
For whatever reason, the GUI does not respond to the 1st mouse click,
but responds find to the subsequent. I've tried to locate the code path
that prevents the GUI action by...
|
thread by: parez |
last post Jun 27 '08 by: parez
Hi,
I have a setup and deployment project. I am using vs 2008.
During the setup process, I want to give full security access to run
a network exe.
How do i do it? I can create a batch file.. but how do i run a batch
file during installtion?
Is there way without writing a custom action? if not then is there a
|
thread by: ketty_ng81 |
last post Jun 27 '08 by: =?Utf-8?B?Y2FydG1hbg==?=
No matter how many dial up networking entries I have, the
RASWrapper.RasEnumEntries(null , null , entryNames, ref cb, out
entries); always returns the right number of elelments in entryNames
but only the first element has the connection name in it. Any idea why
this is? Thank you for your help.
Some code for your reference. let me know if...
|
| |
thread by: AMP |
last post Jun 27 '08 by: Alberto Poblacion
Hello,
I want to convert a string Array permanantly to a int Array.
Everywhere in my code I have to use Convert.ToInt32 to use the data. I
just want to change it once.
Thanks
Mike
|
thread by: =?Utf-8?B?S0NCVERldg==?= |
last post Jun 27 '08 by: =?Utf-8?B?S0NCVERldg==?=
I and another developer have created an app that uses a datagridview to
display market information. The datagridview is fed with messages from
another app on a server that feeds the messages through msmq to the display
app.
The problem is that when writing to the rows values from row x column 2 get
stuck in row x column 1. The correct...
|
thread by: Piotrekk |
last post Jun 27 '08 by: Alain Boss
Hi
In my solution I have two projects.
First is Library project.
The second project uses this library ( dll ).
I am registering this assembly in global assembly cache ( by .net
configuration tool ).
Key pair is generated for the assembly using VS2005 ( I also use VS to
sign my assembly using this keypair ) Everything works fine.
I am...
|
thread by: =?Utf-8?B?dmlzdWFsX2RldmVs?= |
last post Jun 27 '08 by: John Vottero
Hello,
I have a software that I sign with a trusted certificate of Verisign (both
the assemblies and the MSI packages) following the Microsoft recomendations.
In most of the cases I can install this software with no problems, but there
are a certain number of places where the software installation fails. The
symptoms are that the service...
|
thread by: |
last post Jun 27 '08 by: Alcides
I want to write some custom error messages to a log so that I can read them
on the next run of the application and as the user to send them to me.
Where the right place to store this log file? Which directory path is the
right one - so that it's always writable regardless of the user's
permissions. I guess it's more of an application-level...
|
thread by: BD |
last post Jun 27 '08 by: BD
How can I replicate the 'ctrl-c' function in my application. If I
remove the shortcut from the menu, it works. But I don't want to
remove it from the menu system. If it is there, the key combination
'ctrl+shift+c' works.
|
thread by: BD |
last post Jun 27 '08 by: BD
How can I replicate the 'ctrl-c' function in my application. If I
remove the shortcut from the menu, it works. But I don't want to
remove it from the menu system. If it is there, the key combination
'ctrl+shift+c' works.
|
thread by: Arto Viitanen |
last post Jun 27 '08 by: Arto Viitanen
I am using WriteXML/ReadXml pair to save DataSet for later use. DataSet
is built by reading textfiles and storing their data to different
DataTables. Each file contains several complex values, that are
represented using a DataValue object. DataValue is an abstract class,
that has subclasses that implement the value (for example; ValBlkValue...
|
| |
thread by: =?Utf-8?B?d29taW4=?= |
last post Jun 27 '08 by: =?Utf-8?B?d29taW4=?=
Hello,
I have a software that I sign with a trusted certificate from Verisign (both
the assemblies and the MSI packages) following Microsoft recomendations.
In most of the cases I install the software with no problems, but in a
certain number of places, the sofware installation fails. The symptoms are
that the service I use in my software...
|
thread by: Andy B |
last post Jun 27 '08 by: Marc Scheuner
Just wondering why linq is more useful than datasets? The stuff I do doesn't
seem to be too complicated to use linq with it. If I did use linq with it
now, I would be doing almost the exact same programming, just with a
different data getting process...
|
thread by: Bill Fuller |
last post Jun 27 '08 by: Bill Fuller
I am trying to determine the type for ActiveControls using 3rd party
controls (Infragistics in this case) during runtime and getting a rather odd
return type at runtime for the UltraWinEditor.
Code shippet is as follows:
if ( ActiveControl.GetType() == typeof(UltraTextEditor))
{
UltraTextEditor tb = (UltraTextEditor) this.ActiveControl;...
|
thread by: Andy B |
last post Jun 27 '08 by: Andy B
How would you make an ajax update pannel show the key/value pair values
inside a dictionary class? I need them in an html definition list if
possible.
|
thread by: edcha |
last post Jun 27 '08 by: edcha
I am trying to use the following Aggregate Calculation.
string time = trabajadoresTable.Compute ( "Sum(DateTime)" ,
"") .ToString();
I need to sum the hours in a column with type DateTime.
If they be numbers this work good
"trabajadoresTable.Compute("Sum(pago)", "")"
But with the type DateTime's in a column make me the following error
|
thread by: edcha |
last post Jun 27 '08 by: edcha
I am new in .Net and I am learning in C # and I need help me with the
following,
Certainly I thank your help.
When one connects to a motor of data base like SQL Server
And only one wants to extract a certain columns use the following.
SELECT productid, nomprod, price FROM product WHERE productid = 1
The above extracts of the table...
|
thread by: Jon Harrop |
last post Jun 27 '08 by: Jon Harrop
A JVM developer called John Rose from Sun Microsystems recently claimed on a
mailing list that Sun's JVM offers C-like performance whereas .NET only
offers performance comparable to old JVM implementations:
http://groups.google.com/group/jvm-languages/msg/e8ee4b7f74c93ded
I thought I'd test this by running the Java and C# implementations...
|
thread by: Thom Little |
last post Jun 27 '08 by: Thom Little
Can I create the black frame on a Windows Form like those used in Office
2007 in C# .NET Framework 3.5?
If so, where do I look?
.... Thom
___________________________________________________
Thom Little - www.tlanet.net - Thom Little Associates, Ltd.
|
| |
thread by: daveL |
last post Jun 27 '08 by: daveL
Im Trying to Add a Font to PrivateFontCollection
it keeps crashing on File Not Found Exception
ive Tried full path and without full path
File.Exists returns true.... I dont understand this
sample below
|
thread by: Qu |
last post Jun 27 '08 by: Tigger
Hi everyone.
I'm trying to make an application in which people can type in their
own selection filter for an external application. For this, I need to
be able to compare a string to a value in much the same way a search
box does: "*" for a wildcard, AND and OR as their respective
comparisons, greater thanand less than<, etc...
Here's an...
|