StefanVirag's Q&A profile
SQL Server Timeout error while executing Oracle function
Hi, I have developed reports for Oracle database. I wanted to avoid use of OUT REF cursor hence am using function & calling it from reports. The logic in SP/function is so complex that it takes 5 mins to execute n get the result. I see the results on the report server, But when I call that report from web application, I get System.Net.WebException - Time out error. My questions: 1. What setting I make on report server to avoid timeout --Are these settings applied on report server restart 2. Is there any setting needed for Datasource also TIA Tanmaya If you go to your report manager ( http://ServerName/Reports/ ) and click 'Site Settings' in the top right corner. There is a 'Rep ...Show All
Game Technologies: DirectX, XNA, XACT, etc. collision detection with backbuffer
Hi, i am new at gamedevelopement so... i am trying to do a collisiondetection method over the backbuffer. I am trying to make a 2d game with 3d objects (not sprites because the objects with light and so on looks much better) and couldnt make a very exact collisiondetection. I had the idea to use the backbuffer data with renderTarget2D class and make different layers (wich are not rendered) in which i could detect pixelcollisions between the 3d models on my screen (between their shadows for example) after i check collision before with boundingBox or boundingSphere. Because i am new to this stuff, my first question is: Is this slowing the game very much Or is this the worst method to detect collisions between Objects Tee ...Show All
.NET Development access denied while writing file
Hello I have a question. I 'm working on a small ftp client program. But when i try to download a file to a path for example c:\temp i get access denied. How can i solve this no.... you may say your code is perfect but it maybe full of bugs and in order for us to help you, please supply some code - perhaps you are writing the file incorrectly or something who knows until we can see the code, nothing much we can suggest. regardless of running it under the admin account or not, if your directory has readonly permission, you can't write to the folder at all. ...Show All
Visual Basic Registry - REG_SZ
Hi, Please could any one help me decode a REG_SZ key in the registry I am wanting to decode the word 2007 mru list that is stored in the registry under HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\File MRU Cheers, Tom. . Only One Tom, In order to decode a REG_SZ key in your registry, I suggest you to read this article titled How To Read a REG_SZ Value From the Registry in Microsoft support knowledge base : http://support.microsoft.com/default.aspx/kb/258556/ 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. According t ...Show All
Visual Studio Tools for Office Outlook Add-in Not Loaded :runtime error HELP HELP
Deall ALL, I installed the following in the client machine Office 2003 SP2 framework 2.0 office tools runtime MS PIA the Patch KB908002 lockbackRegKey.msi extensibilityMSM.msi office2003-kb907417sfxcab-ENU.exe all did all of the above and no luck to get my Outlook- add in working in the destination machine BUT IT WORKING PEFECTLY in my DEVELOPMENT MACHINE plzzzzzzzzzzz help HELP I did the CAS but still the same. THE Add-in works smooth in My development machine. I meant if i start Addin in outlook (development machine) it will start up normally!! Its more than a week for this small project plzzzz help ...Show All
Architecture Architecture for Notification based application
I need to develop a notification based system in .Net. Basically as and when certain data gets updated, the client machine is informed about it. There would be a windows based application running across all these clients. One way I was thinking of was to have the clients poll the server for any updates at frequent intervals. Whenever the Server does an update it would post the update into a queue. Every client would poll the queue for any updates. Would like to know if this approach is alrite or suggest an alternative architecture. Thanks Sai MSMQ supports IP mulitcasting - meaning you can broadcast the same message to all clients. Because it's using IP multicasting it won't work accross subnets (unless ...Show All
SQL Server Report Subscriptions <-> Scheduled Reports
This question is in regards to using the ReportingServices2005 WebService classes with C# .net 2.0. What I am having trouble with is how to relate a schedule to a subscription. The piece of functionality that I am trying to duplicate is adding a report's subscription to a schedule (on the Subscription:{report_name} page's subscription processing options under the asp.net "Reports" app). How can I programmatically set a report's subscription's "subscription processing options" to use one of my existing Schedules Some things I have tried: - use ListSchedules to get a list of reports, use ListScheduledReport(scheduleId) to get a list of reports related to a schedule (this is great, it gets me the reports, but I ...Show All
Visual Studio 2008 (Pre-release) Error in WCF course demo code - where is Httpcfg
In the Microsoft Learning course Clinic 5137 : Introduction to Developing WCF & VS2005 I get the following error running the WCF Demo. System.ServiceModel.AddressAccessDeniedException was unhandled Message="HTTP could not register URL http://+:80/Greeting/ . Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/ LinkId=70353 for details)." Source="System.ServiceModel" StackTrace: ... I go to the above link and it directs me to use the Httpcfg tool but I cannot find Httpcfg any where on this released version of Windows Vista. With Windows Vista is it better to develop on another platform, i.e. Win 2003 and then deploy to Windows Vista Or do I j ...Show All
SQL Server Multiple counts in table
I've got a table containing (among some other columns) 3 different type columns. TABLE xxxx as int type 1 as string type 2 as string type 3 as string date as Date First i'd like to select the number of counts each of these appear in my table. I realized that it can be done by union 3 select statements each grouped by a type. select type1, count(type1) from table group by type1 union select type2, count(type2) from table group by type2... Now this is time consuming and not what I would like to do Secondly i'll try to do something like SELECT type1 , SUM(CASE WHEN MONTH(date) = 1 THEN 1 END) AS 'Januar' ,SUM(CASE WHEN MONTH(date) = 2 THEN 1 END) AS 'Februar' ,SUM(CASE WHEN MONTH(date) = 3 THEN 1 END) AS 'Mars' ,SUM( ...Show All
Visual C++ when calling DCOM method Hr returns -2147220734
hi hr= m_pIInv8MigServer->Test(&b); //hr=S_OK hr = m_pIInv8MigServer->Export3DFile(bstrFileNameToExport,bstrFileNameAfterExport,&varInvData);//hr=-2147220734 Please,Can anyone suggest You are going to have to choose a more appropriate forum or newsgroup depending on what Inv8MigServer is. This is a C++ language forum. ...Show All
Microsoft ISV Community Center Forums Internet access, XML in VBA, extra modules
Hi! I'm beginning to work with a VBA for Outlook 2003, and I got 3 questions. In my application, I need to fetch some internet content. So I just need to have one request and one response which contains text (XML). 1. How can I get text from internet server using VBA 2. And is there ready classes for reading XML files, that would make it easy to get the values from the internet result 3. If I need to create DLL with .NET to help me with the VBA application, how I use the DLL in VBA and does the DLL be distributed with the application automatically when user adds the mailbox in Outlook 2003 This is how the application is to be "installed". Thanks, and sorry about so manu questions, Antti Hey m ...Show All
Visual Studio Team System Trial edition of Visual Studio 2005 Team Edition for Database Professionals
The RTM (Final) Trial Edition of Visual Studio 2005 Team Edition for Database Professionals can be found at: http://www.microsoft.com/downloads/details.aspx familyid=7DE00386-893D-4142-A778-992B69D482AD&displaylang=en The Trial edition requires that you have Visual Studio 2005 Team Suite installed. You can obtain a trial version (a rather large download) of Visual Studio 2005 Team Suite at: http://www.microsoft.com/downloads/details.aspx displaylang=de&FamilyID=5677DDC4-5035-401F-95C3-CC6F46F6D8F7 There are no other requirements; if you have Visual Studio Team Suite you have everything we need license wise. Installation wise you need to make sure you either have C# or VB.NET installed otherwise the Datab ...Show All
Software Development for Windows Vista Manifest files for Vista
Hi, For some of the exes of my product, I need administrative privilege. So I embed them in my application with "requireAdministrator". It works fine on Windows Vista and prompts for allow/deny or administrator uname/password as applicable. But the same program has non consistent performance on previous OS versions(XP, 2003 Small business etc). It shows blue screen sometimes for the applications where these manifest files are embedded. One can avoid these blue screens if the embedded manifest file is also present in the same directory as the exe for other OS. I do not want to make my application dependant on the presence of manifest file in the same directory. Is there a way out Is there a tool to find whether an embedde ...Show All
Visual Studio Express Editions Question about the Command Line and Console.write()
Hi, I have a project that I'm working on for someone. They have a command line shell which is basically just the cmd.exe shell with a bunch of bat files in the path. However, I was asked to write a program that would take some input (in the form of arguments) and output stuff to his console. I decided to do this in c# but not I'm having an issue. When I do a Console.Write("something") it writes it to a new console window instead of from the command prompt where it was called. Basically, what I want is this: <from the command prompt>: c:\> something.exe hello everybody hi everybody! /// from something.cs: SomeMethodThatPrintsToCommandLineFromWhichIwasCalled("hi everybody") is this even possible ...Show All
Visual Studio Express Editions Does Edit and Continue work in VS2005?
Hi all, I imported a VC6 project into VS2005, and I cannot get E&C to work - whenever I hit a breakpoint, the menu option is always greyed out. I have the following compiler settings: /Od /D "_DEBUG" /D "_WIN32_WINNT=0x0500" /D "WINVER=0x0500" /D "WIN32" /D "_WINDOWS" /D "_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Gy /Yu"stdafx.h" /W3 /nologo /c /ZI /TP /GR /errorReport:prompt and linker settings: /NOLOGO /MANIFEST:NO /DEBUG /SUBSYSTEM:WINDOWS /MACHINE:X86 /ERRORREPORT:PROMPT WS2_32.lib Version.lib Winspool.lib Kernel32.lib and, Tools->Options->Debugging: Edit and Continue -> Enabled. ...Show All
