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

Software Development Network >> .NET Development

.NET Development

New Question

Regex problems
Default Directory For Common Dialog
passing parameter from parent to popup
Can't use Word APIs
What's wrong with this XML construction
Ping, packets, TTL and losses
schemaLocation woes...
manifest question
Remoting sink configuration problems
AutoCompleteMode

Top Answerers

HaroldW
Joshizzle
NeW2VB
gooon
BuzzBar
Peter McEvoy
Aaryant
Rassol
koby198
Mohamed Anas
OregonLive.com - The Italian Job
Only Title

Answer Questions

  • Batistuta The input stream is not a valid binary format

    I got the following exception System.Runtime.Serialization.SerializationException: The input stream is not a valid binary format. The starting contents (in bytes) are: 53-79-73-74-65-6D-2E-57-65-62-2E-48-74-74-70-45-78 ... Server stack trace: at System.Runtime.Serialization.Formatters.Binary.SerializationHeaderRecord.Read(__BinaryParser input)... etc. when I try to send a MarshalByValue object. If I run remote server as executable (no host in IIS) I have no problem. Scenario: IIS 5.0, .Net 2.0 Remote object hosted in IIS Client (WindowsForms) Suggest ...Show All

  • Wolfram Menzel working with abig database

    Hi all i have a project in vb.net and the database in sql my table is very big some times 3million records when i execute this select statement "select * from table 1where PrimeKey in (select fkey from " & tablename & " where sort >= " & first & " and sort < " & last & ")order by " & sort1 & " desc " adp = New System.Data.SqlClient.SqlDataAdapter(str, conn) adp.Fill(datatable) conn.Close() adp.fill take a time and the this message appear an error has occured error time out expierd the time out perieod elapsed prior to completion of the operation on the server is not responding how can i avoid this error ...Show All

  • anothernewVBguy Unique Machine Identifier

    Can anyone suggest a mechanism for gettting a reasonably unique machine identifier. I.e. a value that is reasonably unique on a machine by machine basis. I looked at using a Security Identifier, but these seem only to be unique for a particular system. How about the MAC address of your network card public static void DisplayTypeAndAddress() { IPGlobalProperties computerProperties = IPGlobalProperties.GetIPGlobalProperties(); NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); Console.WriteLine("Interface information for {0}.{1} ", computerProperties.HostName, computerProperties.DomainName); foreach (NetworkInterface adapter in nics) { IP ...Show All

  • N_John What happened to App.Config files in VS 2005 ?

    I'm not sure where the proper place for this question is, but I have been using Visual Studio 2005 for a little while now, and I noticed that there are no more app.config files. What happened to them What replaces their functionality Is there any good documentation you can point me to on where this went Thanks Brendan Grant wrote: Nay they still exist. To add one to your project right click on the project and choose Add from the menu and then New Item. From the new window that pops up look for the 'Application Configuration File' option, select it and hit Add and you'll have a brand new App.config file added to your project. Hi, Brendan! What about smart device applications In my device app ...Show All

  • Horst Klein SecureString Usability

    I'm sure this is very obvious, but why doesn't the SecureString class support an "AppendString" or equivalent method I've searched the forums and cannot find an answer I've seen code that simply iterates the characters in a string and appends them as it loops. Is this bad practice If not why isn't the SecureString class more helpful Can anyone help I'm confused... Thanks I don't really want the functionality to add a string multiple times. I'd want a constructor that contains the logic: foreach (Char someChar in someString.ToCharArray()) { ss.AppendChar(someChar); } ss.MakeReadOnly(); To make it easier to use. Would you not agree Se ...Show All

  • Jason Du Must a Table be added before trying to store data?

    Hi, I'm trying to connect to a SQL Server 2000 database, and add the following info. I got a snippet from codeproject and I don't really know what I'm doing. This is what I've got so far. I am thinking I probably should be creating a table first Dim sqlConnection As New System.Data.SqlClient.SqlConnection( Me .connectionString) sqlConnection.Open() Dim cmd As New SqlClient.SqlCommand("insert into Users (Email, Username, Password) values (@email,@username,@password)", sqlConnection) cmd.Parameters.Add("@email", Me .txtEmail.Text) cmd.Parameters.Add("@username", Me .txtUsername.Text) cmd.Parameters.Add("@password", Me .txtPassword.Text) cmd.ExecuteNonQuery() ...Show All

  • koby198 unload event

    Hi, On uload event of page, I want to compare current url and url which user has clicked. how can i do this Thanks -Pradeep try this: <script language="javascript"> var linkClicked; window.onunload = Unload; function LinkClicked(url) {   linkClicked = url;   window.location = url; } function Unload() {   var current = window.location.href;   alert("Current: " + current + "\r\nGoing To: " + linkClicked); } </script> <body> <a href="#" onClick="LinkClicked('www.gosomewhereelse.com'); return false">Go Somewhere Else</a> </body> ...Show All

  • Dvlnblk Using classic ADO parameter objects from VC#2005

    Hi everyone Apologies if this is the incorrect forum for this posting, please let me know if I should repost elsewhere in a more appropriate location. I'm trying to use parameterized queries with classic ADO. I've done this successfully with ADO .NET 2.0, but because of the legacy ODBC drivers that we are needing to support which cause a crash when using ADO .NET I am having to use classic ADO. I'm using the following code to create the parameter and assign to the command object: private object m = System. Type .Missing; adorecordset = new ADODB. Recordset (); ADODB. Command adocommand = new Command (); adocommand.ActiveConnection = adoconnection; adocommand.CommandText = strSQL.ToString(); Parame ...Show All

  • kirchu CAS declarative security

    How come it is not possible for an otherwise fully trusted assembly to refuse some permissions (declaratively) without loosing it's full trust status Hello All. Mikkel: As to your first question, there very well could be, but I don't know about it. Sorry. As to your second, I'm still a little fuzzy on this part, but if I'm not mistaken, since System.Web.dll requres fully-trusted code by way of a link demand, this results in a stack walk back to your code, which has restricted permissions, and so throws the exception. That's one of the primary considerations I'm still trying to figure out, in that such emphasis is placed on writing code that will function under partial-trust, but a large chunk of the .NET class library will ...Show All

  • TomJ72 .net 3.0 install

    I've seen this error in other spots, but I can't seem to find a way to fix it. I'm trying to install the .net 3.0 framework on my computer and it's failing with the following: error msg (sent to microsoft): EventType : wap10setup P1 : 13165 P2 : 3.0.04506.30_waprtm_x86_sfx P3 : mc P4 : inst P5 : f P6 : writeregistryvalues P7 : 1402 P8 : 1603 P9 : - P10 : windows communic Log: [11/11/06,19:11:38] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [11/11/06,19:11:51] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed. [11/11/06,19:11:51] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3. ...Show All

  • JesseD70 Copying rows from one datatable to another

    Hi I have a form which shows the order lines added to an order. These are displayed in a flexgrid. There is a button called 'Add Product' which shows a Product form with all the products in the database listed in a list box. The user can choose as many products as he likes and on pressing OK they should all be added to the flexgrid in the order form as they are now order lines. Ive got a problem with the 'Row Already belongs to another table' error. It occurs when I try to add a new OrderDetail datarow to my orderdetails table. The thing is ive read various sites and they all say this error occurs when you try to copy stuff from one table to another, but Im trying to copy rows from the Product datatable to the OrderDetails datatab ...Show All

  • sriniathp DataSet binary serialization or DataSetSurrogate

    Hi! I'm serializing and remoting a DataSet to put it in a webservice in IIS, but use XML formater and is too slowly (becase are big DataSets). I want use binary formating to serializing these DataSets. I read about DataSetSurrogate , but i don't find it in the Object Inspector of Visual Studio :( Where it is I put the DataSet in a webservice in IIS because there is a lot of pocket pcs that must read this DataSet ... can i use DataSetSurrogate in pocket pc This DataSets are dowloaded via GPRS and if it is BIG DataSet ... then takes a long time, besides the pocketpc also takes a long time to parse this large XML file. If i can't use DataSetSurrogate .... what thing can i use to improve the DataSet performance How serializing a remoting a Da ...Show All

  • WN3335 remote connection

    hello when iam trying to connect to webserver, it shows me remote machine actively refused it . iam having the corresponding site ip address , but, i don't know on which particular port the application is running. how to identify the port . Even if i try with Tracert "ip addr" it is also not shows ma a port.. If i know a port , then only i can connect to the site.. how will i do.. Can anybody help me.. How you are connecting to the webserver Have you tried HttpWebRequest and HttpWebResponse classes which do this work for you You can also provide your username or password to login etc! Best Regards, thanx for ur help.. i got the point , i tried as u you sa ...Show All

  • Smartpatrol ADO.NET2.0-SqlConnection,SqlCommand and DataReader used in VBExpress:Unable to cast object of type 'System.Decimal' to Strin

    Hi all, In my SQL Server Management Studio Express, I have a database "ssmsExpressDB" with a table "Table-dbo.LabTests" that has the following columns:         ID(Int)   AnalyteID(Int)  AnalyteName(nvarchar)  CasNumber(nvarchar)  Result(decimal) Unit(nvarchar) LabQualier(nvarchar)..... I created a project in Visual Basic 2005 Express and had the following code: ////////--Form1.vb---////////// mports System.Data Imports System.Data.SqlClient Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim mySqlConnection As SqlConnection Dim mySqlCommand As ...Show All

  • Sachitha _AppDomain::CreateInstance returns COR_E_TARGETINVOCATION

    Hello, My unmanaged C++ CLR host returns COR_E_TARGETINVOCATION when it attempts to create an instance of an assembly which refers to an external assembly located in a different folder. If I copy the external assembly locally then the error goes away. The external assembly has been created with TLBIMP.EXE. Any idea what could be the problem Thanks for yor help. -mab From MSDN: Referenced assemblies outside the application's root directory must have strong names and must either be installed in the global assembly cache or specified using the <codeBase> element. You could try to use LoadFrom, but this can get tricky. See http://www.gotdotnet.com/team/clr/LoadFromIsolation.aspx ...Show All

767778798081828384858687888990919293

©2008 Software Development Network

powered by phorum