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

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

MVP_mayank

Member List

John_Cronan
CaffeineMartini
booboo85
Solarflashlights
S Collins
Jstn
Dr. Thunder
PeterMo.
Daniel Hilgarth
Cyber Wombat
cbell
Sreraman Narasimhan
Bei
Monica Boris
BluestarLV
Agnes Pedoche
Rob Claisse
Michael Sorensen
Antoine64
filousnt
Only Title

MVP_mayank's Q&A profile

  • .NET Development Converting a VS 2003 solution to VS 2005

    What type of problems I should expect Depending on the language you use: - warnings about unused variables - errors about bad references (if you decide to switch from 1.x to 2.0) - in very special cases of C# compiler errors due to the new generics support ...Show All

  • Visual Studio 2008 (Pre-release) TreeView + HierarchicalDataTemplate

    I'd like to bind an Object form the following class to a TreeView class MyObject { private string name; private List<MyObject> childs; public string Name { get { return this.name; } } public List<MyObject> Childs { get { return this.childs; } } } My Treeview looks like: <UserControl> <UserControl.Resources> <HierarchicalDataTemplate DataType="{x:Type local:MyObject} ItemsSource="{Binding Path=Childs}"> <TreeViewItem> <TreeViewItem.Header> <StackPanel Orientation="Horizontal"> ...Show All

  • SQL Server Report Input Fields as Tree View Selectio (Hierarchy list box)

    Hi, I have the model built on top of the datamart. I have country, state, and city table. Presently I have 3 list box in the report filter, whee use can choose the city/state/country. My question: 1. I have 3 list box namely CountryList, StateList, and CityList. Now By default I populate the CountryList. But i want the StateList to be populated only after country is selected. Similarly the citylist should get populated once i choose the country and state. Is it possible out of the box through report builder (SQLRS 2005) 2. Is it possible to have only one listbox and display this Country-->State-->City hierarchial data displ ...Show All

  • Visual Studio Express Editions Adding a virtual folder

    Hi all, I am currently doing my final year project and would like your kind assistance. The system that I am doing requires me to store the uploaded files into a virtual folder and a physical folder also saving the File's url in the database. I was wondering how I am able to acheive that. Do I add a virtual folder to the virtual directory If so, may I know how to to it I will have to store the files in a network server. I hope you could provide me with some help. Thank You. Regards, Sam A virtual folder is a virtual directory...which in reality is nothing more tha ...Show All

  • Visual Studio Supported Rendering Formats

    I am planning to employ a LocalReport object in a .dll I'm writing which will be used to render reports.  Is the LocalReport class going to support the same output formats that Reporting Services does   I do like the myriad of output formats (PDF, Excel, CSV, XML, Tif) that Reporting Services currently offers and would hate to think that the report viewer would eliminate any of those formats. Any information would be appreciated. Thanks Ken Harris PDF export in local mode will be a huge addition for our particular project.  Thank you so much for adding this! ...Show All

  • SQL Server Where'd Query Analyzer Go?

    In an existing project in SQL2K/VS2003, we have several .sql files in a folder in the VS solution.  The entire database is created/recreatable from these queries.  The solution is under source control, and therefore so are all of the queries.  When someone opens a query file, Query Analyzer is launched.  There are a few annoyances (like the fact that a separate instance of QA is launched each time another file is opened), but it works fairly well. So I try doing something similar in VS2005.  The closest I can get is to create a text file in App_Data.  BUT, when I open it up, the window is essentially an overg ...Show All

  • SQL Server can't install sample databases plus no documents or tutorials

    I have downloaded and run all the .msi's for the sample databases. To install them I am suppose to use "SQL Server 2005 Setup, you need to click the Advanced button....". I don't seem to have a "SQL Server 2005 Setup" - did the docs revert back to SQL Server rather than SQL Express or what R Perhaps I was unclear on the problem (people have looked at my post but no one has replied). I am trying to follow the instructions at http://download.microsoft.com/download/d/8/6/d865cf0c-c44b-401b-b426-b3bf5c628112/GettingStartedWithSQLSamples.htm Don't know why that doesn't show up as an URL. ...Show All

  • Windows Forms Pressing <Esc> will trigger validation of contents of UI-element

    Hi, In our forms we have the problem that after entering invalid input in a textbox, pressing the <Esc> key will trigger the validation of the textbox contents. In the same situation, pressing the CancelButton of the form will NOT trigger the validation. We thought the behaviour would be the same for both situations, but it is not. How to achieve that both situations behave the same. Note: it not only happens for the textbox but for all input controls. Note: we checked all controls for the setting of CausesValidation (for the CancelButton this is FALSE, for the form this is FALSE). regards, Henk No you aren't m ...Show All

  • Visual Studio Express Editions Databinding Doesn't work!?

    Dear all Even though I have followed the tutorial on data binding gui's on msdn, my installation of vs.vb.net 2k5 doesn't add data. I've created a table in the sql database, added the dataset, drag and dropped the data table onto the form in detail view. I also entered some test data directly to the database in vs.2k5 enviornment. Running the program it displays the records in the database. I've added an msgbox command to display the "updated" records from the form's dataset. Saving new records causes a message to popup giving a new record count, which i assumed added the data to the database. But closing the program an ...Show All

  • Visual Studio 2008 (Pre-release) converting windows application to web application

    Hello I was trying to convert my windows application to a web application. All things done , I have left with the single error while is like this. Error 1 The ValueSerializer 'RoutedEventValueSerializer' cannot convert from 'System.String'. This error comes in the XAML file on the line : <EventTrigger RoutedEvent="MouseLeave"> Any idea how can I eliminate this... This application works perfectly fine as windows application. In the browser however I get this exception : System.Windows.Serialization.BamlParseException: Error at element 'EventTrigger' in markup file 'Page1.xaml' : An EventTrigger requires a value f ...Show All

  • Visual Studio Express Editions Visual Basic 2005 Database

    I'm trying to associate a picture to database table, can this be done Hi, Do you mean to add a picture into a datatable If so, you can take a look at Adam's post. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=146839&SiteID=1 . Best regards, ...Show All

  • Visual Studio Team System Problems with Setup

    OK, I know the score, read the documentation at least twice before installing and I did. I was still caught out and it cost me a lot of time. Here's the problem. Doing an installation on one of my servers using separate data and application servers. Everything is done inside Virtual Server as with previous versions and I expected no problems. The data layer went in exactly as described and I ticked off each paragraph as I completed it. The application layer was going well until it started throwing a 7 line error message. It looked like a permissions problem so I checked that the tfssetup and tfsservice accounts were not only members of the l ...Show All

  • Smart Device Development .net 2.0 - SQL connection

    Hi All, I've created a smart device app. in .net 2.0 (beta 2). Also, created SQL server mobile database with 1 table and then I dropped table on the mobile designer window which created sqlceconnection1, sqlceadapter1, sqlcecommand1, sqlcecommand2, sqlcecommand3 and sqlcecommand4 objects ( that automatically adds reference Microsoft.SqlServerce.SqlClient.dll  to my project ). When I try to compile the solution..it tells me " Error 1 Metadata file 'c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Microsoft.SqlServerCe.Client.dll' could not be opened -- 'Version 2.0 is not a compatible version." Could any one please ...Show All

  • Windows Forms Line Graphs in VB Forms

    Help, I would like to use the data entered in my form to be displayed as a line graph in another form. How do I create a XY Line Graph with a line going through my data points. You may also want to try the free chart control (graph library) from here: http://msdn.microsoft.com/smartclient/codesamples/windowsforms/default.aspx .  This was written by a member of our team (Dinesh Chandnani) and is what we (the Windows Forms team) use in many of our samples. Joe Stegman The Windows Forms Team Microsoft Corp. This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Visual Basic GetKeyState

    I am trying to get GetKeyState  to work and its just not working! I am trying to make it so when I press PrintScreen (Prt Scr Sys Rq button) it will give me a MsgBox saying "You pressed print screen button". the only trick is that I need the program to be out of focus. so I have like Windows Media player in focus and i press Print Screen and it says you have pressed print screen. can you provide me with a code sample Hi Biodegradale. I have a problem exactly like this in a thread called Note the developers that I just posted. You may want to look at what I said because it involved Get AsyncKeystate. What a coincidence that you hav ...Show All

©2008 Software Development Network