nobs411's Q&A profile
Visual Studio Team System Exception while gettign workitemstore
Hi, I am trying to get a ref to the WorkItemStore & I get the following exception. I am running my code from a box that runs on Windows Server 2003. This was working fine on the server yesterday & is still working fine on my dev box (winXP prof).. Could anyone please tell me what the problem might be. Thanks in advance & Much Regards, Ramya NetworkCredential sourceCredentials = new NetworkCredential (sourceUsername,sourcePassword, sourceDomain); TeamFoundationServer sourceServer = new TeamFoundationServer (sourceTFS, sourceCredentials); WorkItemStore store = ( WorkItemStore )sourceServer.GetService( typeof ( WorkItemStore )); --> I am getting an exception at this line on ...Show All
Visual Studio Express Editions Keycodes I should know?
What are the keycodes I should know if I'm using SetWindowsHookEx, GetAsyncKeyState, etc. in my form to detect keys I know some already like: Private Const HC_ACTION As Integer = 0 Private Const LLKHF_EXTENDED As Integer = &H1 Private Const LLKHF_INJECTED As Integer = &H10 Private Const LLKHF_ALTDOWN As Integer = &H20 Private Const LLKHF_UP As Integer = &H80 ' Virtual Keys Public Const VK_TAB = &H9 Public Const VK_CONTROL = &H11 Public Const VK_ESCAPE = &H1B Public Const VK_DELETE = &H2E All of the key codes are available to you through the System . Windows . Forms . Keys enumeration Keys.A, Keys.ControlKey, Keys.Tab... ...Show All
SharePoint Products and Technologies Is Skin managed by wss ?
Hi, Do you know how I can add a masterpage with Skin I don't understand how you do that. Thanks, Julien Masterpages are the skins. You can upload new ones into the Master Page Gallery to make them available for use. You can use a utility like this one on CodePlex to allow you to switch between the master pages. Hope that helps. If you are using MOSS, the MasterPage Switcher is built in... If you are using WSS3.0, you have to resort to the solution listed above. Hope that helps ! ...Show All
Visual Studio 2008 (Pre-release) Multiple certificates problem
Hi, I need to be able to use different certificates on the client and server (similar to the example: How To: Use Separate X.509 Certificates for Signing and Encryption) but the problem is I need access to the certificates that were sent from the client on the server to deteremine which certificates I need to use on the response from the server to the client. In WSE, I used a custom policy assertion and it was straight forward, can this be done in WCF Note I've tried implementing the "How To: Use Separate.." example and haven't had much luck with getting it to work even though this isn't quite what I need. When I try connecting to the server from the client it just timeouts and fails with no errors in the logs. Thanks, Mark ...Show All
SQL Server parameters
Hello, i am new to ssrs and am trying to generate a report with 4 parameters. 2 of which are dates. The other 2 are drop downlists. Now the report works fine when i enter all 4 parameters. But in some cases i want to leave one of the parameters unentered . It doesnt all me to do that. Gives a error saying i need to enter the parameter. How do u get aroud this issue I have seperate dataset for this parameters list and am using a where clause in my main query. Can anyone please help me out with this Thx Ashish The only thing you should have to do is define a valid Default value in the parameter setup in Design view of the report. If you still have the problem after saving and redeploying the report, you may want t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3DERR_OUTOFVIDEOMEMORY
My development system has a video card with 64Mb of memory, and everything works fine. Another machine has a newer video card with 128Mb and works in full screen mode, but throws D3DERR_OUTOFVIDEOMEMORY when I switch to windowed mode. This happens in the function Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters). 1) Why would I get that error with a video card that has twice as much memory 2) All my objects are created with Pool.Managed (or MeshFlags.Managed). Doesn't that mean DirectX should manage the video memory to prevent this Any ideas would be greatly appreciated. Thank you, Jeremy Spiller http://gosub.com The exception was thro ...Show All
Windows Search Technologies WDS 3.0 and MS Outlook
I just reinstalled my computer and unfortunatly before i installed WDS i didn't install MS Outlook and now i don't have that need "search toolbar" up there with my other toolbars. Now i was wondering if it is possible to have that done manualy Please help if you can! Are you running Outlook 2003 w/ Live Toolbar installed If you do, click on Toolbar's options from your IE and go to Install button. ...Show All
Smart Device Development Specifying the network interface on a per socket basis, anyone know how?
Hi, Im currently writing an app that can connect to servers via wifi or gprs (2 separate servers) and my problem is that whenever the connection to the server is lost via wifi, when its able to reconnect to that server via wifi it cant as it trys to connect to the IP Address of the server thats on wifi via gprs. Is there a way to specify what network each individual socket connects over As I understand ConnMgrMapConRef(), it can be used to make all connections connect via a specific interface so I cant use that as I need to maintain connections on both networks. Any help would be appreciated Tim Connection Manager (CM) in WM supports only one active connection request (CR) per process. So, al ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Drastic FPS fall,when rendering QUAD
Hello guys, I've been working on my 3D directx game for a while and I've recently added QUAD(ship cockpit), inversly transformed to VIEW, so its like GUI. However, I am encountering big fall FPS - well normally my time delay between frames is 17 ms, but when I render quad it jumps to 50 'ms'. What's strange is that rendering tha quad + needed preRender+postRender takes just 6 'us'. So why is there 5000x longer delay. Moreover, I've noticed that I can bypass time delay increase by rendering quad without being scaled and transformed to [0,0,1]=> (further to the front) position - there is no TIME INCREASE...but then the "cockpit image" takes just 30% of the screen and so it is not very realistic. Some info about the imag ...Show All
Visual C++ VS2005 3rd Party library woes... and solutions!
I have been researching forums about the problems of linking to old 3rd party libraries in VS2005. We are migrating to VS2005 at the moment, and are facing all of these issues. It seems to me to be a big oversight on behalf of Microsoft to leave what must be many, many people stranded with this problem. However, I'm interested more in finding solutions. Looking into the forums, people are coming up with all kinds of suggestions mixing libraries, defining symbols etc... it all looks a little unstable to me. I'd like to list a couple of ideas here and have some input from you as to how practical / stable they actually are: (1) Regarding the mixed mode dlls that we have compiled with VS 2003 that use these 3rd party libraries, compiled for .N ...Show All
Visual Studio Express Editions Showing "1 000" instead of "1000" in textbox.
OIkai, this might be very simple, but I have a textbox with "1000000" in it. And I want it to be shown as "1 000 000". There must be a way to get the data out and change it, and then put it back in the textbox again. Anyone know how And question 2, I found a old vb6 code: If KeyAscii > 26 Then If InStr("0123456789", Chr(KeyAscii)) = 0 Then KeyAscii = 0 Its for making a texbox accept numbers only, but it keeps giving me error on KeyAscii. How can I make it work in vb exp Bit tricky to do it in a line but the following works: Dim S1 As String = TextBox1.Text Dim S2 As String Dim X As Integer = S1.Length Mod 3 S2 = S1.Substring(0, X) For count As Integer = X To S1.Length - 1 Step 3 S2 = S2 & " ...Show All
Visual Studio 2008 (Pre-release) Disabling Design View in Visual Studio 2005
Does anyone know of a way to disable the design view just for XAML in Visual Studio '05 Thanks, Victor ...Show All
Visual Studio Tools for Office Excel: The customization does not have the required permissions to execute
getting this error: The customization does not have the required permissions to execute. ************** Exception Text ************** System.Security.SecurityException: The customization does not have the required permissions to execute. at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.HandleOnlineOffline(Exception e, String basePath, String filePath) at Does Temporary Internet Files qualify as a Trusted Zone I ask because users often open the XLS file from outlook by double-clicking the attachment. in that case it opens them from the IE Cache. Is there a way to check what are the security restrictions on that The user workstation has this type of security policy change run. It enables me to open ...Show All
Visual Studio Tools for Office Office 2007 add-in problem
I have installed VSTO 2005 and also Office 2007. However, I cant find the Microsoft.Interop dll files when I am trying to develop my own customized ribbon. After searching in the web, I get to know about the Office 2007 PIA, so I download and double click to install it. However, the things still remain the same after installation progress... So, anyone has any ideas about the solution and my problem Please guide me ... thank you. oh....thanks a lot for the fast reply... I saw the options in the COM tab... btw, may I know the difference between .Net and COM tab... I am still a beginner in using VS, so hope someone can provide me some answer.. thank you :) ...Show All
SQL Server Installing SQL Server 2005 on Windows VISTA ULTIMATE
Hi, Trying to install SQL Server 2005 on Windows VISTA Ultimate, received following error: - SQL Server Edition Operating System Compatibility (Warning) Messages SQL Server Edition Operating System Compatibility Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online. Please help. Right...but for SP2 it should allow me to install SQL Serevr2005 1st. It's giving me the warning and on moving ahead it's not giving me option to installing SQL Components (SQL Server, Analisys Server, Reporting Services etc.)...what I am getting is just to install Nativ ...Show All
