Software Development Network Logo
  • Visual J#
  • Game Technologies
  • Microsoft ISV
  • Visual Studio
  • Visual Basic
  • .NET Development
  • Windows Forms
  • Windows Live
  • Visual C++
  • SQL Server
  • Smart Device
  • Visual FoxPro
  • VS Team System
  • Windows Vista
  • Visual C#

Software Development Network >> Visual C#

Visual C#

New Question

How to register?
Database Insert Operation with Windows Services
how can i disallow spaces or any or even numbers in text box?
About Conditional Compilation Constants ?!
Can this be done?
import external classes
Setting default language
PORT in .NET Framework 1
Anyone have a NUnitASP replacement for VS2005?
CSC command line options if using Microsoft.DirectX.AudioVideoPlayback

Top Answerers

peetfkl
Billy Anders
Alex Dresko
MSwift
David Gorena Elizondo - MSFT
Hummer
littletiger
DLCarp
Bernhard Hammer
Watzinaneihm
InfoWorld: Top News
Only Title

Answer Questions

  • jbmeeh How do I use XSD in 2005

    I am a beginner with C# and I am trying to use datasets. I have been tiring to find some good books on how to use xsd or dataset class in VS2005 and haven’t' found much like this. Does anyone know of good examples or books I can buy that has this information. I understand Datasets (limited) but xsd just are confusing. Any help appreciated No Sql server OK, so it's da ...Show All

  • derhackler UK Date Format

    How can i get todays date in the UK format It seams to return an American format by default, and i can't find any documentation on how to change it. Thanks, Steve DateTime dt = DateTime .Now; System.Globalization. CultureInfo uk = new System.Globalization. CultureInfo ( "en-GB" ); //creates a new CultureInfo object based upon a culture code, here en-GB string s =dt.ToString(uk.DateTimeFormat); ...Show All

  • rekhareflection Retrieving NT Group data

    I am trying to write a C# module to look at a directory and extract the NT Group name and permissions. Any ideas Thanks, Rhonda Using v1.x you have to use unmanaged code and the Security API. It is neither pretty nor easy. In v2.0 you can use the GetAccessControl method on the DirectoryInfo object (or any securable object for that matter). Combining that with the SecurityIdentifier and NTAccount class ...Show All

  • Kered Add "Help" button

    How can I add "Help" button to my forms Like the picture: http://img.majidonline.com/thumb/39010/Untitled-3.gif Hi, You should set MaximizeBox and MinimizeBox properties of your form to False, and then set HelpButton property True. Max I have a Textbox in my program.I wanna When a person clicks on the help button and then clicks on the textbox sees something like "connect Dial-up Connect ...Show All

  • Claire Harris How to get user groups without active directory...

    Hello. I need a list of grups (roles) of a logged user (without Active Directory) I've been searching info about how to get groups that a user belongs to, and i've found this way to do it: public static string[] groupList(System.Security.Principal.WindowsIdentity wId) { Type type = wId.GetType(); Object[] arr = new Object[] { wId.Token }; Object oRoles = type.InvokeMember("_GetRoles", BindingFlags.Static | ...Show All

  • rusty coder urgent~~~!!!MESSAGE BOX CANNOT DISPLAY.....

    " Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application" this is the error when i get while i run the apllication in the server.... is there any way to let the messagebo appear... thanks I still don't know how this is running. Is the ...Show All

  • Mario B. Error executing myQuery.ExecuteQuery(...).

    I'm a newbie. I tried this simple console code. The compilation was ok, but the code crashed when it invoked myQuery.ExecuteQuery(...). Any hint for me QueryBuilder myQuery; myQuery = new QueryBuilder(); DataSet dataGrid1; dataGrid1 = myQuery.resultSet; myQuery.clearColumns(); myQuery.addColumnList(ColumnType.GeneralColumnList); myQuery.addColumnList(ColumnType.MusicColumnList); myQuery.sortColumn = ColumnType.GeneralColumns.DocTitle; string yq ...Show All

  • Victor I. Dorofeyev Get Confirmation

    Hi, It's regarding the System.Web.Mail.MailMessage, is there any method to check the mail server, to confirm whether the mail is delievered from the server, once after executing this command " SmtpMail.Send(objExpressMail)" or how can i make sure that the mail sent thru my application is gone sucessfully (from the mail server) Thanks & Regards, Sriram S That's not going to be easy. As far System.Web.Mail ...Show All

  • VimalaLawrence code converter

    Still working on the same problem…   I need to open encoded files (DOS Hebrew). Follow the link and download the file "Unrecognized files examples" to see examples:   http://rapidshare.de/files/19995657/Unrecognized_files_examples.rar.html   I succeeded with Excel following these steps:   1.- From Excel I open the file,(Excel does not recognize the file and ask me for an encoding format, I c ...Show All

  • hulikko Writing to File Properties (Like from Windows Explorer Properties)

    I am trying to write a property (specifically the "Comment" property) of a file programmatically.  This would be the same as opening the file properties in Windows Explorer, and changing the field. If I reference the shell32.dll, I can read the properties using objFolder.GetDetailsOf(objFileItem,14), but I cannot figure out how to write to it.  Any help is appreciated. James I think there are se ...Show All

  • LaurieD Multiline comments auto-add "*" is driving me mad!

    Try this: (1) Start a multiline comment by typing /* (2) Press return. (3) Aaaargh! Where did that extra "*" on the new line come from I don't want it! Is there ANY way of turning off this unwelcome behaviour It's seriously trying my patience having to press Ctrl-Z EVERY SINGLE TIME I PRESS ENTER IN A MULTILINE COMMENT! Grrrr! [EDIT] I see from this thread that there's no way to turn this off: http://forums.microsoft.com/MSDN/ShowPost.aspx PostI ...Show All

  • SuebsakulP Resolving Types during object de-serialization

    Hi guys, I have a problem getting the right type during de-seialization using the BinaryFormatter. In my Application I have two exactly same assembly-dlls with type definitions. The dlls were created dynamically. (I need this copy, to edit the one assembly, while the other is loaded in my AppDomain (Assembly.LoadFrom(...))). These assemblies are located in different directories, one in my application directory, the other somewhere else. Now, I g ...Show All

  • Greg Mandel Word object and its Enumerations

    I need to store various printer settings into the database (this would be done by the user thru “Maintain Printers” screen). 1.       In what format I’ve to store the printer information (paper source, papersize …) 2.       Then how do I apply the stored values to word object. (It’ll accept only its enumerations) Ok... Can you elaborate your ...Show All

  • Notis Denied network access when creating a folder

    I have a client side C# windows app that makes a POST call to the ASPX page on my Server, running Server 2003. Within the HTTPWebRequest is the file being uploaded from the client to the server. When it reaches the ASPX page, I want to create a unique folder that applies to the user on another server, then write the file inside that folder. However, i'm getting a permissions error when i'm trying to create that folder on the second ser ...Show All

  • kamran_kamaei Build Web Comments Page

    Does anyone know what happen to the "Build Web Comments Page" function that used to be under the Tools menu in VS 2003 It does not appear to be an option in VS 2005 Thanks for the help in advance. Yeah, it's gone. Visual Studio 2005 will have no built-in way to turn XML comments into a presentation format like HTML. Wait for the updated NDoc, I guess... ...Show All

434445464748495051525354555657585960

©2008 Software Development Network

powered by phorum