Software Development Network Logo
  • Visual C++
  • VS Team System
  • Visual Studio
  • Visual Basic
  • Smart Device
  • Architecture
  • Visual C#
  • VS Express Editions
  • Visual FoxPro
  • Visual J#
  • SQL Server
  • Microsoft ISV
  • Windows Vista
  • Game Technologies
  • Windows Live

Software Development Network >> Dorwin's Q&A profile

Dorwin

Member List

Daya Anand
knox_tenor
Allan_M
Dejjan
vaishali.mspp
John Perks
Saeed Nawaz
vbMark
Beethal
Keith Newman
Kristiaan de Vries
Shazen
Dawe
Nirvana Pine
Joe the Owl
Clive Greenhalgh
krowczyk
Mahesh819
Markus Hoesli
pradeepp
Only Title

Dorwin's Q&A profile

  • .NET Development Threading

    Hi All, I need help with the following: Using VB.NET 2005, I am building a custom class in a separate assembly. The purpose of this class is to poll the internet to determine connectivity. I have that part functioning properly using HTTPRequest and HTTPResponse. The problem lies here: I'd like to execute this monitoring on an interval (Ex.: every 5 minutes), to get an up-to-date status. This updated status would then be propagated to the class/service/app. that instanced my class, which in my case is a WinForms application, but it can be a Windows Service, or console app. etc... I am trying to use the System.Threading.Thread c ...Show All

  • .NET Development SSL on TCP Socket, how in .NET 1.1?

    Is there a way, using intrinsic .NET framework functionality, to open a TCP connection over an SSL channel   I'd rather not get into buying libraries, etc.  Java has the javax.net.ssl.* objects, and I'm not finding an equivalent in .NET. I looked all over the Internet, but nowhere a pointer/solution can be found. Please note this is a socket connection, not an HTTPS connection. Also, it's about .NET version 1.1. Any hints/tips/remarks/howto's (if even possible) would be greatly appreciated... Okay, that shines some light. The reason I was asking, is that I have to develop an EPP client, which ...Show All

  • Visual C# Remove Junk Characters

    Hi, I want to remove junk characters from a string. The scenario is, I have got a rtf string and I want to remove the last para tag in the string ("\par") from the rtf. When I try to manipulate the string , I found some box like junk characters in the string. Please provide me a solution Not sure if this will help, but have you tried iterating through the characters in the string and printing out the character codes This would let you discover what these junk characters are and deal with them appropriately. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Lost Device

    I'm using managed directx 2.0 and the sample framework and there's a couple of things that i cannot understand concerning lost devices. My main problem is, where should i put the creation of objects. For instance in the sample framework a sprite is created in OnResetDevice, my question is why in here and not in OnCreateDevice When should i create resources with Pool.Default And when i'm using directx objects how could i know where i put the creation call It's on the OnCreateDevice or on the OnResetDevice This is very confuse, and there's no documentation ( i have not found none ) that answers my questions. Tnks for any help ...Show All

  • .NET Development 64Bit Compiler?

    According to: http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx It seems like its only Pro version, and up, that has 64bit compiler.. Is this true Will this mean, that if i buys another verison of Visual Studio 2005, a express version for instance, i wont be able to compile to a 64bit I tried compiling to a 32bit application with the beta of Team system, im running right now, it wasn't able to run a 32bit application(Im running Windows xp x64)... So will i have to buy the pro version, to actually use visual studio The question is actually, if i can compile x64 application, using the ...Show All

  • SQL Server Unable to run reports from http://localhosts/Reports

    I have recently installed SQL Server Enterprise Evaluation 180 trial version of MS Windows XP SP2 and wish to use SQL Server Reporting Services. When I attempt to run any of the sample reports from http::/localhost/Reports I get the following error message. "unable to connect to the remote server The attempted operation is not supported for the type of object reference" I am able to work with all other aspects of Reporting Services. ...Show All

  • .NET Development XMLserializer: how to display output file in block?

      hi, I use XML serializer to serialize xml files. But I wonder how to make it display in blocks instead of one long line. because later I need to open these xml files with notepad for manually editing. Anyone can help me with this Thank you in advance.   ps. I'm using C# Dear kari, The trick lies how you configure the XML writer. In .NET 2.0 you can modify the behaviour of XmlTextWriter with XmlWriterSettings. The following example serializes a class called simple with indentation. You may even change which character you want to use for indentation or new li ...Show All

  • SQL Server creating a database, tables, records, and fields in a Sql server 2005 express

    I am at my wits end as to how to do this. I have downloaded Sql server management Studio and tried to create a database but I can't figure it out. There is an almost nonexistant help file so I am lost as to how to start. I have succeeded in looking at some system databases but that is about the extent of it. Can someone show me the proper procedure Am I using the wrong tool Thanks, Paul If you are using the managment studio, right click on the Databases node, --> New Database. If you are using a script tool for this, the fastest way to create a database is CREATE DATABASE <name>, which stores the d ...Show All

  • Visual Studio Express Editions Can Visual Basic 2005 be installed without uninstalling Visual Basic Express 2005?

    My question is, can both products be on the same machine at the same time Will this cause any conflicts or problems Will they share the same knowledgebase and help system. Would each product get confused with the other being installed on the same machine That's partly my question, since I cannot seem to uninstall VWD Express for some reason and want to install the copy of Visual Studio 2005 I purchased the other day.... ...Show All

  • Visual Studio 2008 (Pre-release) Authentication options

    I am looking for documentation, samples, any best practices, personal experiences, etc that would allow me to authenticate for both Intranet / Internet. I will be using WCF hosted in IIS using a .svc file. I know that the SDK ships with examples but they all seem to use x.509 certificates. At this point I don't know if I will have a certificate server available. Just need to explore all the possible options. Any thoughts are appreciated. Dave You are shown few simple options in this web nugget: http://download.microsoft.com/download/0/a/9/0a98433a-9f62-42f3-8623-6299d47088b2/WCF_Auditing.zip ...Show All

  • SQL Server Users Cannot Connect to SQL Server 2000 SP4 After Applying Hotfix (build 8.00.2148)

    Users are reporting that they cannot connect to SQL Server using ODBC and Windows Authentication after I applied a SQL Server 2000 SP4 hotfix. The client-side error is: Connection failed: SQLState: '01000' SQL Server Error: 10061 [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen(Connect()). Connection failed: SQLState: '08001' SQL Server Error: 17 [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied I i nstalled hotfix for SQL Server 2000 SP4 (sets version to SQL Server 2000 build 8.00.2148 (SP4)); see KB894905. This hotfix was intended to resolve the following issues occurring ...Show All

  • Windows Forms How to find is a form already open in a Multiple form application

    hi, Please tell me how to find if a form is already open so I won't open multiple copies of the same form in the application. many thanks. -VJ You can iterate through Application.OpenForms, but there's a fundamental flaw in your approach. You shouldn't be creating forms willy nilly and not maintaining some sort of access to them from your main form. In any case, if your UI contains that many popup windows, the UI design is proably too busy anyhow. ...Show All

  • .NET Development Indigo vs. ".Net Remoting" Performance

    I created two samples for comparing the performance of Indigo vs. .Net Remoting (using TCP & binary serialization) the sample code is very simple and it is based on one of the sample code comes with Indigo. It adds two arrays (type of double) and returns the result. Here is the result: Indigo (TcpBinding) 1 element 2.23 milliseconds 100 elements 2.73 milliseconds 1000 elements 8.14 milliseconds 10000 elements 61.27 milliseconds Indigo (DualTcpBinding) 1 element 17.44 milliseconds 100 elements 22.37 milliseconds 1000 elements 63.51 milliseconds 10000 elements 498.92 milliseconds Remoting 1 element 1.21 milliseconds 100 elements 1.27 mil ...Show All

  • Windows Forms Locked Up Form

    It has been my practice for many years in VB.4,5,6 to show errors by opening an "error form" and printing to it the class/module, procedure/subprocedure and the error message on the form. I have migrated almost all of my VB.6 programs to VB.Net and have encountered a problem with this process. If I call one of my overloaded ShowIt procedures when  ...Show All

  • Smart Device Development How to play audio/video on pocket pc?

    When I use the way of mcisendstring , there alway appears an error about NoSupportException , but everything is ok in windows application on normal PC. I do not know why. Is there any other way to play multimedia Help. I have put a reply for this on the other post around this. Thanks Amit Chopra     ...Show All

©2008 Software Development Network