Syeda Rizvi's Q&A profile
Visual C# Previewing images (64*64) control....
I like to preview some Image objects in 64*64 format in some kind of control. Is there any .NET control for that. I only find the ListView control but with that I only can preview pictures in 16*16 format and that is to small for me… You can use a PictureBox control with a size of 64x64 and the SizeMode set to PictureBoxSizeMode.StretchImage or PictureBoxSizeMode.Zoom . Or you extend an existing control or you create your own. A control you can use can be found on code project, Using thumbnail images in a list control . Some more articles: Image Slider .NET component - flicker free browsing of pictures ImageListPopup, ...Show All
Visual Studio Express Editions Descending order ListView
I have a Listview and I am adding a row every 2seconds but i want to keep the last added row on top instead on showing it at the botom. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Surfaces vs Textures
I have Cube Texture and i use it for env mapping, and i wanna draw cube object (env) with this texture. i use IDirect3DCubeTexture9:: GetCubeMapSurface but i cant set this surface to render ( IDirect3DDevice9:: SetTexture or ID3DXEffect:: SetTexture ) because it need IDirect3DBaseTexture9 interface. How convert IDirect3DSurface9 to IDirect3DBaseTexture9 without any copying of texture data or duplicate textures last I knew, the difference in performance between tex2D and texCUBE is negligible on current parts, and the extra manual math to fake it definitely eats more cycles. texCUBE can be p ...Show All
Visual Basic Adding a Project Reference causes Form icons to change to Class icons
Hi all, I'm having a problem with VS 2003. I have a solution containing approximately 8 projects, most of them are class libraries with various layers such as data, business and UI adapters. I've just encountered a problem whereby when I add a reference to a class library containing a base class which is inherited elsewhere the icons for the forms contained in the solution change to normal class icons and I can no longer access the forms through the visual designer. Any idea what could be causing this Regards, Cathal Hi Cathal, We determine the file to be a designer file based on an attribute ...Show All
SQL Server Problem running package with 'larger' amount of data
Dear, I created a package getting data from files and database sources, doing some transformations, retrieving dimension id's and then inserting it into a fact table. Running this package with a limited amount of data (about a couple of 100.000 records) does not result in any errors and everything goes fine. Now running the same package (still in debug mode) with more data (about 2.000.000 rows) doesn't result in any errors as well, but it just stops running. In fact, it doesn't really stop, but it doesn't continue as well. If I've only been waiting for some minutes or hours, I could think it's still processing, but I waited for abo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to create a multihead device?
hi, i would likt to know how to create a multihead device. an short example would be nice as i dont get it! i tryed this, but its throwing an error: Dim PresentParams(1) As PresentParameters 'set presentation parameters PresentParams(0) = New PresentParameters PresentParams(0).Windowed = False PresentParams(0).SwapEffect = SwapEffect.Discard PresentParams(1) = New PresentParameters PresentParams(1).Windowed = False PresentParams(1).SwapEffect = SwapEffect.Discard 'create device Device = New Device(0, DeviceType.Hardware, Me, CreateFlags.AdapterGroupDevice, PresentParams) thx & greets matthias I don’t ...Show All
Windows Forms Load rtf file into a richtextbox while retaining format information
I am trying to load an rtf file which is created by using Wordpad into a richtextbox. However, the text seems lost some of its format information, e.g. text set to bold and different sizes, after been loaded into the richtextbox. How can I add these texts while retaining their format properties Calling richTextBox1.LoadFile() should preserve your document formatting. What version of Visual Studio are you using Can you post a few lines of your code and a few lines of the document your are trying to load ...Show All
Visual C# CallBack from a WIN 32 C++ dll
Hello Everyone, My application is written under C#, but for some of the low level stuff I have to use C++ dll's and one of the dll require password before I can make some function call or if user entered wrong should ask again..... How can I implement something along those lines.... At first I can send the pasword, but if the password is wrong what is the way to get the password....If you want I can even post my procedure which asks for password..... Any help, suggestion highly appreciated... Thanks, Harsimrat I was thinking about this, can you outline exactly how you would like it to work ...Show All
Smart Device Development How to create Windows Mobile 5.0 Pocket PC application using VS 2005
Hi, I want to create a Windows Mobile 5.0 application for Pocket PC using C# in Visual Studio .NET 2005. When opening VS 2005, I am not getting option to create Windows Mobile 5.0 Pocket PC application. The available options are those to create applications for Pocket PC 2003, Smartphone 2003 as well as Windows CE 5.0 only. I installed- Microsoft Visual Studio 2005 Team Suit edition Beta-2, Windows Mobile 5.0 Pocket PC SDK, Microsoft .NET Framework 2.0 Beta 2, Microsoft .NET Compact Framework 2.0 Beta 2, Microsoft SQL Server 2005 Mobile Beta 3, &nb ...Show All
Smart Device Development GPS-Enabled devices that run .NET
I want to develop my first application for mobile devices, but I'm a little confused. I want to write an app that reads the GPS location from a phone. First, which GPS-enabled phones are in the market that I can write applications for using .NET compact framework What's the difference between SmartPhone, Windows Mobile, etc Is there a standard API for getting GPS location from a phone Thanks, Laura I believe the only one available at a moment device with embedded GPS is HP iPAQ hw6515. It's not a phone, but Pocket PC Phone Edition, however. Yes, there's manage API to access GPS starting from Windows M ...Show All
Smart Device Development Missing MFC Classes
Well I have seen couple of announcements about MS seriousness to solve issues around missing MFC classes in device space in VS2005. Does any body know what is their strategy about missing MFC classes jon Hello Jon , Thanks for your query ,we are seriously considering various options to solve evc-vs2005 upgrade issues. We are analysing all options including adding back some of the key missing MFC classes back to MFC library. However there are other issues which needs more detailed analysis (like size constraints on a device, delivery mode , servicibility on a device , side by side run time behavi ...Show All
Visual Basic Opening .NET 1.1 project in VS 2005
Hi I need to open a project developed using VS2003, .NET1.1 in VS2005. I want to maintain it in .NET 1.1 and don't want to convert the soln to 2.0 since my production environment doesnot have 2.0 yet. how do i do this. Once a projct is converted, there's no going back: you either work it in 2003 or 2005. But there is a difference between 'development' and 'production' (or deployment). Are you saying your developers or deevelopment team don't have 2005, or are you saying the machines that you wil deploy the application to doesn't have the .NET 2.0 Framework If it is the second case, it's fairly trivial ...Show All
Visual Studio Tools for Office Office Pro Small Business Edition & VSTO
Does anyone know if VSTO works with Office Professional for Small Buisness The 'Professional' moniker makes me think that it should, but you never know with scaled versions of software. Thanks in advance. --MikeH I don't see that edition listed here: http://www.microsoft.com/office/editions/howtobuy/compare.mspx Microsoft Office Small Business Edition 2003 does NOT work with Visual Studio Tools for Office, because it's based on the Standard edition of Office. Harry Miller Technical Editor http://blogs.msdn.com/harrymiller This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Windows Forms Deleting a row from a datagrid. Help urgent!!!
I have the following two functions. My goal is to highlight a row in a datagrid and delete a row. Problem arises when I click on the delete button. Below are two sub routines for DoDelete. Which route should I go with I have created stored procedure for deleting the row as well. Any help would be greatful. Private Sub highLightRow(ByVal sender As Object, ByVal e As MouseEventArgs) Dim pt = New Point(e.X, e.Y) Dim grd As DataGrid = CType(sender, DataGrid) Dim hit As ...Show All
Visual Studio Team System Is there a Team Foundation Server Admin and or End User Guide?
Hello, I was able to get the Visual Studio Beta installed with TFS, but now what The installation instructions worked, but I don't know where to go from here Is there an Admin guide and/or an End User Guide for Team Foundation Server I am looking for some kind of guidance on how to do basic operations like check-in and check-out as well as some of the more advanced functions like shelving and using proxies for distributed support. If anyone knows if there is such documentation available please let me know. Thank you Jason The following should get you started. Over time, I would expect these to be u ...Show All
