| |
thread by: asharda |
last post Jun 27 '08 by: asharda
Hi,
I am trying to create a context menu in my application. The context
menu takes menu otems from an XML file. In XAML the code is
<Grid.ContextMenu>
<ContextMenu Name="cm" StaysOpen="true" Width="Auto"
Height="Auto" ItemsSource="{Binding Mode=OneWay,
Source={StaticResource ListItemsDS}, XPath=/ListboxItems/ListboxItem/
ScreenName}"...
|
thread by: =?Utf-8?B?YW1pcg==?= |
last post Jun 27 '08 by: Cowboy \(Gregory A. Beamer\)
do i have to remove the pair and then reinsert it or can i just update the
value of the dictionary
|
thread by: Ned White |
last post Jun 27 '08 by: George Ter-Saakov
Hi All,
I would like to create a httphandler to set text watermark on image files
before it gets displayed to the user.
But this handler must listen specific folder or virtual directory(on same
IIS) not all the image files in the web application, for example it should
work for only "/Images/Products" folder and all its subfolders. Or...
|
thread by: =?Utf-8?B?VmFuZXNzYQ==?= |
last post Jun 27 '08 by: =?Utf-8?B?VmFuZXNzYQ==?=
Hi all!
I am having the following error on dataGridView_CellValidating() event:
"Operation did not succeed because the program cannot commit or quit a cell
value change".
This exception happens when I set "e.Cancel = true;". If I did not cancel
the validation, there is no error, and it updates my list correctly.
|
thread by: DotNetNewbie |
last post Jun 27 '08 by: qglyirnyfgfo
Hi,
I need a datatype (or enum?) that can hold the possible values: true/
false/null
I will use it in ADO.NET code like:
sqlCmd.Parameters.Add("@isApproved", SqlDbType.Bit, 1).Value = ?????;
This way I can pass values of true,false or null to my stored
|
thread by: jc |
last post Jun 27 '08 by: jc
I'm attempting this code:
using System;
using System.Collections.Generic;
using System.Text;
using System.DirectoryServices;
namespace cLDAP
{
public class Program
|
thread by: Microsoft |
last post Jun 27 '08 by: Steven Cheng [MSFT]
Hi
I have a c# program that continually runs 24/7 and performs a variety of
tasks based on a timer.
There is one routine that hangs every Saturday morning without fail. If I
restart the program throughout the week is still hangs. I can restart it
immediatly after the hang and it runs fine until next Saturday.
There is nothing different...
|
| |
thread by: Jeff |
last post Jun 27 '08 by: PRATAP singh
I have a solution with two projects. Project A is the startup
project, while Project B serves as the project with the data logic.
At run time, the first thing I need to do is write to Project B's
app.config. I've referenced System.configuration.dll within Project
B, and from one of the classes inside Project B's namespace, I'm
trying to...
|
thread by: =?Utf-8?B?YW1pcg==?= |
last post Jun 27 '08 by: =?Utf-8?B?YW1pcg==?=
Hi,
I have a Generic Object that has a private List field item.
I populate the List in a different function
I use a FOREACH LOOP with a FindAll function to get all items that have a
certain match for data in the list and do something to it.
The problem is that it repeats for all data items in the list and not
|
thread by: Sylfelin |
last post Jun 27 '08 by: Jon Skeet [C# MVP]
Hello,
I start a very long process in thread.
When function is ending (very long process is finish), i leave thne
function and thread.
In this case, that becomes the thread ?
It is automatically destroyed and memory released in the next garbage
collector ?
|
thread by: Robert |
last post Jun 27 '08 by: Robert
Hi!
I want to fill the clipboard programmatically in oder to manual copy the
data to word.
The data consists of cells of a grid which contains text or images.
Using the standard copy/paste of the dataGridView only the text-cells
are copied and pasted in word,
the image-cells are empty.
How can I build an IDataObject that can contain text...
|
thread by: Dansk |
last post Jun 27 '08 by: Dansk
Hi all,
Can I assume that when I loop throw a Collection, List, IList,
ICollection, ... by using foreach, I first get the element of index 0,
then index 2, and so on until the last one ?
Thanks for your answers,
Dansk.
|
thread by: Nishant Mehta |
last post Jun 27 '08 by: Joachim Van den Bogaert
Hi all,
I am serialiizing a c# object to an XML file to save some application
settings. The idea is to ship this xml file along with the application
and deserialize after the application is installalled to use it as a
default settings file. Works fine on machines having the same culture
(en-US) settings. But goes wrong when the object is...
|
thread by: Cdude |
last post Jun 27 '08 by: Marc Gravell
How do i make it so that each time i select a different row in my
datagradview i want the data in my other to change accordingly.For
example, i will have invoices in the one grid and purchased items in
the other and when i select a invoice i want to bring up all the item
linked to the invoice
|
thread by: Linda Liu[MSFT] |
last post Jun 27 '08 by: moondaddy
Hi Moondaddy,
This is a quick note to let you know that I'm performing research on this
issue and will get back to you ASAP.
I appreciate your patience!
Sincerely,
Linda Liu
Microsoft Online Community Support
|
| |
thread by: Hiroaki SHIBUKI |
last post Jun 27 '08 by: Hiroaki SHIBUKI
Hi,
I began to feed
Visual Studio & .NET Framework Product Feedback RSS:
http://hidori.jp/rss/msconnect/GetRSS.aspx?forum=visualstudio
Enjoy!
--
|
thread by: erbilkonuk |
last post Jun 27 '08 by: erbilkonuk
Hi everyone,
I have been developing a project that is composed of one windows
service and one ASP.NET web site. The windows service and ASP.NET web
site reside on the same server.
I want to send start/stop service commands and custom commands to the
Windows service from ASP.NET Web site.
What I have done is :
* I read in a site that an...
|
thread by: RajkiranPro |
last post Jun 27 '08 by: RajkiranPro
Is There A Way To Change The Default Properties Of the Controls
For Example
If we place a button on on the form its default name is button1 and
if we place the next button its button2 and so on..
Instead i want it to be btn1, btn2, btn3 by default...
I know to create it by using a component class
|
thread by: pkenderdine |
last post Jun 27 '08 by: pkenderdine
Can someone please advise the best approach for reading in many 5000+
xml files from disk into a data set. Here is the code so far. On my
computer (may not be best spec) is takes about 3 minutes to read and
load the dataset. It doesn't seem to be the reading of the files as so
much as the loading of the data into the dataset. Any help would be...
|
thread by: mrshrinkray |
last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
I feel a bit ashamed asking this after 6 years of C#, but is there a
format string for significant figures before the decimal place?
e.g.
2,354,856:
1 sf = 2,000,000
2 sf = 2,400,000
3 sf = 2,350,000
{0:G} or g gives me scientific notation, but I'm after the above.
|
thread by: S Chapman |
last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
What is the quickest way to read Microsoft Access Tables? Right now I
am using OleDBCommand in C# to read Access but I was wondering if
there is a quicker way of reading the contents of Access Tables? Thank
you.
PS: quicker as in better performance.
|
thread by: stork |
last post Jun 27 '08 by: .\\\\axxx
If I see a piece of code like:
someobject.stringProperty = @mycontrol.Text;
What does the @ do in that case?
Is that a clone operator?
|
thread by: moondaddy |
last post Jun 27 '08 by: Linda Liu[MSFT]
I have a .net 3.0 wpf app and using c# I need to do 2 things:
1) Get the last point in the path, or get the last linesegment in the path
where I could then get the last point.
2) Remove the last linesegment in the path
How can I do this?
any comments would be great. Thanks!
|
| |
thread by: Linda Liu[MSFT] |
last post Jun 27 '08 by: Linda Liu[MSFT]
Hi Moondaddy,
I downloaded your sample project and run it and did see the problem on my
side.
There're three problems in the source code of your project.
1. You should move the following lines of code from the GetGeometry method
within the CustomPolyLine class:
_points.Add(new Point(10, 10));
|
thread by: moondaddy |
last post Jun 27 '08 by: Linda Liu[MSFT]
In a wpf app using c#, is it possible to somehow attach a listener or hook
into the IsMouseOver property so when ever it's value changes, a method
could be notified?
--
moondaddy@newsgroup.nospam
|