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

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

Astral

Member List

walsh j
Display_Name_mladen
DrScheme
FrancoJS
Marcin Kruszynski
Scafe
raokramer
IanMB
zepgrirl
maddog70
misteloe
Shantnj
RupaliMSFT
RERAFASDFF
TRietz
Joel Parmer
fwind
wPa
ghostwrtrone
cawilde
Only Title

Astral's Q&A profile

  • Visual Studio 2008 (Pre-release) Styling Issues - Designer Errors

    Sometimes, when I try to write styling xaml code, I get an error from the designer on TargetType attribute: < Style x:Key = " {x:Type ListBoxItem} " TargetType = " {x:Type ListBoxItem} " > which says that the value is not of a desired type: Error 1 Object of type 'System.Windows.Markup.TypeExtension' cannot be converted to type 'System.Type'. And one more question: When creating a gradient background in Sparkle, it adds additional <GradientStopCollection> under for example <LinearGradientBrush.GradientStops> tags which "Cider" warns it's incorrect, what's that again Are these ques ...Show All

  • SQL Server Back to Parent Report button not visible

    When I preview a report that has a link to a details report page in VS a "Back to Parent Report" button is displayed. However, when I publish the report to the Report Server, the .aspx page doesnt display the "Back to Parent Report" button. Is there a setting I need to make to have the button displayed thanks, lance The "back to parent" functionality in the HTML report viewer is achieved by clicking the browser's back button. -- Robert ...Show All

  • SQL Server Store the output of executesq

    hi I am trying to store the output of sp-executesql into a variable to implement it as a user defined function later The function is ALTER function [dbo] . [UnitsAvailable] ( @id int ) returns int as begin declare @sql nvarchar ( 100 ) declare @params nvarchar ( 500 ) declare @count nvarchar ( 10 ) set @sql = N 'Select count(*) from units where projectid=' + convert ( varchar , @id ) + 'and sold=0 and displayunit=1' set @params = N '@countOUT nvarchar(10) OUTPUT' ; exec sp_executesql @sql , @params , @countOUT = @count OUTPUT ; return @count end The r ...Show All

  • Visual Studio Custom Editor

    I am currently trying to integrate a custom editor (for an in house scripting language) within visual studio. The editor itself has been build as a seperate windows application. However, i wanted to convert it into a VSPackage. I have read whatever is available in the VSIP sdk, but that's not much! I have also looked into the basic edit sample (provided with the VSIP sdk), but i somehow feel that it might not be the best way of getting things done! Is there any other information available online, if possible, the source code of a well designed package Thanks in advance. For an example of a well designed package have a look at the new ...Show All

  • Software Development for Windows Vista SQLTrackingQuery

    Hi, I need to select workflow instances from the persistance / tracking store that have a user defined depency property (DateTime) between a specified range. I have not been able to find the correct way of doing this. Please Help... Regards Jaco If the workflow instance is persisted in the persistance store by the SqlWorkflowPersistenceService, unfortunately you can not get the properties information from the persisted instances. You can create your own persistence/tracking service and store your defined properties in your custom tables. Then you can build your own query. ...Show All

  • .NET Development Local Test Manager (LTM) throws GPF when try to select some test

    Hi, After many difficculties I managed to build OLE DB conformance tests, which are included in Microsoft Data Access 2.8 SDK. Now I am trying to work with these tests in LTM, but when I try to select some test, LTM throws GPF (The memory could not be "written"). Maybe I didn't set environment for OLE DB tests as required For example, I didn't generate initialization file with the TableDump utility (because from the documentation in MSDN I really could not understand, how to do it). Can someone give any hints, what should I do to proceed with OLE DB conformance tests Thanks in advance ...Show All

  • Visual C++ OpenMP vcomp.dll problem

    Hi everyone, I have just bought and installed Visual Studio 2005 Pro, and I have a problem with its OpenMP support. I have been using the Beta 2 before, and wrote code that uses OpenMP. As you might know, vcomp.dll is required when using OpenMP. The files can be found inside some redist folder of VS 2005. So I copy this file to the executable folder, and try to start the exe. I get an error which says that it tries to load vcomp.dll wrong. However, I don't control the loading myself, so I assume this is a bug. Also it worked fine with the Beta. The Beta 2 vcomp.dll does work. But it causes some hang/lockup/deadlock somewhere, which didn't ha ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. running windows media player on top of directx app?

    I have a really broad question here ... need some feedback to point me in the right direction before i embark on this project. I want to use windows media player control in a fullsreen directx app. How would you guys go about it I was thinking of making two windows, and running the wmp control on top of the directx app. Now, what if I were to use directshow Would I be able to get the same functionality out of it any direction would help .. thanks guys. Thanks Jack. Yeah, I'm looking into using directshow for my audio/video playback. Any recommendations on tutorials or whatnot that you used Any advice in general with DShow THanks ag ...Show All

  • Windows Forms Service Controller App cannot execute OnCustomCommand: Access is Denied

    While making my way on learnig what is all that about by following MCAD/MCSD Self-paced training kit 'Developing XML Web Services and Server Components', in reaching page 92, I read: In addition to the Start, Stop, pause and Continue methods, you can use the ExecuteCommand method to run custom commands on your service.... So, I wrote the override code in the&nbs ...Show All

  • Visual Studio Tools for Office Unable to build MSI/Setup program referencing Outlook Addin

    Configuration : Windows XP SP 2 Visual Studio 2005 Prof. RTM VSTO 2005 RTM Problem : When attempting build any Setup progrm which references a VSTO project's primary output in Visual Studio, the installer program for VSTO opens and attempts to add components.  After inserting the vsto disk, the following error occurs "The installer encountered an unexpected error installing this package.  This may indicate a problem with this package. The error code is 2902".  This error interupts the build process and makes it impossible to build the setup program.  Visual Studio reports "Unrecoverable Build Error" I also fou ...Show All

  • Visual C++ msvcr80.dll Problem

    Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin I am having the same problem... I even uninstalled it.. and it didnt show a problem then I reinstalled the update and it showed up as a problem in the Windoctor again... any ideas as to what is wrong with this update Im sure its a simpl ...Show All

  • Windows Forms date in windows form

    I have these code it is working in .net(web form) but not in the .net(windows form). It gives me error on listitems. I am trying to make a dropdownlist for day/month and year Still trying to learn vb. Dim now As New Date now = Date.Today Dim nowDay As Integer = now.Day For i As Integer = 1 To 31 Dim item As ListItem = New ListItem(i, i) lstDay.Items.A ...Show All

  • Visual C++ ATL

    Using Visual Studio .Net 2003. I created a DLL ATL Project using the New Proj. Wizard. Noticed that the generated class is declared and defined solely in the .cpp file, i.e. there is no header. Three questions: 1. From this, I gather that the methods of the class are to be implemented in the class itself I like this because I like defining all class functionality in one file. 2. Also, is no header is needed for ATL COM objects because the importer of the object gets the interface specification from the IDL file (as opposed to the analogous header file as would be used for a standard DLL) 3. This seems to have some commonality ...Show All

  • Windows Forms Browsable attribute breaking change?

    There seems to be either a bug or a breaking change with the Browsable attribute. With V1.1 of the Framework, we could mark properties with Browsable(false) and they would not be displayed in a PropertyGrid. Worked great. Now, with V2.0 of the Framework, nothing can bind to a property that's marked with Browsable(false). An exception is thrown from BindToObject.CheckBinding (see below). The exception and stack trace is exactly what you get if the property doesn't exist. I get the exception if I run my V1.1 application against the V2.0 Framework and when I recompile my app with the V2.0 framework. I don't see this documented in t ...Show All

  • SQL Server How do I access the lowest level data?

    OK, this feels like a dumb question...  but how do I access the lowest-level data in the cube   I.E., before it is aggregated What I'm trying to do is find all of the rows where an amount is > 1000.  However, when I create a calculated member or constrain in any way, it compares to the aggregated amount.  I have tried a few ways, but they all seem to act only on the aggregated data.  Thoughts BTW, the SQL would be: Select sum(measure), count(measure)   from fact_table  where measure > 1000 Thanks,   Doug   Just to understan ...Show All

©2008 Software Development Network