| |
thread by: Andy B |
last post Jun 27 '08 by: Andy
I was just wondering, when you create dataContext methods, should you put
business logic there to try and minimize pushing data through 2-3 layers of
code? or should the business logic still go in another class somewhere
making it access the dataContext methods?
|
thread by: dariosalvi78 |
last post Jun 27 '08 by: dariosalvi78
Hi,
I am trying to use MyGeneration with a SQLCe database in the Compact
Framework 2 environment.
My first problem now is that MyGeneration (its latest version) has no
template for the SqlCe as far as I know.
The SQL Server template seems easily adaptable to the sqlce, but
before starting generating a new template I would like to ask you...
|
thread by: ACS |
last post Jun 27 '08 by: ACS
I have a C# application where I've grabbed a control's cursor handle
using the WINAPI function GetCursor(). This returned an IntPtr and I
want to check what type of cursor this is (arrow, sizing, hourglass,
etc.)
I've tried the following:
- Comparing the IntPtr to C#'s predefined cursor types (i.e.
Cursors.Arrow.CopyHandle())
- Comparing...
|
thread by: Joerg Battermann |
last post Jun 27 '08 by: Joerg Battermann
It worked!
thank you :)
|
thread by: =?Utf-8?B?R2FkeUM=?= |
last post Jun 27 '08 by: =?Utf-8?B?R2FkeUM=?=
HI
I populate one col. in a dataiewgrid with a combocell as
DataGridViewComboBoxCell. (create on the fly and assign it to cell)
I need to avid arrow user's up/down on that cells.
All the grid events ignore edit state of combocell.
Any idea?
Thanks in advance.
|
thread by: =?Utf-8?B?Q2xhdWRl?= |
last post Jun 27 '08 by: =?Utf-8?B?Q2xhdWRl?=
I made an application in C# .Net Compact Framework 2.0 for a Windows CE 5.0
device (Symbol MC9090 RIF scanner). To install my homemade application on the
device, I used « Deploy solution » menu button from the Visual Studio 2005
IDE. In the project options, I set the destination device to « Windows CE
Device » and the folder of...
|
thread by: =?Utf-8?B?a3VtYXI=?= |
last post Jun 27 '08 by: =?Utf-8?B?a3VtYXI=?=
I have used vb_dll.dll. It is refering to particular dll
public static extern int lp_hostid(int HostType,
StringBuilder hostidstr);
It refers particular dll but when we try to access lp_hostid() function with
proper parameter in webservices like
|
| |
thread by: JB |
last post Jun 27 '08 by: JB
On 8 Apr, 10:03, "DSK Chakravarthy" <dskch...@msn.comwrote:
Thanks for the reply.
So the first part is looking easy enough. As for the next part:
Well I have a winform which has a few text boxes and 1 image.
The text boxes, well i suppose they are pretty standard. The font and
size will always be the same if that would be an issue.
The...
|
thread by: csharpula csharp |
last post Jun 27 '08 by: Bjorn Brox
Hello,
I am looking for a way to convert list<stringto string (one string
conainig all list members).
How can I do it in an elegant way ? (I mean without foreach and
appendind strings)
Thank u!
*** Sent via Developersdex http://www.developersdex.com ***
|
thread by: P Chase |
last post Jun 27 '08 by: P Chase
I need to create a few XAML FlowDocuments. Although I have done some
very simple ones by hand-editing of XML, I can't help but think there
must be a graphical-editor way of doing it.
I believe Visual Studio 2005, which I am using for my project, cannot
do it. But various Web sites suggest that Visual Studio 2008 does have
a graphical editor...
|
thread by: =?Utf-8?B?Q2hyaXM=?= |
last post Jun 27 '08 by: =?Utf-8?B?Q2hyaXM=?=
I have my own win app developed in VS C# 2005.
This app uses a dll file (I import methods from the library by dllimport
attribute).
The dll file is provided by another program (let's call it program AA) that
is installed on my computer.When I put my app into the folder where program
AA is installed my app works ok (in this case only!). When I...
|
thread by: Dom |
last post Jun 27 '08 by: Claes Bergefall
How do I find the height of a window's banner, that is, the portion
that contains the window's title?
Dom
|
thread by: csharpula csharp |
last post Jun 27 '08 by: Paul E Collins
Hello,
I would like to use regex for the following matter:
I have a string and I want to find given substring inside which can be
Caps Lock or not and I need to check the both cases.
How can I do it?
Thank u!
|
thread by: Praveen |
last post Jun 27 '08 by: Bjorn Brox
got a string a="2.3944864845405107E+18"
how to convert this into a valid number. which method to use..
I was using Convert.ToInt64(a); which is going to exception.
thanks
Praveen
|
thread by: Robert Bravery |
last post Jun 27 '08 by: Claire
HI all,
I want to write a windows service. I also want to have a form for setting
properties for the service. Can some one help me out, get me started or
point me in the right direction
Thanks
Robert
|
| |
thread by: =?Utf-8?B?QXlrdXQgRXJnaW4=?= |
last post Jun 27 '08 by: =?Utf-8?B?QXlrdXQgRXJnaW4=?=
Hi Willy,
Thank you very much for your work.
C++ code doesnot make any serialization.
So at runtime C# code gives an serialization error at
"msg_file_s sa = (msg_file_s) bf.Deserialize(ms);"
I thought that it is very hard to memory map structure array.
I need both read and write memory mapped file at both side of C# and C++.
|
thread by: Jason Huang |
last post Jun 27 '08 by: Jason Huang
Hi,
In my C# 1.1 windows form Form1, I would like to open an existing Excel file
EX1.xls and run the Macro M1 in the EX1.xls.
I can open the EX1.xls with no problem, but I encounterd some problems.
It can't find the Macro M1 in the
...
|
thread by: Brian |
last post Jun 27 '08 by: Brian
What's the best way to debug code that is being run during garbage
collection?
We are getting AccessViolationExceptions that seem to be happening
during garbage collection. But when it hits the debugger, it is at whatever
line of code the main thread was at when the garbage collector decided to
run. In other words, the debugger is in...
|
thread by: =?Utf-8?B?Tmlrb2xheSBQb2Rrb2x6aW4=?= |
last post Jun 27 '08 by: =?UTF-8?B?QXJuZSBWYWpow7hq?=
Good afternoon, community!
How you help me? I need to know, how could I verify e-mail address? I don't
mean ( for example: test@test.com it is valid or not) I wanna know is that
real world E-mail or not?
|
thread by: =?Utf-8?B?VGFtbXkgTmVqYWRpYW4=?= |
last post Jun 27 '08 by: =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=
Hi, can someone please let me know how I can read xml elements using object
oriented program. I created a class to use the get and set properties however
I dont know how I can pass the values from xml file to the class and use the
values in my form.
Thanks
--
Nejadian
|
thread by: sherifffruitfly |
last post Jun 27 '08 by: sherifffruitfly
Hi all,
Using Expresso, I've come up with this to parse chat lines:
(?<chatdate>\d{4}\.\d{2}\.\d{2})\s(?<chattime>\d{2}:\d{2}:\d{2})\s]\s(?
<speaker>\b\w*\b(\s\b\w*\b)*)\s>(?<message>.*)
As far as I can see, it suffers only from the defect of including the
CR at the end of each chat line in the capture. I've tried for
the message...
|
thread by: Thom Little |
last post Jun 27 '08 by: Marc Gravell
I am using C # .NET Framework 3.5.
I have a calling form that invokes dialog box (called form). I want a
button in the called form to change the value of a property in a control in
the calling form.
Clearly I could set a return code in the called form and have it acted on
when control is returned to the calling form.
Is there a...
|
thread by: =?Utf-8?B?bWFyaw==?= |
last post Jun 27 '08 by: =?Utf-8?B?bWFyaw==?=
I asked this question in another newsgroup but I didn't get a complete answer.
I have a web page served by an IP Camera. The web page has a java control
that shows the image. I want to work with that image locally (do some
recognition stuff).
I know a representation of that image is on my computer because it shows up
in a web browser...
|
| |
thread by: Steffen Bobek |
last post Jun 27 '08 by: Anders Borum
Extension methods are made for use with instances. I'd like to "misuse" them
as static methods, too. Let me tell you my ambition:
I use an extension method to serialize objects somehow like this:
MyObject obj = new MyObject();
obj.ToXmlFile("some directory\\some file.xml");
The method "ToXmlFile" is defined elsewhere far apart from...
|
thread by: Kim Briggs |
last post Jun 27 '08 by: Kim Briggs
I am developing an BHO/Explorer Bar using Addin Express for Internet
Explorer (a framework to get MSHTML/COM Interop newbies like myself off the
ground). Target browser is IE7.
Occasionally, I get this message (not reliably reproducible but seems to
happen with >1 tabs open -- so >1 BHO instances -- and around tab open/close
events):
...
|