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

Software Development Network >> .NET Development

.NET Development

New Question

Using DiffGram to Save and Restore Dataset RowStates, etc.
How to Find Yesterday's date
Create table access database?
Non-serializable type in a remoting environment
SqlException: Data has been modified by another party since it was loaded
Error 25007.Error occurred while initializing fusion. Setup could not
Canceling the datbase operation
Programmatically determine calling method at execution time?
HttpWebRequest and ServicePoint
How to avoid re-occurring Err "ORA-12154: TNS:could not resolve service name" (not a common oracle connection issue)

Top Answerers

Rfreiberger
FireFreak
hOmeR J
robertje
clstephenson
Ed Hazell
Christian Frießnegg
JCube
Nickeay
black_apple
sitemap
Only Title

Answer Questions

  • Agent00 Starting point for 3D graphics in VB.Net

    I am using VS2005 (VB.Net). My program need to import 3D (x, y, z) points and display their relative location in a window. In the past I have only worked with 2D (x, y) points which were not a problem. My questions are: Is it possible to simulate "limited" 3D graphics in VB.Net What would be the best way to plot 3D points in VB.Net Thanks Hi, Did you have the VS opened during the installation the ,NET references are cached by the Visual Studio application. Try to close it and start it again (or event restarting your machine) in order to clear the cached list. If your tutorials work fine the assemblies are installed on your machine. If after restarting you can not see the references open one of your tu ...Show All

  • bslim BackgroundWorker reprot progress

    Im trying to get my BgWorker to report his progress.. i do private void backgroundWorker1_ProgressChanged(object sender, ProgressChangedEventArgs e) { progressBar1.Value = e.ProgressPercentage; } and it dont work :s ---- My BgWorker downloads a file with WebClient thx Double check this Event handler is actually attached to the event and this code is being Callled Best Regards, being Callled ... it should happend wen the bgworker progress is changed..and i enabled supportprogress too...still whats wrong ...Show All

  • MichaelPer in memory generated XML contains \r\n characters

    Hi all, I'm trying to serialize a tree object as XML and then persist the XML (in memory) into a SQL table.I'm using the code below to generate the XML, a sample piece of generated XML is : " < xml version=\"1.0\" encoding=\"utf-8\" ><DTreeNodeOfOBSTeam xmlns:xsi=\" http://www.w3.org/2001/XMLSchema-instance\ " xmlns:xsd=\" http://www.w3.org/2001/XMLSchema\">\r\n .... " if you note you'll see 1- the whole text is wrapped in double quotes and i t has \r\n characters. these make the string unreadable for my stored proc which accepts a text parameter to update the table. I assume I can solve this by removing the double quotes and \r\n characters but I don't know how! ...Show All

  • Dragan Jankovic Accessing Relational/Metadata with a Dynamic Schema

    I've been tasked with writing a client interface for a dynamic schema. All the tutorials/forum posts/books I've read assume that you're working with a pre-defined schema; that you can connect to your database while developing. For me this is not the case. I've setup a test database in SQL Server Express; populated all my foreign keys, descriptions, constraints, etc. I'm writing the client in C#. From everything I've read, there is no possible way for me to poll for that relational information at runtime from the database. Is this correct (i.e. I can't examine a populated DataSet and see the relations). Also, I can't seem to access any of the caption/description information either. I was hoping to use the field descriptions as tooltips. Ar ...Show All

  • Basquiat HTTPChannel problem when upgrading from 2003 to 2005

    Hi all. I have a project in which there is a line of code : Dim channel as new httpchannel(8080) That worked fine in a vb.net 2003 project. When I upgrade the code to vb.net 2005 the compiler complains about it. The nearest match I can find in 2005 is: Dim Channel as new system.net.httplistenerresponse(8080) But the 2005 compiler says "Type system.net.httplistenerresponse has no constructors". 1. I need to know which library replaced the system.runtime.remoting.channels.http one. I can type this into 2005 (as an Imports ...) and the compiler doesn't complain, but then i suffer the problem above. 2. Although this is not part of the problem, I'd like to know how to solve an error that is "xxx has no constructors" Many tha ...Show All

  • GoldRunner FTPWebrequest.RenameTo property usage

    Has anyone seen a sample using this property. I'm trying to rename a file on an FTP site and I'm getting an access error. "The remote server returned an error: (550) File unavailable (e.g., file not found, no access)." If I change to the GetDateTimestamp method the file is found correctly.... Code: objRequest . Method = WebRequestMethods . Ftp . Rename 'objRequest.Method = WebRequestMethods.Ftp.GetDateTimestamp objRequest . RenameTo = strNewFileName Dim objResponse As FtpWebResponse = CType ( objRequest . GetResponse (), FtpWebResponse ) ...Show All

  • Damien fromOZ included prereqisits in publishing application

    I'm publishing as Visual Basic 2005 application that uses SQLexpress on a server. Does the application need .NET Framework 2.0 installed on the client machine for the application to comunicate with SQLexpress. The reason I'm asking is because My Laptop, the one I used to write the app has Visual Studio 2005 and when I run the application it connects to the serverbox that has SQLexpress and it work just fine, but when I install the app on another laptop and try to connect, I get an error "Login Error" Hi, This is not related to managed networking APIs. Please refere to http://ww.microsoft.com/communities for the appropriate forum/usergroup. Thanks ...Show All

  • Abhishek Chadha KeyedCollection - How To Sort???

    I have a custom collection created that derives from KeyedCollection. Everything works great exept I want to be able to sort based on a property in one of the objects in the collection. How does that work as I can't seem to find any examples on sorting a KeyedCollection class Below is my sample code public abstract class BusinessKeyedCollectionBase<K,T> : KeyedCollection<K,T> where T : IBusinessKeyedObject<K> { // This parameterless constructor delegates to the base class // constructor that specifies a dictionary threshold. A // threshold of 0 means the internal Dictionary is created // the first time an object is added. public BusinessKeyedCollectionBase() : base(null, 0) { } ...Show All

  • Jakein2006 Cannot find stored procedure <storedprocedurename>

    I'm using SQL developer 2005 on it's host machine. I have a database with about twenty stored procs referring to a table. They all work incredibly reliably and are callable anytime from anyplace and they work as well on the other side of the country as they do here. Yesterday I added a second table ("UAT") to the database. I wrote the simplest possible stored proc and I constantly receive the error, "cannot find store procedure. I call stored procs with the same class. Some programs all under my account can run it and some can't. I have not been able to identity any pattern. One DLL can call all stored procs except this stored proc. I can rewrite the stored proc with a different name and that makes no difference ...Show All

  • faizalism Why are methods in internal interfaces forced to be public?

    I have an internal interface that I've defined. I've implemented that interface in a class and would like to make the method internal, unfortunately it won't compile, saying that it must be public. Why is this Example: public class A : ITest { // Complains about not being public internal void HelloWorld() { } } internal interface ITest { void HelloWorld(); } The only reason to implement an interface is so that client code can cast an 'A' class reference to an ITest reference. Making the interface internal would prevent them from doing that. You'd sputter: "but the client code that needs to cast is in the same assembly". But that would make reflection impossible to imp ...Show All

  • Dexter Wong Changes made to SQL Server Express do not persist outside of debug run of application

    Hi, I am a complete newbie to C# programming and I am playing with reading/writing to/from a SQL Server Express database using Visual C# 2005 Express. I am actually following along with one of Bob Tabor's excellent tutorials from the Microsoft Visual C# Express Beb Site - Tutorial #9 - Databinding. My problem is that altough I can make updates to the SQL Server database which are immediately reflected if I then browse the data, these changes do not persist when the application terminates. I have compared my code to the example project code, and everything looks identical - but whereas updates made to the SQL Server Express database by the example code persist outside of the application run, updates made by my code do not. I have f ...Show All

  • steuerlt prompt SerialiazationException

    Hi all, I CodeCompileUnit object serializing MemoryStream,Obtains the binary character to reduce expenses to save to a XML document text node.The code is as follows: MemoryStream ms = new MemoryStream(); BinaryFormatter formatter = new BinaryFormatter(); formatter.Serialize(ms, codeCompileUnit); ms.Seek(0, SeekOrigin.Begin); byte[] bytes = ms.ToArray(); And I obtain the binary system to flow the counter-serializing code to be as follows: byte[] bytes = Encoding.UTF8.GetBytes(codeFileNode.ChildNodes[0].Value); ms.Write(bytes, 0, bytes.Length); ms.Position = 0; BinaryFormatter formatter = new BinaryFormatter(); codeCompileUnit = formatter.Deserialize(ms) as CodeCompileUnit; Th ...Show All

  • rmtuckerphx Init a variable - best location

    Hi I have a question about the location of the init. Lets say I have a class MyClass and it contains an instance of a hash table. Now , I have 2 options where to init the instance of the hash table. Lets say I need the hash from the start of the class. The first is in the constructor and the second is at the same row as the decleration like Class MyClass { Hashtable ht = new Hashtable(); MyClass(){} } What is the difference between the 2 and what is the best way Thanks Avi I'm not sure about this but the best practice is to use only new whenever you actually start working on your object, but in other words you ask about the lifetime of the objects or hashtable ...Show All

  • readme55555 Modify System.Exception in SetILFunctionBody

    I am wondering if I can get some help on this. We have working "Proxy" that is invoked via insertion into methods and gathers all the calling arguments, etc. and passes to a handler. We are using the SetILFunctionBody during JIT compilation. It works fine for 1.1, but in 2.0 ONLY works when using LoaderOptimization other than SingleHost when hooking corlib methods such as the System.Exception .ctor. We are hooking many methods - all NON core methods work well. I have come to the conclusion that it has to do with Domain Neutrality of mscorlib (only) being in the shared domain. So, my questions are this: Other than the LoaderOptimizationAttribute OR the args to the CorRuntimeBindEx to load the CLR - how can one override the Loade ...Show All

  • Lance55 Error installing dotnetfx3.0

    [10/02/06,09:38:05] WIC Installer: [2] Error code 1603 for this component means "Fatal error during installation. " [10/02/06,09:38:05] WIC Installer: [2] Setup Failed on component WIC Installer [10/02/06,09:38:14] WapUI: [2] DepCheck indicates WIC Installer is not installed. [10/02/06,09:38:14] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed. [10/02/06,09:57:29] WIC Installer: [2] Error code 1603 for this component means "Fatal error during installation. " [10/02/06,09:57:29] WIC Installer: [2] Setup Failed on component WIC Installer [10/02/06,09:57:35] WapUI: [2] DepCheck indicates WIC Installer is not installed. [10/02/06,09:57:35] WapUI: [2] DepCheck indicates Microsoft . ...Show All

394041424344454647484950515253545556

©2008 Software Development Network

powered by phorum