all groups > c# > december 2007 > threads for wednesday december 5
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
Parameter passing question
Posted by Blip at 12/5/2007 11:47:36 PM
The title of this is part of my problem. I'm a hobbiest programmer -
playing w/ c# now for a little more than a year. The generic problem
that stops me most often has to do with passing parameters between
windows forms & their related classes. The number of "cannot resolve
symbol" whatever driv... more >>
Is there any way to view all of the sub classes in VC#?
Posted by Zifu Yang at 12/5/2007 10:42:20 PM
For example, can we easily know which classes are subclasses of
System.Exception?
I didn't find such feature in VC#?
... more >>
The Muslim's Creed
Posted by ÇáåÇÏí at 12/5/2007 10:26:41 PM
The Muslim's Creed
Sorry for not sending anything related to this group but it might be
something new to you.
Question No.1
Why has Allaah created us?
Answer
To worship Him alone and to worship no other besides Him.
Evidence from the Noble Qur.aan
{And I have not created Jinn and... more >>
firefox update techniques
Posted by Alain R. at 12/5/2007 6:34:45 PM
Hi,
I would like to develop an application which would include a similar
feature as firefox has.
1. i mean during starting application, it will check a folder/network
folder/internet address to find if a new version of itself exist.
2. if yes, then it download/copy it to "temp" folder.
3... more >>
When I put a metafile on the clipboard and pasted it, I get resized picture
Posted by Alexander Gorbylev at 12/5/2007 6:34:24 PM
Hi!
Let the size of vector is e.g. 3.5".
I render the same vector on a printer & a screen on the same procedure:
printDoc_BeginPrint(object sender, PrintEventArgs e)
{
....
vector.Width * g.DpiX
....
}
On the paper (300/600dpi) or a preview on the screen (100%) the vector siz... more >>
Problem with Thread
Posted by Uwe at 12/5/2007 4:54:37 PM
Hello,
I have an application in which I want to show a loadscreen. (I'm loading
data from the WEB and as long the app load the data I show an animated
screen which says Loading Data. I used a thread for this. It works fine on a
machine where I have installed Visual Studio (2005 or 2008) as EX... more >>
Fully Working Examples
Posted by Tom at 12/5/2007 3:53:03 PM
By my estimate, greater than 90% of the online doco code does not work
without additional coding effort. Fully working solutions are
invaluable for the student. A guru's work measured in minutes can take
a newb ages to duplicate. Imagine the improved teaching efficiency of
being able to direct s... more >>
casting bit to boolean
Posted by Jeff at 12/5/2007 3:47:13 PM
Hey
..net 2.0
in my c# code I retrieve a value from a column in database (sql server 2000)
(using SqlReader) this database column has the datatype Bit!
Now I'm looking a way to cast this bit value into an .Net boolean variable
Boolean test = (Boolean) _SqlReader["modified"]; //this th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
implicit upcast possible?
Posted by jonpb at 12/5/2007 2:38:54 PM
Hi, Is it possible to define a implicit operator from base to derived
types in C#?
I have a Point class and would like to derive a Vector class from it and
add a couple new vector related functions, like Normalize(). The problem
is Vector cannot use any of the Point operator overloads with a ... more >>
"using" alias in global scope
Posted by VRSki at 12/5/2007 2:17:50 PM
Hello,
Is there any way to use "using" for aliasing in the global scope?
The example below works fine in the context of a given file, but in the
different file MyByte alias is unknown. Is there any way to extend its
visibility to multiple files without redefining it?
using MyByte=System... more >>
C# network programming book
Posted by sheperson@googlemail.com at 12/5/2007 2:08:42 PM
Hi, I am looking for a good book on network programming in C#. I have
searched the web but all I found (free and not free) was on .NET 1 or
1.1.
Can anyone help me with a good book? Amazon link, title, or anything
would be great.
Thanks in advance.... more >>
VS2005, dataSets and stored procs (how annoying!)
Posted by Andy B at 12/5/2007 12:52:48 PM
Hi...
I have a dataset with queries in them. I want to switch out the queries for
stored procs. When I tried to redefine the select query as a stored proc, I
get this error:
Cannot remove unique constraint 'Constraint1'. Remove foreign key constraint
'fk_NewsHeader_NewsArticles' first.
... more >>
Generating asm file..
Posted by Rajkiran R.B. at 12/5/2007 12:15:13 PM
I have written a program in C#...
Now the requirement is that I want an assembly code to be the output rather
than the regular executable output..
Can anyone say how to do it..
... more >>
plugin's and invalid cast.
Posted by Dan Bass at 12/5/2007 11:47:12 AM
VB.Net app, but applies to the C# articles I've seen (from Mr Skeet for
example) so decided to cross post to glean some more wisdom...
I've two instances of the plugin framework in my app for two separate
interfaces. One works and one doesn't, and for the life of my I can't figure
out the d... more >>
sqlcommand timeout in field
Posted by Adam Goetz at 12/5/2007 11:12:59 AM
Ok, got a SQL timeout occuring in the field that we cannot reproduce in the
development environment. Development system run time for this query is
sub-second. App is .NET 2, C#, using the
SqlConnection/SqlCommand/SqlDataReader classes. As stated below, the query
runs fine inside Query Ana... more >>
this is killing me, still a GetTypes() error
Posted by Dan Holmes at 12/5/2007 11:08:54 AM
i have two classes that throw when GetTypes() is executed. The
following are their signatures.
public sealed class ProductService : IAF.TransactionComponent,
IProductService
public sealed class CategoryService :
IAF.Configuration.ConfigurableComponent, ICategoryService
This assembly ... more >>
The calling thread must be STA...
Posted by Rainer Queck at 12/5/2007 10:27:21 AM
Hi NG,
I am currently exploring VS2008 and WPF.
In a very little WPF-Aplication I am using a System.Timers.Timer and
assigned a Eventhandler to its "Elapsed" event.
When the eventhandler is called, I receive the following error message:
The calling thread must be STA, because many UI compo... more >>
MSBuild : Building a project without building it's dependencies
Posted by ramshankaryadav@gmail.com at 12/5/2007 8:17:45 AM
Hi,
I'm facing a problem while building a project through MSBuild, this
project is a part of a solution which has several other projects on
which it depends, but I want to build this project without building
it's dependencies.
We can do this for a solution by unselecting projects through
Confi... more >>
Timeout on Xml url download using XmlDocument Load, C
Posted by jeff3048 at 12/5/2007 7:50:07 AM
Hi,
I am writing a c# .net Visual Studio 2005 console application that retrieves
RSS feed xml from various web sources (urls). I have been told that an
exception thrown in a console application terminates its scheduled operation
so I have to be careful in my code to trap any errors. It is... more >>
YOU MUST KNOW THIS MAN
Posted by aassime abdellatif at 12/5/2007 7:12:22 AM
In The Name Of Allaah,
Most Gracious, Most Merciful
YOU MUST KNOW THIS MAN
MUHAMMAD
(May peace and blessings of God Almighty be upon him)
You may be an atheist or an agnostic; or you may belong to anyone of
the religious denominations that... more >>
Stored procedure with ExecuteNonQuery not returning value
Posted by roundcrisis at 12/5/2007 6:32:11 AM
Hi all:
I m trying to get the return value of a stored procedure with
....
DbCommand command = connection.CreateCommand();
command.CommandText = "Exec some_SP";
command.CommandType = CommandType.StoredProcedure;
int temp = command.Parameters.Add(new OdbcParameter("@ReturnValue",
OdbcTy... more >>
confused listview.items during itemChecked Event
Posted by Peter at 12/5/2007 4:52:14 AM
Hi,
I have a problem with Listview using checkboxes.
If i check items by code BEFORE the form is shown the Listview.Items
are confused during the ItemChecked Event !!!
After showing the form every thing works fine: checking items by code
as well as checking with mouse:
Using the Chec... more >>
Nullable Convert ? : operand problem
Posted by mihkeltt at 12/5/2007 1:59:01 AM
Just one question, why wouldn't the following lines compile:
decimal? decVar = 5;
int? intVar = decVar == null ? null :
Convert.ToInt32(decVar.GetValueOrDefault());
The compiler shows the following message: "There is no implicit conversion
between 'null' and 'int'."
A similar if-else c... more >>
|