all groups > c# > december 2007 > threads for monday december 3
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 30 31
Change the button text in openfiledialog
Posted by Rinaldo at 12/3/2007 11:43:10 PM
How to change the button text of a openfiledialog in to my own custum test?... more >>
Mouse hit testing and graphical objects
Posted by Jon Slaughter at 12/3/2007 9:06:21 PM
What is the general procedure to optimize hit tests on objects with a mouse
cursor? Just loop through all the objects and check for intersection and
break when found or is there something better?
I'm just curious if there is an issue with performance when having many
objects and hit testing... more >>
how to stop focus change on button click
Posted by colin at 12/3/2007 8:51:08 PM
Whats the easiest way to stop a Button from
taking focus away from another control on the same windows
form ?
Ive looked and not found much so far,I think theres
a controlstyle.selectable that might do what I want
but the button wont let me access SetStyle :s
I still want the button to oth... more >>
changing the xml
Posted by Vinki at 12/3/2007 8:21:00 PM
I have this xml file below, I want to change the value of debug to false.
How can I do this in C# or VB.net. I want to do it by selectSingleNode , if
possible.
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="dataConfiguration"
type="Microsoft.Practices.... more >>
C# .NET play note frequency (sound)
Posted by Slickuser at 12/3/2007 7:26:51 PM
I want to play a note in C# .NET giving a frequency like the one show
below.
Is it possible?
C 261.6
C# 277.2
D 293.7
D# 311.1
E 329.6
F 349.2
F# 370.0
G 392.0
G# 415.3
A 440.0
A# 466.2
B 493.9
C 523.2
I looked at this and it doesn't work.
I can't added in kernerl... more >>
Questions about MDI application
Posted by FP at 12/3/2007 7:00:43 PM
Hi,
i would like to write an MDI application with MS VS2005,but i have some
preliminary questions.
1)If i place a control,say a button,in the MDI parent's client area,this
control will always appear on top of child dialogs.How can i fix it?
2)I would like to use a backgroud image for the clie... more >>
Sending Binary files with C# Apps
Posted by Robert at 12/3/2007 6:46:00 PM
I ahve been trying to send an *.elf file to a ARM controller with a custom
app written in C#. I used the BinaryReader class in order to write each btye
of the file to the serial port but it has been unsuccessful. If I send the
file with Tera Term with the binary Checkbos checked, the ARM rec... more >>
Seperating Classes
Posted by Andrew G at 12/3/2007 5:08:25 PM
Hi,
am writing c# web applications and am trying to now seperate my code
into seperate DLLs. Mainly so that the code is easier to manage and I
can more easily 'plug in' seperatepieces of code without having to
trawl through a single page of thousands of lines of code.
is probably something ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Reporting services: Anchor.Bottom
Posted by Pieter at 12/3/2007 4:08:47 PM
Hi,
I have a report (Reporting Services 2005) which may contain an undefined
number of pages of records. At the end there are some totals and summary's
that should be displayed.
The problem is: These totals should come always at the bottom of the final
page: some kind of Anchor.Bottom or... more >>
Linq: #Temp tables in SPROCS do not have return values in generated methods
Posted by R. K. Wijayaratne at 12/3/2007 4:06:41 PM
Hi everyone,
I have a SPROC which selects records into a MSSQL #temp table and then
selects the records from that. I drag this SPROC onto the right-hand
pane of the DBML diagram, but the method that gets generated for the
SPROC does not have a return type. Any ideas why this is?
I am referr... more >>
Delete Record with LINQ
Posted by shapper at 12/3/2007 2:13:41 PM
Hello,
I have a table named Tags with the following columns: TagId and
TagValue.
How can I delete a record, using LINQ, given the TagId value.
Thanks,
Miguel... more >>
Find the same files on disk
Posted by Alexander Vasilevsky at 12/3/2007 2:06:57 PM
Here, there is a challenge: to find the files must be on a local computer,
have the same names.
Get drives and folders to go through without problems. But what and how to
store files while a search?
http://www.alvas.net - Audio tools for C# and VB.Net developers + Christmas
gift
... more >>
Changing the FontStyle
Posted by Dom at 12/3/2007 2:04:57 PM
I want to change the FontStyle in a DataGridView control. But for
some reason, Font.Strikeout is read only. The only thing I can think
of is to create a new Font with the Strikeout FontStyle. Is that
right?
Dom... more >>
how to import STL vector to STL
Posted by Builder at 12/3/2007 1:45:46 PM
How can I import the following COM interface to C#?
DECLARE_INTERFACE_(IVertices, IUnknown)
{
STDMETHOD(get_vertices) (THIS_ vector<POINT>& vertices) PURE;
STDMETHOD(set_vertices) (THIS_ vector<POINT> vertices) PURE;
};
Is it possible to import STL containers ... more >>
a question regarding DateTime
Posted by Jeff at 12/3/2007 12:53:49 PM
Hey
..NET 2.0
I'm about to create 2 input parameters for a method. These are 2 DateTime
parameters - one named "from" and another named "to"... - from and to
DateTime values...
Okay the trick is that the "from" DateTime should be like this
01.<MM>.<YYYY> ss:mm.hh which means that tod... more >>
Forcing use of a particular version of the runtime?
Posted by Keith at 12/3/2007 12:49:20 PM
Hello,
I recall that this is possible but I can't find any docs on it.
Specifically, I want to force an assembly to use a particular version ofthe
..NET runtime. I believe this is possible by using properties in the
AssemblyInfo.cs file but the documentation on this is a bit lacking IMO.
... more >>
Image Generation.
Posted by sarran rangarajan at 12/3/2007 12:30:07 PM
Hi,
i have collection of memorystream. I need to write (generate) an image
based on data that is present in all memorystreams.
string p = string.Format(@"C:\temp\{0}-Page.gif", messageId);
FileStream fs = new FileStream(p, FileMode.Append);
foreach (MemoryStream ms in m_st... more >>
Synchronous Process.Start
Posted by eggie5 at 12/3/2007 12:15:16 PM
Currently, this code will return immediately after the process is
started. How can I modify it so that it will not return until the
process has stopped?
using (Process process = new Process())
{
process.StartInfo.FileName = @"C:\myprocess.exe";
pr... more >>
Something about overloading really bugs me
Posted by Ronald S. Cook at 12/3/2007 11:54:02 AM
As I understand it, one can't overload a function when types/combinations
match.
E.g.
GetEmployeeList(string EmployeeNumber)
GetEmployeeList(string EmployeeLastName)
would not be able to be overloaded and you'd have to create a separate
function for one of them.
This just seems li... more >>
Checking a string for two constraints
Posted by Brian Cook at 12/3/2007 9:32:01 AM
I need to check to see if a string contains two different constraints. I
currently use this else if statement to look for the first constraints;
else if (lines[lineNum].Contains("]CODELINE_INDICATION_MSG"))
{
i += 112;
rtbDoc.Select(i, 2);
... more >>
TRADING SOFTWARE BROKEN (metastock, advanced get, tradestation, elwave, omnitrader & etc)
Posted by enricko chivaldory at 12/3/2007 9:28:11 AM
below is my collection.
im ready buy, sell and/or swap titles i dont have
all available here: http://tradesoft.name
hit me up via e-mail: sales [alfadog] tradesoft . name (remove spaces,
[alfadog] = @)
Your hands also can reach my collection of course for testing proposes
only ^_^
(eg. 24 hou... more >>
XmlDocument and Xpath
Posted by Saya at 12/3/2007 9:18:36 AM
Hi,
I have a xml document that looks as follows:
<root>
<user domain="domainname">usernamea</user>
<user domain="domainname">usernameb</user>
<user domain="domainname">usernamec</user>
</root>
Now when loaded how to I use xpath to find the node where username
node value is eg. user... more >>
Tooltips keeps disappearing
Posted by joostnews@gmail.com at 12/3/2007 8:35:17 AM
How can I prevent my tooltips from disappearing??
Problems I am having:
- display-time should be much bigger so that people can take some time
to read them.
- I've also noticed that the tooltip will not reappear after the
display-time has elapsed.
Suggestions???... more >>
ComboBox stay DroppedDown
Posted by marianowic at 12/3/2007 6:55:13 AM
Hello everyone.
The whole day I'm fighting with this, as I seem, problem.
I made, based on a listed below article, custon ComboBox with
CheckBoxes as items. Everything works greate except hte list, that
hides and shoows itself. I would like it to stay visible until an user
click outside the co... more >>
Calling a FORTRAN DLL with a structure parameter
Posted by Marek at 12/3/2007 6:02:01 AM
Hi
As well as trying to call a fortran dll with a structure parameter from a C#
front end, we are trying to do this using AssemblyBuilder and MethodInfo to
do it dynamically. Ultimately this will be done using a configuration file,
but in the first instance I am trying to do this using code.... more >>
Configuration Error
Posted by Navaneet at 12/3/2007 4:38:44 AM
Hi All,
I am getting these type of error in Visual Studio 2003? It is fixed
only when i reboot the system!!!
Configuration Error
Description: An error occurred during the processing of a
configuration file required to service this request. Please review the
specific error details below a... more >>
HttpPostedFile.InputStream.ReadTimeout
Posted by macap.usenet@googlemail.com at 12/3/2007 4:32:38 AM
Hello,
I=B4ve a strange problem with my HttpPostedFile object.
I coded a File Upload where the user can upload a zip file. My code
looks like this:
HttpFileCollection files =3D Page.Request.Files;
HttpPostedFile file =3D files[0];
When I set a breakpoint at the second line and run the ... more >>
WPF user control
Posted by Vivien Parlat at 12/3/2007 3:54:34 AM
Hello,
I hope i'm posting into the good group, i found no active group around
xaml.
My situation is the following:
I'm trying to play around xaml in the new VC# Express 2008. My
"aim" (i imagine that when i'll succeed this aim, my understanding
will be much better than now) is to create ... more >>
Changing color of a DataGrid/DataGridView row
Posted by RP at 12/3/2007 1:50:18 AM
I have a DataGridView that displays 5 columns. One of the columns name
is "Category". I want to change the color of all the rows where
Category="Computer".
I want this on the click of a Check Box.... more >>
Setting combo box datasource
Posted by RP at 12/3/2007 1:47:54 AM
I have a DataSet with few DataTables in it. One of the table has only
one column. I want to show all the records of this DataTable when
focus is on the combo box. How to set the combo box datasource to the
data set.... more >>
How to read registry
Posted by Rinaldo at 12/3/2007 1:30:53 AM
I trying to read the registry where my programm is installed.
if (result == DialogResult.OK)
{
string Prog = LeesPadVanRegister();
Process.Start(Prog + ".exe");
protected string LeesPadVanRegister ()
{
strin... more >>
|