Adrien Regimbald's Q&A profile
.NET Development not quite sure what .NET technology to use for this
I have been tasked with developing a system similar to trading software that is used by brokers to bid and sell stocks. I have never developed a .NET application so this is to be my first. I have over 3years of programming though, so concepts are not that hard to grasp. I have read on web services, gone through a bit on threading and am not quite sure if it should be client server based. I have chosen c# as a language of choice. In brief, there are people in a room, each on a computer, bidding and selling for certain things. none of those people can see whats going on on the other's computer but each can choose to buy whats on offer, sell what they have or bid for something on sale. I think it is a typical in a stock trading floor. Its not ...Show All
Visual Studio Express Editions Unusual install question
I was wandering what I would have to do to beable to put the main folder (C:\Program Files\Microsoft Visual Studio 8) on a removable drive and beable to use it on another computer without actually installing it so it doesnt show in the installed programs list in control panel/add and remove programs. Wow! I figured out how to do what i wanted to do, that is; "Run VBE without it being installed on the host computer". I had the whole C:\Program Files\Microsoft Visual Studio 8\ directory on my flash drive, I use to have VBE installed on this computer but uninstalled it, I looking through the files in the MVS8 folder and ran the vbsetup.msi in this directo ...Show All
SQL Server Applying SP4 on an active/passive 2 way cluster
I have a 2 way cluster and I want to apply SP4 on it. Basically, I have 2 servers. Server A runs a default instance and another instance. While the default services is disabled and the other instance is running, Server B runs the default instance and has the other instance disabled. This basically acts like a 2 way cluster (active/passive). How can I apply SQL Server 2000 SP4 on the 2 servers and have all the nodes come up the correct way What are the steps to achieve this ...Show All
Windows Forms C# Respond to Windows Shutdown
I have a C# app that primeraly displays an icon in the system tray. The main form doesn't close but only get hidden when the close button is pressed. To shut down the app the user must right click the system tray icon and select exit from the popup menu. Everything works fine except when I got to shutdown windows and this app is running it doesn't respond to the system shutdown and remains running forcing windows to stay running. How can I have the app responde to the system shutdown message and close so windows can shut down properly Excellent Patrick! Thanks for the info! It also might be worth mentioning that the FormClosingEvent (along with FormClosingHandler and FormClosing ...Show All
SQL Server Service Pack 1 for Express Edition with Advanced Services?
Will Microsoft SQL Server 2005 Express Edition Service Pack 1 work with Microsoft SQL Server 2005 Express Edition with Advanced Services or is there going to be another version of Service Pack 1 Hi, SP1 is slipstreamed within the products.Make sure you move your database to the SP1 with Advanced Services, this can be download from here: http://msdn.microsoft.com/vstudio/express/sql/download/ HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server CY and LY comparison
Hopefully an easy one: I would like to get a CY comparison vs. a LY comparison of sales between offices. The problem I am running into is the performance of the query. When I try below, it works, but it is painfully slow (I believe the SUM is what is killing it): With Member [Measures].[CY Sales] as Sum (( [Org].[Reg - Pctr - Office]. CurrentMember , [Calendar].[Date].&[20061101] : [Calendar].[Date].&[20070220] ) , [Measures].[Sales] ) Member [Measures].[LY Sales] as Sum (( [Org].[Reg - Pctr - Office]. CurrentMember , [Calendar].[Date].&[20061101]. Lag (52 * 7) : [Calendar].[Date].&[20070220]. Lag (52 * 7) ) , [Measures].[Sales] ) Select { [Measures].[CY Sales] ,[Measures].[LY Sales] } o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Terrain Options
Hi Whats better for implement terrain -Use the content pipeline for load then .x file with the terrain or -implement de class for convert the pixels of .raw file in vertex with the height (y axi) dependent of de gray color I have problem whit the first option becose a can't extract the vertexs of vertexbuffer becose the vertexbuffer is WriteOnly What I can do thank's " If you are willing to restrict yourself to high end graphics cards, you can use shader 3.0 to render terrain directly from a heightfield texture entirely on the GPU (requires a shader 3.0 card, such as the very latest PC boards, or of course Xbox)." Thats sounds interesting, do you have any details, exampl ...Show All
Visual C++ Managed C++ Copy Constructor
I am porting managed C++ 2003 to managed C++ 2005. I have a copy contructor that is not building... error C3699: '&' : cannot use this indirection on type '...' public ref class App {... App( const App&); // C3699 ...}; Anyone know how to declare a copy constructor under managed C++ I would put the hat (^) as suggested in the message, but then according to C++ it will not be a copy constructor and therefore one will not be present and the compiler will/may generate one (if this were ISO C++). FYI... In this case I'm not actually using it. I've declared it private and did not implement it so as to prevent others from calling it unintentionally. As I port, I may see examples where I do need a copy constructo ...Show All
SQL Server JDBC Driver setMaxRows documentation error
The javadoc for statement.setMaxRows(maxROWS) reads: "Sets the limit for the maximum number of rows that any ResultSet object can contain to the given number. If the limit is exceeded, the excess rows are silently dropped. " In fact, it seems that the driver calls set rowcount MAXROWS on the connection. While this superficially will work, if your query manipulates records sets that exceed MAXROWS, the subqueries will also be limited in their size. And this is not what you expect. The javadocs suggest that it is only the result that is truncated. Silently. It seems that setFetchSize is more appropriate. I am using a relatively recent jar (248KB). I hope that somebody finds this useful and that the development team will adjust ...Show All
SQL Server Users cannot view reports that I (=creator) can
Hello colleagues, I am trying to create some reports in VS.NET for our Microsoft CRM3.0. I am using a SQL query like this: SELECT CRMAF_Account.Name, CRMAF_Account.primarycontactidName, CRMAF_Account.address1_line1, CRMAF_Account.address1_line2, CRMAF_Account.address1_city, ActivityPointer.scheduledstart, ActivityPointer.subject, ActivityPointer.description FROM ActivityPointer, FilteredAccount CRMAF_Account INNER JOIN FilteredSystemUser FSU ON CRMAF_Account.ownerid = FSU.systemuserid WHERE ActivityPointer.regardingobjectid = CRMAF_Account.accountID AND FSU.Domainname = SYSTEM_USER ORDER BY Datum DESC When I run this query, I get the desired result (I am the database dbo), but when any user tries doing the same, they get an err ...Show All
Visual Basic Using .CSV files, the DataGrid control and the Open Dialog Box
First thing is I want to use a box that gives me a file browsing dialog box similar to other programs if you went to say, File - Open then attach the selected to a varriable. I also want to restrict the file being chosen to .CSVs only. Next thing is being able to parse the data from a .CSV and put it into a DataGrid. There are some exceptions to this though. As an example, here are the first two lines of one of the CSV files I need it for: calldate,callsessiontype,calltype,callsource,calldestination,callanswered,callended 11/15/2006 8:47,Inbound PSTN,inbound,3153787XXX,3158491XXX,11/15/2006 8:47,11/15/2006 8:47 The first part is that I need the entire first line skipped. I need the date which would be cell 1, skip three fields, us ...Show All
Software Development for Windows Vista windows vista
i would like to install an application as standard user, windows vista does not allow me to that . it ask admin approval. is it possible to give a standard user installation rights in windows vista. thanks This appears to be a duplicate question. See my new response in your original thread. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1184394&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) Error calling web service from xbap; works from standalone
I have a web service that works fine from a standalone xaml app. Now I'm trying to call it from an xbap, but I get a n exception Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. from what I've found so far, an xbap can't call to any site other than its original site. My web service is running on my machine (localhost). However, my xbap running in debug in the browser references the xbap in the file system, not through localhost. Could this be the problem If so, how do I get my xbap to run via IIS instead of the filesystem Take a look at this thread . The -DebugSecurityZoneURL may be helpful to induce VS in ...Show All
.NET Development WSE 2 KerberosToken Windows 2003
I did a small Web application in a windows server 2003, for calling a web services with KerberosToken (in the same server). When I try invoke the Web Service, I receive the follow exception. [SecurityException: The Kerberos ticket could not be retrieved. The RetrieveKerbTicket call failed with the following message: A device attached to the system is not functioning. .] Microsoft.Web.Services2.Security.Tokens.Kerberos.LsaClientContext.ExtractTicketInfo(String targetPrincipalName) Microsoft.Web.Services2.Security.Tokens.Kerberos.LsaClientContext..ctor(String targetPrincipalName) Microsoft.Web.Services2.Security.Tokens.KerberosToken..ctor(String targetPrincipal) Weg.Applications.Abc.Controller.Proxy.CreateProxy() in If I try again ...Show All
Visual C++ How can i call the COM Dll from my vc++ project?
Hi all, How can i call the com based dll file to my vc++ MFC project. And i am having one com based DLL,which is only the dll file(like eg. comgs.dll) there is no .h file and .lib file then how can i use it. Please send any cleared article URL. Thankx in Advance.... Currently i am using Microsoft Visual studio 2005. How can i Add Reference on Solution explorer How can i use COM Object in Vc++ or Vc++.NET ...Show All
