Alex Foygel's Q&A profile
Architecture SOA Data Aggregation Best Practices
I'm just starting to think about implementing a SOA in my organisation and have a particular query/problem I was wondering if people had any experiences or best practices with, relating to combining data from different services... For example: Say I have a service which retrieves customer information such as GetCustomerInfo. I call this service passing in an id, and it will return various customer properties such as Name, OpenedData, Status etc which I could then map to a .NET class with public properties for use in my application. I now design a new line-of-business app to store customer referrals. This app will obviously have its own database schema, and as part of this needs to store the customer being referred. In the past, I would pro ...Show All
.NET Development VS 2003 in 64 bits server
Please, somebody can help me ... i get this error when i try to view a crystal report (VS 2003 web app) in 64 bits server Invalid export DLL or export format. Thanks, VS 2003 is a 32bit application you need to enable 32 bit on IIS for it to work. cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1 ...Show All
SQL Server Problems with Roles and sp_helpRoleMember
I have a database role named gc_stationAdmin. I have a user x who has this role granted him when via Mgmt Studio under Logins. In fact I have 50+ users who have this role. 1) when I execute sp_helpRoleMember I see only 20 users who have this role when I'm expecting to see 50 and user X is not amongst the 20 2) when sp_helpRoleMember is executed AS user X, they only see 1 user with this role (and it's not himself) 3) when I drop user X from Role using sp_dropRoleMember OR using Mgmt Studio under Login Properties, it never drops him according to Mgmt Studio. When I pull up the login properties, that role is still always checked no matter what I do...although he doesn't appear in the sp_helpRoleMember result ever. What is goi ...Show All
Windows Live Developer Forums This space is temporarily unavailable. Please try again later.
I would like to change my permission to public, but it is unavailable for 3 days~~ =.=,I can setting everythings,spaces,blog etc except the 'permissions' sent email to Microsoft support team but no reply i've already given up on Microsoft...i have a feeling they're blocking certain spaces intentionally...ah well, i can practice my freedom of speech elsewhere...the hell with MSN or shall i say GWB! ...Show All
Visual Studio Tools for Office VSTO and AVG...HEEELP!
Hi, today I've installed the AVG antivirus...I knew that it used to install a plugin for Outlook, but I choosed to not install it... However...my plugin stopped to work! And I've no idea why!! I tried to disable the Personal Email Scanner, reinstall the plugin, anything, ANYTHING...nothing works anymore :((((((( None of my Outlook plugins works...has anyone experienced something like that ! ! Has anyone solved it! ! ! Please, I cannot work anymore without my plugin...even starting it through VS doesn't work! I've already written top the AVG forum, but I'm hoping to find here anyone with my same experience...and maybe someone who has solved this problem :(((((((((( Thank you LastHope This is the post I wrote in their forum: http://for ...Show All
Visual C++ How to restore old source file
I've modified the source file a lot, as VS save the source file automatically when compiling, how can I restore the original source file pressing undo button to rollback all previous typing is not fun. Thanks. VS 2005 Professional comes with Visual SourceSafe. You can install that and will find a new Source Control submenu in the File menu. You can then add your projects to a source safe database. Now you must checkout files before you use them and when you check them in again, SourceSafe will keep a history. So you could rollback to all previously checked in versions. -- SvenC ...Show All
SQL Server How to get Business Intelligence Development Studio
Hi recently I heard the term Business Intelligence Development Studio . Can anybody tell use of this and how to get this. I need to transfer data from ODBC to SQL Server which is of 10GB size. Currently I'm using INSERTS for each row of ODBC. Is there any other way to transfer data except using SQL Bulk copy. Since my boss is asking me to use multiple threads for tranforming data. Thanks in advance. Thanks Jamie I've SQL Server 2005 Can I build custom applications in .NET(C#) for transfering data from legacy system to SQL Server. I f so can u give me the guildlines please. Can I use multiple threads at a time. Thank you ...Show All
Visual C# Error in assigining value
I am getting the following error in trying to run this code: Object cannot be cast from DBNull to other types prod_vol is a DOUBLE foreach ( DataRow drRow in DS_DocLines.Tables[0].Rows) { double prodVol = c onvert .ToDouble(drRow[ "prod_vol" ]); //additional code } Any help would be appreciated. Jerry you may wish to check for the DBNull value before proceeding to get the value: foreach ( DataRow drRow in DS_DocLines.Tables[0].Rows) { if (drRow["prod_vol"] != DBNull.Value) { double prodVol = c onvert .ToDouble(drRow[ "prod_vol" ]); //additional code } } ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using the mouse to scroll a map
My application uses a 3D strategic map mesh filling the form. Of course I want it to scroll continuously in the direction that the user chooses when he or she moves the mouse to the edge of the form. Currently I'm using the mouse move event, but this means the mouse has to actually be moving to fire, which is not satisfactory. I'm wondering if anyone has any advice on the most efficient method to achieve this. I'm thinking about creating a timer to check the mouse position periodically, and if it's at the edge to start scrolling, but since this must be a common game programming issue (despite not being able to find anything particularly germane myself after searching this morning), I thought I would raise it here. Another alternative I' ...Show All
Visual C# The 'Greater' Operator.
Been contemplating moving from VB.NET to C# for a while now, and I felt it was time. This is really a minor question, but yet still important enough to stall my work..please if anyone would be so kind as to tell me how I would use the 'greater' operator in order to find out if a string is greater or smaller than the specified size/length/text. I presumed at first that this should work, but soon found out otherwise... if (Textbox1.Text > "") Thanks a bunch for any help. Oooops.. I just tried it. I was wrong. I get this error.. Operator '>' cannot be applied to operands of type 'string' and 'string' Which is very odd since I'me certain that I've done that before. Oh well, This form ...Show All
.NET Development how to determine if the connection was closed remotely
Hey, I'm currently writing a HTTP proxy in C# and I'm facing serious problems with .NET's Socket class. All the communication stuff works fine, the browser loads the webpages through the proxy, but when I check my open connections with netstat I see all the connections I opened with the proxy in the state CLOSE_WAIT. So I tried to sniff the traffic and came to the conclusion that the server sends the FIN/ACK and the clients acknowledges it but it doesn't send its FIN/ACK back (which results in the above mentioned state). So I did really a lot of googling, searched this forum and tried out a punch of things. As far as I understand it, the client sends its FIN/ACK when I close the socket. But how should I determine when to do this The .NET f ...Show All
Visual Studio 2008 (Pre-release) Set the Page "Window Height and Width" to Maximize
how do i set the Page's Window Height and Width to Maximize on a Click Event right now when i click on a Button set to Page2. Page2 shows up but its resizing the entire program,window1's windowstate is set to Maximize. After i click the Maximize button twice it will finally maximize the entire program. I have the Frame's Margin at 0,0,0,0 right under the main Docuement Root,so everything on Page2 hides window1. I have a Frame inside Window1 that Navigates too Page2.xaml by a Button Click here is the Code i am using to navigate to Page2 from Window1:: Page2 pg2 = new Page2(); void ConfigButtonClick(object sender, RoutedEventArgs e) &n ...Show All
Visual Studio Setting the 'Support Version' in Add/Remove programs with MSBuild Publish target
Hi, We are using one click publishing and publish our application using MSBuild as below:- < msbuild project = " ${CCNetWorkingDirectory}\Programmer\Programmer.csproj " verbosity = " Normal " target = " Publish " > < property name = " Configuration " value = " ${project.config} " /> < property name = " PublishDir " value = " ${project.publish}\ " /> <!-- <property name="AssemblyOriginatorKeyFile" value="WindowsApplication3.snk" /> --> < property name = " PublishUrl " value = http://somewhere /> <!-- The IDE publishes to this location. It is inserted into the ClickOnce application manifest if neither the InstallUrl or UpdateUrl property is spec ...Show All
Visual Studio Problem using IVsTextManager::EnumViews
Hi. I'm trying to enumerate existing views in VS2005 using IVsTextManager::EnumViews (managed code, if it matters), but it always returns -2147467263 (ArgumentException: Value does not fall within the expected range) no matter where I call it from (and regardless of whether there are any open documents or not). I'm already handling IVsTextManagerEvents::OnRegisterView, but I need to find out about existing documents (ones that were registered before my listener is started). I'm passing null for the buffer argument (docs say that's ok), but I've also tried enumerating buffers using IVsTextManager::EnumBuffers with exactly the same result (-2147467263). Am I doing something stupid Any suggestions would be appreciated. Thank ...Show All
Visual J# Help please, the assembly does generate errors but it does'nt work.
This is the problem of every person in Visual J# 2005, Delegat and Invoke, from what I've seen in the forum please help me I've tried every single way,I only want to manipulate the serial port. // vjc_properties.jsl // compile with: /reference:System.Windows.Forms.dll package WindowsApplication1; import System.Collections.Generic.*; import System.Data.*; import System.Drawing.*; import System.ComponentModel.*; import System.Windows.Forms.*; /** * Summary description for Form1. */ public class Form1 extends System.Windows.Forms. Form { private Button button1 ; private Button button2; public System .IO.Ports. SerialPort serialPort1; public Label label ...Show All
