all groups > c# > november 2006 > threads for saturday november 18
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
is there a way to get dotfuscator community edition to work in visual studio as a post-build event?
Posted by dongarbage NO[at]SPAM hotmail.com at 11/18/2006 11:43:21 PM
The subject says it all :)
I have Visual Studio 2005, it comes with community edition of
dotfuscator. I'd like to use dotfuscator in a post-build event.
However, I get an error when I call dotfuscator. I can run it from the
command line and it always pops up a gui even when \q option is used.
... more >>
Membership providers in dotNet 2.0
Posted by Allan Ebdrup at 11/18/2006 11:15:03 PM
I'm using VS Team Suite 2005 and dotNet 2.0, my webserver is running dotNet
2.0
I trying to set up a membership provider using a MSSQL 2000 database.
I've run the aspnet_regsql.exe tool and have the tables created.
I've changed web.config with the following:
----
<membership defaultProvider="... more >>
CreateInstance question
Posted by Adrian at 11/18/2006 9:24:15 PM
Array.CreateInstance( typeof(Int32), 5 );
What is the advantage of creating an array this way?
Adrian.
... more >>
Error messages web app
Posted by Robert Bravery at 11/18/2006 8:36:14 PM
Hi all,
I am developing a web app.Using master pages. C# In it is a save method,
which retunrs true or false (saing to a sql server)
I want to notify the user of a save failure in two ways, check the error
from the SQL server if it is a duplicate key error, display a cutom message
to state su... more >>
Package a UserControl in a dll
Posted by Carlo at 11/18/2006 7:42:23 PM
I would like to package several usercontrols in a dll. Then use them in
another website. How do i accomplish this?
I tried to add a reference of the 2nd website to the dll of the first
website containing the usercontrols but i couldn't make it work.
... more >>
Bug with Array.CreateInstance() when lower bound > 0
Posted by Gianluca at 11/18/2006 7:29:21 PM
If you create an array using Array.CreateInstance() and use a lower bound >
0, you apparently get an array of the wrong type.
int[] lenghts = new int[] {1};
int[] lowerBounds = new int[] {1};
string[] ar = (string[])Array.CreateInstance(typeof(string), lengths,
lowerBounds);
Throws an Inva... more >>
ArrayList sorting on stronged typed objects
Posted by JDeats at 11/18/2006 7:17:01 PM
If I have
class Student
{
public string LastName
public string FirstName
public int Age;
public int ID;
}
and I have an ArrayList that's storing only Student objects, how can I
sort the ArrayList by LastName? Using a IComparer class appears to only
allow < > compari... more >>
Fileupload Browse default location
Posted by Dave at 11/18/2006 4:04:37 PM
Is it possible to change the default location for the FileUpload
control so that it searches a file from within the web page file
structure? Even more specific...limit it to one folder within that web
structure?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
(FileUpload)FormView1.FindControl(FileUpload1).FileName
Posted by Dave at 11/18/2006 3:32:17 PM
If you had a FileUpload control inside of a FormView...how would you
use FindControl to access the FileUpload properties? Let me just say
that (FileUpload)FormView1.FindControl(FileUpload1).FileName doesn't
work.
The purpose is to insert a graphic in the InsertItemTemplate section of
the for... more >>
Change Control properties that are in FormView
Posted by Dave at 11/18/2006 2:52:17 PM
I'd like to be able to change the ImageURL property for an Image
control that resides inside a FormView. Can someone give me a hand
with this? I'm not sure how to reference it.
Thanks
... more >>
Problem loading values from class library
Posted by Dale at 11/18/2006 12:53:02 PM
I have a user control on a Windows Form that, in its Load event handler,
calls a method from a class library to initialize an array of objects that
are then used to populate a ComboBox.
When I run the app, the method runs just fine. The class library returns
the array of objects and the Co... more >>
Amazing !!!
Posted by youtube300 at 11/18/2006 12:21:01 PM
Priests & Preachers Coming to Islam?
Former American Priest tells his story :
http://islamtomorrow.com
... more >>
Question about Microsoft Visual C# Express Edition
Posted by Schizoid Man at 11/18/2006 11:48:02 AM
Hi,
I want to write some custom UDFs for Excel in C# and and build them into
XLLs.
However, I can't seem to check the Register for Com Interop box in the
Express Edition of VC#.
Is this a known limitation of VC# Express? Is there a way for me to
still use the Express edition to buil... more >>
try/catch in C#
Posted by pack at 11/18/2006 10:35:31 AM
Is "catch" in C# going to catch all exception, or it just catch the
exceptions induced by "throw"? Will it also catch those "structured
exceptions" that could be either from system modules or other DLL or COM
objects of native code?
If seeing a dialog of this:
"Unhandled exception at 0x8f34... more >>
Never Ever...
Posted by xlar54 at 11/18/2006 2:30:28 AM
I've been going through the newsgroup, picking up best practices and
things not to do, as I think it helps to make a good programmer a very
good one. But rather than fishing, I figure that there are many out
there who are tired of fixing someone else's poorly written code as it
relates to best ... more >>
|