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

Software Development Network >> .NET Development

.NET Development

New Question

.NET 2.0 doesn't support COM+ for late binding? .NET2.0 COM+ for VB6 client.
Storing a generic class in a dictionary
Problem with reading binary data from database, too much memory
Generated TableAdapter does not create methods for manualy entered commands
enable session in web service
System.InvalidCastException: Unable to cast object of type 'ASP.students_payment_aspx' to type 'WMProShop.Payment'.
Deploying certificates for wse 3.0 web services
What can I append to the end of an expression...?
Spontaneous Uninstalls
Does AxImp support creation of 64-bit assemblies?

Top Answerers

Grifi
adamhill
Mr.Bean
BitShift
luca82
WpfUser
Rakesh Luhar
三晋一枝花
Amde
abs
sitemap
Only Title

Answer Questions

  • Manojit Paul Change conection on the fly?

    I have developed an app with SQLExpress. Can I somehow choose the DB to connect to during run time i.e. I would like to use data in another directory than the application directory. The path is not known before run time. Can I adapt the path during run before connecting Thanks for a hint Hi, I'm having the same problem see this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1132655 I cant get it to work Yet. My app uses a db namen 'factsDB.mdf' with some 30 tables in it. Normally, the app looks for the factDB.mdf file in the directory from which the app is started. This relation is set in the connection string (Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory ...Show All

  • ibrahimK How increases the CodeCompileUnit in method to the code file in

    Hi all, I'm developing a designer.I want to use CodeCompileUnit to produce a method code,then increases these code to the code file appropriate position(Looks like the dissimilarity which in vs does),ask how I should do Also or generates CodeCompileUnit by code file,how does that do -thanks The CodeGeneratorOptions class has a property on it called VerbatimOrder. This should allow you to organize your ouput in the way you want. At this moment we do not have plans to support Parse. Thanks. Hi Thottam, 1.You said very rightly. 2.I must realize the function and VS IDE is similar.I increase a method to arrive CodeCompileUnit ,Then produces this method the code to join t ...Show All

  • monkeynova Help with TripleDES and RC2 cryptography.

    I have 2 questions - 1) I get the following Exception when I try to decrypt data using TripleDES. - "An unhandled exception of type 'System.Security.Cryptography.CryptographicException' occurred in mscorlib.dll Additional information: Specified initialization vector (IV) does not match the block size for this algorithm." How do I make things right The code is as follows - /* Provides TripleDES encryption and decryption using classes in the .net Framework 1.1 */ public class TripleDES_Cryptography { public static string Encrypt(string plaintext, string key, string IV) { TripleDES des3 = new TripleDESCryptoServiceProvider(); des3.Mode = CipherMode.CBC; byte[] by_plaintext = Encoding.ASCII.Ge ...Show All

  • shayc How to specify which certificates are trusted when using https for web services

    Hi, I want to use https when consuming a web service created by creating an endpoint with ms sql server 2005 and specify PORTS=SSL when creating the endpoint. I figured out that I have to create and register a certificate for a particular ip/port. I did that with the tools httpcfg, makecert and certutil. But when trying to consume the web service in my project I got a problem that the certificate is issued by someone whom I don't trust (i am the author of the certificate). Can anyone tell me how to specify which certificates I trust Thanks, Anton You need to add the certificate in your Trusted Root Authority. See http://ww ...Show All

  • cisco0407 How to extract enum strings

    Say you have an old-fashioned C/C++ enum like this from a 3rd party public header file: typedef enum { NOERROR = 0, FAULT1, FAULT2 } ErrorType; How can I extract string representations of the enum's members (i.e. "NOERROR", "FAULT1", & "FAULT2") from a clr/.net based application (in C++ or C#) If the enum was defined as a managed 'enum class' then I would be able to call Enum::GetNames() to get the strings, but it's not clear how to create an enum class and associate it with a pre-defined legacy enum like this. Seems like the TypeConverter or EnumConverter classes should help, but I could use some help with the implementation. Thanks. Thanks for the re ...Show All

  • WalangAlam Sending Email using System.net.mail

    hi everyone, I have trouble to send email using system.net.mail in ASP.NET 2.0 with VB here is my code.... any body tell me what is going wrong with the code. Code for SendEmail.vb Imports Microsoft.VisualBasic Imports System.Net.Mail Public Class SendEmail Public Sub SendEmailMessage( ByVal fromMail As String , ByVal toMail _ As String , ByVal subjectMail As String , ByVal messageMail As String ) 'This procedure takes four string parameters for sending the mail Try 'address create a mail message Dim MailMsg As New MailMessage( New MailAddress(fromMail.Trim()), New MailAddress(toMail)) MailMsg.BodyEncoding = Encoding.Default MailMsg.Subject = subjectMai ...Show All

  • Larkin Y Parsing XML

    Hi everyone. I'm almost new int his of programming, now I'm having problems with an XML. The case is that I have a XML string that is answer of a web service, I need to parse that XLM document to extract the information and I don't know how. I tried with the XMLTextReader, but it asks me a Stream or a file, and i don't have any of them. How can i made this Thanks! Jose Luis Montero Mexico If you want to use XmlTextReader then you can use e.g. new XmlTextReader(new StringReader(yourStringVariableWithTheXml)) Thanks to every body, I've finished to parse the XML, I've made this Public Function mandaWebService( ByVal xmlString As String ) As ArrayList Dim xDoc As New System.X ...Show All

  • Node_Pointer checking user permissions on sql server from vb.net windows forms application

    Is there any easy way to check if certain user has login on sql server at all before trying to connect I am using vb.net 2005 and i made some windows forms application with sql server as backend. Windows authentication is setup, too. if i sent some login name that does not exist i still get message from sp_who which is not useful. i mean i could introduce stored procedure and return some parameter based on checking parameter / name i will send. it is clear i can not check anything without connection. it was mistake in question, but i hope it was clear what i wanted to achieve. Hi, Based on my research, you may take a look at link below. http://www.mssqlcity.c ...Show All

  • nelson888 updating the web.config file for Dependent Assembly

    Hi, I have webservice application that uses some assemblies whoes version number keeps changing and are stored in some folder on the same machine as my webservice. Every Time the assembly version changes i need to change the binding redirect and code base in the web.config file. EX : < dependentAssembly > < assemblyIdentity name ="ABCD" publicKeyToken ="Sometoken" culture ="neutral" /> < bindingRedirect oldVersion ="1.0.0.0-99999.99999.99999.99999" newVersion ="1.0.1445.38584" /> < codeBase version ="1.0.1445.38584" href ="file:///C:\Program Files\TPA\ABCD.dll" /> </ dependentAssembly > ...Show All

  • TomJ72 Technique for massive amount of data

    Hi, I'm working on an application, sort of like a BI (dynamic report). The user want to see a whole moth of data and the data is at the minutes, with multiple column/row and data at the munites for a whole month this equals massive amount of data. I'm looking for anything that could help me store/access/handle the data for faster result. I'm looking for .NET imbeded function/hack, and simple algorithm. I don't want to go as far as creating my own btree and balacing it myself in c and calling this function in .NET. I'm want to start with simple/moderate solution. Memory is also an issue, I cannot store multiple instance of the same data. Thanks!   (I'm using VB with .NET 1.x, vb does not support unmanage code) So ...Show All

  • robinjam DateTime interpretation between ADO.Net and SQL Server

    In my application I write to a table in a database a DateTime field (which happens to be a primary key) by executing a SQL command, e.g. INSERT INTO MyTable (MyDateCol) VALUES ('8/22/2006 4:20:21 PM'). Then, I insert the same value into another table (in which that same field is a foreign key) by using ADO.Net's SqlAdapter->Update(), where in a DataTable in a DataSet I had stored that same System::DateTime object. I am getting a failure - foreign key constraint violation - when trying to do that last write. When inspecting the value of that field in the DataSet from within the debugger, the date looks like this: "22/8/2006 16:20:21" (same thing, just different representation). This is all on the same computer so the culture is the same ...Show All

  • Odin_dark Creating Subdomain

    I'm Writing a weblog application and it's almost finished but I have a big problem, I don't know how to create subdomains programitically for example when you go to www.blogger.com and you create a new weblog they will create a subdomain for you automatically. How can I create subdomains with ASP.NET programming Better Post this Question on ASP.Net Forums, All here are dealing with Sockets, IPs NetworkStreams, ssl, FTP etc. So may be you cant get answers here! So give it a try here: http://forums.asp.net I hope this will help you better than doing here! Best Regards, ...Show All

  • Asigwelo Going through every element on a page

    Hi, I have elements dynamically created on a Web page (using ASP.NET). Some of them have a special attribute set. On the page load, I'd like to scan through all the elements on my page and if the attribute exists and is set, do some action on that element. All this in JavaScript. There must be a way to do this recursively right Any help would be appreciated. Thanks, Skip. DOM stands for the Document Object Model. This is a standard object model provided in most web browsers today. It was standardized by the W3C. (see: http://www.w3.org/DOM/ ) There is an Internet Exporer only JavaScript collection that you can use that contains all of the elements of the page: document.all (see: http ...Show All

  • rasmasyean Validating xml with xsd problem.

    Hi all, I am trying to validate an xml document which has been created in the dom. Once it has been saved it will validate fine but I need my application to work without any files being physically saved. Below is a example of what I am trying to do: SCHEMA: < xml version="1.0" encoding="utf-8" > <xs:schema xmlns:xs=" http://www.w3.org/2001/XMLSchema " xmlns="urn:Schema" targetNamespace="urn:Schema" elementFormDefault="qualified" attributeFormDefault="unqualified">  <xs:element name="root">   <xs:complexType>    <xs:sequence>     <xs:element name="element">      <xs:complexType>      & ...Show All

  • Sam Johnson How to debug this.invoke in clientProxy

    Can anyone explain what going on inside this.invoke e.g.debug this.invoke [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/HelloWorld", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string HelloWorld() { object [] results = this .Invoke("HelloWorld", new object [0]); return (( string )(results[0])); } Hi, You can't debug that method, it is a method provided by the .NET framework infrastructure. This method basically performs the following tasks: 1. Seri ...Show All

818283848586878889909192939495969798

©2008 Software Development Network

powered by phorum