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

Software Development Network >> Visual C#

Visual C#

New Question

Deploying a C# Application
WAN linkage sizes
MS Access DB for user logon details
Refrencing Assemblies
DataGrid loading password protected Access DB
how to disable tree node in a dataset
"unable to load dll" in IDE but fine to run
Why can't I see all the components from GAC in the "Choose Toolbox Items dialog / .NET Framework components tab" of Visual c# 20
C#, Arrays, and Guids..OH MY!
casting problem from SD.DbType to SD.SqlDbType

Top Answerers

khyron
Bob Bojanic
ryuga99
Riaan
norm74
Harry Kraak
the_grove_man
braden2
sfx1
jabdulius
MRH Technology Group
Only Title

Answer Questions

  • dlovat Getting Name of particular attribute of a property by using reflection.

    By the help of David hayden article http://davidhayden.com/blog/dave/archive/2006/03/07/2876.aspx I make an attribute class TableAttribute , KeyAttribute and two of my classes that is [ AttributeUsage ( AttributeTargets .Class, AllowMultiple = false )] public class TableAttribute : System. Attribute { private string _name; public string Name { get { return _name; } set { ...Show All

  • Michael Exall Passing Arguments to new form

    How can I do the same below, in C#: I am looking at some vb code that declares a new form with a variable like this Dim pastForm As New frmForm2( Me .Name) pastForm.Show() Then in the frmForm2 form it has 2 functions, one that takes an argument and one that does not, each executing separate code when executed. Public Sub New ( ByVal f As String ) { } Public Sub New() { ...Show All

  • RayVI C# audio input method

    Hi there, I know that with C# you use interop.speechlib.dll to ask your program to read out text, however, is there anyway we can use microphone to tell our c# program to execute some procedures Any help will be much appriciated. Thanks With SAPI5.1 interops you can also use speech recognition engine. Take a look on http://www.microsoft.com/speech/default.mspx  and http://www.microsoft.com/speec ...Show All

  • Manesh_myworld Web Application Problem

    Hi, I would like to know how can I run a ".bat" file trough my web application, I tried using process but it doesn't get the argument... Here is the part of the code.. System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.EnableRaisingEvents= false ; proc.StartInfo.FileName="C:\\Inetpub\\wwwroot\\Webshell\create.bat"; proc.StartInfo.Arguments="Pasta1 Pasta2"; proc.Start(); But it does not work, if I paste the comm ...Show All

  • KPMA-JKO SoundPlayer won't play whole .wav file

    I am trying to play wav files sequentially using SoundPlayer. I am using the PlaySync method. According to the documentation, program execution should not continue until the wav has finished. I have a test case with a messageBox call after PlaySync. The wav only plays for half a minute to a minute of any song before it stops and shows the MessageBox. I would like to avoid using WMP; I want to keep resources to a minimum. I appreciate any help ...Show All

  • NickUk why selectnodes method wont work?

    Hi friends am doing following to get nodes list from a xml file. it does not give me any error or gives me the nodes list System.Xml.XmlDocument doc = new System.Xml.XmlDocument(); doc.Load("c:\somefile.xml"); XmlNodeList entities = doc.selectnodes("SemanticModel/Entites") //this doesnot return anything. can you help plz following is part of my xml file <SemanticModel ID="Gc5212a1e-8db3-4d95-aaef-43202035958e" xmlns="http://schemas.microsoft ...Show All

  • V J V import CSV file

    I need to import csv file to SQL tables with c# application. User can select columns band table mapping table fields. I like to create something similar to MS SQL import. User can draw line to two mapping column and fields. How I can do it in C# window application Which controls I need hi, you can find some examples here http://www.codeproject.com/csharp/#Graphics hope this helps I need the codes like microsof ...Show All

  • SQL-PRO casting object in uint

    Hi, I have an array of objects ... object[] objects = new object[4]; I know that objects[0] holds a uint so i would like to do that ... uint myUint = (uint)objects[0]; But, this throws an exception "System.InvalidCastException: Specified cast is not valid." I found that I could do that to fix the problem: uint myUint = (uint)((int)objects[0]); But, now I am affraid that by casting the object to an int first and ...Show All

  • jstark Visual Studio 2005 RC - Keyboard mapping schemes are empty?

    Hi, I am trying in vain to use the RC version of Team Suite. I have uninstalled the previous Beta 2 and have also run the vsunist.exe tool. Running on XP Pro SP2. On startup a dialog box with the error that the currentsettings is unavailable. If you attempt any of the reset/import settings it fails with the error "Interrupted by the user", but does create the file. The Tools->Options->Keyboard->Keyboard mapping schemes dropdown box is ...Show All

  • alex77 Preview problem

    I have Microsoft Windows Desktop Search installed on a number of computers but on one the preview is not working. No e-mail, contacts etc are previewed. Only a message saying in Swedish "Det gar inte att visa en forhandsgranskning" (approx "preview can not be shown") is shown. Any ideas what to do Thanks Anders Sneckenborg Hi Anders, Will do. I'll mark it as answered for now and we can reopen as needed. ...Show All

  • Xuefeng Cao I want to design my own property pages in C# (VS 2005), for user controls.

    Can anyone plz. guide me with this. This is no problem, you can iterate the members, properties, events and methods of a type. Here is a little example for properties: Method public static void PrintPropertiesToConsole( object obj ) { Type objType = obj.GetType(); BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.FlattenHierarchy; PropertyInfo[] properties = objType.GetProperties( flags ); for ...Show All

  • Naturalis C#, Arrays, and Guids..OH MY!

    Hey everyone :) I hope i'm posting this in the right forum, since it deals with a little a little SQL, as well as C#. The problem i'm having is this: I've got 3 tables.  A "Users" table, a "Role" table, and a "UserRole" table.  The "UserRole" table has two columns, "User_ID" and "Role_ID"...both of type uniqueidentifier. I'm trying to add the functionality of adding a user to multiple roles, but I need to get the GUIDs of ...Show All

  • AndySuwandy Wonder Cursor

    (using vc# 2005 .net 2.0) I thought I was pretty good with cursors until now... I'm drawing a "reversed screen" cursor. I can create one at run-time up to 224 pixels wide (and seemingly any height). I did this by creating a class that inherits IO.Stream and has the internals of the Windows IP .Cur file format (so I called the class WindowsIPCur). I then pass an object of that to the Forms.Cursor(IO.Stream) constructor to create a ...Show All

  • canislupus Is it possible to use .NET controls to VB6.

    Hi, Please any one tell me is it possible to use .NET controls and libraries [ created by C# ] to VB6. If so can you tell me the way and some useful existing articles regarding this query. Thanks, PJ. van de Sande wrote: Yes this is posible. Possible, but not supported. ActiveX control containers that support .NET controls http://support.microsoft.com/ kbid=311334 Prabu. wrote: Hi, Please any one ...Show All

  • perryf_00 How support login via WebBrowser Control?

    Hi, I am trying to login to a remote site via the WebBrowser control, which is initially successful, but when I click on a link after logging in, I get a error from the remote server saying "Your validation has expired", by which I think they mean my session cookie is no good or not being sent. I login like this: mainWebBrowser.DocumentText = Web_DAO .HttpPost ( Web_DAO .LOGIN_URI,  W eb_DAO .PFC_LOGIN_PARAMETERS ); mainWebBr ...Show All

92939495969798990123456789

©2008 Software Development Network

powered by phorum