Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

Doctor Who Doctor Who Picture is of Tom Baker, who played the Doctor, from 1974 to 1980.
  • IE8 sees to be freezing up a lot when I go to page from RSS feed

    I've noticed that if I go to a page in IE8, that is linked to in one of my RSS feeds, then IE8 sees to be locking up tighten than a drum.

    Why is that?

  • How do I make a folder on a second drive accessible from IIS?

    I’m working on a small ASP.NET application at home (VS 2008).  It is running under IIS on my Vista machine.  I’ve got it so that it will show photos from a folder on an external hard drive.  I’ve set up the folder on the external hard drive as a web site in IIS on my machine.  The intent is to let my family “upload” photos to this secondary web site, because the external HD is quite large, etc.

    OK, everything seems to be going fine.  However, I know that I’ve got to give the IIS_IUSRS account write access privileges, so that users can upload to this folder, and delete photos from it, etc, through the primary web site I’m writing.  However, when I get into IIS in Vista and look at this secondary web site on the external HD, IIS does not allow me to change the permissions on anything to that web site.  There is no tab in the Edit Permissions dialog box to edit security settings on anything for this secondary web site.  Why is that, and how do I fix it so that I can apply write/delete permissions to files within the folder that is my secondary web site?

  • Vista wants to install something, all of the time

    The the last week or so, my PC (64-bit Vista Ultimate) has said it needs to install something, every time I bring it up.  And no matter how often I instruct it to install whatever it is, the next time I turn on my PC, there it is ready to install again.  What is this thing that apparently won't install?

  • How do I shutdown Vista, without being able to see it?

    That is a strange subject line, I know, so here's what I'm trying to ask.  I'm trying to debug the problem caused yesterday, which I didn't witness, while my family was home with my Vista Ultimate 64-bit machine.  They said that it repeatedly reboots itself.  Well, I finally have a chance to work on it, and I am finding that it does not repeatedly reboot itself.  Instead, what's going on is the monitor doesn't display anything at all.  The machine is on, but nothing is displayed.  Including nothing at all from the BIOS coming up or anything like that.  (THis is not what I was told, but never mind that.)

    So, I would like to be able to switch out the monitor and keyboard, and see what's going on, but I would also like to do that in a gentle way, so that I don't abruptly close the system down by turning off the power.  I know that it is possible, from the keyboard, or the power switch, or something like that, to shutdown Vista in an orderly way.  But I cannot remember how that is done.

    Would someone please tell me how that is done.

  • What would cause my family's accounts to ​reinitializ​e?

    Doctor Who said:
    spivonious said:
    *snip*
    What causes a user's profile to become corrupt?
    And another quick follow-up question, is there any way I can look at a user's profile to see if it is corrupt?

  • What would cause my family's accounts to ​reinitializ​e?

    spivonious said:
    The only thing that would cause that is if her profile was missing or corrupt.
    What causes a user's profile to become corrupt?

  • What would cause my family's accounts to ​reinitializ​e?

    I've got a simple peer-to-peer network at home.  Two desktop PCs and 3 laptops.  The laptops all connect via Wi-Fi.  The 2 desktop PCs are running Windows Vista Ultimate.  And I’ve set things up so that everyone in my family has their own account (profile).  So what they do is click on their profile name and then enters their password.

    Everything worked fine for the last couple of years, and then this morning when I was at work, when my daughter went to log in Windows was treating her as though she had never logged in before.  It was initializing everything, setting up her documents, favorites, etc.   Why would it do that?  What would cause this behavior to happen?  What sort of damage has been done to any/all of our profiles/files/etc?

  • My CPU fan is getting quite loud

    The PC I put together a couple of years ago has developed a loud noise.  I think it might be the CPU fan.  How hard is it to replace it?  What is the quietest CPU fans?

  • Changing the value of a parameter that is fed to a Crystal Reports report

    I'm working on converting an old VB6 Windows form into a VB 2008 WinForm,
    using the VB6 InteropForm library. This old form uses a couple of Crystal
    Reports XI Release 2 reports, which I want to leave "as is" for now, and
    just pull them into the new WinForm. The first report went reasonably well,
    after I figured out how to set the parameters to the report. (The report
    uses a ODBC DSN.) However, I am not entirely sure how to handle the second
    report, since it has a value (the last value) that can change. What I want
    to know is, how to I assign the last parameter to new values and re-generate
    the report? Here's what I've got currently for setting the parameters:

    Private Sub LoadCrystalReportParams()

     Dim fields As CrystalDecisions.Shared.ParameterFields = New CrystalDecisions.Shared.ParameterFields()

     Dim paramCutOffDate As New CrystalDecisions.Shared.ParameterField()
     paramCutOffDate.EnableAllowMultipleValue = True
     paramCutOffDate.ParameterValueType =
     CrystalDecisions.Shared.ParameterValueKind.DateParameter
     paramCutOffDate.Name = "CutoffDate"

     Dim discretCutoffDate As CrystalDecisions.Shared.ParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue()
     discretCutoffDate.Value = dEndDate
     paramCutOffDate.CurrentValues.Add(discretCutoffDate)
     fields.Add(paramCutOffDate)

     Dim paramCopy As New CrystalDecisions.Shared.ParameterField()
     paramCopy.ParameterValueType = CrystalDecisions.Shared.ParameterValueKind.StringParameter
     paramCopy.Name = "Copy"
     Dim discretCopy As CrystalDecisions.Shared.ParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue()
     If m_Print = PrintInvoiceEnum.PrintCopy Then
      discretCopy.Value = "Copy"
     Else
      discretCopy.Value = ""
     End If
     paramCopy.CurrentValues.Add(discretCopy)
     fields.Add(paramCopy)

     Dim paramContractName As New CrystalDecisions.Shared.ParameterField()
     paramContractName.ParameterValueType = CrystalDecisions.Shared.ParameterValueKind.StringParameter
     paramContractName.Name = "ContractName"
     Dim discretContractName As CrystalDecisions.Shared.ParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue()
     discretContractName.Value = sContractName
     paramContractName.CurrentValues.Add(discretContractName)
     fields.Add(paramContractName)

     Dim paramProviderAddress As New CrystalDecisions.Shared.ParameterField()
     paramProviderAddress.ParameterValueType = CrystalDecisions.Shared.ParameterValueKind.StringParameter
     paramProviderAddress.Name = "ProviderName"
     Dim discretProviderAddress As CrystalDecisions.Shared.ParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue()
     discretProviderAddress.Value = streetAddress
     paramProviderAddress.CurrentValues.Add(discretProviderAddress)
     fields.Add(paramProviderAddress)

     Dim paramCityState As New CrystalDecisions.Shared.ParameterField()
     paramCityState.ParameterValueType = CrystalDecisions.Shared.ParameterValueKind.StringParameter
     paramCityState.Name = "CityState"
     Dim discretCityState As New CrystalDecisions.Shared.ParameterDiscreteValue()
     discretCityState.Value = cityStateAndZip
     paramCityState.CurrentValues.Add(discretCityState)
     fields.Add(paramCityState)

     Dim paramInvoiceNumber As New CrystalDecisions.Shared.ParameterField()
     paramInvoiceNumber.ParameterValueType = CrystalDecisions.Shared.ParameterValueKind.NumberParameter
     paramInvoiceNumber.Name = "@InvoiceNum"
     Dim discretInvoiceNumber As New CrystalDecisions.Shared.ParameterDiscreteValue()
     discretInvoiceNumber.Value = m_InvoiceNumbers(0)
     paramCityState.CurrentValues.Add(discretInvoiceNumber)
     fields.Add(paramInvoiceNumber)

     CrystalReportViewer1.ParameterFieldInfo = fields

    End Sub

  • How do I get the parameter for the delete command when I get the parameter for the select in another way?

    I'm working with VS 2008.  I've got a GridView control, which I populate through a DropDownList that is data bound using a stored procedure.  When the DDL changes it updates the contents in the GridView control.  The GridView control is also data bound, and is populated using its own stored procedure and the code returned from the DDL once the user selects something.  I've got another stored procedure assigned to the DeleteCommand of the SqlDataSource, which I intend to use is with a delete CommnadField of the GridView control.  However, in this case I want to use the value from one of the fields in the selected row of the GridView as a parameter to the delete command (stored procedure), to delete the record from the relevant tables.  I don't want to use the ID that comes from the DDL; that is inappropriate (and just plain wrong).

    So, how do I do what I want to do?  Walking through the wizard it doesn't give me a chance to set up the parameter for the Delete command; it only gives me a chance to setup the parameter for the select command.