luca90's Q&A profile
Visual Studio Team System Add New Project to Solution under source control
Hello, I have a Solution under Source Control. Since today, when I try to add a new project to the Solution, the solution.sln file is not check-out and the new project does not appear in the pending changes window. Also, I have realized that since today, there is a new option when I click on any Solution file: "Add Solution to Source Control..." when the Solution is already in the Source Control. When I click on it, I get an error message: "The item 'Solution.sln' is already under source control at the selected location. If you are trying to rebind a project that you have already added to source control outside Microsoft Visual Studio, you should use the Change Source Control command. If you are adding this project ...Show All
Software Development for Windows Vista Loopback Adapter on Windows Vista
Hi, all Im using msmq multicast for development (WCF). my application works fine with MS loopback deriver on XP but it doesn't work with Vista. The message i send to queue with multicast addr will appear at all (neither in my queue or dead letter queue). but once i connect to a network, everything is fine. for non-multicast message, it works as usual with both network connected and loopback. anyone has any idea if it is a Vista bug or i missed anything thanks a lot oaix Update: the missing message later appear in dea-letter queue after the timeout. Any input will be appreciate, im getting crazy by this after trying it for past 5 hrs! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem creating a render target.
I'm just having issues because I'm trying to create a render target with a surface format of RGBA5551 is it unsupported With SurfaceFormat.Color it doesn't raise an exception, so I'm guessing it has to do with that. Surface renderTarget = this.graphics.GraphicsDevice.CreateRenderTarget( 1024, 512, SurfaceFormat.Bgra5551, MultiSampleType.FourSamples, 0, true); Am I doing something wrong here do I need to prepare the device first I don't think it's that my vidcard doesn't support it since it's a Geforce 7800GT... Well, any answer would be greatly appreciated. I wasn't trying to render a picture in 16-bit, I was traying to make some calculations ...Show All
Visual Basic Drag & Drop icons from Desktop onto control
Hi all, I have written a menu app which I have to browse for files, to tell it the file name / path. I would like to Drag & Drop icons onto the form / control from the windows desktop. I have a basic understanding on how to drag/drop from 1 control to another (both on the form ofcourse), but when i try to drag an item from the desktop the mouse pointer changes to a circle with a line through it. I am assuming that Vb only lets you drag items from the form onto iteself. Is this correct Code sample would be appreciated. Thanks in advance. Thats great nobugz. Works well. But lastly- How do I get the file path which the shortcut points to I know I could do an IF statement to see if the extension is .LNK to tes ...Show All
Visual Studio Express Editions Example Easy-To-Learn Program Like POS
Hi! I'm a beginner... Can someone show a sample program working with database. My knowledge in working in database are too far for vb 2k5 (I used vb6 and I want to learn vb 2k5). How can i start like connecting database from codes. example SQL. Better if step-by-step like from connectingstring, recordset/dataset, adding, editing, deleting new data and so on and so forth. Thanks in advance! Hope someone can teach beginners like me. best regards Some resources General Learning webcasts with examples http://msdn.microsoft.com/vstudio/express/vb/learning/default.aspx Starter Kits http://msdn.microsoft.com/vstudio/express/vb/starterkit/default.aspx VB Forums http://forums.microsoft.com/MSDN/default.aspx forumgroupid=10&sitei ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Stenciling
I have some mdx 1.1 code that makes use of the stencil buffer. Works great. The Xna version of the code does not perform stencil operations. I'm pretty sure I'm using the correct equivalents, but here goes: Here's the mdx 1.1 PresentParameters: d3dpp.BackBufferWidth = 800; d3dpp.BackBufferHeight = 600; d3dpp.SwapEffect = D3D.SwapEffect.Discard; d3dpp.Windowed = !fullscreen; d3dpp.EnableAutoDepthStencil = true; d3dpp.AutoDepthStencilFormat = D3D.DepthFormat.D24S8; d3dpp.PresentFlag = Microsoft.DirectX.Direct3D.PresentFlag.DiscardDepthStencil; Here's the xna equivalent: this._graphicsComponent = new GraphicsComponent(); this._graphicsComponent.BackBufferFormat = SurfaceFormat.Bgr32; this._graphicsComponent.BackBufferWidth = 800; this._graphi ...Show All
Visual C++ Bug in "Find in files"
When I use "Find in files", not all the files specified are being searched. Specifically, when I search "Entire solution", and file type is * .c;*.cpp;*.cxx;*.cc;*.tli;*.tlh;*.h;*.hpp;*.hxx;*.hh;*.inl;*.rc;*.resx;*.idl;*.asm;*.inc the .asm files in the \Release subfolder are not searched unless they are open in the text editor, with one exception. Bugs should be opened here so it really gets addressed. (People here don't fix bugs.) http://connect.microsoft.com/feedback/default.aspx SiteID=210 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MDX or XNA i don't understand which to use!
I first started MDX programming about a year ago, to create a simple 3D viewer app, after creating the app, I stopped and didn't touch mdx at all since then so i have forgotten quite a bit of it. Anyway I was suprised to find that mdx seems to be phased out and this new XNA thingy is replacing it. Is XNA just for games on xbox360 I am not interested in xbox360 or games programming, only programming 3D visualisation apps for windows pcs. I don't know if I should still learn MDX or learn XNA, i don't want to learn something and just have it phased out again... Any advice would be appreciated. ='( XNA can be used for both PC and 360 game development. It's not really meant for non-game apps, although to a cert ...Show All
Smart Device Development Can not get the e.url in the navigating event in the webbrowser control on PPC 2003
Hi All, It seems that a number of people have not been able to get the url in the " navigating" event when using the webbrowser control. It works fine in the 5.0 devices but not in the 2003 devices. Is there anyway to capture the link event at a lower level such as a "Windows Message or a notification Has anyone have tryed this Is the NM_HOTSPOT event the same not used in the webrowser control but at a lower level. There must be a way to get the URL because it shows up in the " navigated" event so it is stored somewhere. Thanks for any help wshs As you noted, this is supported on WM5 devices, but not on anything earlier. The underlying COM control that we wra ...Show All
Software Development for Windows Vista parallelism in state machine
Is it allowed to transition to multiple states (can a state machine workflow instance be in more than one state at any given point in time ) I just want to make sure. I'm seeing that it's possibly to drag a parallel activity to an event activity, but that this is only a "parallel sequence activity". Thanks. Steve - Unfortunately that is not possible. The very essence of Parallel activity is that the execution will go on simultaneously for 2 branches. There is no preset rule that the left branch's activity will start first and hence it would complete before. From what I see is it possible that you have a sequence execution and for SetState have a If-Else activity. Hope this helps! ...Show All
Visual FoxPro Access to Oracle 10g through Oracle ODBC driver. Problem with 64-bit Windows, with Vista
In WinXP 32-bit, Win2000 32-bit, Win2003 32-bit all OK. In WinXP SP2 64-bit, Win2003R2 SP1 64-bit I can't access to Oracle 10g by hconn = sqlstringconnect('DRIVER={Oracle in OraHome10}; UID=xxx; PWD=xxx; SERVER=ORA10; DBQ=ORA10') return -1 How to connect to Oracle from 64-bit Windows platform Question 2. In Windows Vista (Business, 32-bit) I can connect to Oracle 10g only with administrative privileges. If already exist one connect (with admin privileges) then I can connect to Oracle many times even without admin.priv. Is this errors to Visual Foxpro team ...Show All
Software Development for Windows Vista Vista activation
I installed Vista Busines and activated it succesfully. When doing this Vista was in workgroup. I then joined Vista in our domain. After that Vista said that Vista is not activated. When i tried to activate it, error message (0xc004f039)was returned saying that KMS server was not found. In deed we have no KMS server since we are just testing Vista. Ok i joined Vista back to workgroup and tried to activate...error message was returned saying that DNS name was not found (0x8007232b) . What DNS name..KMS server DNS name or what. I then typed key again and tried to activate..this time i was returned error message saying my key was allready in use. I know that key i was using was KMS/VLK key. What i dont understand is ...Show All
Windows Forms Deploying a C#.NET WinForm Application with SQLSERVER 2005 Express Edition
Hi everybody; I'm developing a small business software for my uncle and it is using SQL Server 2005 Express Edition for database and related services. But i need a solution that deploys both WinApp and SQL Server 2005 database engine (it may be full package) and attach the required database files (mdf and ldf). Is this possible If it's possible how can i achieve it with minimal work If i have some duties i'm ready to handle it but i need a way. Please help me! Well i have'nt looked yet. But does this method helps to attach the database. I have produced lots of setup projects up to now but i only have included the Crystal Reports merge modules. Assume that i set the SQL Server prerequisite true, does the setup system analys ...Show All
Microsoft ISV Community Center Forums Cells
I'm really confused as to why I activate a cell: x = ActiveCell.Row Yet when I try to select that cell: Range (Cells(x, 1)).Select It comes up with an address way out of whack! What am I doing wrong Hi Your code should work, I got an error when I ran it on my machine (probably my typo). I changed the syntax slightly and it works fine. The selected cell always goes to the cell in column A of the current row. My routine is below: Public Sub test() Dim x As Long x = ActiveCell.Row Range("A" & Trim$(Str$(x))).Select End Sub Are you sure that your code does not change the value of x before the range select statement ...Show All
Software Development for Windows Vista Allowing multiple issuers
Is it possible to request multiple issuers In other words, I allow CardSpace to choose any card from a set of known issuers I accept cards issued by Bank A, Bank B and Government C Cheers Matt Cool. This isn't a specific use case I'm looking at, more a thought experiment. My thinking was as a retailer, I could accept InfoCards which support a credit card claim, but obviously only from IPs I have a trust relationship with. So, I'd want to limit my range of acceptable IPs. Cheers Matt ...Show All
