Zoomy8's Q&A profile
Visual Studio Team System Team Foundation Build and DB project.
We have a DB project that we have created a team foundation build type for and which does run fine, at least no errors in log file, but it does not create the output sql scipt file. If I build the db project from the build menu within the VS IDE it will create the .sql script file in the specified directory ok or if I use msbuild it also works fine. I have seen some documentation about modifying the tfsbuild.proj file along with the dbproj file for actually deploying the DB but at this point I only want to create the SQL script file using the team foundation build. Is this possible to do I am currently using latest TFS along with VS and SP1 applied to everything including the build machine. If there ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX control webcam problem
Hi All, I has few question about DirectX problem. Please sombody help. Q1 Can i control and take photo with directX Q2 Where has good directX game engine(C#) Q3 How to make fire effect with game Please give me some example. Best Regards, 1. No DirectX had the video components removed several years ago. DirectShow is now part of the OS team. However you can still use Managed Direct Show or other APIs to control a webcam. WIA for still pictures http://msdn.microsoft.com/coding4fun/someassemblyrequired/lookatme/default.aspx and managed DirectShow (or alternatives) for moving and sound http://www.thezbuffer.com/articles/364.aspx 2. http://www.thezbuffer.com/categories/engines.aspx - though nobody I know ha ...Show All
Windows Search Technologies Problem crawling with a hierarchical custom protocol handler
I have developed a hierarchical custom protocol handler that I'm integrating with Windows Search on Vista. The handler has a IUrlAccessor and IFilter implementation that enumerates the contents of a directory by returning the search URL of each "file" in the directory as a text chunk with the STAT_CHUNK structure specifying the GathererPropset and PID_GTHR_DIRLINK propid. My understanding is that the indexer should take these URLs and queue them for indexing, in which case I should see subsequent calls to CreateAccessor with those URLs. However, instead I'm seeing the indexer call CreateAccessor once to get the directory accessor, then it reads the dirlink text chunks, but it never make the expected additional calls to Create ...Show All
Visual C++ Proxy with webClient?
im going to open a website source. and i need a proxy for it. how do i "proxy" the webClient Control MyWebClient..Proxy = new System.Net. WebProxy (...); Be sure to read the msdn documentation, linked above and look at the available constructors, approximately 10 available iirc. Hope this helps. ...Show All
Visual Basic question about references
If I add a reference to my solution by right clicking on the references in the solution explorer and selecting add reference, what am I doing I understand what I did, but, what effect does this have on my application. I am assuming that this is where I can add my custom classes to the program. (or other classes that I have). Am I correct in this assumption. If not, can anyone please point me into the correct direction This allows you to utilize the Classes, method, enumerations, constants etc. that are defined in the assembly that you are making reference to. These could be user defined - if you create a class library or they may be system classes eg. System.dll ...Show All
SQL Server SSIS Data Flow task fails to load all text from flat file
Hi Guys, I have a flat file which is loaded into the database on a daily basis. The file contains rows of strings which I load into a table, specifically to a column of length 8000. The string has a length of 690, but the format is like 'xxxxxx xx xx..' and so on, where 'xxxx' represents data. So there are spaces, etc present in the middle. Previously I used SQL 2000 DTS to load the files in, and it was just a Column Transformation with the Col001 from the text file loading straight to my table column. After the load, if I select len(col) it gives me 750 for all rows. Once I started to migrate this to SSIS, I allocated the Control Flow Task and specified the flat file source and the oledb destination, and gave the output column ...Show All
Software Development for Windows Vista Using VB6 on Vista
Is VB6 support on Vista as a development language I have a VB6 application (which is pretty big), but when I come to compile it on Vista RC2 is fails to register all the activeX dlls that are build as part of the application. I did manage to get round it, but only by running VB6 as Administrator. In a day to day dev environment I don't want to do this every time. I am a local admin so why doesn't this allow VB to register my dlls. Does this behavior have something to do with UAC Thanks for your help Graham Portions of one of my applications are created with VB6. We've been able to successfully run these VB6 created EXEs under a Vista limited user account with UAC active with no problems. I w ...Show All
Windows Forms please answer - increasing resolution disperses position of controls in a windows form app. why?
hi here is a problem i m facing , i made a gui app. on my system that runs on 1024*768 resolution , now i changed the resolution to 800*600 what i found was that the some of my controls got out of the form and were no visible ,i realized that since i have made the size of my form to be greater than 800*600 this problem arises please help me how to solve this problem all i want to do is that when i change the resolution the the controls should resize themselves according to the resolution i have fiddled with the autoscale mode property of my form and that does not help please help as this is very urgent thanks very much gurpreet Usually you design a form for the minimum resolution you want to support. ...Show All
Visual Studio dynamic group
Hi everybody ! how can create grouping in runtime !!! this example below showing how to create dynamic table but i need to select some of filed to group by them. http://www.gotreportviewer.com/DynamicTable.zip i have second question is the RDL available in VS2003 with framework 1 . thanks. Hi, Please check my following article to see the example of dynamic data groupingl. http://www.dnzone.com/showDetail.asp TypeId=27&NewsId=2349&LinkFile=page2.htm Hope this helps, Asif ...Show All
SQL Server How can I find if the SQL server 2005 installed is a 64bit or 32bit?
I am about to work on a SQL server 2005 migration and I have no clue what SQL server 2005 is as I have been working on 2K all along. Fist of all I am not sure if the given box is having 64bit or 32 bit Operationg System Second of all I am trying to find if the SQL server 2005 installed on this box is 32bit or 64bit Thanks in advance, sk As Jens mentioned, you can issue a query to SQL Server "SELECT @@VERSION" which will return something like the following: Microsoft SQL Server 2005 - 9.00.2047.00 ( X64 ) Feb 10 2007 00:59:02 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition ( 64-bit) on Windows NT 5.2 (Build 3790: Service Pack 1 To find out if your operating system is 64bit or ...Show All
.NET Development web service look up
Hi, How do I access a web service method in C# to retrieve a paremeter value Thanks, Can you be a bit more specific Do you want to call a method of a web service Have you got a WSDL definition of the webservice E.g. ASP.Net WebServices can expose their WSDL by adding wsdl after their URL. Add that WSDL as a web reference to your project - see the context menu of your References folder in the solution view. That will create a proxy class. The class has one method for each WebService method. Just create an object of that class and call the methods to invoke the WebService. Does that answer your question -- SvenC ...Show All
.NET Development meta keywords on content page
Hello, I'm trying to understand how I can edit seperate keywords for the content pages that use a master page. thanks for the help! ps: page for which i need help with: magazine Hey, thanks for reply, basicly i'm using the team suite edition of Visual Studio to create a magazine i am using master pages to keep the same style on all my aspx pages. The only problem that I found is that aspx pages do not have a <head> where i can place the meta keywords for each pages. I am using 2 different master pages, one for all the content pages on the site and another for the "boutique" area. Obviously, for SEO reason, i wish that each individual p ...Show All
SQL Server How to guarantee unique of columns > 900 bytes
We have an app that threads together emails coming out of Exchange, using their messageid. To ensure threading works correctly, we need to ensure uniqueness of messageid, which we do with a unique index (we also need to be able to lookup by messageid when a message comes in). We are currently porting the app from Oracle and PostgreSQL to SQL Server and are having problems with the 900 byte max length of an index. The problem is that the maximum size of a messageid (according to the Exchange docs) is 1877 bytes. How can we guarantee uniqueness If you are using SQL Server 2005, you can use the hashbytes function to compute say MD5 hash on the string and persist it in your table. You can then create unique c ...Show All
Microsoft ISV Community Center Forums Setting back color in MSComctlLib.TreeCtrl.2 control using VB for MS Access
Hi there, I would like to set the background color of a treeview control to another default windows color other than the 'white window'. Say I want to use the constant vbActiveBorder . Now the ImageList control allows for the setting of these values via properties, but the Treeview control does not. How do I go about setting the back color of the treeview control For info I have already set up the icons etc with a magenta mask, so that they will be transparent etc. Thanks in advance You can't do that directly via VB. You have to use Win32 API. For more information regarding this issue, please look into the information regarding SendMessageA() function on the web. ...Show All
Visual C# Help on creating a generic singleton class
I am on the process of creating a generic class for the singleton pattern. My implementation as follows: public class Singleton<T> where T : new() { public static T getInstance() { if (this_ == null) this_ = new T(); return this_; } private static T this_; } Sample use would be: Singleton<Logger>.getInstance().someMethodHere(); The problem with this implementation is that the target class that would be converted into a singleton must have a public constructor, which is in the first place I am preventing it. I have implemented a simliar approach in C++, however I've used a "friend" class that sould also be declared on the user class. Please advice. Thanks. (BTW, th ...Show All
