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

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

shine46055

Member List

Rob Blackerby
road66_be
Kursplat
Jim Harrison IsaDewd
Kailai
GWild
kolo
William Melvin
bfranz
Scott Kirk
mknecht
Howard Shachter
J4m3sB
prashant
Eric D.
Missy101
Andrew McDonald
MSenthilVel
Gholson
objective
Only Title

shine46055's Q&A profile

  • SQL Server Report parameter with datetime

    Hi, Anyone can help me I created a store proc with @startdate and @enddate in query analyser - I run it as Exec SP_Admission '2006/01/01','2006/01/25' and it is ok. Then I created a report in VS2005 and set the parameter as datetime in report parameter. if I manually force to fill startdate and enddate with ‘yyyy/mm/dd’ format in preview, it works. However if I choose the date from the given calendar(Date Time Picker), it doesn’t work it is said that "The value provided the report parameter 'enddate' is not valid for its type. Of course it not valid because it always ...Show All

  • .NET Development Interop - MarshalAs(UnmanagedType.ByValArray)

    I hope this is the right place to ask this. If I have a c struct struct _FOO {UINT size, BYTE zBuffer[2048]} FOO; When i create an instance of it, FOO bar; bar.zbuffer is allocated. However,in c#, i declare the struct as; [ StructLayout ( LayoutKind .Sequential)] struct FOO { public uint nSize; [ MarshalAs ( UnmanagedType .ByValArray, SizeConst = 2048)] public byte[] zBuffer; }; And I create an Instance of FOO; FOO bar; - bar.zbuffer = null; If I marshal this using Marhsal.AllocHGlobal I assume that zbuffer is allocated on the heap, and the struct looks like my c struct (AllocHGlobal appe ...Show All

  • SQL Server Using IDTSEvents interface when running a Package

    I am running a package from a C# application. I would like to use the IDTSEvents interface to capture events from the package such as OnPreExecute, OnWarning, OnError, etc. I created a class (PackageEvents) that implements the IDTSEvents interface. I pass a PackageEvents object into the Application.LoadPackage call that creates the package. The package runs successfully as usual, but nothing happens in my PackageEvents class. None of the breakpoints hit (I put one in every function). What do I need to do to get the class that implements IDTSEvents to be called All the properties of the package object seem reasonable at runtime. He ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Extensions for Alias Maya 7

    When will the export X for maya 7 be released Or is there a way to convert 6 binary or 6.5 binary too work with 7 Right now, the quickest way to get Maya 7 support in the Maya Preview Pipeline is to compile it yourself (the code is available).  While I haven't tried it, it should compile fine with 7.0 once you set up the paths to the 7.0 version of the Maya SDK. ...Show All

  • Smart Device Development Can't append menu items to command bar menu after migration from EVC4

    Hi I've migrated my project from EVC4 to VS2005. It's targeting Pocket PC 2003. I'm trying to append menus to a CCommandBar like this: CMenu *menu = AfxGetMainWnd()->GetMenu(); CMenu *submenu = menu->GetSubmenu(0); submenu->InsertMenu(0, MF_BYPOSITION, 100100, L"test"); AfxGetMainWnd()->DrawMenuBar(); The function doesn't return any errors, and in fact the number of items returned by submenu()->GetMenuItemCount() increases by one, so it seems that the item is added. However, it isn't displayed. I tried deleting items, and the same thing happens there - no errors, but the item is still there. I tried getting the menu ha ...Show All

  • Windows Forms togglebutton

    I am looking to add a single toggle button to a windows form that is not part of a toolbar.  Is there a stand alone togglebutton control that can be used (ie not a toolbar button) caroline Using VS05: The checkbox with the appearance set to 'button' will toggle for you...and you can place this anywhere on you form and use the 'checkedchanged' event to execute your code against user clicks ...Show All

  • Visual Studio Team System 404 response when trying to connect to team server

    Hi, I've finish up installing TFS on my server but I can't connect to it from my client (VS team system). When either pressing the "add server" button on the team explorer or Tools>Connect to team explorer server, I get a pop up with a 404 notice. Both client and server are the latest on MSDN. There were no eror during the installation of the server. The problem seems to be that even on the server machine I get 404 when I browse to http://localhost:8080/services/v1.0/Registration.asmx . However this http://localhost:8080/default.aspx work perfectly fine. I've also already tried the following process: http://blogs.msdn.com ...Show All

  • Visual Studio Team System Setting SharePoint security in sub-folders

    In Team Explorer we can add folders to the Documents folder. Each of these folders that are immediate children of Documents are considered Document Libraries. Security can be configured for these document libraries. Is there a way to setup security in SharePoint for sub-folders within a document library It seems that whenever we try to do just that we are directed to setup security for the parent document library and not the sub-folder. If this is possible for Document Library sub-folders, can security be set for Reports and Team Builds sub-folders Hello Leo, In WSS 2.0, it isn't possible to assign permissions at that granular ...Show All

  • Windows Forms Combo Box Values

    I am trying to assign values to a combo box. However, when I add the values, I get the correct number of items in the combo box, but I don't get the actual value. I just see a blank. If I select the item, I then see it. Here is my code:thisVersion.Items.Add("1.0")I also tried this:thisVersion.Items.AddRange(New Object() {"1.0"})Am I missing&n ...Show All

  • SQL Server Report Jump in Page Header

    I tried to add a report jump to a page header - visual studio mentions that this is not supported by all renders, but I did not find any information which renderers support this. It seems the default html renderer does not support it, because i receive the following error "The path of the item "(null)" is not valid. The path must be less than 260 characters long and must start with slash. Other restrictions apply. (rsInvalidItemPath)" while I only specify the report name. Is there a way to add a report jump to the page header with parameters I have an startpage with links to each report - and in the header of the r ...Show All

  • Visual Studio Help collection manager missing

    When I open the Visual Studio documentation and go to index, I cannot find the Help Collection manager under "collection manager." I cannot integrate the PSDK, DirectX sdk, and National Instruments help into the visual studio collection, but other fellow employees can fine. How can I get the collection manager back so I can integrate the other help files Thank you :) Well, I can see the collection manager now, but the items I've checked in it aren't showing up in the contents even after restarts (DirectX SDK, PSDK, National Instruments SDK). ...Show All

  • Windows Forms Prevent my Component from appearing in component tray?

    I have derived a class from the Component base class and then implemented a collection. The collection is exposed as a property of my control and has the DesignerSerializationVisibility atttribute defined as Content. This all works fine in that the default collector editor comes up and I can add/remove entries and it generates the correct code etc. All well and good but there will be 10's and maybe more instances in the collection and I do not want each instance to appear in the tray area. Is there some attribute or property I can override to say they should not appear in the component tray Phil Wright http://www.componentfactory.com F ...Show All

  • Visual Studio Item->Property processing

    I have an item like this: <ItemGroup>   <MyItem Include="...">     <Metadata1>...</Metadata1>     <Metadata2>...</Metadata1>   </MyItem> </ItemGroup> And a property like this: <PropertyGroup>   <Arguments>myprog.exe /something</Arguments>   <Arguments>$(Arguments) /more_something</Arguments>   <Arguments>$(Arguments) @(MyItem->'/myswitch:%(Indentity),%(Metadata1),%(Metadata2)', ' ') </Arguments> That I pass later to an Exec Task The problem is that I MyItem includes "xxx" with Metadata1  ...Show All

  • SQL Server rounding datetime nnn to whole seconds

    First of all my apologies if this has been covered elsewhere, I have been unable to find it despite a good few hours searching, okay here we go: I have an mssql database with a table storing a datetime as >  2005-10-06 16:04:04.933 I have data in an access table that stores the same time as>  2005-10-06 16:04:05 i.e. it has rounded up the time. (under .500 gets rounded down) I need to perform the same rounding on the mssql table (using an update) I can't use cast as smalldatetime is too small, timestamp isn't right either. I've tried convert: but this doesn't achieve rounding correctly (it only rounds ...Show All

  • Visual Studio Express Editions DLLs in VB Express

    Hi All! I want to add security feature to all my applications/projects. I mastered this security feature in VB6.0 It basically gathers information about the machine my application is being deployed on and generates an Installation ID for the application. The user then sends me this Installation ID and requests for the activation code. My security program generates an activation code based on the supplied Installation ID. The application remembers this Activation Code and verifies it every time the application is launched. Now, I want to be able to hide the code of the modules which verify the Activation Code, just in case my code is ...Show All

©2008 Software Development Network