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

Software Development Network >> Visual C#

Visual C#

New Question

Word object and its Enumerations
Anyone know Accountability pattern?
edit "regedit"
Join W2K Domain
How to access shared folder in windows application programming
Reading an XML File, Changing some values
Threads problem
Diff Between Web and Window Application
Why all these get/set-methods instead of public variables?
Hex convertion to string in C#

Top Answerers

Master81
Aleksandr K.
doodlemania
uclimng
Gad D Lord
mrwillyfog
Johnh2005
SQL Servant
Mark.Sch
LazerBeam
Command Line Email Utility Application NetMailBot
Only Title

Answer Questions

  • Menghraj datarow edit

    I would like to edit a row in a dataset but not sure why do not get the .BeginEdit in the intellisense. This is what I have already: DataRow row = oDS._TRCLNT01.Rows[rowNum]; row. Thanks The DataRow class does contain a BegintEdit method. So it should be visable in the intellisense. The method does exists in .NET Framework 1.x and 2.0. Thanks for the tip! Hi If whenever you think ur inti ...Show All

  • wave702 How do I share a class between projects

    This is probably a really silly question, but I'm fairly new to C# and .NET. I have a solution with two projects in it, both windows applications. I have a class that I want to be available to both projects, but I can't work out how to do it. I can't reference one project from the other because they are .EXEs not .DLLs, and I can't add the class to both projects because that creates two separate source files, which obviously defeats the purpose. ...Show All

  • Miles Cohen Switch Statements } Can You....

    Hey i was having a discussion about switch statements with a few mates of mine. And i discovered that if you don't break one of the cases it will go inside the next case, no matter of what the value is that you are checking. So can you do this: string value = "Value1"; switch (value){     case "Value1":       value = "Value3";     case "Value2":      &nbs ...Show All

  • akaricky1 Dispose a string?

    i got a service which "controls" the eventlog. If a error is writen, the service send a mail to me. This works, but it's  memory usage gets bigger and bigger static void Main() { EventLog myNewLog = new EventLog (); myNewLog.Log = "System" ; myNewLog.EntryWritten += new EntryWrittenEventHandler (MyOnEntryWritten); myNewLog.EnableRaisingEvents = true ; signal = new AutoResetEvent ( false ); sign ...Show All

  • JeanKap C++ #define equivalent

    Is there a C# equivalent to using #define in c++ I know I can use enumerations for integer constants that I need, and I assume the actual enumeration wont be compiled and stored in my app, but what about floating point constants Constants are the way to go for you. The problem you're describing with size of assembly should only disturbe you if you're working with thousands and millions of constants, which will ...Show All

  • Greg Kane Extract photo creation data from exif jpg

    I have done a function to extract the creation data from jpg files (with EXIF data). The code is: Image MyImage = Image.FromFile(archivo); PropertyItem propItem = MyImage.GetPropertyItem(306); String fechaCreacion = System.Text.ASCIIEncoding.ASCII.GetString(propItem.Value).Substring(0,19); DateTime dt = DateTime.ParseExact (fechaCreacion, "yyyy:MM:dd HH:mm:ss", CultureInfo.InvariantCulture); MyImage.Dispose(); return dt; T ...Show All

  • Euclidez can my C# assembly know when it's been loaded?

    I am writing a C# assembly that is completely independent from its host. This assembly doesnt have a single functional point of entry (it has a lot of objects that can be used in various ways). Is there a way i can be notified on the first time, just once, that my assembly is loaded/and or being used I need to know this in order to trigger an initialization of a resource. Thanks. > Did n0n4m3's su ...Show All

  • Nisith B Paul Test Project is VB but I Want C#

    Hi I'm creating a test project in VS2005 using the installed Test Project template. But it's creating a VB project which I don't want. I want my projects to be C#. C# is installed. How do I cahnge it Thanks Devz Hi, Goto Tools->Options . In the options Dialog, goto Test Tools->Test Project . Then just change the default test project type to Visual C# test Project . cheers, Paul June A. Dom ...Show All

  • Soso2K XML in Application Tutorial/Example?

    Are there anygood Tutorials/Examples on reading and writing XML files in C# applications Mateusz functionx.com has some quite simple tutorials for you to get started on XML in c#. check out: http://www.functionx.com/vcsharp/index.html ...Show All

  • YummySatay Question on Enterprise Services(COM+) DCOM settings.

    Hi, I have created an enterprise sevices (COM+) component using C# launguage. When I host it on Component Services->COM+ Applications, I'm able to make call to this component from C# client. But when I try to make call to it from a remote machine it fails. Error is - System.UnauthorisedAccessException :Access is denied. This is a typical scenario. On the client machine if I have logged in with user name which is present on Server machin ...Show All

  • Billy J proxy problem

    Hi all, VS 2003, windows application that uses Internet. I create an application to merge pdf files downloaded from Internet (which give me one file for one page). I'm behind a proxy server. The problem is: when i request a file, the web site creates a temporary file with the page (xxxx.pdf, where pdf are numbers). So these files are also on proxy server and sometimes i have some error because (i think) the page is got from proxy server ...Show All

  • Mike Sage Program Execution

    Ok. I know how to open a program through code using the Process method. But what I would like to know how to do is, how to execute a command within a program that I open. For example. Say if I was to execute a .rar file. It would open and show the compressed files. How would I call a method to extract those files If this is possible can someone explain to me how Only a very few player can play compress file, you will have to decompress th ...Show All

  • Alan Hsiao How to write section handler into app.config by code

    I want to write the following item into configSections by code <section name="MySection" type="MySectionHandler, MyAssemble"/> But I don't which method can do it in .Net 2.0 thank you See my similar posting I made earlier. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=69059 Background I worked on a project recently handling some similar issues.  I found that the handler you write for your custom section can be ...Show All

  • MuraliN Limiting Bandwidth Per Application or Per IP

    Does anyone know if it is possible to limit bandwidth somehow by using the Net sockets namespace what I mean is, setting an download/upload limitation per executable of a speicific process, Any code example you may direct me to will be appreciated, thanks beforehand. Not for an application im developing but for any application running via Windows, for example, if I have a Bit Torrent client running and I ...Show All

  • Xin Zhang System.Byte[*]

    Dear All, I have an object data type that I pass to a function. I can view the values returned in debug mode. But I can’t make use of this data in any way. I tried to read the data into another data structure and I have no success to date. These are the declarations and error message; Declaration: public object buffer; byte [] myByte; myByte=( byte[] )buffer; Error message: Unable to cast object of type 'System.Byt ...Show All

8788899091929394959697989901234

©2008 Software Development Network

powered by phorum