Dieter D's Q&A profile
SQL Server how to enable Model item security ?
Hi friends how to enable Model item security i found followin link that talks abt this http://msdn2.microsoft.com/en-us/library/ms156505.aspx extract from abv link Securing items in a model requires a report server connection in Management Studio. To secure model items, the report model must be deployed on the report server. In Management Studio, connect to the report server that stores the model. In Object Explorer, navigate to t ...Show All
.NET Development Security.Permissions.SecurityPermission
G'day, I have 2 Win2003 servers, 1 is my database server, 1 is my web server (IIS). On the IIS machine I have an ASP.NET 2 application that makes a call to a proprietry 3rd party COM Object/DLL that makes a call to a database (sql insert) on server number 2. When the DLL call is run, I get "Security.Permissions.SecurityPermission" error and thats all it says. If I run the script/dll on the local database server (ie not talk ...Show All
Visual C# What's the best method to save preferences of a program? could you give me a sample?
What's the best method to save preferences of a program could you give me a sample After I have set some preferences of a program, I hope to save them to disk, when the program restart, the preferences can be restore. there are some type preferences such as string, boolean, number, etc... What's the best method to save preferences of a program Maybe there are the following methods: 1. save them to the Registry of Windows 2. save to XML file ...Show All
Windows Forms HasChanges and databinding across forms
I have an application where I display master-detail records on a main form. The detail records are contained in two datagrids on a tab page control. The company details are entered via a user control placed directly on the form. Each time I change the selection on a list box (also on the main form) the application retrieves a new dataset to populate the main form (company details) and datagrids (contacts and activities). Each tim ...Show All
Windows Forms Searching DataGridViews
I've been working on a proof-of-concept U/I that attempts to mimic some of Outlook's table view behaviors. I am handling the KeyPress() event in my DataGridView and searching the current sort column for what the user is typing. My grid is read-only& ...Show All
Visual Studio Comparing a local file to a previous file version in VSS
"isdifferent" wont work coz it only compare the most recent version of the file against my local.. i need to know any alternatives for solving my problem.. thankyou very much/// i need to compare an old version of a VSS file to my local if they are identical... I think you may be able to get an IVSSItem for the previous version by using IVSSItem.Version() or by obtaining it from a IVssVersion, then call IVSSItem.IsDiffe ...Show All
Visual Basic Error: namespace and Public declarations
I am a new user of VS 2005 Beta 2, and have a relatively little experience with the indepth parts of Visual Basic. I was transferring my grade twelve computer science project from VB6 to VS2005 when I encountered a problem that said, and I quote, Statement is not valid in a namespace. This error was generated when I typed: Public intCtr As Integer in the General Declarations section of a standard module. Like I said earlier, I have ...Show All
Visual Studio Express Editions C++/SDK fails to link empty app
I've installed Visual C++ express and the SDK as per instructions - everything makes sens, but when i try to do the last stage of the SDK set up - build an empty app - I get link errors such as: test1.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageW@4 referenced in function _wWinMain@16 All paths look ok in the paths setup, i've tried both the GUI way of putting the SDK paths in and editing the file as well - everyt ...Show All
.NET Development Database won't update a bit field
FOA, Thanks to those who responded to my earlier post. I finally got the update to work only after I deleted a field where the datatype was a bit. Any ideas or suggestions for a work around. Thanks, 3ms Hi madhu, Thank you, I understand this. I generated a GridView from a SQL database. Using the SQL generated insert, udate, delete statements is where i run into the problems when i edit a row of data. thanks, diav ...Show All
SQL Server Is there a way around using MAX Statement on Report
I have a report that due to being unable to find a successful solution across the web relies on me using a value in a box as shown below; =MAX(Fields!budgeted_net_rent.Value) The problem I now have is that I have another field on the report and want to a =SUM on it and it tells me that you can't do that unless it is a header or footer and something about being part of an aggregate function. How can I fool SSRS into placing the value f ...Show All
.NET Development Web Service Data error checked?
Hi, I wonder if anyone can help me with his. Is the data that is passed between a client and an ASP.NET Web Service checked for transmission errors at any point Thanks a load! Josh Hi, Yes. When getting a soap request, the web service must parse it first. If the parse fails it will throw an exception. ...Show All
Windows Forms Report Viewer prints different sizes according to screen resolution...
Whatever size the computer desktop is set at affects the size of the reports I am printing. Maybe it is in the build of the report that is causing the problem, but i dont think so. I have it set to 7in wide and 9in high, and i'm not using percentages or anything, so i have no idea why it would be printing in different sizes... I do know that if i change the desktop resolution to different sizes, the report size changes. Does anybody have ...Show All
.NET Development system.net.mail Attching file gets locked
Hi, I'm having a problem when I send an attachment using system.net.mail, the file gets locked so that I cannot delete it until the application has finished. I found an article ' Re: Delayed send with smtpclient in .net 2.0 ' that details a similar issue and have followed all the advice in it but i'm still having locking problems. Here is my code Dim smtp As New SmtpClient(lSMTPServer_Address, lSMTPServer_Port) Dim file As Integer ...Show All
.NET Development Compatibility: Duplicate delegates generated
I have a project that references two separate web services that share the same namespace. When I add these references, code is generated that will not compile because the two web services both have a method of the same name. To illustrate: In the service code: Service1.asmx.cs: namespace MyServices { public class Service1 : System.Web.Services.WebService { &nb ...Show All
Visual C# how to import data into excel
hey. i was just wondering if anyone could teach me how to extract data into an excel file from a c# windows application that i created. (e.g. data from a listbox into a spreadsheet) thanks ^^; Hi, You can use Microsoft API Office interop libraries for interfacing with office tools. Here is a small code snippet for you requirement. I feel it help you. Microsoft.Office.Interop.Excel.Application app = new ApplicationClass(); a ...Show All
