Vistator's Q&A profile
Visual Studio Team System Can only connect VS to Team Foundation Server from server machine
Fresh install, 2 tier server config, one App and one Data. Service pack 1 beta. We have a strange problem regarding VS TFS: When we connect from the local machine using VS/Team Explorer everything works correctly. All functionality is functioning as expected. When we try to connect from another machine, in the same domain, from the same domain account (domain admin) we get the following error when we try to add the server to Visual Studio: TF31002: Unable to connect to this Team Foundation Server: ........ This is with the exact same installation media for the team explorer software, on the local network with the TFS server. When we try to open the web service manually we are presented with it's methods, so that lead us to beli ...Show All
Smart Device Development Retrieving Path of the file
Hi Friends, I am presently using the path like "\\Program Files\\Images\\image001.gif" But If my application get install on memory card, path may get change. How can we know the path programatically. Thanks in Advance, I assume you want to know the startup path of your application in order to create valid paths If that is the case, you can probably used this: System.Reflection. Assembly .GetExecutingAssembly().GetName().CodeBase And then ofc wrap a System.IO. Path .GetDirectoryName(<codebase here>) around it to get the path only. If you use that in the very beginning of your application, it should work. (dont put it in a seperate dll as it probably could be store ...Show All
SQL Server dimension design
In my telco cube, I want to analyze usage. Eg how much sms's a subscriber has sent. The fact table is completely denormalized and has lots of columns with different types of usage. For example, following columns occur: MO_VOI_PEAK MO_VOI_OFFPEAK MO_VOI_WEEK MO_VOI_WEEKEND Now the sum of these fields overlap. Evenings during the week are also offpeak... This is only an example. Different categories occur for different products, like voice, sms, mms and so on. And not all categories apply to all products. Eg, mms does not have the peak and offpeak distinction. Is it possible to put this into one dimension, without aggregating double I have already normalised the fact table, meaning tha ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA - Microsoft lack of vision
Its real sad that Microsoft, once again, shows this lack of vision for a games development tool: 1: Get visual: Don't force users to write such a lot of code to do just very little. It reminds the Charles Petzold's "Hello Window" hell of code days. 2: Provide visual tools: Let users choose the components, change their properties and write just the required code for the events. 3: Quick development means quick prototype and minimum learning curve. XNA has a lot of things to learn. Definetively it is NOT for students and hobbists. We will have to wait until someone encapsulates XNA framework into a group of visual components, that can be easily drag & dropped, inspected and tested very easily without having to learn lots of n ...Show All
SQL Server changing merge agent profile for HTTPS - mergeSubscriberType = anonymous
Hi We are using HTTPS merge replication Our setup is as follows: subscription.CreateSyncAgentByDefault = False -- I wrote a windows service to synchronise subscription. UseWebSynchronization = True subscription.InternetSecurityMode = AuthenticationMethod.BasicAuthentication subscription.SubscriberType = MergeSubscriberType.Anonymous Some of our subscribers have low-quality internet connections - how do I get the agent at the publisher/distributer use a slower profile - I've read How to: Work with Replication Agent Profiles ( Replication Transact-SQL Programming) but can't see where you specifiy an alternate agent profile On the distributer / publisher (same machine) I go to replication monitor -> Warnings and ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creator's Club Licensing Query
If I get a Creator's Club subscription on a 360 under my gamertag, and then log it onto a different 360, will I still be able to use it on the second 360 I know that this would work for arcade games and whatever (you get a license for the 360 you bought it on, and for the gamertag that purchased it), but I can't find any proper confirmation either way about CC subscriptions in the FAQs, and only conflicting stuff in the forums, so any help would be nice. Thanks, David. That would be great it would allow you to demo your product anywhere or play your creations at a friends house! ...Show All
Visual Studio Express Editions Adding datatable to dataset
Hey to one and all I made procedure in VS express to create tables in my access 2003 database. With the help of the dataset wizard, i made a dataset call "Customer_Dataset". The tables i created in my access 2003 database, i would like to add these to "customer_Dataset" without using the wizard. I tried doing the following programmatically.. Dim ordersTable As DataTable = Customer_Dataset.Tables.Add( "Orders" ) Dim pkOrderID As DataColumn = ordersTable.Columns.Add( _ "OrderID" , Type.GetType( "System.Int32" )) ordersTable.Columns.Add( "OrderQuantity" , Type.GetType( "System.Int32" )) ordersTable.Columns.Add( "CompanyName" , Type.Ge ...Show All
Visual C++ fopen_s returns EACCES ?!
As part of porting a project from VS6 to VS8, all calls to fopen were replaced (by a different team member) to fopen_s. The old call is sfile = fopen(LPCTSTR(FileName), "w" ), and works fine. The new call is fopen_s(&sfile, LPCTSTR(FileName), "w" ), and it returns EACCES (permission denied) Executed on Windows XP SP2, on which the file was created and is manipulated using the same account at all times. Any clue as to what's going on here and how to solve it Thanks in advance, me. OK, the problem was one routine fopen_s'ed the file without closing it, and the next routine tried to fopen_s it again. With old-style fopen there was no problem on either VS6 or VS8. ...Show All
Visual Basic Raster Image Formats
does anyone know how to access an image in a " Raster Image Formats" and display it in a picture box in .net 2.0 I found out last night that the format was LEAD Raster image. Downloaded thier .Net control for eval and it worked, just trying to convice my boss of the value of the tool. Matt ...Show All
Windows Forms Disabling TextBox fires Leave event
Hi, i have a winform designed using Visual Studio 2005 Express Edition. There is one textBox with Leave event for validation purpose. When i programmatically disable the textBox, the textBox's Leave event is fired which is very surprising and not desirable. However, when the textBox is enabled programmatically, the textBox's Leave event isn't fired. Why does textBox's Leave is fired on disabling this control and is there a way to make these two independant Thanks, -srinivas yelamanchili The levae event is firing beacuse when you click on the button ,it tries to get focus which will be currently on the text box.as a result the system fires WM_KILLFOCUS message as per which the text box loses its focus.Tha ...Show All
Visual C# Using the 'New' operator, and 'This' keyword.
Ok I know how to use 'New' to instantiate a class. Which would look something like this: Class1 result = new Class1(); But there is another form that I don't understand: this.btnClose = new System.Windows.Forms.Button(); What's going on here, is this an assignment or a call I can't tell, and if it is an assignment what is being assigned Also what exactly does 'this' keyword do In practice, "this.btnClose" and "btnClose" will often be interchangable, but strictly speaking they are not equivalent. Consider: public class Foo { string alpha; public void Bar() { string alpha; & ...Show All
SQL Server Trace flag 8679 -- is it needed under SQL Server 2005?
Using SQL Server 2000 std. edition, I was bitten by the bug described in KBs 818671 and 289149. Query optimizer using Hash Match Team operators would sometimes fail. I added -T8679 at SQL Server startup. Now that I'm upgrading to SQL Server 2005, is this trace flag still required I see that "this was fixed in SQL 2000, SP1." However, I would like a more precise confirmation that this flag is no longer needed in SQL 2005. Sometimes, no news is not necessarily good news. The error is intermittent, and at least partially dependent on data conditions not available to me for exhaustive regression testing (or else of course I would do that). Any info, comments, etc. ... would be welcome. Thanks ... Tracy Slack ...Show All
Smart Device Development is CameraCaptureDialog only for wm5?
how about mobile 2003 I want to make my application available for capture picture from the camera Yes, WM 5.0 only. On pre WM 5.0 devices you'd need to use camera SDK from particular camera manufacturer. If it’s not available then it is not possible to use that camera. Please contact camera manufacturer for info. ...Show All
Visual Studio Call Exe within .proj file/ MSBuild
Hi, How can I call an exe from MSBuild or How do we include an exe call within MSBuild I'm new to this.. Please help me... :( ...Show All
SQL Server Mirroring problem between pcs in different location (Witness Issue)
I am facing this problem here. Well , I did setup mirroring in LAN successfully (using certificates). Then I try to implement the same method for WAN. Here's the info : Principal : location A (111.222.333.444,1234:5022) Mirror : location B (444.555.666.777:5022) Witness : location A (111.222.333.444,5678:5022) For the mirror side, I didn't put any firewall settings at all; and both principal n witness , i did open the specific port for mirroring endpoint n sql. However, when I start mirroring , it shows 'The server network address "TCP://444.555.666:5022" can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational. (Microsoft SQL Se ...Show All
