Seefer's Q&A profile
SQL Server Security got messed up somehow
When I try to view my report manager from the computer that SSRS is installed on, I cannot do any administration on it. How can I get this back Here's some more info: I browse to http://localhost/reports on the machine and it only shows links for "Home", "My Subscriptions" and "Help". there are no options to add a new folder, set up security on the root folder or any admin functions. I looked into the HELP and it wasn't any... I am signed in as the administrator of the box so I should be able to access the administration. Also, NT Authentication is enabled on the site. ...Show All
.NET Development How do I remove empty node with attributes ?
Hi I am using the below xsl to remove all empty nodes . But it is not removing the following node (Node with empty attribute) <LandArea Unit="" /> Also How do I remove empty attributes below <TotalConsideration ChattelsAndMoveables="" Goodwill="yes" Other="" Stock="yes">6</TotalConsideration> XSL Code < xml version="1.0" > <xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform " version="1.0"> <xsl:output omit-xml-declaration="yes" indent="yes" /> <xsl:template match="node()|SDLT"> <xsl:if test="count(descendant::text()[string-length ...Show All
Visual C++ how to add 3rd-party library support into my project for nmake
Hi, I'm porting a program originally written for Linux to Windows and am using nmake to build my project by 'translating' the GNU makefile to VC++ nmake makefile. My program makes use of a third-party library called 'vs' and let me assume that the vs library is successfully generated and put at 'C:\vx\lib\debug'. Now my question is how to specify library path of 'vs' so that the Visual C++ linker can found and link them into my program. Below is the code segment from the Linux makefile ********************************** LIB_DIR=/usr/local/vs LIB_PATH=-L $(LIB_DIR)/lib LIB_LIB=-lvs -lnr SYS_LIB=-lGL -lGLU myapp: file1.o file2.o g++ -o myapp file1.o file2.o $(LIB_PATH) $(LIB_LIB) $(SYS_LIB) ...... ...Show All
Visual C# Please help me confirm on windows service
Dear All, I have a windows service which I need to run on particular time of a day. So I have build my windows service and add the code of my action of checking the database in the onStart function Is this correct or must I have a main function Another thing I have added is the debug.write I dont know whether it prints or not I done with installer and manage to successfully install my window service. So I dont know how to confirm if my windows service is running or not How can I set the time to be like specify for certain hours in a day eg. to run at 10 am, 12 pm, 2pm and 4pm daily Thanks. Dear Rizwan, So basically thread is a small process is it. So in this case I only have one t ...Show All
Visual C# Finder classes in order to find a group of elements in ArrayList
So, I would like me know if exist any library or utility in order to find a group of elements added into ArrayList. Mmm, Now I find elements as follow: System.Collections.ArrayList result = new System.Collections.ArrayList(); foreach (Element element in elements) { //Criterium--> if (element.Code == "X") { result.Add(client); } } return result; I would like me to use as a Finder class or something. Can you help me please Hi, there is no native method in C# 1.1 that will let you do this, however if you are able to use C#2.0 then you can use the System.Collections.Generic.List class to do what you want i.e.: using Syste ...Show All
Windows Forms datarelation and dataview
Simple q regarding .net 2003 I got several tables A master and e few details/child tables add datarelations to it and bind it to controls... so far so good Now i wan't to filter/search the mastertable, Sound easy but when i use a dataview i lose sync with the detail/child tables Remco for those still diddn't find a solution......... It's so simple it's stupid Assume we have a dataview called dvdataview masterGrid.DataSource = dvdataview masterGrid.DataMember = "Customers" detailGrid.DataSource = dvdataview ' this is the row what makes the difference detailGrid.DataMember = "CustomersToOrder" Simple binding Me .t ...Show All
Windows Live Developer Forums redirect events to the mapcontrol
Hi, ive just put a crosshair on the map center(a simple <img>), the problem that arises is, that the mouse events are not redirected to the mapcontrol while the mouse cursor is above the crosshair. Does anybody got a clue, how to redirect the mouse events directly to the mapcontrol Thats great Jeff. Any way i can convince you to add your bit of code to the wiki when your done http://www.viavirtualearth.com/wiki Or at least post it here and i'll add it I'm sure it would help many people out. And in turn hopefully you will get something back one day John. ...Show All
Windows Forms Treeview node cropping
Does anyone know how to prevent a Windows.Forms.Treeview node's text being cropped if the node's font size is increased or changed to bold The text seems to be cut off roughly where the text would have displayed to if it were in the treeview's font - the final letter is often chopped off part-way through, even though there is plenty of space following. The only work-around I have found is to set the Treeview's font to bold (or larger) and then set the font of all the other nodes (the ones I don't want emphasized) to the regular/smaller font. The problem with this is that the nodes' tooltips display in the treeview's font (ie bold/larger). This is a fix but you probably won't like it much, it is very slow and causes a very visible ...Show All
.NET Development XML Serialization & List<T>
Hi all, The following code, [Serializable] [XmlRoot(ElementName="Manifest", IsNullable=false, Namespace = " http://my.ns.com/ ")] public class Manifest { [XmlAttribute(AttributeName="last-modifed")] public DateTime LastUpdate = DateTime.Now; public List<Group> Groups = new List<Group>(); } [Serializable] public class Group { public String ID = "MyID"; } outputs: < xml version="1.0" encoding="utf-8" > <Manifest xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " last-modifed="2006-11-23T12:10:11.7356694+00:00" xmlns=" http://my.ns.com/ "> <Groups> &n ...Show All
Windows Forms get selected text
Hi, I am programming an API in VB .NET which fires a hotkey event and retrieves which ever text is selected. There is no form shown. Up until now I retrieved the data in the clipboard, but need the selected text also. How can I do this thanks. cheers, alej Use the Clipboard class,the setDataObject method can help you store text into the clipboard: string SelectedText = // your ways to get the selected text; Clipboard .SetDataObject(SelectedText); ...Show All
Visual Studio Express Editions slideshow
how can I alter this code so it displays a different image every minute.....like slideshow thanks PictureBox1.Image = Image.FromFile _ (System.Environment.GetFolderPath _ (System.Environment.SpecialFolder.Personal) _ & "\Shell2.jpg" ) why wont it work..... access to path is denied ..........in red I have changed path but is still denied Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim path As String = "c:\pics" Dim DI As New System.IO.DirectoryInfo(path) Dim fi() As System.IO.FileInfo = DI.G ...Show All
Visual Studio Team System Having trouble deploying to the report server
Tried every combination with and without SSL, using reports and reportserver - cannot get it to deploy. Tried target folder the same name as my report project and the same name as my team project - still no luck - what am I missing TITLE: Microsoft Report Designer------------------------------A connection could not be made to the report server https://vstudio01:8143/reportserver.------------------------------ADDITIONAL INFORMATION:The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. (System.Web.Services)------------------------------The remote certificate is invalid according to the validation procedure. (System)------------------------------BUTTONS:OK------------------------------ ...Show All
Visual Basic Anyone know how to pass records from DataGridView to Excel (Window Application)
Anyone know how to pass records from datagridview to excel. I've tried some codes but the whole chunk of records are writen in a single cell. Can anyone help Thanks alot. This is the code i writen. Dim icount As Integer = _2006_Pupil_ProfileDataGridView.Rows.Count Dim ccount As Integer = _2006_Pupil_ProfileDataGridView.Columns.Count() Dim s As String = "" Dim rowIndex As Integer Dim colIndex As Integer For Each r As DataGridViewRow In Me ._2006_Pupil_ProfileDataGridView.Rows For Each c As DataGridViewCell In r.Cells s = s & c.Value For rowIndex = 1 To icount For colIndex = 1 To ccount oSheet.Cells(rowIndex, colIndex) = s Next Ne ...Show All
Visual Studio Express Editions how to Export DataGridView to excel in c# 2005 ?
hi i want to export My DataGridView to an Excel 2003, How to do ( I found an article from this site that convert datagrid to excel : http://www.codeproject.com/csharp/export2excel.asp but it is datagrid and i want DataGridView .. how to do ) thanks. Hi Hamed_1983, You should be able to use the code that is provided in the example, the .Net framework 2.0 include 99% of the original .Net Framework, its just been improved and given more functionality. Also have a look at http://msdn2.microsoft.com/en-us/library/system.data.dataview.aspx http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.aspx Hope this helps Scott ...Show All
Software Development for Windows Vista Exception throw by FaulthandlersActivity
I hava ask some question about fault handling in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=367543&SiteID=1 now ,another problem puzzled me,when i use faulthandlersActivity to hander my Exception ,I drop my Custom Activity on faulthandlersActivity ,but if this Activity throw an Exception,how shall I do the fact is the workflow is terminated,I don't want workflow like this. another question,when the workflow was terminated,I must make a new start,or I can resume it anyone can give me some suggestion. Thanks! Look at Joel's posts on this thread. ...Show All
