Caolan ODomhnaill's Q&A profile
Visual Studio Refreshing Server report in Win Form control
I have a Report Viewer control that I am displaying two diffirent reports in depending on a users selection on a seperate screen. My problem is that the user can select to view all records from a query or select a collection of records. Either way the records that are selected are inserted into a table and the report pulls it's data from this table. My problem is that if I choose to have reports for all the records the RV shows up correctly, but if I go back and select only a few records the RV still shows the previous collection of all the records. The RV is in a seperate form and on the first form I change a app variable to the specific report path, generate the data in the table and open the report form. When the report form is opene ...Show All
Visual C++ Single vs Multiple dlls
Hi, I am building an ATL COM DLL component. There are many functions to be exported (around 100). I want to ask about the performance gain/loss in case I build a single DLL exporting all functions or in other case build multiple dlls. Thanks & Regards, Omer Javed If all functions are used in the same client, it is better to keep them in one Dll. Loading one large library to memory is faster than loading number of small libraries. ...Show All
Software Development for Windows Vista Adding my new custom transform filter seems to cause a graph problem
Hello, I've written a very simple transform filter to solve what I believe is a problem with Logitech's latest (v10.x) webcam drivers. I think my filter works fine, but seems to introduce an instability when I include it in my capture graph. Specifically: as detailed in another one of my posts , the Pause/Resume function would no longer work in my capture graph with the new Logitech drivers. Now, with my custom filter added to the graph, Pause and Resume work fine until I take a snapshot from the video capture driver's "still" pin. After a snap, resuming from a pause operation hangs the graph. That is, control never returns from this statement in my code: _mediaControl->Run(); The app just hangs. Removing my fil ...Show All
Visual Basic Create folder with WMI
Hi I need some help with creating a folder on a computer on the network using WMI. // Lasse I dont believe there is as it needs Windows to authenticate to the destination path you want to copy to... sorry, can you not give the name of your computer/file to copy over from the command prompt ...Show All
Visual Studio documentation in spanish with NDoc
I need to generate documentation in spanish. How can I change the lenguage I'm using VS2005 in spanish and framework 1.1 in spanish too. I know NDoc had a language option that let you specify to which language the SDK content would point but I don't think there were any options to localize the help file table of content, section titles, etc. You can use Sandcastle, the documentation tool from Microsoft, in combination with the Sandcastle Help File Builder to create help files with those items localized into Spanish, French, Italian, or German. The actual XML comments would have to be written in Spanish, etc by you or a translator of course as with NDoc. You can download Sandcastle here: http://www.m ...Show All
Windows Forms Cell color not changing in my customized datagridview
This is some sort of problem created by myself, and the thing is I am not able to find out why the color of a datagridviewcell is not changing to the color that I give. I am using : datagridview1.Rows(0).Cells( 0 ).Style.BackColor = Color.Orange But this does not work. A normal datagridview allows this to work. I know I have made some mistake somewhere but I am not able to figure it out. Some please help. Thanks in advance. ...Show All
Visual Studio Sandcastle - Events when private members are enabled
When you define an event, the compiler also creates a private field of the same name as part of the add/remove implementation. When documenting private members, Sandcastle will find both the event E:MyDomain.MyClass.MyEvent and the field F:MyDomain.MyClass.MyEvent. Since the field is compiler-generated, there is no way to document it. It would be good if these fields were automatically excluded. For now, this can be done with a change to the Sandcastle Help File Builder to exclude the compiler generated fields. In BuildProcess.PurgeItems.cs, line 256 (right before the File.Copy) add: // Remove fields that correspond to events xpath = "//apis/api[apidata/@subgroup='field' and //apis/api/@id=concat('E', substring(@id,2))]&q ...Show All
SQL Server SQL Server Side Trace Application compatibility
I am using sp_trace_getdata @TraceID,@RowCount to get generated events. I was able to extract all the events by this procedure in SQL Server 2000, but in 2005 when I execute same procedure with @RowCount = 1 as second parameter, it returns me the first event that is there in the event queue of trace and queue gets cleared, so all other events are lost i.e. every call to sp_trace_getdata is clearing up the queue. Is there any work around for this issue Some hidden argument Thanks, Pushkar Any information on this issue. Awaiting for the reply. Pushkar ...Show All
SQL Server Deploying reports on remote report server
Hello all, I am trying to deploy my rdl's to a remote report server. I have given a valid path in the properties window before deploying...https://RemoteServerName/ReportServer. Now I get the error : Error 1 The permissions granted to user 'domain\user' are insufficient for performing this operation. what permission do I need on the remote server for deployment Thanks..... Hi I got the same issue. I tried to follow the steps given above. This is the first time I am deploying a report. There are no prior reports. I don't know what folder I need to navigate. Do I need to create a folder in Report Manager I tried creating a folder and go to the security tab but I didn't see any Edit Item Security...Can you please explain Tha ...Show All
SQL Server limit of 4096MB
Hi, I have a backup of a SQL database, and its 270MB. When i try to make a restore it says: TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Restore failed for Server 'SPLYF-R3K8G8JL2\SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: System.Data.SqlClient.SqlError: CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed ...Show All
Windows Live Developer Forums Pushpin Layer not updated
i'm trying to implement geotagging on my website that allow my blog reader to add themself to the map using pushpin. under my map i've several field for the users to key in their details then upon clicking the "add" button... their details will be appended to a georss xml file... and this step works fine as the details can be appended without problem... but when the page refreshes after my user hav clicked the "add" button... the details added are not shown... and even click "refresh" on IE wont help... all i got to do to get the newly added details shown is to close the current IE and re-request the page in a new IE... then all the pushpins(including the last pushpin added) can be shown... y is this problem occuring am i doing a ...Show All
SQL Server SQL Server Management Studio Express will no longer start
I used to have both SQL Server 2005 Express and SQL Server Management Studio Express up running just fine until I installed (removed SQL 2005 Express) SQL Server 2005 for Developers and re-installed SQL Server Management Studio Express - now, SQL Server 2005 for Developers works, but I can not start SQL Server Management Studio Express No error messages, simply nothing happens when I execute ssmsee.exe. Should I be using a different version of Studio Thanks, Tor The cleanup process that worked: 1) do not touch the registry (not needed) 2) remove all old VS + SQL stuff 3) remove MS Office Web Components (I was mising that one) 4) re-install SQL 5) re-install VS (custom - exclude SQL Express) ...Show All
SQL Server install error
I have tried to change the name of the file in the regedit and I am still receiving the same error that a previous program installtion created pending file operations on the installation machine. You must restart computer before running setup. What do I do now i ahve restarted 3 times. Also please review the following before you modify registry... IMPORTANT : This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multi threading in a game (using XNA)
Hello. I am able to create thread and make them exchange information through common objects they know (server / each other reference) Now I would like 2 threads to update a server. Each of those threads takes for inputs a keyboard for one, a mouse for the other one. However, it seems that the thread that listens on the keyboard do not detect events from it. Seems like it is the parent thread that is able to listen to a keyboard event and only that parent thread. How would you do so that a children thread is master over a device even if it does not have the focus Regards, Chryso It is more like separating code. The keyboard / mouse is just a start. Using gamepad is what comes next. And if I want to push it ...Show All
SQL Server Howto impersonate code to use specific role in SQL2005
Hi there, in SQL2000 Analysis Services I used a very complex script to authenticate as a specific user/role to create offline graphs and Pivot-Table pictures via script for users concerning their own security rights. I read out the role of this user and used the security settings within this role to filter the owc-element so that the user only gets to see the elements/data he is allowed to. This was necessary since the script (DTS) was run with administrative rights and therefore had access to all data. I built a serverside OWC, applied the security-filtering, exported to excel or picture and sent it via email as subscription. now for the question: Is there any way to tell a script to use a specific role when accessing the c ...Show All
