Software Development Network Logo
  • Visual Studio
  • Smart Devicet
  • Visual FoxPro
  • Visual C++
  • Windows Forms
  • Game Technologies
  • SharePoint Products
  • SQL Server
  • IE Development
  • Visual Basic
  • .NET Development
  • VS Team System
  • Windows Vista
  • Visual C#
  • Microsoft ISV

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

Ayooya

Member List

Yeago
Wally9633
Robin Sarac
navingp
SParker1
Big Cal
Kfir Dadosh
coolkay
James Rea
CnxRnD
pvulcan
Kieron Lanning
GetCode
scenedamaged
barkingdog
MarkAx
OrpheusTheBard
sql1
Patty Benskin
Kr33
Only Title

Ayooya's Q&A profile

  • Visual Basic prevent tabpage from changing while input is validated

    Greetings: I've got a tabControl with several pages, and the first page presents a summary of the stuff on the other pages. It is set up so that the user input on the back pages is validated on the textbox leave event. A problem occurs when the user goes from entering some invalid text in one of the back page text boxes directly to selecting another tabpage. The validation error messages get shown along with the summary page error messages, and it is not a pretty sight. I tried using a boolean flag in the tabcontrol.selectionChanged event to try to stop the selection change, but that doesn't work. I'm guessing that the selection change event gets fired before the textbox leave event. I've also tried using boolean flags to stop the ...Show All

  • SQL Server Cubes and dimensions disappear random

    Hi, Since today cubes and dimensions disappear random at our customers site. Without any pointable reason the cubes and dimensions will be deleted from the cubes and dimensions folder within the analysis services database. We have double checked no one removes the cubes or dimensions. After restoring the backup file the database will run for several minutes/hours and then for some reason the cubes and dimensions disappear. We are running sql 2005 standard with SP 1. Anyone knows how we can trace the events or track what happened We have restored the as database multiple times (untill now 5 times) and the problem still keeps returning. No settings have changed and we are running the AS database for about one week from now. I have checked ...Show All

  • Visual Studio Team System Failed to create mapping

    I'm getting the following error when trying to add a new solution to Source Control. I've found a couple of other forum topics with the same issue and tried to follow, but nothing seems to work. i've removed workspaces and so on. ERROR: Failed To Create Mapping. The working folder D:\Development is already in use by another workspace on this computer. Thanks! I removed a mapping from this file from an old project that has been deleted. Now, I am trying to Get Latest Version" on the TFSBuild.proj file so I can edit the BuildType for the new solution. When I try to get latest on the TeamBuildType (this is the first time I'm doing this), I get an error that "The working folder D:\Develo ...Show All

  • Visual Studio Team System Unable to cast to type 'Microsfot.VisualStudio....'

    After building a DB project (CTP4) against a SQL 2000 DB.. running some scripts.. etc.. I closed visual studio. When I went to open the solution again.. I get the following error: unable to cast to type 'Microsoft.VisualStudio.TeamSystem.Data.DBProject.DatabaseFieldNode' to type ' Microsoft.VisualStudio.Package.FolderNode'. ANy ideas That for sure is not a feature, we did see and fix a couple of the occurrances, but I would like to be sure yours is one of them. Do you get a exception dialig where you can choose Debug If so it would be a big help if you can get us the callstack dump in the exception. If that is not the case; it helps to know if you can repro this at will If so can you give us ...Show All

  • Visual Studio 2008 (Pre-release) Overlapping elements over a FlowDocument

    Hi, I have a FlowDocument with sections, paragraphs, lines, etc. My target is (for example) to draw two lines in order to create a cross over the page (from angle to angle) so that the lines overlaps the entire page content. Another example is to overlap a big text like "Confidential" over (or behind) the content page. I tired using floaters but they need to be inside an inline, so they take space and modify the flow of the page. I want to overlap those elements without changing the normal flow instead. Thanks, Raffaele Thanks Lester for your answer. This solution could be a workaround when I need to put an image below the paragraphs. The problem that remains are: - putting something in front of the paragraph ...Show All

  • Visual Studio page count in ReportViewer-Bar -> 1 number too little

    hello there. i render my reports in local mode in a WinApp. when the report got rendered in the reportviewer the report has three pages. in the status bar of the reportviewer i only see "1 of 2" pages. after scrolling or pressing the "next-page-button" the pagecount corrects to three. i suppose that the reportviewer adds repeated (repeat on each page) objects only one time, not three times like in this sample. is this possible is there an update for that Did they fix this in ReportViewer 2008 I have the same problem, but I see the same in 2008 too. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Render to Texture and Shaders

    Hi! I created a volume fog shader, i have 2 passes where i need to render depth of object to textures. How i can pass render targets from DX to shader simple: effect.BeginPass(1); effect.SetValue("back_Tex", backTex); effect.SetValue("ViewProjection", device.Transform.World * device.Transform.View * device.Transform.Projection); mainMesh.DrawSubset(0); effect.EndPass(); dont work :( Ok, you have to do some steps: 1) Ensure that you texture are render targets: LPDIRECT3DTEXTURE9 myRenderTexture; D3DXCreateTexture(m_pd3dDevice, xres, yres, 1, D3DUSAGE_RENDERTARGET, D3DFMT_X8R8G8B8, D3DPOOL_DEFAULT, &myRenderTexture); Verify that your video card can use the format X8R8 ...Show All

  • Visual C++ C++/CLI finalizer chaining in a class hierarchy

    Is the finalizer ( ! ) in a C++/CLI derived ref class automatically chained to call the finalizer of its base class or do I have to manually implement this in my derived ref class The documentation in the "Destructors and Finalizers in Visual C++" topic is confusing about this. Also if the finalizer is protected rather than public will it still be called originally by the GC ref class Base { public: !Base() { /* Release unmanaged resources */ } }; ref class Derived : public Base { public: !Derived() { /* Release unmanaged resources */ // Does !Base(); have to be manually called } }; Peter Ritchie wrote: From Destructors and Finalizers in C++ : Unlike Visual C++ ...Show All

  • .NET Development Help with DES Encryption & Decryption using C#.Net

    Hi, Could you spare some time to help me with a small problem I need to perform encryption and decryption using the DES algorithm. This is the way I want the program to work : My form has 4 textboxes - 1) tbPlaintext --- For the user to enter the plaintext 2) tbCiphertext --- For displaying he ciphertext 3) tbKey --- For displaying the key 4) tbIV --- For displaying the Initialization Vector and 2 buttons - 1) Button1 --- When clicked performs encryption using key form tbKey and the IV from the string - "init vec" 2) Button2 --- When clicked performs decryption using the key in tbKey and the IV "init vec" The user enters the plaintext -"Hello wo ...Show All

  • Windows Search Technologies Improving the users' experience of window desktop search

    I am into design of interface to improve "users' experience" in using a software. I was studying the 2 Desktop search from both side, Microsoft & Google. While the great engineers of both company create a great product, I see that both are now offering a common function. As we know, Desktop search primary objective is to capture users for the search engine and the functionality of easy-search in our desktop is just additional functionality to ensure web search is readily available in our computer. What else the great engineers from Microsoft can add to Windows desktop to ensure it is selected over the other competing desktop search My suggestion is to add dictionary that will be available even the users are offline. As we k ...Show All

  • Visual Studio 2008 (Pre-release) DLINQ: Please help

    Hi, all I created a c# windows application to try out the DLINQ Im using LINQ May 2006 Preview with VS2005 and connect to Sql 2005. i use sqlmetal to generate the MySample.cs (my sample database) and Mappings.xml and my windows application compiled successfully. when i try to run it, i got a exception when excute below public MySample(string connection, System.Data.DLinq.MappingSource mappingSource) : base(connection, mappingSource) { } say "the type of 'SurfTrack' is not entity". SurfTrack is a table in my database and i can see the sqlmetal create the class SurfTrack in the MySample.cs as well as the mapping information in the Mappings.xml. anyone can tell me what is the problem. thanks a lot. ...Show All

  • SQL Server Could not Authenticate with SQL Server

    Here's my situation and I've spent enough time to troubleshoot. Any help would be appreciated. 1) I have a VB.NET Windows Form Application that uses SQL Server Express 2005 database. 2) The "mdf" file is a part of the application itself. 3) When the application distributed to my clients using Windows XP SP2, the "Click Once" installer automatically installs SQL Server 2005 Express [which is a pre-requisite] and copies this mdf file into the application folder. 4) The authentication mode is "Windows Integrated" The problem is, when the application is launched [while logged in as the local system administrator in a given computer], it is unable to connect to the SQL Server. I get the following error, Failed to generate a user instance of S ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DRAW simple 3D CUBE - InvalidCallExeption

    Hi guys, I was able to succesfully complete the 3D Cube tutorial, The build was succesfull,but It throws an Exception at this line: graphics.GraphicsDevice.DrawUserPrimitives< VertexPositionColor > ( PrimitiveType .TriangleList, 12,nonIndexedCube); Does anyone have the complete code and if you guys do could you please copy and paste it.If some one from the XNA Team could please check this Exception I would realy appreciate it. Also i would love to know where to place, the folowing lines of code : VertexPositionColor[] nonIndexedCube = new VertexPositionColor[36]; Vector3 topLeftFront = new Vector3( -1.0f, 1.0f, 1.0f ); Vector3 bottomLeftFront = new Vector3( -1.0f, -1.0f, 1.0f ); Vector3 topRightFront = new Vect ...Show All

  • Visual C++ Libraries linkage errors make me CRAYZEEE

    Hey all, I"m frustrated from working with Visual C++ and libraries :/ I am developing my MFC based project, for which I wanted to add a log system to track my bugs and error msg and etc., I have created a static library project and created my Log class: For one, I just noticed a post made by Marius Bancila in another thread: http://www.codeguru.com/forum/showthread.php t=296307 . Otherwise I'd recommend you to get a good C++ reference book. ...Show All

  • Visual Studio Team System How do I add a new report to the Project Portal?

    Hello, I've just created a new report and would like to add it to the team project portal. I'd like it to show up just as the "Remaining work" report does. How can I do this Cheers, Chris Most of the time we recommend reports be kept on the reports server (in the Reports node). Out of curiosity, why would you want to store the report in sharepoint instead of the reports server You could try and publish the reports to sharepoint (like any other file), but I'm not sure how useful that would be. ...Show All

©2008 Software Development Network