AbelMorelos's Q&A profile
SQL Server OMG Report Designer sooooo slow
Hi all, ok I have a report with 80 columns in it. I know its alot, but I need them =) I also have 3 groupings. it takes like 5 min just to pull the report up in designer. Im running a P4 3ghz w/ 1.5g mem. I moved a textbox from detail to a grp, then ctrl+z undid it... took 5 min for VS to figure that one out ... any ideas on how to keep it responsive I've noticed that even on smaller reports, the designer is baulky at best... ...Show All
Windows Forms User Settings Initial Setup?
Is there anything you need to do to get the initial setup for User Settings when an application is run for the first time I am having a problem with my application when it tries to access the user settings for the first time. I get the following error: Item has already been added. Key in dictionary: '' Key being added: '' The stack reveals that it is when the following call is made: if (Properties.Settings.Default.PropertyValues.Count == 0) { Properties.Settings.Default.Reset(); //error occurs here } When I run the application on my dev machine all works fine, but when I deploy it on a clean test machine it croaks. If I comment out the call to Reset(), I still get an error when I try to access any of the settings ...Show All
.NET Development Making Resources External
I am sure that this has been discussed or I am just missing something simple, but I cannot seem to find an answer in an already posted question, nor can I figure out how to make it work on my own reading samples and docs. I have a .Net solution that contains five projects. Three of the projects are their own entities and do not really interact with each other. One of them is a utility type of project that contains classes that are common to all of the other projects, as well as resources. The last one is kind of like a consumer of the others and depends on them to work. The util project contains some resource files that contain strings, and binary files, that are used for both debugging and error messages. The problem is ...Show All
SQL Server SQL Server Compact/Mobile Resources - Webcasts, Papers, Analysis ... etc
SQL Server Compact/Mobile Edition References: SQL Server Compact Edition ==> SELECT Happy FROM Everywhere SQL Server Mobile is now SQL Server Compact and is unrestricted everywhere. Announcement by Paul Flesner: http://www.microsoft.com/sql/letter.mspx SQL Server Compact Product Home Page: http://www.microsoft.com/sql/editions/compact/default.mspx Home Page: http://www.microsoft.com/sql/editions/compact/default.mspx Books Online (BOL): http://msdn2.microsoft.com/en-us/library/ms173053(en-US,SQL.90).aspx C# ADO.NET Reference: MSDN: http://msdn2.microsoft.com/ec4st0e3(en-US,VS.80).aspx MSDN Wiki: http://msdnwiki.microsoft.com/en- ...Show All
Software Development for Windows Vista Windows Photo Gallery Problem
I dont know what happened, but When the Photo Gallery isnt in Slideshow mode. it will not display the picture i want to see like so.... IMAGE As you can see, it says the picture SHOULD be displaying but it isnt. Can someone help me troubleshoot this mvl wrote: I also have this problem... any solutions anyone Please post your video card information to see if we can narrow this down. ...Show All
Windows Forms Adding image to ListView item
I want to selectively add images only to certain items(rows) which satisfy a condition. How do I do it Imagelist1 is added Here's the code I'm using: Public sub addThisRow(ByVal one as String, ByVal two as String, ByVal three as String) Dim item1 As ListViewItem = New ListViewItem Dim flag As Boolean = True If flag Then item1.SubItems.Add(one ) item1.SubItems.Add(two ) item1.SubItems.Add(three ) Else item1.SubItems.Add(one ) item1.SubItems.Add(two ) item1.SubItems.Add(three ) End If flag = False ListView1.Items.AddRange( New ListViewItem() {item1}) No actually. I have ListView in 'Detail' view and I want o display an image in ...Show All
SQL Server Reporting Services 2005 - Security Extention
Hi, I have compiled the security extension sample code that comes with the installation and I was able to successfully deploy it on the Reporting Server. Now my server asks me for username, password when browse to the http://servername/reports folder. I have configured one user as say "AdminUser". When I login as AdminUser, I am to see all my reports and browse thru them. I created one more user say "RegUser". I have logged in as AdminUser and I have give permissions to RegUser for some folders on report server. Until this point every thing just worked fine and absolutly no problems. The real problem shows up when the "RegUser" logs in to the system. He is able to login, but he cannot see any th ...Show All
Visual C# exposing a C# DLL's members to non .NET apps
Hi, I posted this in another forum (slightly different question though) and the answers I recieved weren't very helpful. Basically, I need to create a C# DLL who's members can be accessed by a non .NET application (it's a Windows program called Extend). Now I was able to write one in C++ and have it's members be exposed using extern "C" int __declspec(dllexport), but so far have been unsuccessful in doing so in C#. Is it even possible Hi pappascd: Although very restrictive, I have succeeded in years past in exposing a subset of native methods from a VC++ class with __declspec(dllexport) without exporting all the members of a class. This is the poor man's way of exposing an interfac ...Show All
Windows Forms Controlling one form to another
Hi, Is there any way to control parent form from child without using showdialog(). I am not using MDI form. suppose I opened Form2 from Form1. Now I want to change some property of Form1 from Form2 then how is it possible Mehdi Madani wrote: Hi, Simply make a public property in form2 which it's type is form1 then set this property of form 2 to "this" in form1 before opening the form2. There's no need to create a new property for this, since the form class allready provides one. ...Show All
Visual Studio Tools for Office Restrict on Blocked properties in Outlook?
I am trying to restrict contactitems based on an EmailAddress. I know EmailAddress1, etc are blocked and I have to show the security warning or use redemption, etc. Should my restrict be failing at all because of the block or does anyone have an idea why a simple restrict returns nothing Example VSTO code: string filter = "[Email1Address] = 'me@MyCompany.com'"; Outlook.Items items = this.Session.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderContacts).Items.Restrict(filter); I found my own mistake. You need to be careful about the format of the email address. Sometimes the contact item displays the SMTP address ( Me@MyCompany.com ) but the actual value stored in t ...Show All
.NET Development Compiling code with CodeProviders
Hello, I've been working on a project that requires me to compile a VB or C# project at runtime. I create the appropriate CodeProvider based on language choice, and then parse the project file in order to populate the CompilerParameters with the information it needs to compile. Everything works wonderfully with the C# version, but when trying to compile a blank VB Windows Forms Application, I get the following 8 errors: + [7] {C:\Documents and Settings\brustd\My Documents\Visual Studio 2005\Projects\Atto\VBTestWindow\My Project\Application.Designer.vb(35,0) : error BC30691: 'Form1' is a type in 'VBTestWindow' and cannot be used as an expression.} + {C:\Documents and Settings\brustd\My Documents\Visual Studio 2005\Projects\Atto\VB ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I could use a clearer explanation of 360 garbage collection and performance monitor
I bet others could, too. Are the numbers and timings in this article still accurate http://blogs.msdn.com/netcfteam/archive/2006/12/22/managed-code-performance-on-xbox-360-for-xna-part-2-gc-and-tools.aspx If I understand it, if my game has 100,000 live objects (a live object is any call to new a class that still has a pointer to it, right ), then I can expect a 15 msec hitch every time the GC is run, which if I'm trying to run at 60 will cause a visible stutter. According to the performance monitor, I'm currently facing a 23 msec GC. My game actually seems to be running surprisingly well if that's the case - are the garbage collections done on a different core Is there a number in the performance monitor that tells me how many live object ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render Target For Effects.
I am having a problem here. In PC development I love the availablity of StretchRect. You can render an entire scene at a high resolution then stretch it to a low res map to create all sort of fun effects. The problem is XNA does not support stretch rect ... so then is the only option to: A. Render the whole scene to a render target and use it to create lower render targets for use in effects. (Currently using) Pros: 1. Very Fast. 2. Only 1 scene render Cons: 1. Locked to texture resolutions 1024x1024 or 512x 512 2. Will never be a perfect monitor resolution match thus muddy areas will always be there. B. Render the whole scene once at full rez then render it a second time to a Render targe ...Show All
.NET Development retreiving database name
I have a program that can connect to different databases but there is always one running on the system that the program is being executed on I would like to know if there is a way for it to automatically determine what the computer name and database name are. For example one system uses welldaq/dbinfo to connect to the database where as another uses welldaq/database and yet another uses lab/dbinfo I would like to be able to put my program on any one of these systems and have it automatically detect the database. How would I go about doing this ...Show All
SQL Server SSIS package refresh
Hi, I have a little problem with an xml package. I'm a newbie in the XML field and in the new features of SSIS....so help me! I want to import a complex xml file in SQL Server via SSIS; I've created a package that map the xml source files to many different destination table. When I try to execute the package, I've one error about data type specified on XSD (for example unsignedShort instead of unsignedLong). At this point I fix the XSD file, settings the correct data type, but I don't find a way to explain to the package that it have to reload the xsd file. The only way is to make a new package.... I'm looking for a way to refresh the package without rebuild it... many thanks lavez Once ...Show All
