all groups > c# > november 2007 > threads for saturday november 10
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
Downloading an Image within the Compact Framework in C#
Posted by Greg at 11/10/2007 11:38:58 PM
Hello all,
I am looking to download an image from a website from within a compact
framework pda app. I have tried everything I could find and thus I
turn to you. Any help or suggestions would be appreciated.
Thank you.
... more >>
Table bloat in Linq-SQL
Posted by Andrus at 11/10/2007 11:11:07 PM
var db = new MyDb(connString);
causes creation of all objects corresponding to all tables in database.
Database contains 500 tables.
Application accesses only few tables at a time.
Creating large number of objects which are not used is bad design.
How to force Linq-SQL to create table o... more >>
Constructor parameter list
Posted by Andrus at 11/10/2007 4:20:10 PM
I have linq entity type with public constuctor having all properties as
parameters like
class MyEntity: IModified {
protected string _a_a;
[Column(Name = ""a_a"", DbType = ""character"")]
public string A_a {
get { return _a_a; }
set { _a_a = value; _isModified_ = true; }
}
public... more >>
Derived dblinq entity class without creating constructor
Posted by Andrus at 11/10/2007 4:00:09 PM
I have dynamically generated (at runtime) entity class based on entity class
generated by pgsqlmetal:
public class Klient : EntityBase.xKlient {
public Klient() { }
}
xKlient is generated by sqlmetal at design time like:
public partial class xKlient : IModified {
protected bool _is... more >>
Form Background not properly displayed
Posted by iwdu15 at 11/10/2007 12:51:00 PM
Hi, im having a very weird problem. I can create a new project and set the
form's background to an image i made in photoshop and run the program, no
code written. the image is displayed as grayscale. i have tried many
different images, formats, and projects yet it wont work. anyone else have
... more >>
WCF - compiler can't find TChannel
Posted by Jeff Jarrell at 11/10/2007 12:11:13 PM
I want to provide a helper to apply a certificate to svcutil generated
class(s) that derives from ClientBase<TChannel>. But the compiler can't
find "TChannel". I have System.ServiceModel referenced, it finds ClientBase.
The stub looks like this... Any ideas appreciated. Thanks.
using Sys... more >>
window.open & mouse coordinate question
Posted by Dave at 11/10/2007 11:54:17 AM
I'm running the below script to open a popup window. Works great!
How Can I get "Mouse Coordinates" (X,Y) to include them as Left and
Top parameters
so that the popup window opens "where the button was clicked"?
protected void btnLocateEmpID_Click(object sender, EventArgs e)
{
StringBui... more >>
C# question: How do you delete a Grid object
Posted by dongarbage@hotmail.com at 11/10/2007 10:12:48 AM
I'm building an application (WPF) and I have a Panel in the
application which will be populated dynamically with objects of the
type Grid, TextBox, etc. For simplicity, let's say I'm just adding and
deleting Grid objects. I can add the objects easily by creating Grid
objects. The problem I have ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
window.open question
Posted by Dave at 11/10/2007 8:20:52 AM
I'm running the below script to open a popup window. Works great!
I'd like to find out if there's a way to include Mouse Coordinates in
the top and left parameters so that when my button is clicked, the
popup opens in the same location.
protected void btnLocateEmpID_Click(object sender, Eve... more >>
Download file with maximum timeout
Posted by Piotrekk at 11/10/2007 3:09:32 AM
Hi
My question is:
What is the best way to download file giving it maximum timeout ( for
example 30 minutes ). After this time the operation should be
terminated ( maybe exception ? ). I was thinking about simplest
possible solution WebClient class but don't know if it is possible to
imple... more >>
|