getyourbone's Q&A profile
Visual C++ warning LNK4078
Hello, We recently ported a huge MFC app of ours from VS6 tot VS.Net 2003. Which, aside from a few hickups, went quite fine! In Debug build, everyting builds without any errors/warnings. But in Release build, each project (there are about 7) links with a lot of linker warnings: LINK : warning LNK4078: multiple '.data' sections found with different attributes (60000020) LINK : warning LNK4078: multiple '.data' sections found with different attributes (60000020) ... I googled for the warning, but this only brought me to some issues with VS6... Has anybody had this warning in VS7 How do I get rid of it Thanks in advance! Fretje ...Show All
Visual C# Help! How to write 'get''set' property for an array of structs?
Hi, i'm hoping somebody can help me out with this problem which has got me stumped (still new to C#) In my console application, ive created a class called Map which contains an array of structs. To access this array from the main class which contains main(), i attempted to write 'get/set properties' for the array, but it seems to have gone horribly wrong ==================================================================== Here is the struct: struct positionStruct { public string location; public int coordinateX; public int coordinateY; public int coordinateZ; } ========================================================= ...Show All
Visual Studio Team System Updating Assembly Version Information
Hello, I am looking for a way to automatically update the version information for all projects in a TFS Build. I have downloaded the AssemblyInfoTask from GotDotNet to take a look at it. Although it works fine for local builds I'm not sure how to use it with TeamBuild - or if it can even be used with TeamBuild. Since the AssemblyInfo.vb (or .cs) file has to be checked out first I'm not sure how to implement this in a TeamBuild script. Has anyone had any success with getting this custom task (or any other task for that matter) to update assembly version information in TeamBuild --- Thanks, Jeff O ...Show All
Windows Forms checked treeview question
Hello! I created a CheckedTreeView. It has several categories, but only the nodes at the lowest should have a checkbox. all the parent-items should just show a symbol. Is this possible Well, ok. It shows images. But also the Checkbox next to each item. Have I done anything wrong ...Show All
Visual Studio Team System Trial Edition & Source Control
I received my trial edition today and am about to install it, and I've put the system on the projected budget for next year. But, I'm concerned about what happens if my employer doesn't cough up the big bucks to buy the thing. Particularly the code that is saved in the source control portion. Will it be available when the trial expires Can I get it out easily Thanks for your time. If you are using the 180-day trial edition, you'd no longer be able to get history, checkin, checkout, etc. You would still have the latest copy of the files on your disk. Buck ...Show All
SQL Server Management Studio Express CTP regular express replace bug?
Open a document and try the following regular express replacement. Replace {:i} to \1 bla bla A lot of wrong replacement. (BTW, I do the replace in a selection.) I looked at the steps you did. You may miss one step that is necessary to produce the error: - In the "Look in:" field, you must select "Selection" instead of "Current Document" or "All open document". 1) Have you changed any options in Tools | Options No 2) Is your operating system using English (United States) as its default region in Start > Control Panel > Regional and Language Options If not, what is the default regio ...Show All
Software Development for Windows Vista System.Transactions and ADO .NET 1.x IDbTransaction
Has anyone done any work with mixing SysTx transactions when a legacy ADO .NET 1.x data access component is in play Has anyone done a resource manager for an IDbTransaction or connection What is your feeling on this appraoch -Scott The transaction adapter to enable "LTM" transactions with Microsoft SQL Server 2000 is doing just that: http://blogs.msdn.com/florinlazar/archive/2005/09/29/475546.aspx You shouldn't have any problem mixing the two. Unless I'm missing some aspects of your question. ...Show All
Windows Forms Application deployment directory in VBasic Express
I am interested in knowing on what directory my applications install when using clickonce. On setup projects in previous VB versions your apps were installed on a directory with the name of your organization but I think that has changed, because I am not able to locate the directory where the applications reside once installed. Any help I could get will be greatly appreciated. Hi, The application installs under %USERPROFILE%\Local Settings\Apps The actual subdir under which the app installs is obfuscated. If you are a full trust app you can get the exact path by using Environment.CurrentDirectory form ...Show All
Visual Studio Team System Email work items?
Is there a feature to email work items from within Team Explorer I thought for sure this functionality was there back in the early Beta 1 Refresh days, but don't see it now. Thanks, ~slee Excellent, I will have to try this out when I get upgraded to RTM. Thanks, ~slee ...Show All
Windows Forms Can I change how Publish.html looks like?
Hay! I'm new in Click Once publish and I don't know where to find any information regarding changing how publish.html looks like. I'd like to include in it my company logo and so on. Is there any tamplate on wich is based on Where can I change background color, fonts... And I don't want to change publish.html everytime I publish my app. Is there a way to make this changes only first time Thank you for your help! Hi pinkpanter, One of the solutions is, you could manually edit the publish.html file in a web-editor (eg. VS05, Dreamweaver & etc). Is that what you are looking for ...Show All
SQL Server Connection string for SqlCeConnection
Which format is assumed for connection string for SqlCeConnection In help topics there are only examples like this: ... Data Source = 'SalesData.sdf'; ... But this example is intended for SQL Server 2005 Mobile database located on desktop computer... I need to custom data load from desktop to device and vice versa, so I did this: string SqlMobileConnString = "Persist Security Info = False; Data Source = Mobile Device\CF Card\mBase.sdf ; File Mode = 'shared read';" ; SqlCeConnection SqlMobileConn; SqlMobileConn = new SqlCeConnection (SqlMobileConnString); SqlMobileConn.Open(); // Exception!!! Invalid path... I tried to set p ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Manually Drawing a D3D Mesh
I'm having some trouble trying to render straight from the resources of the D3D Mesh object...for example [code] ' myMesh is an instance of Direct3D.Mesh using the Direct3D.Mesh.Sphere ' for creating and initializing the mesh ' d3ddev is a valid instance of a direct3d device ' vertex stride size is the size of the vertex, its a positioned normal 'textured vertex type. ' the world translation has already been setup, lighting is good too. d3ddev.Indices = myMesh.IndexBuffer d3ddev.SetStreamSource(0, myMesh.VertexBuffer, 0, VertexStrideSize) ' draw normal d3ddev.DrawPrimitives(PrimitiveType.TriangleStrip, 0, myMesh.NumberFaces) ' ...Show All
Visual Studio Team System Setting TFS SC through code
Hi is there a way to set proxy settings through code (TFS object model) That is to force file "gets" to use /not use a proxy. The web service app runs under a service account so I had to log on to the server with the service account to create the reg key. That did the trick. I suppose I could have created that key in the WS code as well. Any way thanks very much for your help! ...Show All
Smart Device Development Showing a form over the PPC Password screen
I'm developing a Pocket PC app that runs at defined times, the device I'm testing on (SPVM500 or HTC Magician) has the Password configured to 'lock' the device after a number of minutes. I'd like my app to be able to display its main form over the Password screen, without the user unlocking the device first. Currently if the device is locked the app runs fine but the form is not shown untill the password (pin) is entered. Is this possible If so how I'm using VS.net 2003 with PPC2003 SDK. If this isn't possible can it be done using bubble notifications, again I've tried this but the notification is not shown when the pass ...Show All
SQL Server FTP task fails when run as a scheduled job
I've created an SSIS package that retrieves a file from an FTP site. When I create an SQL Agent job to run the package on a regular basis, it fails. It seems that the password isn't kept (even though I set Remove Passwords to FALSE). I've looked at the connection string in SQL Agent, and it seems to be missing key information, like the user name and password, but it is unclear what the correct syntax should be. The error messages are completely unhelpful. Thanks, Warren The default security.protectionlevel property for packages is EncryptSensitiveWithUserKey. When SQL Agent calls a p ...Show All
