Software Development Network Logo
  • SharePoint Products
  • Game Technologies
  • Windows Vista
  • Microsoft ISV
  • Windows Forms
  • Visual C#
  • VS Team System
  • Visual Basic
  • Audio and Video
  • .NET Development
  • Visual FoxPro
  • Visual Studio
  • IE Development
  • Smart Devicet
  • SQL Server

Software Development Network >> Corrado Cavalli's Q&A profile

Corrado Cavalli

Member List

SolidSpace
Bertrand Caillet
abcdefgqwerty2
OmegaMan
Giritharan
FernandoLeite
robinjam
ChinaTiger
SOAC
BJTaylor
MigiTheGuru
LKNikko
slowcoder
JCJCJC
Dotnet Fellow
Daniel Hilgarth
*Jinx
subir.talukder
watch is
Nayan Paregi
Only Title

Corrado Cavalli's Q&A profile

  • SQL Server MSSQLServerOLAPService crashing frequently

    System: Sql-server 2005 (x64) SP1 , Windows 2003 Server (x64) SSAS seems to crash now and then and application log fills with : The description for Event ID ( 22 ) in Source ( MSSQLServerOLAPService ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Internal error: An unexpected exception occured. Internal error: An unexpected exception occured. Internal error: An unexpected exception occured. Internal error: An unexpected exception occured.. and... The description for Even ...Show All

  • Visual C++ Position of Button

    Hi, I am currently working on 2 different codes which i m unable to solve. Both coding involve a dialog that is 300 by 500, a button near the top left of the dialog. The first project is to find set the cursor to move to the top left corner of the button during the start of the program to enable faster clicking. IDC_LEFT is the name of the button. BOOL CCursorClickerDlg::OnInitDialog() { CDialog::OnInitDialog(); . . // TODO: Add extra initialization here CWnd* ButtonLeft = GetDlgItem(IDC_LEFT); ASSERT(ButtonLeft); CRect Rect; ButtonLeft->GetWindowRect(&Rect); ButtonLeft->ClientToScreen(Rect); int x = Rect.left; int y = Rect.top; SetCursorPos(Rect.left, Rect. ...Show All

  • Windows Forms C# show new form vs vb way

    This is just a question. Why can C# not show a form as easy as vb. Form1.show(); instead we have to create a variable for it, etc.. Form1 Form1 = new Form1(); Form1.Show(); The same goes with calling another class, etc. What I always have to do is I create a blank class then set public variables in it. and from my other forms I always have to do this. Classcreated.variablename in vb is just knows when I type variablename that it is coming from the class I placed it in. I was just curious why C# acts like this and if there is an advantage to this or not. I was asked the other day that if c# required so many extra steps (most small) then why not just vb.net and I really could answer as a C# programm ...Show All

  • SQL Server Render RS Report to Excel and changes Sheet Names

    I am wondering if anyone knows how to change the sheet names in Excel when exporting a report from Reporting Services 2005. In other words, I have a report with approximately 5 page breaks built in. When I render the report to Excel, it creates the 5 sheets as I expect, but it names them "Sheet1", "Sheet2", "Sheet3" etc... Is there a way to specify the name of the sheets I am currently using a different table in my report for each sheet, but I am open to structuring this differently if needed. As I am a developer on my own, I have several solutions in mind which ar really only workarounds. One thing would be to pass the definition (sheet names) in a hidden Table, which wi ...Show All

  • SQL Server log report email

    I have job pkg which executes multiple packages to load each target tables and log the details of load in etllog table.. I would like to send an email of log posssibly in html format at the end of the job.  Can someone provide me tips for achieving the same. Is it possible to use report rdl   thankx   I think the best method would be to use Reporting Services as you indicate. You can write a simple report based on that table, then use a RS subscription to handle the email delivery as you require. Do you require more information ...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 Well, Simple answer :) Computer Game in XNA that is multi threaded and works (thats the hard part hehe) makes for a pretty effici ...Show All

  • .NET Development Using Windows Auth in SqlServer

    Hi, I have SqlServer on one of the Network machine, on which I have Windows Authentication rights available. Now when I try to build Sqlconnection it gives me an error: "Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. " I have set the following attributes: persist security info=False; Trusted_Connection=yes" When I checked it somewhere I came to know that we must have SQL server and IIS Server on the same machine in order to build a sqlconnection using win auth.. Is that right or we have some other way round to achieve this Thanks in Advance I understand that your situation is this: You have an ASP.NET -application on IIS 6( ) and y ...Show All

  • Gadgets Download and unzip a file from a Gadget ?

    Hi, My gadget needs to download (via HTTP) a zip file and unzip it. This file contains information so local search can be done on client side. In Dashboard/Yahoo we have curl and unzip unix utilities to easily achieve that with some simple system call. How can you do that with Microsoft Gadgets Thanks in advance, Tom : I don't think I can develop an app myself, I probably don't have the talent for that yet. I was simply hoping that Gadgets could offer more power to the developers. Jonathan : No unfortunately, it's not FTP but HTTP. So I'll surely have to package some Freeware/GNU applications inside the gadget itself for now... Thanks for you help! ...Show All

  • Visual C++ ERROR MESSAGE

    well i am a naive at vc++ and prcticing my hand on small problems like finding a factorial,string operations etc.But the problem with visual studio is that many a times when i run an application it gives the following error: This application has failed to start because MSVCP80D.dll was not found.Reinstalling the application may fix the problem. I'm tired of this error.and i don't know how to send you the picture of error to you[i'm naive please forgive me!!!) i think this error occurs generally when some decision in the program is compiler dependent. please help me out please!!!!!!!!!!!!! You probably need to install vcredist_x86.exe. You can find it here - http://www.microsoft.com/downloads/details.aspx Family ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Content pipeline importer not .xnb files?

    I'm just starting to play around with the content pipeline importer and can't seem to get my head round a way of not producing .xnb files at the end of it all The assembly (DLL) loader on the 360 takes a file name (AFAICT the byte[] loader doesn't exist on compact) and i want the content pipeline to produce an assembly (essentially I'm writing a content pipeline stage to do IL emit). So how do i just output a normal file and get that transferred to the 360 I don't want to manually have to add the produced assembly to the reference list after the content pipeline has run. What I want its build/deploy to run the content pipeline, produce a DLL and have the transferred on the 360. On the 360 a custom load function will scan a directory, load ...Show All

  • SQL Server Problems installing Reporting Services

    Hi Folks, I want to download Reporting Services for SQL Server Express Edition but I can't find it. It seems to be in Analysis Services but when I run SQLEXPR_ADV.EXE I don't find any mention of Reporting Services. I get to the final options choice which offers me 'Database Services' and 'Client Components' but neither of these mentions Reporting Services. I have installed BI Studio successfully. I'd be grateful for any and all suggestions. Thanks a lot. Barry Hi Andrea, Thanks for your reply. Unfortunately, you told me what to do but not how to do it so I couldn't follow your advice. Barry ...Show All

  • Windows Forms Newbie with uninstall and update questions

    Hello, I am a complete newbie when it comes to VB and VB Express Edition. My issue with my app is twofold: 1.) when uninstalling the app, only the start menu shortcuts are removed. The files and folders are not. Is there way to force these files to be removed 2.) when auto-updating the app, I either need to have it delete the old files, or find a way to change the "home directory" setting in IIS automatically. Are either of these possible with the express version If so, how do I go about implementing the changes please i am desperate for help on this! Any insight at all would be very helpful! I have done many searches on here, but either I am not using the r ...Show All

  • Visual Studio Express Editions Drag Drop Copy entire row - databound DGV to unbound DGV

    I need to drag drop & copy entire row contents from a Source databound datagridview to a Target unbound datagridview. Source is set to SelectionMode fullrowselect. I am not sure how to achieve this and I have not been able to find relevant articles on this. Thanks for any help !   ...Show All

  • Windows Forms When is GetStandardValues called?

    The following code implements a simple derived control with a public property called "MyProp". This property has a drop-down list with valid values: using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.ComponentModel; using System.Collections; namespace DefaultValuesTest2 { public class MyTypeConv : TypeConverter { public override bool GetStandardValuesSupported( ITypeDescriptorContext context) { return true ; } public override bool GetStandardValuesExclusive( ITypeDescriptorContext context) { return true ; } public override StandardValuesCollection GetStandardValues( ITypeDescriptorCon ...Show All

  • Visual Studio 2008 (Pre-release) WPF on XP?

    What do you loose if you run WPF applications on Windows XP Is there a list of what specifically works/works better on Vista not sure if a list exists. The differences are generally different because of driver model and not because of OS. 1. XP only offers XDDM video drivers and does not have the capability of running WDDM drivers. WDDM drivers can virtualize video memory and run largely in user mode. To read more: GregSc posts on how the Vista Desktop Window Manager (built on WPF's MIL graphics stack) takes advantage of WDDM: http://blogs.msdn.com/greg_schechter/archive/2006/04/02/566767.aspx I write a bit about the differences between XDDM & WDDM here: http://blogs.msdn.com/seema/archi ...Show All

©2008 Software Development Network