Zeeshan Ahmed's Q&A profile
Visual Studio Express Editions Button Click within a for each loop
Fairly new to VB express. Is it possible to have a button click event from within a for each loop on a form i.e. the button being clicked refreshes the form and moves on to the next iteration of the loop Any suggestions welcomed. The answer to that one is it is not simplistic enough for the type of users I envisage. I have experimented with both datagrid and details view and I am not satisfied with either for this particular case mainly because of the additional amount of related data that needs to be shown for each field it becomes confusing. However if a button click cannot be called from within a loop I will need to think again and maybe use 7 identical forms to do the same thing. ...Show All
Visual C# Overhead of Database caching over InMemory Caching in Enterprise Library2.0
Hi I am using Enterprise Library 2.0 caching block. I wanted to know by how much the performance degrades if we use database caching instead of inMemory caching using Enterprise Library. Are there any statistics available for this Thanks and Regards Saurabh ...Show All
Community Chat Zune Subscription
I've been scrounging around online and thought I might be able to get a definitive answer here. Currently, I have Napster-to-go with my Dell DJ. The DJ is on it's way out the door, and I'm looking at getting a Zune. Will this Zune subscription thing for 15 bucks a month allow me to transfer music to the player itself, or is it simply to let you listen to music on your computer In other words, will there be something like napster-to-go that works with the Zune TIA! Yes, it's true. Think about it though--you pay $14.99/month, and have access to a library of around 2 million songs. So, for $14.99/month, you can listen to whatever you want. It's true that when you stop paying, you stop being able to listen ...Show All
Windows Forms Building a Form Manager
Hey All, I have seen numerous posts where people mention building a form manager to keep track of open forms and other settings. Can anyone point me to an example of such an animal I want to build a manager that when a new form is opened, it is stored in the central location. I also want to be able to go to a central location to check the "Current User" as this is an application class, and is easily and frequently switched on the fly by the user. Basically a central location to go to that is up to date with the current environment. However, I am not quite sure where to start, and an example of one would be nice. Thanks, Hammy Here's the way I do it: First the FormsHandler c ...Show All
Visual C# why multiple inheritance of classes in not supported in C#?
Multiple inheritance is not supported in C# but it can be achieved using interfaces is fine. But can you explain why multiple inheritance of classes in not supported in C# Multiple inheritance causes problems, if one or more of the parent classes defines members with same identifier. You would have to decide which parent to use to handle each method call, and the operation of class can be then very different than intended. And usually, there is no situations when multiple inheritance is needed. "Good" classes usually maps to some phenomenom or object, and very few things are at the same time based on two different things. Usually when people wish to do multiple inheritance (is-a), a "has-a" relation is needed, meaning that a ...Show All
SQL Server Truncate Logfile
Dear all, I am using SAP with MSSQl 2005. My transaction logfile is full. I took backup of transaction logfile and it should be truncated and shrink after the backup, but it did nothing. There is no error but the file size remain same. I tried from SQL server management studio selecting database--right click--shrink--file. Then i try to release unused space, shrink, but not worked. I also checked these steps while the SAP system was stopped. Can anyone guide me what to do now Thanks Imran Hasware Log truncation and shrink file are two different things. Truncating the log does not usually result in shrinking the log file, it will remain the same size. If you are really unable to truncate ...Show All
Microsoft ISV Community Center Forums Help Building a Custom Annotation Report View for BSM
Hi, I am trying to make a custom report for MS Business Scorecard server. I have implemented the sample report from the white paper on building custom report. When I alter that code to output annotations it crashes the report or portal its self. The code is the same except I added the GetTheAnnotations()function and created a new PMServer() which is part of the Server class. Please suggest how to access the annotation with the scorecard API. This is the code used: using Microsoft.PerformanceManagement .Scorecards.Extensions; using Microsoft.PerformanceManagement .Scorecards.Client; using Microsoft.PerformanceManagement .Scorecards.Server; output.Write(HttpUtility.HtmlEncode(GetTheAnnotations())); ...Show All
Visual Studio Express Editions Where is the starting point of VB 2005 EE
Hi, Simple question: where can I find the program to launch VB 2005 EE after installing regards, ...Show All
SQL Server can we pass form object like progress bar to an ssis package
Hi friends, The problem that i am facing right now is that I have to show progress bar in my vb front end Application code which call my package using the Application.LoadPackage(pakage Nothing ). What i am intending is that , I pass my progress bar instance to Package object and as the package executes, I am changing the progress bar value to reflect the progress of execution. Please Help ME.. with ur valuable responses Regards Maheswar I suppose that you're defined your own events class and once there inside, has done the needed controls. app.loadpackage("your.dtsx",yourEventsClass) Class yourEventsClass implements IDTEvents... stuff for your ProgressBar control ...Show All
Visual Studio 2008 (Pre-release) Resize proportionaly window
Hello to all! I need to realize a window that at the same time resizes width and height, maintaining therefore the proportion of the window. How can I do it Thanks! Unfortunately, there is no built in support for proportionaly sizing the window. The layout effect you're seeing is because SizeChanged is fired by the layout system and then you're resize the window from that event handler. This causes the layout system to go in a loop. One thing to try would be to resize the window from a Dispatcher work item using Dispatcher.BeginInvoke but that might not give you the desired behavior. A slightly more involved way of doing this involves using win32 interop. You can use intero ...Show All
Windows Live Developer Forums Custom Layer Past Zoom Level 17?
Hello people, I have set up a custom Tile Server to serve up some Hight Detail tiles as a custom layer: I have set the VETileSourceSpecification.MaxZoom property to 18, as my TileServer can produce tiles at any magnification. It all works fine at normal zoom levels, but once I soom past Zoom Level 17, where VE Tiles stop - then there appears to be just vast amounts of grey/gray Anyone have any ideas on how to allow VE to render my custom layer at a higher zoom level I don't care if the normal tiles don't display. All I need is for my custom layer to render. e.g. //Add layer tileSourceSpec = new VETileSourceSpecification(); tileSourceSpec.ID = "HighDetailLayer" ; tileSourceSp ...Show All
Visual C# How to import display flash in visual studio C#?
Hi all, I would like to know how to import flash in Visual Studio C# 2005. Any idea Thanks a lot. I think you should search for .NET controls that allow to show flash movies in your application. Something like PictureBox for pictures. That is the sample of possible query for that. ...Show All
SQL Server OPENROWSET T-SQL function
Hi everyone, I have some doubts about OPENROWSET T-SQL function . According to my knowledges about this, openrowset function provide us to use a data from a different Server only that time that we use this function. After we use this function, there is no any linked server trace on the local server. So is this true I see that everyone use different parameter for this function. For instance, everyone firstly use OLE DB name and then the second srvprovider name changes programmer to programmer, so why And lastly, I wonder about the relationship between ad hoc method and openrowSet function. Thanks To create a linked server definition using the Microsoft OLE DB Provider for Jet to access an Excel spreadsheet, first create a named ra ...Show All
SQL Server temporary table
hi ! i used some temporary table in store procedure ( sqlserver 2005 ) our team have report software calisto . the calisto use crystal and reports which use this store procedure . because of that , we have list of many temporary table with the same name #dbo . sug_name ... , #dbo . sug_name ... ,...... in the system database . what could be the reason for that and how can we drop it Msg 3701 , Level 11 , State 5 , Line 2 Cannot drop the table '#sug_name' , because it does not exist or you do not have permission . " Missed the last notification of your post, Madhu is right, you should alway be cle ...Show All
Game Technologies: DirectX, XNA, XACT, etc. texture coordinates
The stupidest question..whats worse, Ive had the answer somewhere, but just cannot remember the link or how to do it. Ok, so here's the problem. I have a tileset - basically isometrci tiles of size 45px wide and 46px high. Now, having a gazzillion of textures with one sprite each is just stupid(talking 3D here), so I'm packing lots of tiles into one texture. No problem here, theyre made to fit together nicely, and its all going well. Now, say i have a 64x64 textre(im oversimplyfying it, just for the sake of the example), and one 45x46 tile on it, located in the left corner. Now, im trying to draw an isometric map..How well, basically defining tilted squares and mappig the texture to them. THe problem comes up when the texture is drawn - it ...Show All
