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

Software Development Network >> .NET Development

.NET Development

New Question

Calling .NET 2.0 assembly from 1.1 windows service
ArrayList & DataSet...
IDbConnection.CreateCommand not intended to be used directly
Issue About Registry Entry Through Setup
.NET and security - Why so complicated?
Web Request Problem
How does Socket/s being taken care of in the memory?
errors adding a web service with sockets to a C++ project
useUnsafeHeaderParsing=true does not solve protocol violation error
HttpWebRequest SSL Session Control

Top Answerers

Timothy Peterson
Carlos Sanchez
Dietz
Alfonso Calderon
deathruddles
stombiztalker
intrepid
Damir Dobric
suddenelfilio
GoDaddy
sitemap
Only Title

Answer Questions

  • SDruelinger Microsoft Excel 2003 interop + COM object releasing

    G'day, I recieved an unusual error message from a VB.net 2005 application that automates excel and wanted to confirm the correct way to shut down excel automation components. The user got a new PC the other day and started to get the following error messages. 'Creating an instance of the COM component with CLSID {00020820-0000-0000-c000-000000000046} from the IClassFactory failed due to the following error: 80010105'. So I assume this is an Microsoft Excel 2003 automation error. I reviewed the code and found a cross post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=344206&SiteID=1 suggesting that GC.Collect() should be Marshal.ReleaseCOMObject(objExcelApp). Is that correct for a Microsoft Office PIA component Here ...Show All

  • Jassim Rahma how to use a cs files objects at runtime?

    I have a program that creates a cs file. I would like to access it's classes at runtime and create objects of it's classes and use them. How should I approach it. Is there a way I can progmatically compile and create instances of it's objects for use Thanks, Devin what you are describing to me is an OO - Object Oriented. Yes you can create class objects, access its methods and properties. Example: private string theName; public string TheName { get { return this .theName; } set { this .theName = value; } } public class MyClass( string name) { this .theName = name; } public override string ToString() { return this .theName } //some other class: MyClass theC ...Show All

  • SDixon updating a data table -----Help Needed very urgently..........!!!!

    hi, I have my database stored in the sqlserver 2005. Using the table name i am retrieving the table and it is displayed to the user in the form of datagridview.I am allowing the user to modify the contents of the table, including the headers. Is it possible for me to update the table straightway rather than giving a sql update command for each and every row of the table . Pls reply asap.... -Sweety you could but i would not recommend it as it will be expensive calling the update method everytime on say a cell value change, what happens if the cell value does not change (user undo's the edit they made) it will still call the update method, pretty much kind of making the entire section of the ...Show All

  • nsam XML for ASP.net

    Hi, I need to render the XML document in a ASPX page, using XSLT. I am not able to handle multiple if conditions in the xslt file. I have rendered the choice as a dropdown in the XSLT. But I should place a condition, on the value 'Yes' in the dropdown, the checkbox and the label should appear.. This is my XSLT file. <xsl:choose> <xsl:when test="$choice='Yes'"> <xsl:for-each select="question/choice/question"> <xsl:if test="@type='lbl'"> <asp:Label Cssclass="styletextsublabel1" runat="server"><xsl:value-of select="@value"></xsl:value-of></asp:Label> </xsl:if> </xsl:for-each> <xsl:if test="@type='checkbox'"> <asp:Checkbox runat="server" Cssclass="stylepadding"> <x ...Show All

  • Orion77 Finalizer guarantees for access to other objects

    When a finalizer runs are there any gurantees that any other object has not already been finalized This would include another object to which a reference in the finalizer's class still exists or a public static object in the finalizer's class, or any other class. Plop69 wrote: nope, there aren't. Let say you have a object A, that have 2 private members of types B & C. B & C do not have a finalizer in my example public class A { private B _b = new B(); private C _c = new C(); public A(){} ~A() { //here in my finalizer i want to use _b en _c } } static void Main() { A a = new A(); System.Threading.Thread.Sleep(5000); a = null; GC.Collect() } let's sa ...Show All

  • Muhammad Imran Zafar 10055 error code

    Hi... I get this error codd 10055 on my BeginSend code!! the code message is not very useful!! what does buffer mean! what buffer ! the sendbuffersize ! or the receive buffer size ! or the paging memory... and if any what to do to increase it or release any unused resources !! if queue what Queue! im not using Queues!! btw im sending frames from a client to the server which in turn sends it to all other clients connected to it.. frame rate is 20f/ps and frame size is no larger than 3500 byte.. please advise. thank you, hi i had your same error code in my application (vb6); have you solve your problem in which manner thank you alessio http://www.proxyplus.cz/faq/articles/EN/art10002.htm ...Show All

  • Anders Gran&amp;#229;ker How to Run .NET Executable on a Network Drive?

    I'm sure this is very basic. I have an application, a very basic C# Windows Form test application that runs when I execute locally. However, when I copy it to a mapped network drive, such as S: I see this: Unhandled Exception: System.Security.Policy.PolicyException: Unverifiable assemb ly 'S:\Andrew\test.exe' failed policy check. OK. How do I make the assembly verifiable Does each user need a public key or to have Test.exe added to a security policy Once I clear that hurdle, what libraries do I need to install on S: (or on the user's local machine ) to get .NET 2.0 Framework to work Thank you, Control Panel->Administrative Tools->.NET Framework Configuration . ->Runti ...Show All

  • Lbo Sleep() api in MainThread...?

    New to C#...coming from C++ and MFC.... Is there a Sleep() api/method to put the main thread to sleep for so many milliseconds Thank you Thank you so much; yep that is exactly what i am looking for have a great day This thread is off topic for the Visual C# Language forum, moving to .NET Base Class Library forum. As has been pointed out, there is the Thread.Sleep() method; but, it's generally misused. If you're looking for thread synchronization this isn't the method to use. If you're looking to put a thread into a wait state, this also isn't the method to use. Only if you want your thread to block and not be able to do anything else for a minimum amount of time (generally in 10-15ms increments, the system ...Show All

  • technica Internal vs. Public

    Sorry if this is simplistic, but is it a viable design choice to restrict visibility of as many type members as possible in a Windows application exe to internal, rather than public This client will necessarily never be consumed by any other class or application. It also suppresses various VS warnings about uncommented members, which are irrelevant anyway in many cases. Thoughts, comments Obfuscator I see no request for obfuscation mentioned anywhere in this thread. However, obfuscators can rename public classes too . Hello All. huysmans: That's what internal scope is meant for. Visibility throughout the assembly, but not outside of it. HTH. Thanks for all the comments. I thi ...Show All

  • Seekaye Side by Side Execution.

    Hello, Please can you confirm whether the following statement is true: If a .Net 1.1 application runs on a machine with both 1.1 and 2.0 runtimes installed, the application will try to run in the 2.0 runtime. In other words, if you don't configure an application to target a specific runtime, it will use the latest runtime installed on the machine. Thanks in advance. paulballard wrote: This is what I have read on MSDN but the behaviour I have seen in our production environment shows that the 1.1 application is trying to run in the 2.0 runtime. Strange, that's not what I'm seeing. At least not as long as the 1.1 framework is installed. paulballard wrote: Is ther ...Show All

  • Tryin2Bgood How can I create Images from a URL?

    I am developing a native application running on a machine with an internet connection. At the other end of the world, I know there is a web server running with pictures. I would like to load pictures from that web server and display them. Would be awesome if the following would work: Image image = Image.FromFile(”http://www.webserver.com/directory/pictureFile.jpg”) ; But unfortunately, it doesn’t … what is the proper way of doing this. Thanks, Dom. I suppose this is what you are looking for Stream ImageStream = new WebClient ().OpenRead(url); Image img = Image .FromStream(ImageStream); Note: This is got form this great article. : Pulling ...Show All

  • Chicomaravilha how do i share my whole hdd with computers on my network?

    i would like to share my whole hdd on this computer on another computer and share the other computers hdd on this computer so when i open up my computer on either computer i see two hdds and not one.. someone please answer Hi, This is not really a Windows Forum but what the hell. Create a share: right click a folder/drive and select "Sharing and Security" click "New Share" (the default share for a drive like C$ is only available for administrators) enter the name of the share click Permissions add the user you want to be able to connect to the share (if you add users, all known users can connect to the share) Show the share as a drive: go ...Show All

  • Johanvh dll files

    where can i get detailed information about infrastructure of a .net dll file, and how runtime loads and starts to execute it. ok then, is there a chance to compiling source code without a timestamp (or may bu using same timestamp) because i want to differentiate if change is only for timestamp or because of changes on source code. think the situation as you dont have source code and you have two dll files. You want to know they are compiled from same source or not what would you do i'm trying to find out why two different builds of visual studio produce different dll files. Scenario is : build a project, get a copy of the dll, then clean and rebuild the project withou ...Show All

  • ramsk SSL Certificate not working without Visual Studio installed?

    Hi, I have a HTTP proxy application made in VB.NET. For adding SSL Support i have used some open source library and a sample certificate provided with that library. It works fine with SSL when i use it on my own computer which has the Visual Studio .NET installed on it. I make the executable and test it on this machine, it works fine. But when copied that executable to a different machine that doesnt have the Visual studio, then its not working. something is wrong with the certificate or either with that library. I am not able to figure out as its executable. I have copied both the dll and the certificate to that machine and put it in the same folder where the executable file is. Can anyone suggest a something. Also do i need to inst ...Show All

  • ron nash How to read the result of a dynamic SQL query??

    Hi, I am new to C# and I would like to know how I could read the result from an SQL statement dynamically. Basically we have some XML files mapping tables on distinct databases... by reading that XML we create the SQL query and execute the statement. After we get the IDataReader, but I don't know how to read the values dynamically from the reader. The data type for each column is described in the XML file, like Int64, String, int... and so on.... Thanks in advance Thanks guys!! I am a bit new to Microsoft world, but now I can see how the MS community is great!! Cheers! Hi jfbaro, If you feel the issue is resolved to your liking...mark the post(s) that helped you as the ...Show All

404142434445464748495051525354555657

©2008 Software Development Network

powered by phorum