mahdi's Q&A profile
Visual Studio Report subscription - email , problems with images and drilldown reports
Hi I have a reports with an image and drilldown option, I would like to distribute this report by mail . After this report is sent , the user opens this report and it tries to connect to the report server (Ask for user + password) , and does not show the image. 1. How shold I add the image to the report , that the report shold include this image when it's sent 2. Is there any solution to drilldown without connecting to the server Thanks ...Show All
.NET Development Web Service calling another web service - Scope problems
I have a web service that I wrote and a class library that it uses. A function in it returns a Status object. Now when I call this web service from another web service, I have the Status object from 2 different namespaces. Like the following. Lib.Status and Inventory.Status. These objects are really the same thing, but I cannot assign one to the other and in the inventory one, I don't even have all the member functions that status has in it. Can someone advise on what to do or on a diffent way or doing things so that this doesn't happen. Thanks No... it won't apply in the computers in where the SIE is not registered. The SIE must be registered in the machine.config of client comput ...Show All
Windows Live Developer Forums Daily Usage of VE
Hi, My company has been buying MWS transactions for the last year and a half. We switched some of our maps over to VE (perhaps prematurely) and we're worried that as we increase volume we may hit the 5000 per day limit. This would be devastating as it's not so easy to determine when we hit the 5000 limit (to trigger a revert to the old MWS maps). That said, our MWS transaction provider indicated that there's a "Savings Account" that we should pay into to ensure we're compilant with VE commercial usage. He also said that there's currently no way to increase daily usage above the 5000 per day limit. This could really hamper our growth as we've begun to merge our application with the VE maps (i.e. move functiona ...Show All
Visual Studio Team System Team Foundation Client Source Control Explorer
Can the (lite) Team Foundation Client operate the checkout/add folder/add files functions of Team Foundation Version Control (TFVC) We might like to use TFVC for both our source code and related technical documentation created and managed by our developers and business analysts. When running within the Visual Studio 2005 IDE the TFVC source control explorer allows me to create new folders and add non-source files to version control and checkout/checkin versions. However the features to add new folders and files or checkout files for edit are disabled when the Beta 3 Team Foundation Client is run on a machine that does not have the full VS 2005 IDE . It does allow numerous other version control features such as ...Show All
SQL Server Limiting Results from MDX query
Is there any way to specify that I only want the last 16 rows of an MDX query Thanks. Thank you so much Mosha! You just saved me hours of frustration. I have 3 books now that I will be going over to hopefully edumacate me on this topic ;-) For those interested my final solution looked like: WITH MEMBER [Measures].[CumulativeTimeCharged] AS 'SUM({NULL:[Header].[Week Ending].CurrentMember},[Time Charged])' SELECT NON EMPTY { [Measures].[CumulativeTimeCharged] } ON COLUMNS, NON EMPTY { ( [Project].[Project Number].[Project Number].ALLMEMBERS * { StrToMember(@ToDate, CONSTRAINED).Lag(15) : StrToMember(@ToDate, CONSTRAINED) } ) } ON ROWS FROM ( SELECT ( STRTOSET(@Project, CONSTRAINED) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Restart Game?
Hi, I'd like to know how to be able to restart the game being coded. My game is somewhat simple and I just want it to be restarted when the user loses and then, lets say, he presses [ENTER]. Thanks. Restarting the game is generally done by reseting the values and starting the main loop again in your code, as this varys depending on how you are coding we can not really show you how. One way in your code is to have a game state enum, then in your render loop you would have it render different sections based on the game state. When you need to restart you would just set the game state to game starting or something simular. ...Show All
.NET Development Quick way of determining a date from a string?
Hi all, I have a .NET 1.1 application that needs to be able to very quickly determine if a string is a date. I can not use Exception handling here (i.e. as you would using DateTime.Parse) as it is expensive and there is only a 1% chance that the string will be a date with potentially tens of thousands of strings being checked. Do you guys have any suggestions Regards, Stephen. And the .NET 2.0 version uses DateTime.TryParse(). Watch out for regular expressions, you're not dealing with the current culture, nor with local overrides of the short date/time format. The latter is a breaking issue I'd say. Either upgrade or do it the .NET 1.1 way. Catching Exception is correct by the way, IsDate() shoul ...Show All
Visual C# Refection question
Hello, I am failry new to C# and have a reflection question. I am passing an object to a method and want to determine the type so I can call methods from it. I'm just not really sure how to do it... public static void setStatus( DataPanel panel, object dataSource) { Type claimType = dataSource.GetType(); // call a method on object of claimType } I'm just not sure what the proper syntax is. Thanks, Eric Hi.., you can invoke method using reflection like that. public static void setStatus(DataPanel panel, object dataSource) { // it is not using reflection. You have already get the object instance. Why you want to use reflection. // If you ...Show All
SQL Server Enabling remote errors
Hi, I am accessig reports through report manager. The RS and report manager are installed on same remote machine. i have edited the ConfigurationInfo table in the report server database to set EnableRemoteError to True but still i am gettin the following error when i try to access the reports from my machine through report manager(installed in remote machine) An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'Prague DB'. (rsErrorOpeningConnection) For more information about this error navigate to the report server on the local server machine, or enable remote errors You can set server properties on a report ...Show All
Visual Studio Express Editions VB 2005 - Compositing Operations (C.O.)
Hello Community! I'm quite new in VB (just since November06 ) and I'm looking for a fast way to overlap greyscale bitmaps in VB2005 (i.e. for every pixel R=G=B). I tryed to use the alpha-blending tchnique but it doesn't fit my porpouses (after I perform the C. O. the overlapping region is darkned). I would like the overlapping process to be a lightening process (the resultant color is always at least as light as either of the two costituent colors). In particular overlapping any color with white should produce white. Overlapping any color with black should leave the original color unchanged. I found an interesting program in VB6 that seems to to that http://www.vbaccelerator.com/home/VB/Code/vbMedia/Image_Processing/Compositing/arti ...Show All
.NET Development HttpWebrequest Post
Hello Im trying to upload a file to a https address using the getRequestStream method of the httpWebRequest class. The code appears to work fine and no exceptions are thrown, but the file does not appear to have uploaded to the server. The stream is working as it should. The server requires authentification via a public key, which i have and is installed. I have used the CreateFromCertFile method of the X509Certificate to add the certificate to the WebRequests client certificates. I belive this method extracts the public key from the certificate If I try and call the GetResponse method, an exception is thrown - The remote server returned an error : (401) Unauthorized. The URL is something like https://somesite.com:500/test/tes ...Show All
Visual Studio 2008 (Pre-release) Install Problem - VS 2005
I am having an Orcas install issue I have not seen in the forums yet. At the end of the install there is a step that seems to launch VS.2005 in the background and eventually it crashes and I get the "Relaunch VS.2005 - Send Error to Microsoft" dialog. After that the Orcas install rolls back. I ran the Microsoft .Net 3.0 Uninstaller before attempting the .NET FX RC1 install and have uninstalled / reinstalled VS.2005. .Net FX 3.0 apps do run fine on this machine (Microsoft Max and other programming samples) Any ideas or install switches I can try Adam Hill 1) Administrator - Yes 2) XP SP2, all updates applied according to Windows Update 3) This machine I beleive n ...Show All
.NET Development Calling Win32 API from Assembly Language
How do I call a win32 API function from assembly language Basically I need to call functions from kernel32.dll from assembly language. Win32 APIs are just stdcall C functions , so this is a specific instance of a more general question: how to call a C-function form another DLL w/ stdcall calling convention from assembly. In general, The easiest way to answer "how do i do X" in assembly is to do X in C and then look at the generated assembly from the C compiler under a debugger (in Visual Studio, you can right click and do "Show Disassembly". The exact syntax will depend on your assembler. ...Show All
SQL Server SQL Select
Hi, I've got 2 tables with 2 fields each; Table1 is the master account list with fields: AccNo and AccDescr Table2 is the account balances with fields: AccNo and AccBal If an account has no transactions and no balance it doen't appear in Table2; Table1 is a complete list of all the accounts; I want all the accounts to appear on my report...if there is no balance (doesn't appear on Table2) it should still be on the report with a 0 balance; How can I achieve this Currently only accounts with a balance displays; This is my SQL statement: SELECT Table1.AccDescr, Table2.AccBal FROM Table1 INNER JOIN Table2 ON Table1.AccNo = Table2.AccNo Thanks Hi Adam What you are saying mak ...Show All
SQL Server What happens when the 4 GB database size limit is reached?
Does the user get an error message What error does an application get that tries to insert additional data via ODBC Is there way to find out the size of my database through T-SQL I would like to give my user a warning before the system blowup so they can purchase the full SQL Server. ...Show All
