Software Development Network Logo
  • SQL Server
  • Windows Vista
  • Windows Forms
  • Windows Live
  • Visual Basic
  • Visual C#
  • Visual J#
  • Architecture
  • .NET Development
  • Visual Studio
  • VS Express Editions
  • Visual FoxPro
  • Smart Device
  • Game Technologies
  • Visual C++

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

Davd A

Member List

MattyMarsh
RoVis
Mike Schultz
Gosatu
Paul P Clement IV
Rask
MpRoC
Vignesh Kannappan
jack the ripper
osofuchi
FranklinYeung
David Yue
Jhan Zaib
kbickerton
rayou
mbcvamsidhar
soellnas
Rohland
Patrick Covert
David j
Only Title

Davd A's Q&A profile

  • .NET Development Still cannot sadz

    Hi everyone, I am currently developing a rss reader using vb.net windows application for my project. But at school, the codes that i have works. At home it does not!! I am really lost and have no idea what to do with it. Can kind souls please help out. The error: An unhandled exception of type 'System.Net.WebException' occurred in system.xml.dll Additional information: The underlying connection was closed: An unexpected error occurred on a receive. Dim doc As New XmlDataDocument doc.Load(strUrl) ---->> the codes always will generatea error here. strUrl is jus a String containing URL for the xml links ...Show All

  • Software Development for Windows Vista When is the workflow Persisted?

    I've added the persistence service: workflowRuntime.AddService( new SqlWorkflowPersistenceService (persistenceConnectionString)); I would have expected the workflow to be persisted after the first workflow instance was started, but I can't find anything in any of the Persistence tables ( CompletedScope and InstanceState) Also do I need to do anything to rehydrate the persised workflows Thanks, While persisiting the workflow if it is in Completed or Terminated state , SqlWorkflowPersistenceService deletes it from the database. ...Show All

  • .NET Development Finalizer thread semantic

    In a previous post , I was describing a weird problem encountered within the finalizer thread. Basically, within a finalizer I was doing quite a lot of work (complicated side effects, not simply cleaning few ressources), and I did encounter some weird CLR behavior. I am actually wondering about the semantic of the finalizer thread. First, I guess that intercepting the finalizer thread to do any real work is a bad idea because it blocks the garbage collection from running. Therefore, I have opted, within my finalizer method, to queue the side-effect works in the ThreadPool. Now my finalizer is non blocking. Additionnaly the side effects are ...Show All

  • .NET Development String.Format 10.0000 to 10.00 but keep 10.0001

    Hi, I'm getting doubles with 4 decimal places, however when the last two digits are 00, I want to format to .00 but if the 3rd or 4th decimal place contains a value different to 0 I want to leave the 4 decimal places. Is there an easy way to do this with String.Format or would I have to evaluate the values and use the appropriate string formatter Thanks, Tom The default number of decimal places for InvariantInfo is 2. So you have to change it.. See http://msdn2.microsoft.com/en-us/library/system.globalization.numberformatinfo.numberdecimaldigits.aspx ...Show All

  • Windows Forms creating a paper version in pdf of a winform

    Any one know off a good component that can create PDF documents You are correct, Ken. Saving to PDF is supported with Crystal.  We use this in house, however, I cannot provide an example. ...Show All

  • Visual Basic my dataset doesn't get populated when running my program

    I am getting an error when trying to populate a gridview with details from a dataset. When I do a "preview data" on the dataset, I see the data I expect to be returned. However when I run my application that uses the dataset to populate my gridview the highlighted line in the following code: Public Overloads Overridable Function Fill(ByVal dataTable As askdbDataSet1.CustomerDataTable) As Integer Me.Adapter.SelectCommand = Me.CommandCollection(0) If (Me.m_clearBeforeFill = true) Then dataTable.Clear End If Dim returnValue As Integer = Me.Adapter.Fill(dataTable) Return returnValue E ...Show All

  • Visual Studio T-SQL Debugging on VS2005/SQL2005

    Hello, I can't seem to debug an SQL stored procedure using VS .Net's 2005 debugger. When I Step into stored procedure the breakpoint turns to a question mark and  says "The breakpoint will not currently be hit.  Unable to bind SQL breakpoint at this time.  Object containing the breakpoint not loaded". VS2005/SQL2005 are on the same machine running Win2003 Sp1/R2 Thanx for the help ...Show All

  • SQL Server help with simple query using group by and where clause

    have a table with sale_id, date, sales_person_id i need to find out the sales_person_id's who did 1 sales every month from jan 2003 and another query who did a sales every quarter. How many sales person have atleast one sale every month (excluding prints) for either 2003, 2004, or 2005 How many sales person had atleast 25 sales each year 2003-2005 It is not clear how you have the date specified in the table. And also what does excluding prints mean Is there some other column that tracks this detail If so, you need to include the condition in the query below: SELECT COUNT(*) as NumSalesP ...Show All

  • SQL Server Sudden expiration of evaluation version

    I have had SQL2005 on a server for a very short period of time. Today I found that I am not able to execute an SSIS package in debug. It give me an error stating that the evaluation period has expired for data transformation services. I went to check the version by querying, but nothing happens when I click on the Server Management Studio link. Has anyone seen this before or how long the trial version should last Does anyone know what version may have been installed on my server Thanks, Believe it or Not,,,,,, according to our DBA, this was a security issue. MS had him perform a reinstall with repair option and all is ...Show All

  • Visual FoxPro a bug or i miss something?

      This is how it goes,  i make a prg with this coding below;    lcdir=GETDIR()   SUSP   IF !DIRECTORY(lcdir)       //some code here   ENDIF  then I run the prog, it works fine, the window that shows the directory tree pop-ups, then I click the button SELECT, the window's gone,but instead of the debugger will comes-up next or I will select the debugger from the menu, the windows that show the directory will pops-up again & again.  No matter how I click the CANCEL button, there it goes.  The debugger will comes-up but you cannot click it, in short it h ...Show All

  • SQL Server Implications of not using Buffer.SetEndOfRowset()

    Hello, I have a script source component that has been working fine for a while now. I have just noticed that I neglected to call SetEndOfRowset() on it. I've added that in now but there doesn't seem to be any affect. It seems strange to me that NOT having that line previously didn't cause any problems. Why is that What are supposed to be the implications of not calling SetEndOfRowset() Just wondering... -Jamie Hi Jamie, The implication of not calling end of rowset is that the dataflow engine does not know that you are done adding rows to the output buffer and, therefore, the dataflow would never end.  That being said there a ...Show All

  • Smart Device Development CameraCaptureDialog and 3rd party cameras

    I was wondering if the CameraCaptureDialog function will work with a PocketPC PDA which has no built-in camera but instead is using either a USB webcam or a CompactFlash cam Is it possible to grab images programatically from C# using a 3rd party camera In particular, the Veo or FlyCam cameras. Will CameraCaptureDialog work with them (assuming those cameras have drivers for WM5) ...Show All

  • Windows Forms Issues with the deployment Manifest

    Our application is built with VS2005 Beta 2. We uses ClickOnce to deploy the application. Here is the issues we have experienced on some client machine. When we click the install button from the publish page, the deployement manifest is open in the browser instead of lauching the application manifest On other machine, every is fine, the install button lauch the installation sequence on the client. Any idea what could the problem. Regards, Sounds like .NET 2.0 is not installed on the client machine, so the MIME extension mappings have not been set up to launch the app with ClickOnce. ...Show All

  • Visual Basic checkbox problem

    Can anyone help me find information on how to handle check boxes and groupboxes I'm new to visual basic. Any suggestions are much appreciated. Thanks a lot in advance Alex What part do you want to know Checkboxes have a property to tell you if they are checked, and fire an event when they change. If you google with site:msdn.microsoft.com, you can search the microsoft docs for more info. ...Show All

  • SQL Server HELP! Installing SQL Server

    Help! I saw the Visual Studio 2005 beta and got that sent out to me. That had some SQL server trial on it. Everything was hunky-dory until microsoft put the free express editions on the web and i downloaded them. I Uninstalled the Visual studio beta and sql server but in the wrong order. I go to install the Microsoft VB Expres edition and that works fine. It gets round to the SQL Server and it fails. Why and how can i solve it Many thanks luke. Have you tried the instructions here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=137700&SiteID=1 Thanks< MJ ...Show All

©2008 Software Development Network