all groups > c# > may 2006 > threads for monday may 1
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
adding icon to customcontrol (not usercontrol) in VS2005 ?
Posted by Sagaert Johan at 5/1/2006 11:43:38 PM
Hi
How can i add an icon to my customcontrol so it appears in the toolbox ?
How is this done in VS2005 ?
... more >>
Free toolkit for dicom in c#
Posted by Neeraj at 5/1/2006 10:58:26 PM
hi guys,
i am going to develope an dicom viewer with use of c#.but i cannot find
any free toolkit for that
..plsease suggest me how i start the project. If you have knowladge
about any free toolkit please tell me.
with regards
Neeraj Kumar
... more >>
Instances effecting each other?
Posted by Daniel at 5/1/2006 9:12:34 PM
My previous thread got very large so here is my point again, but a better
example of my problem:
SceneChair chair = (SceneChair)_objMan.GetObject((int)ObjectID.Seats);
chair.Position = GetSeatPosition(1);
chair.FrameNum = 1;
_objMan.AddToRenderStack(chair);
SceneChair chair2 = new ... more >>
Beginner - Assemblies and Multiple .cs files
Posted by Ranginald at 5/1/2006 8:46:06 PM
Hi,
I have an asp.net project and I am in the process of trying to make it
into a truly object-oriented project -- as I have just learned I cannot
have multiple codebehind files in a single page.
(The big picture is that I have a template file that has methods called
on page_load from a pro... more >>
ShowDialog and Adverting Cancel button
Posted by Matthew at 5/1/2006 7:57:16 PM
I have a popup "Property" form that I want to be used as a dialog box.
I want the user to be able to cancel their addition of the property
wtihout closing the form. .Net however automatically catches the
"Cancel" button and processes it as such and closes the form. How do I
bypass this event and... more >>
Install assembly in GAC ?? Not visible inside the IDE
Posted by Sagaert Johan at 5/1/2006 6:42:57 PM
Hi
I used an installer to install my assembly dll into the GAC , with the
graphical Gac Tool i see it is installed in the global assembly cache.
When in the IDE i add a reference, then the assembly is not visible in
listview.
How to make my assembly visible in this list ?
johan
... more >>
Custom Paint with Gradient Panel
Posted by Robert W. at 5/1/2006 6:34:02 PM
In my WinForms app I'd long ago implemented a drag & drop mechanism just like
is used in PowerPoint when one wants to rearrange the order of the slides.
Specifically, a thin black line is shown between thumbnails to indicate where
an item will be dropped.
As the user moved away I'd erase it by... more >>
WinForms & Remoting
Posted by mitch at 5/1/2006 6:10:02 PM
Hello,
Basically, I want my application to run only one instance at a time and pass
command line arguments to a running instance. I have all of this working, I
used the IPC Remoting channel and my program handles the command line
arguments well. However, after my program has been running for a... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
'Circular reference' error but can't find such an error in the code.
Posted by Richard Lewis Haggard at 5/1/2006 6:05:38 PM
I've created in form that has tab controls that contain tab controls that
host user controls on each tab page. It compiles and runs just fine but the
designer view fails with a "A circular control reference has been made. A
control cannot be owned or parented to itself." Additionally, there ar... more >>
C++ to C# help (thanks)
Posted by llihp at 5/1/2006 6:04:21 PM
Hi all, I'm new to C#, so apologies if this is a dumb question. smile
I'm trying to convert some code from C++ to C# so I can write some DLL
files.
Here is the original code in C++, firstly here is the header file:
Code:
// the interface structure
struct frontEndInterface {
sho... more >>
cost of object instantiation in .NET 2.0
Posted by John A Grandy at 5/1/2006 5:33:46 PM
I'm trying to get a decent idea of the relative performance of three types
of implementations of data-access classes in ASP.NET 2.0.
I believe this boils down to a more basic question regarding the cost of
object instantiation in .NET 2.0. It becomes especially relevant to web-app
data-acc... more >>
test
Posted by maya at 5/1/2006 4:53:09 PM
Static Class and Synchronization ???
Posted by Vivek Ragunathan at 5/1/2006 4:51:00 PM
Hi
Are the members in a static class in C# class synchronized for multiple
thread access. If yes, are all static members in a C# class auto
synchronized ?
Regards
Vivek Ragunathan
... more >>
Dataset and AutoInc Values
Posted by graeme g at 5/1/2006 3:10:20 PM
Hi
I have a dataset with some tables in, and the tables have some rows
(nothing complicated there), some of the rows are autoinc values...
when i clear the table i want the autoinc value to be set back to 0, how
can i do this in c# i've tried numerous ways and got nowhere, any help
appri... more >>
What is the best algorithm for encrypting passwords
Posted by Thirsty Traveler at 5/1/2006 2:32:41 PM
I hear that MD5 is not recommended for encrypting database passwords in that
it can be compromised. Does anyone have a recomendation (SHA-1, etc.) on an
algorithm that would be more appropriate.
... more >>
Microsoft Address Book
Posted by JGAllen23 at 5/1/2006 1:43:16 PM
Is there any way to get the contacts from the microsoft address book in
c#?
... more >>
Exception and Sql-Server
Posted by am72de NO[at]SPAM yahoo.de at 5/1/2006 1:28:04 PM
Hi all,
if I make an update to my database I get an exception with error 2627
and the following message:
Verletzung der PRIMARY KEY-Einschr=E4nkung 'xyz'. Ein doppelter
Schl=FCssel kann in das 'dbo.abc'-Objekt nicht eingef=FCgt werden.
This behaviour is correct. My question is: Is there a... more >>
Command line compiling...
Posted by Papanii Okai at 5/1/2006 12:52:49 PM
Hi Guys,
I am trying to use the command line to compile a .cs file to a
dll. I am using the Windows SDK command shell for this. Below is the
command..
C:\Documents and Settings\Papanii Okai\Desktop>csc /t:library HelloWorld.cs
/reference:System.dll
I am referencing ... more >>
Serializable, what and why?
Posted by DBC User at 5/1/2006 12:33:42 PM
Could someone help me understand 'Serializable'?
What is this 'Serializable' why do we need it and how do we use it? Any
link or simple example would be great.
... more >>
How to debug c# assemblies used in Delphi.Win32?
Posted by Bart Roozendaal at 5/1/2006 11:16:47 AM
I am using a C# assembly in Delphi.Win32 using the com interop services.
This works fine, but I am looking for a way to debug the C# assembly. When
using a Delphi program as a host for the assembly, the program quits at the
point where it uses the assembly. If I start the Delphi program itself... more >>
Unique values from column in DataTable (source = xml)
Posted by Fred at 5/1/2006 10:58:22 AM
Hi all,
I have a DataTable that is being filled with data from an xml file. Now
I need to get an array of strings from that DataTable that returns all
the unique values in a certain column (column name would be 'project'
and will at max contain 30 different projects). What would be the best
w... more >>
Form authentication
Posted by Dan Aldean at 5/1/2006 10:26:46 AM
Hello,
I try to use Form Authentication and I code this in Web.config:
<authentication mode="Forms" >
<forms name="appNameAuth" path="/" loginUrl="login.aspx" />
</authentication>
I also add a new WEB form as the login.aspx.
When I run the application it ignores the login form ... more >>
scope of singleton static refs in ASP.NET 2.0
Posted by John A Grandy at 5/1/2006 10:26:17 AM
For a singleton class utilizes by ASP.NET 2.0 page processing:
When initial instantiation is performed during the initial call to the
retrieve instance method (let's call the method "getInstance()"), an
instantiated object of the class is assigned to the class' internal static
reference to ... more >>
Saving an image of a WinForm to a file
Posted by MMA at 5/1/2006 10:12:01 AM
Hi is there a way to take a snap shot image of a winform and save it to a
file, simillar to how we can print the image of a winform using the graphics
objects.
Thanks in advance.
... more >>
Very Easy Question, How to write log to SECURTY Event Log? Please help
Posted by John at 5/1/2006 9:33:08 AM
Is there any special code I have to write to log event to Security
Event Log? The following code give me "Very Easy Question, How to
write log to SECURTY Event Log? Please help" Error
// Create an EventLog instance and assign its source.
EventLog myLog = new EventLog();
myL... more >>
Disk access permissions in a WORKGROUP
Posted by kihoshk NO[at]SPAM gmail.com at 5/1/2006 9:01:13 AM
Hi,
I have a C# app that needs to copy files from the local machine to
another on a WORGROUP network (not a domain). The app is running as a
service under the SYSTEM account. When an attempt is made to copy the
file from one machine to the other, a User Name and Password error is
thrown. This... more >>
ADSI Query fails with unspecified error
Posted by sjoshi at 5/1/2006 8:25:03 AM
Hello All
I'm trying this to filter group users bu tI keep getting an unspecified
error when invoking FindOne method.
Any help is greatly appreciated.
public static DirectoryEntry GetDirectoryRoot()
{
return new DirectoryEntry("LDAP://RootDSE");
}
public static string DefaultNamingCtx... more >>
Master Pages
Posted by mensuur at 5/1/2006 7:45:01 AM
hi,
i need a little help with my master pages. i have as little idea about it as
you probably have as to what my real name is! can anyone teach me how to use
and create them? thanks a bundle
--
mensuur... more >>
text files and web content
Posted by mensuur at 5/1/2006 6:00:02 AM
hi,
i have a page with a complex design which is edited very often. nothing
changes in the website apart from the main content in the page. but i have
many pages and when i edit the design of the page i will have to copy and
paste the design into all of the other pages trying to make sure tha... more >>
Catching output from external application ASP.NET
Posted by gashoneil NO[at]SPAM gmail.com at 5/1/2006 5:41:22 AM
Hi,
I'm writing a program in ASP.NET and C# and I need to capture some
output from an external program. I have an .exe that I run, and this
generates a string that I want to bring back into my web application.
Any ideas?
... more >>
Binding to an enumeration
Posted by Nathan at 5/1/2006 4:35:02 AM
I'd like to use an enumeration as a datasource for a drop-down box. Is there
a way to do this?... more >>
Why does the instance change?
Posted by Daniel at 5/1/2006 12:00:00 AM
Hey guys
I have an instance of an object say:
List<Object> myList = new List<Object>();
Object myObject = new Object();
myObject.PositionVector = new Vector3(10,10,10);
myList.Add(myObject);
With the above code as an accurate example i do that in a loop. And on each
iteration i c... more >>
asp and c#
Posted by Jessica Weiner at 5/1/2006 12:00:00 AM
can someone explain the relationship between asp and c#? i have written some
applications using c# only and want to know how can i take advantage of asp.
any comments are appreciated.
thanks
jess
... more >>
Unmanaged Code again
Posted by juergen at 5/1/2006 12:00:00 AM
hello,
i want to use a c dll in c#.
it is only one method but it doesn't work.
this is the c method in the dll:
int vciMulticastSearch(int iColorNumber, int maxRequests, PMCAST_DATA pData, int maxData,
char *pszIpLan,char *pszIpWlan);
PMCAST_DATA is a structure pointer:
typedef stru... more >>
|