| |
thread by: Christian |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi, i include an Access Db in the solution of my project; now how can
i connect to DB?
|
thread by: codefragment |
last post Jun 27 '08 by: codefragment
Hi
I want to use reflection to call a method which accepts "params
string" as an argument
I've searched this group and found a better idea than invoke, just
cast to an interface and then call the method
directly, but I would still like to know if this is possible, e.g.
something like the below
ta
|
thread by: Andrus |
last post Jun 27 '08 by: Marc Gravell
I need to create instance of generic type when generic type does not
have parameterless constructor.
I tried code below but got error shown in comment.
How to fix ?
Andrus.
abstract class QueryFactory<TEntity{
public string O1;
|
thread by: Nabil |
last post Jun 27 '08 by: thd
Hi,
This is the first time I've posted something on here.
I've looked around the web for hours and failed miserably. Hopefully
someone out there would be able to help.
I'm trying to save an MApi.Message (which represents an email) object
|
thread by: Nabil |
last post Jun 27 '08 by: thd
Hi,
This is the first time I've posted something on here.
I've looked around the web for hours and failed miserably. Hopefully
someone out there would be able to help.
I'm trying to save an MApi.Message object (which represents an
|
thread by: _dee |
last post Jun 27 '08 by: Jon Skeet [C# MVP]
I'm working on a port of a legacy app originally written in C. Data
was compacted into bit fields. Are there any sites or books that cover
optimized handling of this type of data? I'd need to develop optimized
functions for reading and writing, and given the volume of source, I
don't want to end up with pages of obscure code. (Surprisingly,...
|
thread by: Robert Fuchs |
last post Jun 27 '08 by: Jon Skeet [C# MVP]
Hello,
This example:
public class BaseC
{
public int x;
public void Invoke() {}
}
public class DerivedC : BaseC
|
| |
thread by: Nightcrawler |
last post Jun 27 '08 by: Nightcrawler
I have the following regular expression: (\s+-\s+|\s+\/\s+|\s+\\\s+|
\t)
Is there a better way to write this? I am looking to capture the
following characters - / \ and tab. There can be 0, 1 or more space
before and after these seperators.
Right now it captures these characters if there is a 1 or more spaces
before and after each...
|
thread by: CSharper |
last post Jun 27 '08 by: CSharper
I have written a winform application not I need to run the same app in
colsole mode without user interaction. Is there an easy way to do
this? I have all the information available as input in the seperate
file so....
|
thread by: sweetiecakes |
last post Jun 27 '08 by: =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
I have an dataset that populates a selectionbox. I'd like to get the
value of the column "id" of the selected item in the selectionbox
afterwards. How would I do this?
|
thread by: Nightcrawler |
last post Jun 27 '08 by: Nightcrawler
I have this regular expression:
(?:(?<Value1>)??(?<Value2>(?:\(+\)|\]+\]|\".+\"))|(?
<Value1>.+))
It will capture these patterns fine
Value1
Value1
Value1 (Value2)
|
thread by: =?Utf-8?B?Z3JlYXRiYXJyaWVyODY=?= |
last post Jun 27 '08 by: =?Utf-8?B?Z3JlYXRiYXJyaWVyODY=?=
Hi,
|
thread by: Peter Duniho |
last post Jun 27 '08 by: Peter Duniho
On Wed, 23 Apr 2008 09:40:14 -0700, Al Meadows <fineware@fineware.com>
wrote:
This doesn't really seem to be a .NET or C# question. However, you may
want to look at the driver settings (printer properties). Usually when
what you're describing happens, it's because the printer driver is
substituting fonts that aren't built into the...
|
thread by: fcs |
last post Jun 27 '08 by: fcs
Hi,
I have an asp application (C#) including a bunch of
RegularExpressionValidators and RequiredFieldValidators.
Everything is fine when run locally or in Intranet.
When it is Internet, RequiredFieldValidators are ok but
RegularExpressionValidators are not. they cause the error message to show
up, but do not stop the action (let say save a...
|
thread by: parez |
last post Jun 27 '08 by: parez
Hi,
I am trying to serialize List<List<string>.
With the following code
public List<List<string>DataRows { get; set; }
|
| |
thread by: Looch |
last post Jun 27 '08 by: Mike Urquiola
All,
I'm only getting half of an SQL XML result when I view the result in
my application. When I serialize the result to an xml file and view it
with notepad the first line begins in the middle of an element name
that is somewhere in the middle of the result set.
What might cause this?
I'm using 'for xml auto, elements, root ('root')'...
|
thread by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= |
last post Jun 27 '08 by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?=
Hello,
This is for a WPF (3.5) application.
We have a requirement to produce sounds on an internal speaker (in the case
that no external sound device is available).
I know of Console.Beep(frequency, duration), but I wondered if there is a
better, more controllable way. Basically, the user will be toggling a
(hardware) switch on and...
|
thread by: joey.powell |
last post Jun 27 '08 by: joey.powell
Hello guys,
I am creating a LINQ (to DataSet) query where I need to do something
like...
DataTable _TableNumberX = dtsMyDataSet.Tables;//this line OK
IEnumerable<DataRowrsResultSet =
from TableNumber in _TableNumberX.AsEnumerable()
select TableNumber;
|
thread by: aagarwal8 |
last post Jun 27 '08 by: aagarwal8
Hi,
I have a application where i am using a font which is usually not
available in windows\fonts. I need to install this font on the clients
machine where my application is running.
I have put the font in my installer so that it gets installed in the
fonts directory on installation. But the use can always go an delete
it. I need a way by...
|
thread by: muriwai |
last post Jun 27 '08 by: Wen Yuan Wang [MSFT]
Hi,
I have a C# assembly project under Visual Stuio 2008 Pro on Windows Server
2008. I converted the project from VS 2005.
The project references COM->Microsoft CDO for Windows 2000 Library 1.0,
which adds two entries under References called CDO and ADODB. When I compile
the solution, I get the following:
Error 1 Assembly 'Interop.CDO,...
|
thread by: bob |
last post Jun 27 '08 by: bob
Hi,
VS2008
Trying to implement a simplified version of Mike Gold's tutorial on
Drag Drop.
My problem is that the dragover event handler never appears to pass
over a node.
I move the 'envelope' all over the tree view but FindTreeNode always
returns null.
The event handler e member appears to contain legiitimate X,Y
co-ordinates but...
|
thread by: Matthias S. |
last post Jun 27 '08 by: Matthias S.
Hi there,
I have added a database model to my application and dragged a couple of
tables on it. Then I wrote a couple of selects using LINQ to SQL and
everything works fine.
But I can't fingure out how to add new items. For example, I have a
table named ServiceLog. I thought I could just go like:
MyDataContext db = new MyDataContext();
|
thread by: =?Utf-8?B?Y2FzaGRlc2ttYWM=?= |
last post Jun 27 '08 by: =?Utf-8?B?Y2FzaGRlc2ttYWM=?=
Hi,
I have built an application containing a few projects (nothing that I have
written)and there are a few compiler warnings (obsolete methods and the like).
Does anyone know if these obsolete methods cause any performance issues if
not corrected? I would imagine that they do, but would be interested to know
to what extent.
|
| |
thread by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= |
last post Jun 27 '08 by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?=
Hi,
with the following code I write some data into the registry.
How can I suppress the output (question if the reg-file content should be
added to registry)?
ProcessStartInfo info = new ProcessStartInfo();
info.LoadUserProfile = true;
info.FileName = "CreateRegistryData.reg";
Process.Start(info);
|
thread by: John Q |
last post Jun 27 '08 by: Marc Gravell
Hello,
Does anyone know any working Multiselect Dropdownlist that uses Checkboxes?
Environment is ASP.NET and language C#.
I would be very appreciated if someone would give some links to working
solution.
Cheers,
|