amitsingh's Q&A profile
Visual Basic What is the difference between Properties and functions
with a property in .Net you can have parameters just like functions. What's the point of having both Apologies, I'm new to OO in .Net. In the most of class, there are two kinds of concepts: data and action. For example, if I have a class to represent a robot. The data portion of the class will be the robots legs, arms, heads, etc. the action portion will be move arms, move legs, etc. The main purpose of the property is to allow class ...Show All
SQL Server Is SP 4 for Analysis Services needed ?
Hi ! We’ve just installed SP 4 for SQL 2000 and Microsoft Reporting Services on the Test environment. The Analysis Services still has the SP3. At the same environment we have Business Objects Enterprise XIR2. The OLAP Intelligence application doesn’t work properly anymore since we’ve installed SP4 for SQL and the Microsoft Reporting Services. Do you know, is Microsoft Reporting Services working good together with Business Object ...Show All
Visual Studio Team System Users Missing from Assigned To List (Work Item/Task)
I have been trying to set up work items and tasks, but cannot figure out how to get users into the "assigned to" list. I have no idea what the trick is to get the users into the list. I followed the instructions at the following URL to setup the users: https://blogs.msdn.com/vstsue/articles/422773.aspx One user is a project manager and one is a contributer. Neither show up in the list. What am I missing to get the user' ...Show All
Windows Forms How to hide a property at run time?
Hi everybody. I'm trying to hide a property "from" run time. It should be available only at design time. I know it has to do with attributes but which one [Browsable(false)] Public Property BLAH ...Show All
Visual C# what is the meaning of GraphicsUnit.World?
For GDI+,Graphics.PageUnit = GraphicsUnit.World; can you explaint the meaning of "World" :Specifies the world coordinate system unit as the unit of measure. what condition should I use "world" Thanx. I have no practical experience with, but I believe that the World units are used so you can manually convert some world unit to a device unit by using Graphics.Transform. You will need to supply your own matrix for performing th ...Show All
Visual C# How can i change string to font object??
I am making a simple text editor using C#. And i want to change the font size of the text. I did it and stored the font settings in the registry, by converting the font object to string. Now when i start the editor i want that font settings to be reloaded in it. So how can i change the string stored in the registry back to the font object so as to restore the font settings ps: I can't save the file as .rtf, as i am dealing with only plain text. ...Show All
Smart Device Development Multiple Selection in ListView
Hi, We are currently working on a project in VB.Net (VS2005) for PocketPC. It is required that we use a ListView(2 cols) to display data, with MultiSelect property "On". the option "MultiSelect" is unavailable with the .Net Compact Framework. Any inputs on how this can be achieved Thanks! You can find workarounds for this in the CF newsgroup archive. http://groups.goog ...Show All
Architecture Layered Architecture across Boundaries
Hi, I would like to know, how separating layered architecture across boundaries can increase performance and scalability. We have a scenario where client insists on the Presentation Layer on a separate machine and the application server on a separate machine and the interaction between them is going to be using Web Services. Web Services are arguably slow and how can the performance improve against having the UI Layer and Business L ...Show All
SQL Server SQL Server 2000 DTS Tools Web Download
Is the Web Download to install SQL Server 2000 DTS tools available yet If so where Thanks Darren Sometimes happen the same and even only appears the arrows. I had a lot of problems with this messing up my Sql2k Entreprise Manager. ...Show All
Windows Forms How to play a .mp3 or .wav file
as title Sure you can play mp3 or wav with Media Player. Add the control to the Toolbox by right clicking the Toolbox, selecting "Choose Items...", picking the COM Components tab, and checking the box for the Windows Media Player control. Place a Windows Media Control onto your form. Play a music file by setting the Url property on the player, e.g., AxWindowsMediaPlayer1.URL = " http://www.microsoft.co ...Show All
Visual C++ complaint no. 3 SETUP IS AWFUL
the setup proceedures you folks have worked out for these Express editions is absolutely awful. i appreciate the free software, (smart move to release these tools, for obvious reasons). but i don't think its appropriate to provide such lame installation support even if you are being generous. ms should set an example ... ease of use, transparency of installation especially, is issue 1 in good software development. there are too ...Show All
Visual Basic Rotate an image
Is it possible to rotate a picturebox or an image inside a picturebox Also, is there a way to make the picturebox backcolor actually transparent Setting it to Web/Transparent does not work. Here you go Troy. 'rotate an image Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim RotatedImage As Image RotatedImage = PictureBox1.Image RotatedImag ...Show All
Windows Forms How to show a picture from sql server( BLOB type )
My table has a blob type field,it's a "*.jpg" picture how can I show it in control picturebox I use System.Drawing.Image.FromStream(stream),but it's error why Pls help me about blob my code is from vs.net sdk,it's good,but it's not showing in picturebox! ...Show All
Visual Studio Team System Representing arrays of custom types
How would you do that with the FxCop api Can you construct a TypeNode, Parameter, etc. to represent something like MyClass[] classes; Can you create a .NET System.Type to represent the same thing Thanks. It turns out that StructuralElementTypes is important for generics declarations. In the case of generic types, this member describes template parameters. For generic type parameters, this memb ...Show All
Windows Forms Any recommendations for good books on VB.net
Folks: I am looking for recommendations for good books on VB.net that show how real-world applications are built. I am not looking for the usual books that teach you VB.net by showing you small code snippets. Instead, I am looking for books&n ...Show All
