aaks's Q&A profile
Visual Studio Performance
Hi… I am using crystal report XI with VB.NET 2.0. I use separate form to view the reports. When I want to view a report, I call that form and passing the report to that. It’s take too long to show the report. How can I avoid this. Is there any best way to do this. How can I print custom paper size Hi, I am having the same problem in the same set up. We found that the slow performance started after the following security updates were applied (machines without these security updates run quick): KB924191, KB922819, KB923414, KB924496, KB923191 Anyone have a work around Thanks! ...Show All
Visual Studio Team System Team Foundation Build and DB project.
We have a DB project that we have created a team foundation build type for and which does run fine, at least no errors in log file, but it does not create the output sql scipt file. If I build the db project from the build menu within the VS IDE it will create the .sql script file in the specified directory ok or if I use msbuild it also works fine. I have seen some documentation about modifying the tfsbuild.proj file along with the dbproj file for actually deploying the DB but at this point I only want to create the SQL script file using the team foundation build. Is this possible to do I am currently using latest TFS along with VS and SP1 applied to everything including the build machine. If there ...Show All
Visual Basic long arrays
Hi I was wondering if it was possible to create a bitarray (or equivalent) with a length longer than an int 32. Thanks i dont want to create an array were each element has a long length. Instead i want to create an array with a large number (10,000,000,000) of elements. ...Show All
Visual C++ Managed code compilation
I know Native C++ makes a more resource efficent program than C#.NET or VB.NET; I also am pretty sure it makes a more efficent code than Managed C++ (correct me if I'm wrong) What I would like to know is if functionally equivalant managed C++ code is more efficent than C# code Thanks in advance. Not quite true. For Managed C++ and C++/CLI you have access to the same optimizer as native C++ and while the number of optimizations it can perform on managed code are limited, when compared to native code, it can in some cases produce better MSIL than the C# compiler (which has an extremely limited optimizer). Having said that we have seen some cases in which the C++ optimizer and the JIT compiler (this is ...Show All
Smart Device Development Highlighting a ListView Item
Hi all, I am using a ListView Control and am adding Items to the ListView when a user clicks on a button. But, what i want is for the new ListView item to be Selected (or more like Highlighted) once it is added to the ListView. I can't seem to find a property on the ListView Control to select ListView Item. Is what I want to do possible Thanks Tryst ...Show All
Visual C++ Which way should I go? C++ or C#
I'm about to start developing a windows application which is currently in VB6 using an Access database. Which route should I take language wise, c++ or c# and what's the difference There are no substantial performance differences between VB.NET, C#, and C++/CLI. If you're comfortable with VB, just upgrade to VB.NET. If you have a C++ background, you might want to check out C++/CLI - it's a nice language and if you stick to managed code it's nearly as simple as C#. David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C# to C++ converter, VB to C++ converter Instant Python: VB to Python converter ...Show All
Visual Studio 2008 (Pre-release) Bug - PrintVisual doesn't obey margins in printer page setup?
Hi, I am trying to print a visaul element using PrintVisual. One problem I noticed is that PrintVisual doesn't obey the Margins in the print page set up. Here is my code to print a simple grid visual Point ptGrid = new Point (0, 0); text.Arrange( new Rect (ptGrid, newGrid.DesiredSize)); If my printer page set up has a margin setup, the lef top part of the visual inside the margin area won't be printed out. This seems like a bug to me. Could someone comment on this thanks chong ...Show All
Visual J# vjc error
Hi; Ok, while building my solution using nant vjc is throwing an exception. I told it to debug in VS 2005 and the error is at malloc.c: void * __cdecl _malloc_base (size_t size) { void *res = NULL; // validate size if (size <= _HEAP_MAXREQ) { for (;;) { // allocate memory block res = _heap_alloc(size); where size = 0. It throws the exception deep under that code but I think the size=0 may be the problem. The call stack is: kernel32.dll!7c812a5b() [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] kernel32.dll!7c812a5b() vjsc.dll!6d90d727() vjsc.dll!6d930468() vjsc.dll!6d930480() vjsc.dll!6d8f53a6() ntdll.dll!7c9118f1() ntdll.dll!7c911902() ...Show All
SQL Server SSRS syntax
Hi, basically I'm having trouble with something that's gotta be really easy. I just want to check if a field in a dataset is null from the expression editor. Also, is there a good reference out there for SSRS syntax I have a book that references a ISNULL() function in the System area, but after messing with it for a little while it's still not working and I'd rather find a good source examples than trial and erroring it every time. I could just do this in the vb code section, but that seems like too much of a hassle for something that should be this simple. Thanks, Jeff =Iif(IsNothing(Fields!ANYFIELD.Value),"The Field Is Null",Fields!ANYFIELD.Value) If this doesn't work you can also try chec ...Show All
SQL Server A tool for aggregation design XMLA file viewing/editing ?
Is the best way to specify the most useful aggregations to actually edit the XMLA for measure group and hand pick the aggregations I need In that case has anyone seen a basic tool for viewing the attributes in each aggregation and perh In taht case has aaps even deleting them/editing the XMLA file a little bit The reason I am looking for a tool is to make sense out of 2000 aggregations created by the wizard. It's called AggregationManager and is under Administrator/AggregationManager. I don't think the samples are included in the main SP2 download. I think you have to download them separately. The SQL Server sample are now all available from codeplex. The download page for the SSAS samples is here ...Show All
Visual Studio Team System Error 28925 TFServerStatusValidator
Hi all. I have to install the TFS for our programmers department but I'm unable to get it working... The server is W2k3 sp1, it's a single server install. I followed every step in the installation manual but I'm still getting the error in the subject. I read the post about this error but they could not help me. The security config for ie is not installed, when the website appears during setup it has ASP.NET 2.0, I put the tfsservice account in the local admin group (not in my first attemp but afterwards after getting the error). I'm quite desperate now, has anyone another idea Where can I start troubleshooting Regards Have you checked out this post on the forum http://forums.microso ...Show All
Visual Studio How do you open a document in a tool window?
We have a document type that is being edited in a tool window, but it should still be possible to open it using File->Open. Is it possible to avoid creating an editor document view when opening a document, but still include the document in the running documents table (under the Miscellaneous hierarchy) I want it to be included in the "Do you want to save" prompt when closing the solution, and it would be nice to be able to save it using File->Save as well. The wanted behaviour is quite similar to the behaviour of the Performance session documents shown in the Performance explorer window. I have been playing around with this quite a bit, but I still have not found a solution. Does anybody have an idea how to do this ...Show All
Windows Search Technologies Protocol Handler URLs
Hey, I am building a protocol handler so that I can index a database. The start url for the database is: dat://localhost/<name of database>/ and all the subfolders of the database are dat://localhost/<name of database>/<table name> When the protocol handler is initialized it is given the url for the start of the database. How can I add the urls for each of the table names to the list of paths indexed. I know that I could add each table url individually in GetDefaultCrawlScope. I noticed that if I do this though the AddDefaultUrl all the urls are listed when you browse the folders that WDS will index. I would like for only the dat://localhost/<name of database>/ to be listed and that when the protocol handler is in ...Show All
Internet Explorer Development IE generating a lot of data traffic
I am web-developer and wondering how to solve this problem. If I look for data-traffic on my site it was a lot more than expected. My webpages have some javascript and r.a.d. controls, I run in debug=false. I noticed that whenever someone uses the "open in new window" functionality, a *lot* of data is passing the line. As if the cache is not working at all. Doing some researh I found that most sites on the internet are suffering from this behaviour. To give you an example. Go to www.asp.net doing some search in some forum. See the big difference in clicking on a link and right-click on the link and choose "open in new window". As if all pictures/scripts/resource files are loaded AGAIN. Doing the same with FireF ...Show All
Visual Studio Express Editions C# almost double as fast as VB.NET?
Check this out: C# code: using System; class SpectralNorm { // // // // Var Def // static DateTime startTime; static DateTime stopTime; static TimeSpan elapsedTime; static long elapsedMS; static void Main(String[] args) { startTime = DateTime.Now; int n = 1000; if (args.Length > 0) n = Int32.Parse(args[0]); Console.WriteLine("{0:f9}", new SpectralNorm().Approximate(n)); stopTime = DateTime.Now; elapsedTime = stopTime.Subtract(startTime); elapsedMS = (long)elapsedTime.TotalMilliseconds; Console.WriteLine("Elapsed Time: {0}", elapsedMS); Console.ReadLine(); } double Approximate(int n) { // create unit vector double[] u = new double[5000]; for (int i=0; i&l ...Show All
