Software Development Network Logo
  • Game Technologies
  • Visual Basic
  • VS Team System
  • IE Development
  • Smart Devicet
  • Windows Vista
  • Windows Forms
  • Visual Studio
  • Visual FoxPro
  • SharePoint Products
  • Visual C++
  • Microsoft ISV
  • Visual C#
  • .NET Development
  • Audio and Video

Software Development Network >> .NET Development

.NET Development

New Question

ASP 2.0 NET SQL Provider Membership Management
Dataset missing Table Name
Trying to get a simple .Open() to work
SQL statement problem in vb.net 2003 & sql server 2000
Spell Checking Library
XML Appearance in Visual Studio 2005 versus Visual Studio 2003
SQLBulkCopy and text files.
"Cannot view XML input using XSL style sheet" error
timer vs thread performance
XML DOM dtd

Top Answerers

BenHarper
Ronald Schilf
Bill Reiss
GiampaoloSanRemo
DouglasL
jkas
Chintan Vyas
kiran1234
nbaker
MichaelGoldsmith
sitemap
Only Title

Answer Questions

  • cmendozas Trace.Refresh() call fails

    Hello all. I am trying to catch changes in my app.config file and refresh Trace class on any change. I am using FileSystemWatcher class instance to be notified about any change. When the "on change" event raised i call Trace.Refresh(). However, i get exception each time it is happening. Exception says there is multiple access to the file. I tried to edit app.config from FarManager application's editor and from notepad. How i can refresh the Trace object without getting this exception Thank you Yes. It seems your guess was correct. I tested TraceSource instance with Trace.Refresh and it is updated. Very said news, since it forces me to create a single-tone object in the code while i have a built-in one. Hope ...Show All

  • knji Updating Access database

    Hi I have created a datatable with an SQL statement from an access db to populate a datagridview. I have solved most of the updating back to the database. Some of the columns in the datagridview display hrs and mins, they are stored as decimal in the database, when these are updated and then the save changes button is pressed the data is saving ok, i then try to recalc the totals but these are 1 action behind, for example if a add 1 hour to a column then this hour is not shown in the totals, if i then add 2 hours and click save changes then the first addition of 1 hour is displayed in the totals. If i create a msgbox in between my code and then click to close the msgbox and the code continues and now the totals are updating. It seems by ...Show All

  • agiudici Project setting CPU: x86, x64, Any CPU

    Hi If my application is only going to be deployed on x86 systems, is there any advantage to changing the project CPU settings to x86 Will this improve the performance of the application Thanks :) better rephrased! Well you may be developing an x64 based application or decide half way through the project (which shouldnt happen, everything shouldve been planned out before hand) so therefore you have an option there and then to deploy it for that platform than starting from scratch or whatever. I am really unsure, but just having some guesses :) Hi, This is an interesting question, and I’d like to add another slant on it. Please understand that I’m in no way a ...Show All

  • J P R Acessing serial port

    Does anyone know what permission is needed to use the System.IO.Ports class In other words What SecurityPermission is needed I am trying to build a WinForm control to run in a browser. Thanks in advance. PatC The Open() method demands SecurityPermissionFlag.UnmanagedCode. GetPortNames() demands RegistryPermissionAccess.Read How can i add [SuppressUnmanagedCodeSecurityAttribute()] to SerialPort class when i add it in the namespace of my class it doesnt help... i still get the error I need to beable to read COM port 6 using the System.IO.Ports.SerialPort of a clients computer in a winform hosted on an asp.net page. I need to beable to just read the port, and the actu ...Show All

  • Minetta Get a class from a string - Why this???

    How can I convert a string to a class name Say I've got tClassString = "MyClass". How can I create an instance of MyClass from this Thanks, cdx I'm new to C# and VS, so please bear with me. The class I'm trying to create an instance of is in a different namespace and project (but is part of my solution). Would an assembly in this case mean a namespace or project Does this relate to how I would deploy this (Meaning that other project would basically be a separate .dll and this is the assembly that needs to be loaded ). I'm just not sure how I get a reference using Assembly.LoadFile. Thanks for your patience and help, cdx So I've got it working with the code above, but I ran into an odd ...Show All

  • i-code-4-fun Forms authentication and ADAM

    I am developing an ASP.Net website, and I am planning to authenticate ADAM users against an ADAM server, using forms authentication for doing so. I am using the following web.config file: <configuration> <appSettings/> <connectionStrings> <add name="ADAMStore" connectionString=" LDAP://localhost/OU=MyOrganizationalUnit,C=UY,0=MYOrganization"/ > </connectionStrings> <system.web> <authentication mode="Forms"> <forms loginUrl="Default.aspx" protection="All" timeout="30" name="AppNameCookie" path="/FormsAuth" requireSSL="false" slidingExpiration=" ...Show All

  • Grant Holliday Please help with DES decryption - 'Length of the data to decrypt is invalid.'

    Hi, I am attempting to Decrypt a file that I have, which has come from an outside source. The source says that it ' uses the 56-bit symmetric Data Encryption Standard ', and also ' The implementation was written so as to conform to MIT's libdes.' I am using the MS Patterns & Practices Cryptoblocks library to decrypt the file, but I keep getting the following exception, originating from the ' CryptographyUtility.Transform()' function, at line 10 (cs.FlushFinalBlock()). The exception thrown is 'Length of the data to decrypt is invalid.' Now, I have googled for this problem and have found some help, and typically people recommend to either use Convert.From/ToBase64, or they recommend to use ASCII.GetBytes/String(). ...Show All

  • GinaK import / parse DIF files (Data Interchange Format)

    Hi there! Is there a way to import data from a DIF file into a data table object The only thing, I found, is this one: Dim myFileStream As FileStream = File.Open("Temp.dif", FileMode.Open) ' Store the data into Dif format. Dim myDataObject As New DataObject() myDataObject.SetData(DataFormats.Dif, myFileStream) But now I don't know, how to access the data in the "myDataObject" object... Any ideas THANK'S That doesn't seem to work for me. I'm getting a null value returned when I use the Text format. Any other suggestions on to how to get it into a datagrid or something like that Thanks Dim MyDataString As String = myDataObject . GetData ( DataFormats . Text , True ) ...Show All

  • M. Simioni get columnscollection from table

    Is there an easy, memory efficient, way to retrieve a columnscollection object from a specified table The regular way would be just to do: SqlConnection con = new SqlConnection("..."); con.Open(); SqlDataAdapter adapter = new SqlDataAdapter("...", con); DataTable table = new DataTable(); adapter.Fill(table); But for my current project I do not have control over the query string and the query string could also be a stored procedure, which would then be passed as a SqlCommand object. So I am forced to use an SqlDataReader when doing what I need to do. So is there a way to get column information from an SqlDataReader that includes Default Values, Data Types, etc... for each column   Preferably I would like to get a pointer to the actual ...Show All

  • OptikConnex SMTP client timeout issue with addresses that include an underscore.

    I am using system.net.mail to send out notifications for signups. my problem is that it works just fine unless any of the email addressess entered have an underscore. Like foxone@hotmail.com will work just fine but fox_one@hotmail.com will timeout. Does anyone know what might be causing this. it shouldnt. I've done it and works fine over here. I would suggest, as silly as it sounds, to disable your anti virus software and see how that goes. If you can, try to increase the timeout limit as well of the smtp client object to double the time and see if it still times out. ...Show All

  • Vipul123 Where do I find class properties?

    SUMMARY: Where do I find the properties of classes such as IPHostEntry FOLLOWUP: Where do I find a simple description of how to use the class I.E. Set these variables, initialize with these functions, then do this. When I create a Windows project and put a TextBox in the new window, on the right side of my screen I find a properties window. This lists the variables of the TextBox. These variables contains much information that I can utilize when working with a TextBox. With the cursor on a TextBox, pressing F1 brings up the help file with a nice description of the TextBox. It begins with “Windows Forms text boxes are used to …” and proceeds to tell me what they are used for. Then I put the cursor on the phrase IP ...Show All

  • Stewart Engelman relationship between tables error

    I get an error while using the dataset designer: I tried to change an already existing relationship between two tables in database on the dataset designer by enforcing cascade delete and update on their relationship. Then i fired delete on the parent table from creating the datatableadpater.delete(). It gave me error The DELETE statement conflicted with the REFERENCE constraint "FK_Products_Categories". The conflict occurred in database "Northwind", table "dbo.Products", column 'CategoryID'. The statement has been terminated. If we can't change any relationship, what is the use of giving relation option in the toolbox.Is it to create a new realtion between two tables and persist that in d ...Show All

  • DmitryMS Design control problem

    I made inherit Button control with XP look. Control is OwnerDraw type because I want button control with XP look on Win2000. Control have two property BottunStyle and BottunShape. For that purpose I create class with two enum variable. public class eButtonType { public enum ButtonStyle {Default, Blue, OliveGreen, Silver}; public enum ButtonShape {Rectangle, Ellipse}; } In class XPButton I created two property and two private variable m_btnStyle and m_btnShape private static PKH.XP.Controls.eButtonType.ButtonStyle m_btnStyle = PKH.XP.Controls.eButtonType.ButtonStyle.Default; private static PKH.XP.Controls.eButtonType.ButtonShape m_btnShape = PKH.XP.Controls.eButtonType.ButtonShape.R ...Show All

  • Michael Mortensen Virtual Path Problem?

    Pretty much what I'm trying to accomplish is a data backup utility. First I have a treeview on the left, pretty much like Folder Explorer, that lists the drives and so forth. You then can dive down into different directories from there. The files and directories are then put into a listview on the right, after you select one of the nodes. This is where the problems start occuring. I'm including a piece of code here, just as an example to give you a visual understanding of what I'm about to ask. First make your basic windows form app. Add System.IO namespace Add a button Add listview control In your button1_Click event add the following DirectoryInfo tempDir = new DirectoryInfo ( "C:\\WINDOWS\\Downloaded Pr ...Show All

  • Rick Simmons How can I control my keyboard in C#?

    I would like to write a program like in-screen keyboard. I face a problem that I do not know how to output a key to the system which like I am pressing the real keyboard. I checked System.Windows.Forms.Keys but it seemed to be only handling the pressing event from user but not "pressing" the key by the program itself. Thank you in advance. thank you. But how can I find this method in msdn I am new to programming. I always find difficulty to search such methodin msdn. I was trying to search for Window.Form.Keys. But it seemed to be no information for sending a key. Find it difficuit myself and then half the time when I found something I still find it hard to u ...Show All

252627282930313233343536373839404142

©2008 Software Development Network

powered by phorum