Helio Gomes's Q&A profile
Visual Studio Team System Controlling the name of the .sql file.
Is there any way to control the name of the .sql file that is produced by datadude The background to this is that we want to put in a Post-Build step that chnges the .sql file to a name that is short enough for MSBuild to use. We've tried changing the name in TFS Build but thatr doesn't work because we cannot predict what the name of the file is going to be (because it puts the server name in there). Thanks Jamie Hi Jamie, Correct, right now this cannot be controlled from the UI. You should be able to add this property to the project file manually and we will pick it up. If you then override it from the command line, the command line setting will override the setting in the project file (similar to overridin ...Show All
Visual Studio Express Editions help : Project Internet download accelerator.
Hello!!! I am a visual basic 2005 beginner. I have a project to build a Internet File Download accelerator. I can understand how to start. Can somebody please give me some Idea. I want to practice some tutorials on downloading file from internet and multithreading..... Plz tell me where to start...... I will be thankful.... Threading: http://msdn2.microsoft.com/en-us/library/system.threading.threadstart.aspx downloading files requires either the use of httpwebrequest/httpwebresponse or you could use webclient class http://msdn2.microsoft.com/en-us/library/system.net.webclient.aspx http://msdn2.microsoft.com/en-us/library/system.net.webclient.downloadfile.aspx http://msdn2.microsoft.com/ ...Show All
Visual C# Difference between isEqualTo() and "=="
Hi all, I have doubt about difference between == and isEqualTo method in C#. Well, they should be totally same. With 3rd party classes, this cannot be totally assured, but convensions recommend that class implementers first implement Equals method, and use that method when implementing == operator. In .NET classes, they are all the same. ...Show All
Visual Studio 2008 (Pre-release) Condense XAML
Hello, I have a fairly large xaml file containing some vector icons and would like to reduce the size of the file. I was thinking if I could centralize the common brush resources used in each icon it would reduce the file size, and was wondering if such a tool existed to parse the xaml in this way. The reason behind this is because I have a clickonce deployed xbap, and would like to reduce the size of the assemblies needed on the client as much as possible. Any other suggestions would be welcome. -David When you compile XAML it gets condensed into a binary format called BAML. There is a BAML disassembler that works with Lutz Roeder's reflector. If you were to disassemble the baml that defines the ...Show All
Visual C# Passing two paramaters
I have an app that I am trying to build using the BackgroundWorker Component, and I am having a little bit of trouble figuring out how to pass multiple paramaters back with ReportProgress. Below you can see the two small code snippets. Any help would be greatly appreciated. Thanks, Russ ////////////////////////////////////////////////////////////////////////////////////////////////////// (sender as BackgroundWorker ).ReportProgress(currentCount, totalCount); ////////////////////////////////////////////////////////////////////////////////////////////////////// void backgroundWorker_ProgressChanged( object sender, ProgressChangedEventArgs e) { progressBar1.Value = (e.ProgressPercentage); progressBar1.Maximum = ...Show All
.NET Development Fatal Flaw in the Large Object Heap?
Hi All, After playing with the GC I find the following interesting. The problem domain I typically work in requires the allocation of very large arrays for image processing. We have discovered some issues when our processes are long running. We run out of memory and can not reclaim it. Our only recouse is to restart our processes. In an effort to discover why I uncovered the following: The LOH (Large Object Heap) is never compacted. I think this is a fatal flaw in the GC. I understand MS stated reason for this, but shouldn't there be someway to compact the LOH if necessary, at least a method call that forces the issue Does anyone know of anything that can be done Any workaround is better than killing the process... Here is a demo ...Show All
Windows Forms controlling the focus
Hi. Does anyone know how can I make a control work without recieving the focus The thing is that I'm trying to simulate a kyboard (on a UserControl) which is added to a form. Whenevet a key is clicked, I use the SendKeys.SendWait method to simulate a keystroke. In order to process the simulated keystroke, the recieving form should be in focus. To achieve this, I use the SetFocus API function with the handler of the recieving form. So far so good - it all works fine except for the slight occasional control bar flicker when changing the focus. So - is there a way to avoid all that focus transfer You'll need to give up on SendKeys if you want to avoid the focus problem. You could send the WM_KEYDOWN and WM_ ...Show All
Visual Studio Team System Check out file with MSBUild and replace with a new version ?
Hi, we have a solution called Shared in which we keep some DLLs that are used between solutions. When I use TFS Automated build to compile a solution on the build machine, is there anyway to then take that DLL that was just freshly built, check out the version in Shared and overwrit e the old DLL with the new one and check it back in Additionally, you should be able to use <Exec> tasks within MSBuild to execute command-line commands. The following blog post is on a completely different topic, but it does illustrate the use of tf.exe within MSBuild: http://blogs.msdn.com/gautamg/archive/2006/01/04/509146.aspx . -Aaron ...Show All
Smart Device Development StackOverFlow Exception
Hi all, I am developing an Pocket PC application in vs2005 in vb.net with requent load of xml files.when i run the application, sometimes it shows STACKOVERFLOW EXCEPTION and quits from the application.My question is 1)Is it pocketpc [Hardware] related problem b'cos the same application runs fine in the other pocket pc. Best Regards, MMBVN If you firing event from the same event that absolutely can cause this problem. To avoid the problem - don't do it. If you can't avoid it then your application will crash. If your current design won’t allow you to stop doing that then you’d need to redesign the application so it can be avoided. ...Show All
SQL Server sql native client
hello COMMUNITY, I HAVE a CONSULTATION I HAVE a SERVANT WITH SQL 2000 AND MY CLIENTS ARE Windows 98, I WANT TO MIGRATE TO SQL 2005, LIKE HARIA WITH SUPPLIER SQL NATIVE CLIENT, IS COMPATIBLE IN the CLIENTS You mean that I can continue using he himself supplier MDAC 2,8 in the client to connect itself now to a servant SQL 2005 who is in another machine ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mesh.Simplify no effect
I'm trying to reduce large meshes for quicker rendering on slow machines. This works for me on almost all the files I try except the ones I want! I have some STL files to reduce when I try to simplify these there is no error and no effect. maybe it is something to do with the size of the triangles (very small) or the format of the STL data (the triangle order) Any help appreciated. > removing all the duplicates and re-indexing the mesh made it work Try using the WeldVertices function. You might also try a progressive mesh. -Jeremy ...Show All
Visual C++ How to unregister a activex component once it is used by the page moved to new page or using different event
We implement an Activex component and sign the component, etc. Our application security requirement make us it work like an Applet with respect security and how it is stored and deleted. e.g. If a html page has an applet, it is instantiated in that page and the javascript can use that applet the applet life cycle ended when we move to new page. As I understand it, ActiveX component is downloaded and registered to windows registry with respect to our implementation of DllRegisterServer in the component. We implement DllUnregisterServer() also. But When you move to new page IE does not call unregister this component What am I doing wrong if not how to achieve something like this Can a component call unregister itself explicitly Regards Kr ...Show All
Visual Studio HTTP access to VSS 2005 through ISA Server
Hi all, in our company we successfully created and configured VSS 2005 access over HTTP (not HTTPS, only HTTP on standard port 80) and configured a source repository share on a different machine as documented in http://msdn2.microsoft.com/en-us/library/ms230206.aspx. All works well and we are able to connect to the Web Server and connect to the VSS repository. This applies when in the company building or in VPN to the internal network. To allow remote access to the repository without the need of a VPN, we tried to expose the Web Server over our public ISA Server machine, through a routing rule that manage to route incoming connection on a specified port to the Web Server machine. My question is: is this configuration supported by VSS Actu ...Show All
Visual C++ How to make CDialog-based dialog in non-MFC project?
Hi I've downloaded a non-MFC project and added MFC support to it. It has compiled fine and I was able to use CString, AfxMessageBox. The next step I took was adding a CDialog class to this project. I used the Class Wizard and tried to create a CDialog-based dialog class, but the Wizard told me I can't create this class in non-MFC project. I guess this is because I've just added MFC support, not actually creating one. So I managed to write down a CDialog class myself, and I copy & pasted CDialog code from another MFC project. It gave me whole bunch of errors. The errors were about dialog resource id, OnInitDialog, m_hIcon, SetIcon, each informing me it wasn't declared, called a non-static member function, cann ...Show All
Visual Studio Team System Server name in Changeset.aspx
I changed the name of my TFS server in all sorts of places, but there is one left which I can't figure out. When I get an alert email that something new was checked in, I get an email with a link to the changeset. It ends with /VersionControl/Changeset.aspx artifactMoniker=16&webView=true. In there is a reference to a XSL stylesheet, but that reference is using the old, original server name. How can I update that one as well Thanks, David David, Thanks for the clarification. In web.config ( installDir\ Web Services\Web.config ), update the value of the setting TFSUrlPublic to http://tfs01.mycompany.com:8080 (or, whatever port applies to your site). You should find TFSUrlPublic in a comme ...Show All
