Cerberuss's Q&A profile
Visual Studio Reporting in asp.net 2.0
hi, currently my team is working with asp.net 2.0 and sql server 2005. we were using crystal reports for reporting. but now i know that with crystal report we have licencing issue because we are using inbuild crystal report of VS 2005. i have following questions- 1- can we use inbuild crystal report component in deveployement server also without any licencing issue. 2- if yes then how many users can access that report simultaniously. 3- what is the best way to display reports in project Hi shobhit, For licensing clarification about Crystal Reports for Visual Studio 2005, visit this page: http://www.businessobjects.com/products/reporting/crystalreports/net/licensing.asp . You may want to also ...Show All
Windows Forms Packaging multiple pre-existing software installs into a single install.
I am guessing this has probably been covered before, but I couldn't find anything that answered my exact question. What I have currently: 13 applications that need to be installed seperately. They all have pre-existing installers. What I want: Create a single installer that packages all 13 applications into one installer that doesn't ask the user for any input during the process. How to go about it: Well, that is where peoples suggestions come in. I have no idea where to start on this project. Any help would be greatly appreciated. ...Show All
Visual C# dayOfWeek and hour of SysTime sample
I need to keep pulse of system DateTme and I copied code from ms-help://MS.VSCC.v80/MS.MSDN.vAug06.en/dv_fxinterop/html/3724d25e-3de5-493b-9566-68071b83e159.htm and tested it. It gave me two incorrect values. The real DateTime was (EST) 1/6/2007 10 :41:15 AM dayOfWeek = 7 (Saturday). I got 1/6/2007 15 :41:15 dayOfWeek = 6 Next I checked DOW(DATE()) in VFP and surely the result was 7 (Saturday) Sunday 1, Monday 2, Tuesday 3, Wed 4, Thursday 5, Friday 6 Saturday 7 Why is it so and what can be done abou it Am I doing anything wrong Thanks. James Curran wrote: Am I doing anything wrong Perhaps trusting FoxPro as an authority on .Net Like all indexes in .Net, enum DayOfWe ...Show All
Visual C++ Disassembling
Hi all, I know how to do this: foo.cpp=====> foo.asm I want to do: foo.asm=====>foo.exe and: foo.exe======>foo.asm Can I do these by VS2005Pro IDE or its bundled softwares Or I need to get another software nobugz wrote: To go from .exe to .asm, you can use Dumpbin /disasm. Isn't it possible with MSVS I found a file named ml.exe in its folder. ...Show All
Visual Studio 2008 (Pre-release) Is [BindingRequirements] no longer in WCF after June CTP...?
and if not, what has it been replaced with I want to set Require Ordered Delivery to true. I can't find anything in the online help or on the net that tells me what happened to this. Thanks, J James, BindingRequirementsAttribute has been replaced with DeliveryRequirementsAttribute. You use the new attribute in exactly the same way, only the name has changed. I hope this is helpful, Michael Green - MSFT ...Show All
Smart Device Development C# Device Applications Serial Port
HelloI am trying to link a Windows application with a device application. Windows divice applications have a serial control so I though I could link them together using a virtual comm port. I created a port object in the device application and sent data to COM1. This data did not appear in the port monitoring program that I am using.This leads me to think that this idea is not going to work.If I have a PDA actively syncd' to visual studio is there a way I can send data to the application running on the PDA Thanks Hmm, Truely, I'm not sure but it may be the reason. May be it works with real device conneted to your computer! But I would recomend you to post this question here: http://forums.microsoft.c ...Show All
SQL Server update statement
Newbie Question: Im trying to update a table column to a new value and I receive an error, here is my statement: USE PD51_Data; GO UPDATE CASENUMBERS SET CaseNumTypeID = 130 WHERE CaseNumTypeID = 101 AND CaseNumber BETWEEN 199999 AND 600001; GO I receive this error Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '9368----' to data type int. What did I forget I am guessing that the WHERE clause that you want is something more like: WHERE CaseNumTypeID = 101 AND isnumeric (caseNumber) = 1 AND convert (integer, CaseNumber) BETWEEN 199999 AND 600001 However! This is chalked full of problems. Here are a few key questions for you: Is ...Show All
Windows Forms DataGridView Binding to a complex Type
Hi, I am trying to create a DataGridView which binds to a Generic Collection of my Business Object 'Application'. The business object 'Application' contains simple properties like 'Application Date' (DateTime), 'ApplicationID' (Integer), 'ApplicationType' (String) etc., but also has a property called 'Advisor' (of Type 'Employee' - which is an object within my Business Logic Layer) Now, the 'Employee' object contains properties like FullName (string), DOB etc. The problem i have is that i am binding the DataGridView To a collection of Type 'Application' like so - dgvApplications.DataSource = col_Applications (a collection of Type 'Application'). This works fine for the simple properties like 'ApplicationDate', 'ApplicationType' ...Show All
Software Development for Windows Vista Replicator with PolicyActivity hurts my brain
Even after some help from a kind poster I'm still not getting how to use PolicyActivity within a replicator. I created a new activity derived from SequenceActivity. I added a property to it, with the DependencyProperty gunk around it like the SimpleReplicator SDK sample shows. This all initializes fine. My problem is now I drag a PolicyActivity into my Sequence. How can rules in this PolicyActivity use my custom property on the parent Sequence Activity I've tried GetActivityByName to get the sequence, but it doesn't appear I can cast in a rule condition (or I don't know the syntax) to my derived type to be able to access the property in say, a condition. Even if I could, this would not be a great way to write rules against that property. ...Show All
Smart Device Development Resource DLL still active
Hi all, We made a .Net DLL that is the managed end of an unmanaged - managed bridge. There is nothing in the DLL besides the wrappers to the unmanaged function calls and the P/Invokes. When I terminate the program the managed DLL stays active. Any ideas on why it would stay in memory Do you have to terminate a managed DLL in some way Alex, Nope. Everything is a command-response call, no threads. I did notice that it's only when I am debugging and the debugger terminates in an abnormal fashion, like an uncaught exception. It does not seem to occur when I run the program outside of the debugger or the debugger terminates the app normally. ...Show All
Visual Studio 2008 (Pre-release) Thumbs up for type inference
I'm finding var works a treat— outside of just LINQ. It's particularly good when you want to pass an object from one place to another "opaquely" without caring about its type. An example is ICryptoTransform or IAsyncResult. You still get type safety, but with less clutter. Joe ...Show All
SQL Server INSERT rows while SELECT returning large volumes of data against same table
I'm taking over some legacy coding and am checking to see if there may be a better approach to some sql code I've inherited. Any input would be appreciated. Here was the problem that the implemented code was to address: Given a high volume (10 to 50 thousand inserts daily) transaction table, it was observed that when executing a stored procedure that executed a SELECT against the table while inserts were being attempted, there was considerable delay before the inserts were committed. It turns out the SELECT query was taking 100% CPU. Because of the business needs of the environment, the inserts were required to be committed in a very timely fashion. Present Solution: The currently implemented workaround implements a cursor that ...Show All
Visual Studio 2008 (Pre-release) Bubbling EVents from XAML to Windows Form (Closing a WPF Control hosted inside of Windows Form).
Hello All, I am using ElementHost to host WPF Control inside of the Windows Form. Now this Form is launched as a Dialog. But when I try to access the events of the Form, I am unable to get them. I am looking to close the new Dialog window that is launched, but the Parent is not passing the Close event. The returned parent is AvalonAdapter, and I do not see anything to help me close the Dialog. Any help would be highly appreciated. so to help understand here is the situation: My main application is a Form which opens a Dialog which extends Form. This form hosts the WPF Control using the ElementHost. I want to close this Dialog, Can you please help me how I can do this Regards, Laadlaa ...Show All
SQL Server Excel Numbers format
Hi all i'm having an issues when i trying to do a report: i make a report and there is a field which contains data that can be numeric and numeric with letter: "77756" or "345WS" when i export my report to excel i and i open it i get like a make in the upper left coner of the cells that have only numbers asking me to convert this to numeric format, but this think is that i need this values to be string so i can apply filtering. is there a way that i can format my cell to string so the excel take it like that and allowme to do the autoifilter. I would really appriciate your Help Thanks You know how in excel you can prefix a value with a single quote, to force it to acce ...Show All
.NET Development Web Service: What approach should be taken to return "UNRELATED EXTRA DATA" from web method as response
Hello People, I am working in a web application where business operations are exposed as Web Services (internal at present) and the Web Client consumes the web service for ALL activities. Of course, there is a business layer that executes the functionality. All the web service does is to accept and validate the request, invoke the relevant business method(s) and return the operation response. One of the tricky situations I facing now is to return "Unrelated Extra Data" as response to an operation. I will explain this with an example... ------------------------------------------------------------------------------------------ Consider "Customers" and "Contacts" for each customer. A Customer has details such as address, web sit ...Show All
