microsoft.public.dotnet.languages.csharp Archive - January 2004
Post a message to this list
Messages
Page: 1234567891011121314151617181920
2122232425262728293031323334353637383940
4142434445464748495051525354555657585960
6162636465666768697071727374757677787980
81828384858687888990
Any encryption/decryption in C#? (3 replies, VIP)
microsoft.public.dotnet.languages.csharp
Hello, I am writing a client program, i am storing the database user name and password in the registry of the client machine. It is easy view by other users. Does C# provide any encryption which i can encrypt the information? Thanks.
Use c# component class in ASpx (2 replies)
microsoft.public.dotnet.languages.csharp
Hi.... I am working in dotnet environment and am new to it.i have a component class in userTracker.cs in onDemand project and an onDEmand.aspx in onDemand project..i want to access this component class in onDEmand.aspx.cs..how do i do it..... Thanks Anubhuti......
C sharp and VB (3 replies)
microsoft.public.dotnet.languages.csharp
Hi, I have Visual Studio 2002, containing both VB and C#. Currently I am learning VB as a hobby. From what I've read, VB.NET is supposed to be as powerful as other languages, like C#. Would there be any reason for me to learn C# in addition to VB, besides having another notch in my belt or for a better chance at a programming job? Is there anything major that C# can do that VB cannot? Thanks a lot...
reading value with messagebox? (input box) (3 replies)
microsoft.public.dotnet.languages.csharp
in my program when a button clicked , a process starts, but i need to take two value, becouse of this, i use a new windows form, to make my program more userfriendly, i was thinking is it possible totake values with messagebox or some diyalog box (as in delphi inputbox), when button clicked, it will show messagebox with two text field and two header (for text boxes). is there way to do it in C# th...
DataColumn.Expression Property - need other functions (2 replies, VIP)
microsoft.public.dotnet.languages.csharp
I need a Round function, in Expression Syntax. Is there any not documented? Can I associate one? Thanks. Rui rrm@medialog.pt
Help me understand try-catch (5 replies)
microsoft.public.dotnet.languages.csharp
Hi all, I'm trying to understand the best way to use a try catch with a SQL transaction. I have a number of sql statements that need to be run, such as: 'open sqlConnection, get command object, etc. myTrans.BeginTransaction() 'do a delete 'do a update 'do an insert myTrans.Commit() 'close connection/dispose of objects However, I want to be able to roll it back so I do myTrans.BeginTransaction() Tr...
Installing to the GAC (2 replies)
microsoft.public.dotnet.languages.csharp
Hi, Does anyone know a good article on how to do this? I have read the C# article on the MS support site, however I still have a few questions: Does the dll always have to be located in a bin directory? From my early attempts at installing to the GAC, I noticed that the codebase property held the location of the dll. However some of the other assemblies has noting in the codebase property, why is ...
Relatively simple question. Help greatly appreciated :-) (3 replies)
microsoft.public.dotnet.languages.csharp
Hi everyone, I have a question about how data is stored and persisted in a realworld application. I am currrently making an email client, newsreader and RSS Agregator application. I'm just using this as a practice application to learn some new skills. My question(s) concerns what I should do to store information. In particular, the email messages, and news group posts etc. To focus on the email th...
Accessing a Running Instance of a Window (2 replies, VIP)
microsoft.public.dotnet.languages.csharp
Hello again, Is there any way to access the open instance of a window? For example, is there any list of open windows in the current exe that Windows keeps track of and that I can access? My problem is that I need to be able to access the values of controls from an external class, and I can't seem to figure out how to gain access to these (public) controls without creating a new instance of the wi...
IsDirty Question? (3 replies)
microsoft.public.dotnet.languages.csharp
Is there a good document online on how to implement IsDirty for Winforms? I am having on how to design for IsDirty. My forms have alot of controls that the user will need to input before the user can advance to other parts of the application. Should I have one IsDirty flag for each form and for every validated event for each control have it set to true if data is validated? Any ideas? Thanks
VS.Net Enterprise Developer Question (2 replies, VIP)
microsoft.public.dotnet.languages.csharp
I have VS.Net Enterprise Developer 2003 with the test servers. I want to install Server 2003 on a test server and was wondering what is the licenesing issues. Is there a limit to how many users can access the server? Thanks
Get declaring type (2 replies, VIP)
microsoft.public.dotnet.languages.csharp
Sample: ClassA: ClassB ClassB: ClassC ClassA x new Class C I want to know the declaring type of C. x.GetType() returns C x.GetType().BaseType returns B x.GetType().BaseType.BaseType returns A, but I don't know the depth in my program. So I don't know how many times I have to user BaseType.BaseType.Ba.... etc. x.GetType().DeclaringType does not exist. Don't know why. How can I retrieve the declarin...
ldap authentication (2 replies)
microsoft.public.dotnet.languages.csharp
Dear All, Has anyone successfully implemented code to authenticate a user against a non Active Directory LDAP server? I've managed to be able to bind to the server but am unable to authenticate the users credentials. I either get "object not found" errors or "invalid username or password errors". The invalid username or password errors are not correct as the credentials I'm using I know are correc...
Can child forms listen for events on the parents mainmenu? (5 replies, VIP)
microsoft.public.dotnet.languages.csharp
I know I can merge a child forms menu into the MDI parent's mainmenu, but I would also like to listen for common events fired from the mainmenu that might be of interest to any child forms. Is this possible?
Graphics and GDI+ (2 replies)
microsoft.public.dotnet.languages.csharp
Happy New Year, all! I hope that everyone is in good spirits, and for those that choose to indulge, you are imbibing in good spirits as well. The subject is graphics and GDI , something that may or may not belong here, so I'll start with this: Is there a newsgroup that specifically deals with .NET (especially C#), AND GDI ? I could not find one and I searched through all of MS, Borland, and a coup...
Java & C# (4 replies, VIP)
microsoft.public.dotnet.languages.csharp
Hi, I don't know if it is possible to Java a class or libeary, and import it into C# application and use it directly? should work right? can anyone tell me how in details?
(moving objects in a form) - reloaded (2 replies)
microsoft.public.dotnet.languages.csharp
hello i try to add this code to (mouse down) event of a picturebox1: picturebox1.location new point(e.x,e.y) but i doesnt work, because the picture box sets its location to the mouse cursors position on the screen, not the position inside the form... how can ido that? how can i move the picturebox in a form by holding down the left mouse button and move it and then after release the mouse button??...
How to use VC++ control in C#? (2 replies, VIP)
microsoft.public.dotnet.languages.csharp
I have built many controls in VC , how can I use these control in C# without re programing? Thanks.
C# object model / documentation (5 replies, VIP)
microsoft.public.dotnet.languages.csharp
Hi, when I was programmin ASP/JScript I had a very nice utilitiy which I got from MSDN (Script56.CHM). It's simply a help file but containing object orientiated documentation of all scripting languages. Very handy and easy to maneuver and quickly find information needed. Is there something similiar available for C#? At least some web page showing the object model of this language? thx!
doubt in namespace (2 replies, VIP)
microsoft.public.dotnet.languages.csharp
Hi, I want to use IMyExtenderInterface Please let me know what namespace i can include in my project. This is mainly for using Activate.CreateObject method in my project.
How manage .Net Windows Service using XML webServices (3 replies, VIP)
microsoft.public.dotnet.languages.csharp
Every body Hi first of all I say Why do I need Windows Service / Every Day I create XML file . I writed a XML web service And .I join this servis Windows service. I create Windows Service that I call method XML Web Service . My Problem I generate Windows Service but I want this service always run . But I dont make it How make /Net windows service always run
loading assemblies over http without remoting (2 replies, VIP)
microsoft.public.dotnet.languages.csharp
Hi, Is there a way to have one of my assemblies (dll) be loaded at runtime from a URL instead of locally? i.e., I would never want that dll to reside on the user's hard drive, not even as a temp file: straight from the network into memory. I don't want to use remoting because I'd prefer to not have to assume that I can use IIS... Thanks JT
Source code comparison (7 replies)
microsoft.public.dotnet.languages.csharp
Hello, Can anyone recommend an inexpensive source code comparison utility for .NET. I broke my code an now I need to compare my older version w/ the new one and could use the help of line comparison software. Thanks in advance. Doug
how to include the same function in 2 different classes (2 replies)
microsoft.public.dotnet.languages.csharp
Hi, I want to to include the same function in 2 different classes. class FormView.cs and FormLoad.cs, 2 of Windows.Forms these 2 classes have a couple of the same methods, what is the best way to include them simple in both? Greetz JC
Shelling out commands (2 replies)
microsoft.public.dotnet.languages.csharp
Does anyone have any code for shelling out a command to start up an executable with command line arguments? I am simply trying to start a MSDE install by calling its Setup.exe. Thanks
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification