David Zokaites's Q&A profile
SQL Server Can I Alter A Report that has already been deployed to my Report Manager
I have some OLAP reports in which I have to alter the MDX statements each month, in the VS2005 report designer. They are deployed to the web and they contain Descriptions and Subscriptions which I create once they get to the web. The way I am currently updating them each month is by editing the reports in VS2005 and re-deploying them to the Reports Server. I then have to add the descriptions again and create new Subscriptions because the orig reports are deleted when the new ones, with the same name are deployed. There has to be a way that I can just alter the existing reports in the web environment and not have to recreate the Subscriptions each month. Any help would be appreciated. If you go to the actua ...Show All
Visual Studio Team System Why is there such a large variation in total requests
Hi, I ran a load testing on our website and i noticed that the total requests in the results table has a large variation do you know what may have caused this I assume that www.example.co.uk is the primary page in your Web test, and the other requests are dependent requests embedde on that page. Is that right If so, it looks like that page probably has the request to "ads.co.uk" embedded 8 times so for each request to www.example.co.uk there are 8 requests to ads.co.uk (8 * 1967 = 15,736). Often if a page embeds multiple requests to the same URL the request to that URL will only be sent once because of caching, but it may be that the response to ads.co.uk is set to disable caching (which would make sense if it is a dy ...Show All
Visual C++ Hotkey For Build Ouput Go To Next Message
I know this should be simple, but I can't find the hotkey or how to assign a hotkey for "Go To Next Message" in the build output window. The scenario: I press Ctrl-Shift-B to build my solution, I have build errors, and I want to press a key to cycle through these and fix the errors without fixing the error and then going to my mouse and selecting the next one. Excellent! Thanks very much, Viorel! Thats the exact answer I was looking for. Now, how did you figure this out It doesn't show up mousing over the button, and I can't locate it in the menus. So did you press every key till you found it ...Show All
Visual Studio Tools for Office Cannot access assembly from end user computer
I am creating a simple excel application and saving the assembly on a network folder. When i try to access this from end user's machine i get the "The Current .Net Security policy does not permit the customization to run. Do not change the security policy in your computer. ...." 1.I have ran caspol.exe and granted full trust to the assembly on the end user's machine. 2. When i look at the details of error, it shows the dll is loaded from correct network folder. 3. I have also verified in Framework 2.0 configuration it shows my dll under Local Intranet_Zone. 4. The solution works correctly on my development machine. I am using Visual Studio 2005,VTSO 2005 and Framework 2.0 Thanks in advance for helping me with this. For each ...Show All
Windows Forms Gridview elements
I have a gridview, and i would like in the code, when i check the NO radio button for it to display a text box in the next column. I am new at this and i do not know exactly how to do it. I set up a postback event on the radio buttons. I would appreciate your help Thank you I did some reading on handling on the checkbox cell and it turned out not very straightforward Quote MS help "For clicks in a DataGridViewCheckBoxCell , this event occurs before the check box changes value, so if you do not want to calculate the expected value based on the current value, you will typically handle the DataGridView.CellValueChanged event instead. Because that event occurs only when the user-specified value is co ...Show All
.NET Development Web Service changes my parameter type
Hi, I have a simple web service with a method having a custom type as a parameter. This type is declared in different namespace in other assembly. Something like that: public int Method1( Assembly1.Namespace1.Type1 parameter ) But in my client application the type of the parameter is changed. It regognizes it as declared in the web service namespace ( WebServiceNamespace.Type1 ) Is there any way to solve that problem. Thanks in Advance! Kostadin When you add a web reference to a project it downloads the WSDL and generates new types based on the schema of the service. No code is actually downloaded from the server, so there's no way to get the assemblies that implement the s ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Dynamic Textures
What is the "correct" way of dynamically updating texture if it's not as simple as using System.Drawing any more ...and if we're not "supposed" to use pixel drawing I'm not in the mood/don't have time to rewrite GDI.. Drawing shapes, text, shading, merging layers... I don't really mind how/where it is drawing, but I'd prefer not to save to disk and reload... Create a render target and then draw whatever you want to it. Then use that render target as a texture. As Kris said you have to provide your own primitive drawing code. ...Show All
.NET Development Tableadapter Update
Hello, I have a problem updating a Access database in using a Tableadapter. In my project I added a datasource. In the datasources window, I set the control types to detail and dragged the datasource to a form. Then tested it at that time. It worked. Next I created another query and used it to fill a dataset with a specific record and displayed the contents in the bound textboxes. Everyting works sofar, but it does not save my filtered dataset back to the database. Can anyone help Are you calling the adapter Update method A useful reference - http://windowssdk.msdn.microsoft.com/en-gb/library/system.data.common.dataadapter.update.aspx ...Show All
Visual C# Calling methods of a class without creating an instance of it
Hi, I'm sure this probably has been answered before, but somehow I couldn't find it, so really sorry about that. But how do you call methods of a class without having to create an instance of it I mean, in my project I have something like: public class FileOperations{ public void read_config_file(...) { (...) } } And I want to call the read_config_file(who doesn't depend on anything but the filename and a property where it'll write the config values) without having to do: FileOperations fileOp = new FileOperations(); fileOp.read_config_file(); I was a poor (poor like in noob) Java programmer but I used humm I believe it were static methods in abstract classes, something like that, don't re ...Show All
Silverlight (formerly WPF/E) Viewing Albums with WPF/E and ASP.NET AJAX
Hopefully this is OK to post here. If not feel free to delete it. I've been working on a WPF/E and ASP.NET AJAX demo over the holidays so I could learn WPF/E stuff better (the source of all my questions lately ). The app turned out pretty good although there's still more I'd like to add. I'd love to hear better ways I should be doing things, etc. if anyone has time to play with it at all. The application ties into Amazon.com's Web Services to look-up albums and display them in a 3D type style. Anyone interested can download the code and view a quick video I made about it here. Feedback and references to more appropriate ways to do things (especially in cases where there was an easier ...Show All
Visual Studio Team System Import Library Path for Team Build
Hello, We have multiple solutions and several projects (C++) in each solution. Some of these projects make library reference to the binaries built by other projects. We have a common bin folder where all the binaries are output from the projects. When these sultutions are built from the Team System build process additional import libraries are not being resolved. This is happenning only accross solutions but the project within a solution are bilding correctly. Solution 1: - Prj 1 - Prj 2 (depends on Prj1.lib) Soluion 2: - Prj 3 - Prj 4 (depends on Prj1.lib from Solution 1) Directory structure: Root - bin - Code - Prj 1 - Prj 2 ( depends on prj1.lib, addl lib path=..\..\bin - Prj 3 - ...Show All
Visual Studio Team System error - Cannot create a connection to data source
Just deployed a report to the TFS Report Server --- myself and the other developers can view the report just fine. However, the PM and the QA team get the following error message when attempting to view the report: An error has occurred during report processing. Cannot create a connection to data source 'FuncAreaSummDS'. For more information about this error navigate to the report server on the local server machine, or enable remote errors Those who can view the report are members of: Developer 1 - Publisher Developers 2 & 3 - Browser, Content Manager, My Reports, Publisher, Report Builder Those who CANNOT view the report are members of: PM - Browser QA - Browser, My Reports, and Report Builder Any ideas Thanks! ...Show All
Visual Studio Express Editions one form two tables
I am using vwd 2005 and need help with a problem I am having trouble understanding. I want to create one form for data entry and insert that information into two tables. The two tables have a relation between them. I have read many things about this. I am looking for a step by step example that is easy to understand. Thank you for your help. Nick Learning Resources: http://msdn.microsoft.com/vbasic/learning/asp.net/ http://msdn.microsoft.com/vbasic/learning/data/ AND Samples: http://msdn.microsoft.com/vbasic/downloads/code/101samples/#web ...Show All
Visual Basic Terminate program from nested function
Hi, I'm writing a .dll. I'd like to know how to stop all the code running from anywhere in the solution. For example: -A class of the .dll is called from an .exe. -Function A is called from the main sub. -Function A calls Function B. -Function B calls Function C. -I need to terminate all the running code from Function C with a simple method/function. Is there an easy way to do this Sometimes it gets very long to propagate error handling back tho the main sub when deep into functions. I hope I explained it clearly. JakkyTchong So how would one go about terminating the application entirely I have an error handling routine that informs a user that an error has occurred and gives them the option to terminat ...Show All
SQL Server Running SMO inside a SCRIPT TASK
Dear folks, I'm trying to call SMO classes from SSIS package but I don't know which reference to use.. Mighn't be Imports Microsoft.SqlServer.Management But Intellisense don't give me such info. Let me know where I'm failing. TIA http://www.google.co.uk/search hl=en&q=smo+namespace&meta = -Jamie ...Show All
