Bartosz Kowalski's Q&A profile
Visual Studio Team System Steps to connect to TFS
can someone assist me regarding the steps required(in detail) to connect to the TFS through my C# application and get the counts of the workitems like active bugs, resolved bugs.. etc.. thanks in advance ratz interestingly enough, i did not have the team client installed, just VS2005 and the SDK, and i did not have the sdk installed on a machine that had the client! ( waiting for my new machine) :) i know the userid etc is good because i can see the work items from the machine with team explorer. i'll install the client and see. (found a post similar in re work item store requiring the client side bits) arrrrghhhh. it works now. typical microsoft.... i have to look like an idiot in front of every ...Show All
Visual C++ WaitForMultipleObjects doesn't work
Hello Everyone! Function WaitForMultipleObjects Requirements: Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95. But this function doesn't work in WinNT. Why Thanks in advance Vladimir Viorel. wrote: Maybe you should replace this: LARGE_INTEGER check_elapse = {10000}; with this: LARGE_INTEGER check_elapse = {-10000}; Otherwise the second argument of SetWaitableTimer is treated as an absolute time value, which is never reached, since it is in the past (1/1/1601). I hope this helps. LARGE_INTEGER check_elapse = {-1 ...Show All
Smart Device Development Can’t find “sms.dll” file
Hi, I read in this link “http://support.microsoft.com/kb/555578/en-us” that the .NET Compact Framework brings the followings dll. COREDLL.DLL AYGShell.dll – Pocket PC shell functions CommCtrl.dll – Common control lib WinSock.dll – Windows Sockets Phone.dll – High level phone control SMS.dll – SMS messaging API I’m working on VB 2005 whit .NET Compact Framework v2 trying to develop an application that sends SMS but in all the code examples that I could find they call an dll file named ”sms.dll”: <System.Runtime.InteropServices.DllImport( "sms.dll" )> I been searching in the internet, in all the directories of my computer looking for that file. If some body knows were I can find it please le ...Show All
Visual Studio Express Editions How to tell is Capslock is on
Hello Ive noticed that in word, it shows in the statusbar if capslock is off or on. How do i go about doing this also any ideas on scroll lock and num lock Thanks v. much, James so, on your form, whichever input control you wish to have the keydown event implemented (say a textbox) - click on it int the designer view of the form, then go to the properties window and select the event icon (lightning symbol) and double click the keydown event. This will create an event and take you to it in the code. now in the code method of the event, type this: if e.KeyCode = Keys.CapsLock then Me.theLabel.Text = "CapsLock was pressed" e.Handled = true end if ...Show All
SQL Server Averages with multi-select
I am trying to write an MDX calculation that calculates the average policy premium across multiple policies. It works fine when selecting one carrier. However, the avg function is basically based on the count and sum functions (at least that is what I read). When you select one carrier the average is based on the following: Policy A: 2000 Policy B: 1000 Policy C: 3000 Average: 2000 Lets say I multi-select another carrier and the second carrier has the exact same amounts for the policies the total policy amounts would be : Policy A: 4000 Policy B: 2000 Policy C: 6000 Average: 2000 The summation (12000) should be divided by the number of policies * the number of carriers (6). However, I wind up getting 400 ...Show All
Windows Live Developer Forums When are the values (in the reports for instance) considered as stable?
Hi, I was wondering whether there is a delay that I have to take into consideration when I download report from the API to be sure that the values I download are stable. What I mean is: does the msn staff go through the values (clicks for instance) to adjust them (false clicks to be removed...) which can make a report downloaded at 8:00 different from the same report downloaded at 8:30 (if my account is checked during this half hour by the staff) Thanks. That used to be the case, but now the reports are stable once ready. Make sure to specify the AllOrNone flag in order to get the full report (and not partial updates)... HTH, Shai ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with bumpmapping in XNA
I've take sphere from 3ds max and export it via kwX to .X format ( with "export Tangets" and "Export normals" on ). Then i'm using this shader to get a bumpmapped sphere: //--------------------------------------------------------------// // Point light //--------------------------------------------------------------// struct VS_POINT_LIGHT_INPUT { float4 vPos: POSITION; float3 vNormal: NORMAL; float3 vTangent: TANGENT; float3 vBinormal: BINORMAL; float2 vTex0: TEXCOORD0; }; struct VS_POINT_LIGHT_OUTPUT { float4 vPos: POSITION; float2 vTex0: TEXCOORD0; float3 vToLightTS: TEXCOORD1; }; float4 vLightPosition; VS_POINT_LIGHT_OUTPUT PointLightVS( VS_POINT_LIGHT_INPUT ...Show All
.NET Development how to detect internet explorer's event
Sir ,i develope an application for download manager which can download files from internet when user select or click on download for files,& then files download from internet to a PC. So detect an event when user click on download ,& how to find the URL address from internet. So Please give me code in C# ,so i can detect event in my application & i start download a file. You don't need to detect IE's event but there is some setting in the registry which tell the browser that what application to be used as default download manager, You have to change that entry in the Windows registry and then your application is up. For this i would recomend searching google [How to set download manager] with some changes to get right ...Show All
Visual Studio Tools for Office Add Actions Pane to a new Document
Hi, I do know how to add an actions pane to the main document [Globals.ThisDocument.ActionsPane.Controls.Add(editControl)]. But I don't know how to add an actions pane to a document which I open dynamically like this: Word.Document htmlDoc = Globals.ThisDocument.Application.Documents.Open(ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing); When I try to find the actionspane control from the "htmlDoc" variable, I can't see a way to access the ActionsPane property. Can anybody help me out on t ...Show All
Software Development for Windows Vista Creating MAML Compliant Help in Win Vista
In Win XP, I create Help files using HTML files. Then I cab them and run a process which places them in the Windows/PC Health/BATCH folder. Then I can view the files in "Start -> Help & Support". But for Win Vista, there is no PCHealth folder so I am assuming that the Help folder is the equivalent And HTML files are not MAML compliant so how do I get my Help file to run in "Start -> Help & Support" Heard that WebWorks will be releasing a template that is MAML compliant so I can create my files in Framemaker then use the MAML template to generate MAML compliant files But will it be a chm or separate files And if I do not use WebWorks and do not understand XML coding, how do I get my Help file to work ...Show All
Windows Forms MouseHover Event for Form Buttons (help please)
This is my 1st time at using certain MouseEvents,what i'm want to do is this...The buttons i have now the Form and ToolStrip all have a Black BackColor..What i'm looking to do is when the persons mouse "RollsOver" a Button the Background color will change... The over all Effect i'm trying to Achive is similar to the Windows Media Player Beta 11 the button is Black ,but when Rolled over it Lights up!! Can someone help me with this cant seem to find any good example in any of my books to achive this look... Thxs in advance PS: here is some code i'v got to work partly..lol seems the only time the Button lights up Red is when the Mouse touches the very outer right side of the button...Not even the button itself,when i roll the mous ...Show All
.NET Development wininet,winhttp,autoproxy
I am working in vb.net 2003 and cannot for the forseeable future move to net 2005. I really like net and managed code until I have to work with c++ to accomplish some task like determining the proxy server address for a web service application. I realize that wininet and autoproxy routines mimic what internet explorer uses to connect to the internet. I just find it difficult to work with these c++ routines in the vb environment. This is my question. Is there not some way in managed code to ask the Internet Explorer directly what it is using for a proxy server if any Thanks, Fred Hi Fred, If you want, you can call the WinInet API from managed code using PInvoke. The good thing about this is that you can add the PInvo ...Show All
Windows Forms I can't get Timer to work...
I am using a timer in a form to make progress in a progressbar. I want the progressbar to complete in 10 seconds so I sett Maximum to 10000 and Minimum to 0. I init Value to 0 allso. private : System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { this ->smoothProgressBarControl1->Value = 0; this ->myTimer->Interval = 1; this ->myTimer->Enabled = true ; } private : System::Void timer1_Tick(System::Object^ sender, System::EventArgs^ e) { if ( this ->smoothProgressBarControl1->Value < 10000) { this ->smoothProgressBarControl1->Value++; } else { this ->myTimer->Enabled = false ; } } Now there is 1000 miliseconds on 1 second so there should be 1 ...Show All
SQL Server The Device is not ready error when Executing package on the server
Hi, I have a package which reads an XML file from a certain folder and parses it. I deployed my package onto the server. Copied XML files on the D:\ drive the following folder on the server. Dim reader As New Xml.XmlTextReader( "D:\Apps\Request\Clients\ClientsStatus.xml" ) is fine. But Do While (reader.Read()) generates "The Device is not ready" I think it is still trying to read it from my desktop on which I don't have a D drive. Any help is appreciated. I was referring to the SQL Agent Service. The SQL service is running under local system and I had forgotten about the xp_cmdshell credentials, thanks for the reminder! Without m ...Show All
SQL Server Partition with QueryBinding do not appear to be processed
I am still experimenting with partitions. In my current project, when I create a partition with a Query Binding, they do not appear to find any rows, even though I know the SQL does return rows. In the processing dialog, these partitions do not have the number of rows displayed and the processing takes a matter of seconds. Anyone any idea as to what might be happening Or is this some bug Hello. Are you using a view, with row level security, as the source for the partition Regards Thomas Ivarsson ...Show All
