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

Software Development Network >> Visual C#

Visual C#

New Question

datasets -- hide password information from the user
using keywords
How to declare variables inside DataTable Queries like SQL
favourites in web browser
Using WMP ActiveX control
Default value on value-types
How can I get special system directory?
Passing a buffer to a COM call?
Generics: Pointer to member?
Running as a service

Top Answerers

SADG!RL
Thunder Chen
Greetings
Tenly
alberich
DamsDev2007
boone10
jludmir
Dion Le Roux
Blake81
XLink Filter Project
Only Title

Answer Questions

  • RRS System.Diagnostics.Process() help

    Hi everyone, small problem with the use of System.Diagnostics.Process() method. I am using the software OmniPeek and well it can be run via the command prompt to start up and autorun and do what I need it to do; I also have a few other pieces of software I want to run along with it. Long story short, I don't want have to constantly go into the cmd promt to do this, so I tried writing a lil widget. The code I wrote however, does not work, it jus ...Show All

  • Jon_H passing data from a form to another

    those anybody know how can i pass data from form1 to form2 i want to put a TextBox1 in form 1 and when Form2 initialize,  show a MessageBox with the Form1 TextBox1.Text   Please help Hi, IF the both forms are in the same application then whatever i posted in my previous message, will work for you and if both forms are in different application then you have to use WIN32 APIs for inter-application processing. HT ...Show All

  • Mike Zimmerman Generics and reflection. How to check type?

    Hi all, If I use the following declaration for a field:        private List<MyClass> allObjs; and use reflection to get the type of "allObjs", the following test fails:        FieldInfo[] crAllFields = objType.GetFields(                 BindingFlags.FlattenHierarchy |             ...Show All

  • Mark_Wilhelm copy datagrid to datatable

    is there a way to copy a datagrid into a datatable I could loop through it and copy each value but i'm looking for a cleaner way of doing it This should do it: DataSet dsDG = new DataSet(); DataTable dt = new DataTable(); //first cast the DataSource into a DataSet dsDG = (DataSet)MyDataGrid.DataSource; //then pull the DataTable out of the Dataset dt = dsDG.Tables[0];   Hope tha ...Show All

  • JonHarding get Fibonacci sequence number base on user input

    hi all, in my application, i want to return the n-th number in a Fibonacci sequence to the interface by asking user input. e.g. user inputs 5, and click on a button, it returns the 5th number in , which is 3. please help. This sounds like a homework assignment! In general, there are 3 solutions: Use recursion (Not recommended): F(n) = F(n - 1) + F(n - 2) Use a loop (as outlined by various posts here) Use the closed ...Show All

  • jerrison Properties Collection

    Hi all, I wonder if one of you kind people would be able to point me in the right direction. I have a class with quite a few properties and I thought it would be quite useful to be able to iterate through the classes collections with a foreach loop and return information about each property (such as name, type etc) and its value . However, this is where I come unstuck as I can't find an out-of -box way to do this. I guess I need a collection of ...Show All

  • Claudio Perrone Namespace for FtpClientException

    I am using the following code if (bConnected) throw new FtpClientException( "Connection already open" ); it throws me an error Error 1 The type or namespace name 'FtpClientException' could not be found (are you missing a using directive or an assembly reference ) I had tried searching thru MSDN, but could not find any namespace relating to this. Can anyone please help Thanks My namespace declaration is as follow ...Show All

  • Chad Wach Inmediate window functionality for C#

    hi, i was just using vs2005 and discovered the inmediate window, wich allows us to put a sample of code and test/debug it without much problem (and wich is perfect for testing something in your algorithm, or a very simple concept without modifying your code), i was wondering if a command line tool or anything alike already exists, if not wouldn't it be cool to make one, i know it would prove an invaluable tool aside, that sometimes you just want ...Show All

  • PraveenL using keywords

    Hi everyone, I have some doubts about the usage necessity of using keywords. Instead of using this keyword, it is enough to only add the packages into our Assembly(DLL files), so inspite of this, why do some programmer do both of them(add the packages into Assembly and also use using keywords for these packages). Thanks, Mert Thanks very much for your reply again and now I think I kept the idea. So if we want to use any class; (for instn ...Show All

  • Silvercat Search doesn't work.

    When I search for a file or folder, it will search for all of 2 seconds then say that there are no results. I even tryed searching for My Documents and nothing came up. What should I do I have the same issue. Seems to me this problem has started after I uninstall Google Search. The strange part is that the only option, which doesn't work, is the "All files and folders". Whatever I search for, the ...Show All

  • georgw How to catch windows messages in normal class

    Hi, During the development of a project with threads i was supposed to use windows messages. I know how to catch windows messages in forms, but not in a normal class. Can anybody help me with this problem With kind regards, Jeroen Olie Hoping I have interpreted the original question properly, the desire was to peek in on the messages passing without having to do so within' a specific Form. This is very possible as an applicat ...Show All

  • Abyers How can I cover the menu item's shortcut?

    Supposed I have a form with KeyPreview=true and a menu item whose shortcut is CTRL+C. Add a Textbox on the form. When I select some text in the Textbox and press CTRL+C, the selected text just can not be copied because system just call the menu item's OnClick event handler. And then how can I copy the selected text via CTRL+C, that is to say, how can I cover the menu item's shortcut Onclick event handler in some particular situations Your& ...Show All

  • sooraj Distribution and .Net Framework

    For the last month i had been working on a sudoku game. Was using VB 2005 express edition. After all was done, tried to pass it on to others. Then only got to know that .NET framework should be loaded on the other PCs also. Then I read somewhere on net that if you use Visual C#, ou dont face this problem. I tried converting my project, but even in Visual C# its giving the same "Initialisation error 0xc0000315". So wat is the solu ...Show All

  • Michael Braaldey MDI parent and child form controls interaction.

    Hi! Can anyone give a sample C# code for a command button of a child Form to change the "text" property of the parent Form when the button is clicked Kindly post your solution guys. Thank you. compaks wrote: This is on MDI Form's menu click private void menuItem2_Click(object sender, System.EventArgs e) { objForm2 = new Form2(this); objForm2.MdiParent = this; objForm2.Show(); ...Show All

  • Ifeanyi Echeruo Cancelling Asynchronous Calls

    hi i want to cancel an asynchronous call ....on some event. I m unable to find out how to do this .... Any help will be highly appreciated. Thanks in advance. For you second question, here is a blog post that covers it all writen by Justin Rogers: Asynchronous Regular Expressions using the ThreadPool and a cancellation model . Can you elaborate a bit; what are you trying to do more specifically as I know, you can ...Show All

858687888990919293949596979899012

©2008 Software Development Network

powered by phorum