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

Software Development Network >> .NET Development

.NET Development

New Question

CAS and NamedPermissionSet.PermitOnly
Qestion about NGEN.exe
multiple threads for multiple cameras
Empty Row Removed.
Database secure login to program
Stopwatch class not found in System::Diagnostics ?
Errors using the UploadFile method
string Replace function
Error with Select statement with multilple "OR"
sharing of textfile (FileShare method not working)

Top Answerers

DanBrink
eptalofos75
Darril
Igor Solodovnikov
GenoJoe
Klaas1
mattdawg
michaelp
arunvjadhav
lucerias
Topix: Entertainment
Only Title

Answer Questions

  • Bear23 What happens underneath the BulkCopy Object of ADO.NET 2.0

    Hi , Does someknow how does new Bulkcopy work in ADO.NET 2.0 What happens underneath because of which the performance gets better with BulkCopy Regards, Anjana I'm not sure which wizard you're mentioning, there is no wizard for ADO.NET SqlBulkCopy (note there ARE wizards for bulk-loading data into the server, they come with SQL Server; but those won't generate stand-alone C#/VB programs). If you want to validate the data sent to the server through SqlBulkCopy, you have two options: - Validate before sending it. Either by preprosessing the data before creating the input to BCP, or by intercepting the input. One way of doing this in a streaming fashion is to create your own DataReader class that consumes data fr ...Show All

  • eldiener get windows directory name

    Hi, I have a Visual Studio 2005 VB.Net project. I need to access a file which is located in windows directory. How can I do that. Is there a function to get the full path of the Windows directory I saw the GetWindowsDirectory () function but I can't use it. Do I need a certain reference to a library for it or what Thanks. another approach: Dim WindowsDirectoryPath As String = Environment . GetEnvironmentVariable ( "windir" ) Thanks Brendan This does the job, regards, Radu. Are you looking for the Windows directory or just the system directory If the System directory you could simply do this: Environment.GetFolderP ...Show All

  • Wlimit XslCompiledTransform loading external xml from database using document()

    I have some xml and xsl documents all stored in a database, so there are no physical files. I use the XslCompiledTransform and a custom XmlUrlResolver class to load xsl documents from the database. My custom XmlUrlResolver class only resolves the import and include directives. How can I write a custom resolver for the document() directive answering my own question: adding writer.WriteDocType(..) solved the issue. From the VS2005 documentation : C# public void Transform ( XmlReader input , XsltArgumentList arguments , XmlWriter results , XmlResolver documentResolver ) C++ public : void Transform ( XmlReader ^ input , XsltArgumentList ...Show All

  • David_Reynolds Solution for shared list

    Hello, I need to create server/client with such funtionality: Server has list, which is shared with alll clients. This means, that all connected clients see the same list. If any client removes item from the list, server and all other clients must imiadetly refresh their list. If not talking more about specific software functionality, I can list such things about comunication, what I need: Communication between applications would be through WAN (internet), so optimal solution for network bandwidth and server resources is critical. In the beginning there would be ~40 clients and this number can increase to 100. Communication channel must be secure, that no one could read or change traveling data. Author ...Show All

  • Lars Brange More error info:

    I'm calling a remote server (client activated, hosted in WinForms app). A simple call without parameters (or with a simple string param) works fine. When I pass certain parameters, it crashes. Build is the remote class. This call to CreateBuildTree() works: Build prp = new Build (); prp.CreateBuildTree(); This one doesn't: Build prp = new Build (); string BuildDir = prp.GetBuildDir(); TreeNode root = new TreeNode (); root.Text = BuildDir; prp.CreateBuildTree(root, BuildDir); even when CreateBuildTree doesn't contain any code!!! public void CreateBuildTree() { } The error I get on the client side is "Server encountered an internal error. For more information, turn off customErrors i ...Show All

  • Constantijn Enders Detecting a router's external IP

    Hello everybody, I'm just getting started in the realm of networking w/ the .NET framework. I'm coding my app in C#, it's just a simple command line server that will listen for commands from an external client. Right now, I'm just trying to get the server, when started, to print out the local machine's IP. However, I want it to print out the address as seen by computers not on my network. So, instead of 192.168.1.XXX, I want it to give me what a website like http://whatismyipaddress.com/ would return. Thanks in advance! If you have a web server yourself, the easiest way for one of your programs to get its WAN IP address is to do what Aymaneez suggests, but to load the address from your own web server. T ...Show All

  • Paulo Braz Figueiredo Problem with using Web UserControl

    Hi.. I have a problem with using Webusercontrols...In my project..I have created a usercontrol named "Footer.ascx" and i used it in a WebForm by using <@ Register....> tag....and it worked well...But the problem is When i reopend the project.and try to execute it.....its giving an error like BC30560: 'footer_ascx' is ambiguous in the namespace 'ASP'. plz...guys..Help me... Thanks....in advance.. The forums at http://forums.asp.net will be better able to answer this question. Thanks. ...Show All

  • 5letters How to insert null values into the database

    Hi I have windows forms with a textbox(this box only for numbers) I have a field in int the table and datatype is set to "Number" The Question is If I enter the number in the textbox its works fine.BUT If I leave the text box blank its give me the error : application going to debugging and Datatype mismatch. Please Help Thanks in advance Hi Thank you very much guys.I have change the datatype from 'Number' to 'Text' in db. I think it will not give any problem for other operation like (I am about add 2 values and the total number should not exceed 99, if does it should fire the warning message). Many thanks again Copied from another post (mine). Also note you will need to either set the Integer parameter to zero when ...Show All

  • jm83 Datatable Vs. Excel workseet

    Hi, My application is using a Excel file as the data storage. I am now connecting to the Excel sheet by using Jet Engine OleDb objects and then perform searching. The search process takes 25-30 seconds and it seems a bit too long. Then I found out another method is to load Excel data into a dataset. does anyone know that which method is faster to search and can SQL statement be used in the latter method Thanks! Carol I believe it depends on type of query you are using, but take into account that Excel is not a real database and does not have indexes for the columns. It means that each condition in your query would require full scan of the columns. In a case if you load data into DataSet and use DataVew or Select method, th ...Show All

  • Fekih Mehdi System.Diagnostics.CorrelationManager class example

    Hi, I couldn't find a complete example on how to use the CorrelationManager class. Do you have any More particularly how a logical operation is related to Trace.WriteEvent() method - how one should denote the mapping between a single TraceEventType and a logical operation in terms of the CorrelationManager class Thanks in advance! Regards, George Jordanov Ivanov MCP, MCAD.NET, MCSD.NET blog.givanov.net http://notgartner.com/posts/1649.aspx Thanks Lucian! :) ...Show All

  • SPWilkinson How to find the last occurence of <p> within a textblock tiltled <h2>??

    I have html files with the following structure: <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah</p> <p>paragraph 4 - bladiblah di blahblah</p> <p>paragraph 5 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah& ...Show All

  • Doug Holden Windows service

    Hi, I have windows service project that makes an object of a class in a Call library project. it all works fine if i use a windows application project to make this object but with the windows service it gives me Type Load exception "Could not load type 'SeekWare.Engine' from assembly 'SeekWare, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'." Seekware is the class library and Engine is the class inside it that i want to make an object from. Does the service have the rights to access the other assembly You can set the rights in the services applet in the Control Panel. ...Show All

  • moondaddy How to publish website created using Visual Web Developer 2005 Express Edition

    Hi Everybody! I created my website using Visual Web developer 2005 Express Edition on my local machine.My database stored on Sql Server 2000 and My web site stored on another Server. Now i like to publish my website.I also have one server having IIS. Any one can please help me how to publish my website for intranet purpose.This web site is used by internal staff within one building. Thank you Kirti email:kirtimistry2001@hotmail.com You shouldn't need to use a "deploy" feature. All you need to do is copy the folder containing the site to the wwwroot folder. Then go into IIS, find the folder and right click and select properties. You should see an "Application Name&quo ...Show All

  • ben5173 asynchronous callback serialization problem

    hello guys, im developing a windows application that uses asynchronous callback as network communication technique with xml serialization for sending complex objects over the network. the problem is that at receiving the buffer to be written to the file is never written fully and in correct format. its always cutted from the middle and so the serialization always fails. any clue thanks No idea. Without further information it is impossible to say anything. If you don't write to the file and just take it from memory does it work ...Show All

  • Sideout WSE Proxy, dynamic generation.

    I write an application that generate dynamically a WebServiceProxy for asmx. I use DiscoveryClientProtocol for retrieve web reference using the WSDL collection. I use ServiceDescriptionImporter and CodeDomProvider for compile a proxy and generate a class that inherit of SoapHttpClientProtocol type . I Want generate a proxy for WSE. I want that my proxy class inherit of Microsoft.Web.Services3.WebServicesClientProtocol instead of SoapHttpClientProtocol . I found a solution: replace SoapHttpClientProtocol with WebServicesClientProtocol before generate a class, but i want find a better solution. How run a Add Reference for WSE It's run a same manner of Add Reference for ASMX How I can generate a proxy class tha ...Show All

515253545556575859606162636465666768

©2008 Software Development Network

powered by phorum