all groups > c# > january 2008 > threads for monday january 28
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
Install / Deployment Q
Posted by Liz at 1/28/2008 11:08:28 PM
My app has several Crystal Reports embedded; I want to avoid using any
installers and just copy files to the app directory. Can I just mark all of
the Crystal references [Copy Local] = true and then do a file copy
installation? Or does Crystal insist on being registered?
TIA
... more >>
Servey question
Posted by vimal.424@gmail.com at 1/28/2008 10:56:35 PM
Hi all,
plz help me i want to know that how can we provide the facility to
design the servey question in c#.
Thanks in advance... more >>
Second PictureBox's background goes white when placed over another PictureBox
Posted by kirk at 1/28/2008 8:56:31 PM
I have a form with a PictureBox control on it. The .Image property is
set to a PNG file(which shows the picture of the US map) with some
transparency in it. The .BackColor property is set to Transparent.
This so far, works perfect.
I now, would like to put another PNG image(an arrow showing
... more >>
Detecting event subscriptions
Posted by kirk at 1/28/2008 8:39:37 PM
I have a class with a native API inside. The API, when called,
determines the state of some entity.
I'd like to setup the interface to this class to have an event that
can be subscribed to, called OnStateChange, for example. When
subscribed to, I envisioned a timer would turn on and start ca... more >>
Mouse Clicks
Posted by Rodrigo Ferreira at 1/28/2008 6:17:03 PM
How can i detect mouse clicks on any windows application and get information
about the application that has been clicked?
Thanks!
... more >>
Generic list converter
Posted by colin at 1/28/2008 5:08:00 PM
Hi,
I finaly managed to come up with this code after struggling for ages,..
its a way to access my list<T> as if it were a list of list<T2>
it looked a bit unweildly but it seems to work ...
I dont know if there are any better ways of doing this ?
it wouldnt let me simply override things in the... more >>
MSDN Magazine Subscription // Good place to get it
Posted by sloan at 1/28/2008 4:20:18 PM
Does anyone know where a good ($$$ wise) place is to get a MSDN Magazine
Subscription?
As in, cheaper than the microsoft.com offering?
...
If your reference is based on personal experience, please let me know that
as well.
...
... more >>
C# 2.0 Iterators question
Posted by Dilip at 1/28/2008 2:59:27 PM
Given a bunch of IEnumerable<T> objects, how do I iterate through them
and do a yield return on objects that satisfy one condition and
objects that satisfy another condition? I am still wrapping my head
over C# 2.0 iterators and I am not able to get this right.
public static IEnumerable<T> ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
What is the Quraan?
Posted by Ñ) at 1/28/2008 2:17:12 PM
Please forgive us for any disturbance, but we have an important
subject
to address to you regarding FAITH, and we Don't intend to overload
your email with unnecessary messages...
What is the Quraan?
It is the final revelation of the will of Almighty God's to all of
mankind, which was c... more >>
da.FillSchema help
Posted by rodchar at 1/28/2008 1:59:02 PM
hey all,
i'm using the fillowing line:
DataTable dt=null;
da.FillSchema(dt,SchemaType.Source);
well, it's pulling in extra columns from another table. anybody have any
ideas?
thanks,
rodchar... more >>
problem with DataTable.Select
Posted by Jeff at 1/28/2008 1:55:35 PM
hey
..NET 2.0
I have a datatable which consist of 3 columns (int, date, value). This
DataTable have 3 rows, the values of the "date" ("date" column is of
datetime datatype) column is:
2007-09-15 00:00:00.000
2007-10-15 00:00:00.000
2007-11-15 00:00:00.000
The problem is that when I... more >>
MSScript.ocx on 64 bits
Posted by Udi at 1/28/2008 1:45:43 PM
Hi all,
Does anyone know if there's an MSScript.ocx ready for 64 bits?
My (WinForm) application fails to load on 64 bit due to the fact the
ocx is compied to 32 bits.
The thing is, my application uses aditional native dlls that are
placed in the system32 directory,
and once I compile my app ... more >>
Cdata, C# and XML
Posted by Logician at 1/28/2008 12:09:53 PM
Does someone have a link for reading CDATA in C#?
I have the problem that the ReadString method fails. I have tried a
few things but the data is not read correctly.
I would appreciate any help.... more >>
Change Windows Form Location without Title Bar
Posted by MikeZ at 1/28/2008 12:03:01 PM
I want to create a windows application with a small topmost form. Because the
form is so small, It does not include title bar. Is there any control, so I
can use it to move FORM location by mouse? Thanks.... more >>
Security permissions problem
Posted by Johnny Jörgensen at 1/28/2008 11:44:08 AM
I've got a program where I call a method in an internal class to update the
registry. Something like this:
Program:
using System;
using System.Security.Permissions;
using Microsoft.Win32;
namespace MyNameSpace
{
public class Program
{
[STAThread]
static void... more >>
DllImport and Structures - spidermonkey
Posted by Thomas at 1/28/2008 10:31:44 AM
Hello all
Having trouble with getting Error Information from spidermonkey. How would
one convert a C structure to CSharp?
struct JSErrorReport {
const char *filename; // source file name, URL, etc., or null
uintN lineno; // source line number
... more >>
How to covert Int64 to Hex
Posted by Tim Sprout at 1/28/2008 10:29:20 AM
To convert hex to Int64 I can use:
string hex = "413208A97245F5AE";
Int64 intFromHex = System.Convert.ToInt64(hex, 16);
//intFromHex = 4697826885160531374
How do I reverse this, and convert Int64 to hex?
Thanks,
Tim Sprout
... more >>
Why can my Form only open once per Excel session?
Posted by pinkfloydfan at 1/28/2008 9:43:50 AM
Hi there
I'm still creating a Form to be used in Excel. The Form is opened via
a vba macro which calls a C# wrapper within an xll that opens the
Form, like this:
VBA:
Sub TestMacro2()
Call Application.Run("OpenForm")
End Sub
C#:
public class XLFormWrap
{
[ST... more >>
Strange Static contstructor behavior
Posted by chriscap at 1/28/2008 9:16:00 AM
I am having some unexepected results with a static constructor. I have the
following class design
ParentClass<TType>
{
static ParentClass() { doStuff();
}
ChildClassA<SpecificTypeA>
{
}
ChildClassB<SpecificTypeB>
{
}
To sum up, I have a generic parent class with a static c... more >>
Properties Question
Posted by dejas9000@gmail.com at 1/28/2008 9:14:52 AM
Why is:
internal Object Statement { private set; get; }
allowable but not:
Object Statement { private set; internal get; }
would they not have identical meaning?... more >>
event and delegate
Posted by TonyJ at 1/28/2008 8:34:18 AM
Hello!
Assume I have a declared a delegate and an event with that delegate type.
We can assume this class is called Test.
Now to my question when this event will be fired must this be done within
the same class which is Test where the event is declared?
//Tony
... more >>
Set a MenuItem's ID
Posted by Saul775 at 1/28/2008 8:15:02 AM
In C#, is it possible to set a MenuItem's ID without calling and importing
the Win32 API function "SetMenuItemInfo?" Perhaps another class in C#
contains a method I'm looking for?
Thank you.... more >>
Huge xml files
Posted by rickbear at 1/28/2008 7:04:26 AM
Hi Group,
I have an xml file wich contains a rootelement and a subelement with a
filename and a subelement with bindata.
In each xml file there is only one entry for each element. Like this:
<root>
<filename>somefile.exe</filename>
<bindata>bindata in base64 here</bindata>
</root>
... more >>
Newbie question about textboxes
Posted by George at 1/28/2008 5:40:04 AM
Hi all,
I am just starting out in C3, so please forgive me for asking this question:
How can i put the contents of an integer in a textbox? I have this:
int a;
a = 10;
textBox1.Text = a;
I get a "cannot convert type 'int' to 'string' compile error.
... more >>
ASP.NET 2.0 Gridview values change in cell - row specific javascri
Posted by Phil Johnson at 1/28/2008 5:29:01 AM
Hi,
I need to have a column in a gridview that cycles through a set of comma
delimited values
i.e. if you imagine a column where in one row the value might be "111,222"
and in the next row it might be "111,222,333,444".
Instead of displaying the whole string, I need to split the string... more >>
robocopy equivalent in C#
Posted by NikhilSinghal at 1/28/2008 4:33:00 AM
Hi,
I am building an application that requires copy a decent number of files
around. Till now, to demonstrate the prrof of concept, I used pInvoke to
invoke robocopy to do all the heavy lifting.
Is there any .Net component that I can build/download/buy that will allow me
basic robocopy fea... more >>
where do I get the wsewsdl3.exe tool for WSE 3.0 support?
Posted by mjheitland at 1/28/2008 4:07:35 AM
Hello,
I have installed VS2005 Prof. but cannot find the tool wsewsdl3.exe?
Where can I get it?
Greetings,
Michael... more >>
stringbuilder performance questions
Posted by pantagruel at 1/28/2008 4:05:34 AM
Hi,
It is generally stated that stringbuilder should be used instead of
just concatenating strings with the plus operator.
That's fine enough what I'm wondering in cases I have:
String S = "hello" + World;
Does it make any sense to use Stringbuilder in a case like the above,
where the ... more >>
Get class- and functionname
Posted by sewid at 1/28/2008 2:57:27 AM
Hi!
Is there a possibility to get the class- and the functionname from the
current function? I want to log all exceptions with the class and the
function, where the exception occured. So I created a function
logException(string message, string classname, string functionname)
and it would be r... more >>
DataGridView - Code Included - Want to Add Column Sorting
Posted by Tom at 1/28/2008 2:32:26 AM
Please help me understand my sorting problem in DataGridView. From
what I've read ... clicking on the column headings should sort the
text columns. The code in question is very compact and included in
entirety below.
The combination of learning the massive DataGridView and Data Binding
has me... more >>
Website data
Posted by Vivien Parlat at 1/28/2008 1:48:13 AM
Hello,
Sorry for my previous message in french... Here it is in (bad)
english:
For my own use I'm trying to make an app which takes two cities
(origin, destination) and two times (departure, arrival), fills in
form at http://www.voyages-sncf.com/dynamic/comm.travel?ORIGIN_CITY=Paris&DESTINA... more >>
Dynamic Linq on Datatables
Posted by Evert at 1/28/2008 1:33:01 AM
In my (Windows Forms) project I am using strongly typed datatables. Now I am
trying to convert my 'rowfilter/group by' query logic to Linq. Most queries I
can easily convert, but some I am having difficulties with: the ones dynamic
in nature. I solved it (temporary) by copy-pasting static quer... more >>
Données_site_web
Posted by Vivien Parlat at 1/28/2008 1:29:51 AM
Bonjour,
Pour mon propre usage j'essaie de d=E9velopper une appli qui, =E9tant
donn=E9s une ville de d=E9part, d'arriv=E9e, et deux dates/heures, aille
chercher sur le site de la sncf les diff=E9rents horaires possibles sur
toute la plage d'une journ=E9e, avec les tarifs, et m'affiche tout =E7... more >>
|