Regis Wang's Q&A profile
Visual Studio Team System Satellite Assembly
Hello all, I have worked on this satellite assembly thing for over a week now and i can no longer see straight... i have read artical after artical and i am just flat out missing something some where that is most likely very small.. i am trying to make a satellite assembly and from the way reflector looks i am in the correct name space and i have a BIG GREEN LIGHT and go ahead but i can not for the life of me display the text that should be for the germany language. ----------- Here is the Localize control --------------- <asp:Localize ID="Localize1" runat="server" Text="<% $ Resources:Strings, Welcome %>"></asp:Localiz ...Show All
SQL Server new fact records
Hi there Is there functionality in SQL 2005 to update only new records, e.g. only records from yesterday. I've seen functionality for dimension tables to only get new records but nothing for fact tables. Thanks Read this and try method 2: http://www.sqlis.com/default.aspx 311 -Jamie ...Show All
Windows Forms WinForms and mini-database
Hi all, I want to build a small stand-alone VB.NET WinForm application to be sold to the general public. Let's say it will be something like Quicken bookkeeping, in that it will have user input forms, etc, and will save check entries to a mini-database. My question: What do I use for the mini-database MSDE I'm comfortable in building client-server  ...Show All
Visual Studio can i use inputs and outputs
I know the inputs, but I do not know the outputs until I'm in the logic of my custom Task. Is there anyway to still use inputs and outputs in my .targets file to control when things will build, or do I need to implement this myself in my Task class Thanks, Mike Inputs and Outputs must be declared in the project file. Their values may be computed by combining existing properties and/or items, or by previously built targets, but they must be specified in the project file. Are the names of your Outputs not simply transformations of the names of the Inputs e.g., something like inputs: "a.txt;b.tx ...Show All
Visual C++ mfc42.lib
I am compiling a simple project using the directx sdi and it wants mfc42.lib , now there is a 64bit mfc42.lib but no x86 version , i have googled like crazy only 55 hits for mfc42.lib i cannot seem to dowload it from anyplace for x86. bug dropped ball any advice greatfully recived [edit] Compiling on beta 2 [Additional] The link to mfc42.lib is in AFX.H from the latest PDSK mfc and it seems that the latest AFX has some real issues with 2005 beta 2, such as linking to non existant libs in the debug conditionals in afx.h and then the linker throws up 300 or 400 unresolved external links for a reason that remains known only to itself as th ...Show All
SQL Server how to add a image from database to page header
Hi, I am having same issue, but the data is an image stored in database. actually its an company logo which i need to display on every page. i have a doubt. if i user source as external and an URL in a image property, then my image will not appear if the Reporting Server and Application Server are on two different machines. if both are in one machine as my local machine(development machine) the image appears. is this an known issue or how to solve this. due to this reason, we thought of putting images in database and pulling out, but it turned out to be an another problem. You can follow the approach described in Books ...Show All
Visual C++ crt deprecation
VS8 has these new defines. I#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT 1 #define _CRT_SECURE_NO_DEPRECATE If I use the last one, will the other 2 still work I.E. will they still generate code for sprintf_s, strcpy_s, etc (I like the last one because it gets rid of some warnings about gmtime, etc.) If you're careful enough, yes. If your code is not suitable for template overloading (eg. if you pass dynamically allocated buffers around, or it can't get the size of your arrays), then you will get the unsafe versions, and the compiler won ...Show All
Visual Studio Microsoft Document Explorer cannot be shown because the specified help collection 'ms-help://MS.MSDNQTR.v80.en' is invalid
I have installed a RC version of VS Team Suite along with full MSDN installation. After completing installation, I'v got " Microsoft Document Explorer cannot be shown because the specified help collection 'ms-help://MS.MSDNQTR.v80.en' is invalid " error when I have tried to access it by doing "Start" -> "All Programs" -> "Microsoft Developer Network" -> "MSDN Library for Visual Studio 2005" When I accessed it from VS 2005, it only have SQL help available. I have tried to reinstall it several time but no luck. Any help would be appreciated. Eric I have the same results as Pieter, n ...Show All
Visual C++ Cancelling WSALookupServiceBegin
Hi! Is it possible to cancel a call to WSALookupServiceBegin (i.e. interrupt it) I use it to discover bluetooth devices, and it blocks for a long period of time. I want the user to be able to cancel the lookup. Is it possible Thanks in advance, Nille Something what i found shortly: http://developer.novell.com/support/sample/tids/iws2e014/fs1.cpp It looks very similar to your problem. Maybe you forgot something in your code. Bye Martin ...Show All
Visual Basic Delaying a splash screen?
How do I delay my splash screen in 2005 Ive tried this function but it does not work as stated in the documentation: Protected Overrides Function OnInitialize(ByVal commandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String)) As Boolean 'Set the splash screen timeout. Me.MinimumSplashScreenDisplayTime = 5000 Return MyBase.OnInitialize(commandLineArgs) End Function Thanks. h ...Show All
SQL Server CTE in a DSV named query
Hello, I have a CTE that I want to put into a DSV named query. here is the CTE (which anyone can run): WITH mycte AS (SELECT TOP (200) object_id, name, column_id, system_type_id FROM sys.columns) SELECT object_id, name, column_id, system_type_id FROM mycte AS mycte_1 I can put that into the named query editor and run it, no problems. Upon clicking "OK" I get: Incorrect syntax near ')' Incorrect syntax near the keyword 'with'/ If this statement is a common table expression or an xmlnamespaces clause the previous statement must be terminated with a semicolon. So, I put a semicolon i ...Show All
Visual Studio Team System Deleting Branches
When you have a main source code line and create a branch off of it, if you delete the branch from source control, it still appears in the property window. If you create another branch with the same name, VSTS starts creating merge issues with "prior versions". Is there a way to "correctly" delete a branch if no longer needed as a child branch (such as a developer leaves the company) OR is VSTS supposed to not let you delete a branch once it's created. If a branch is never really deleted, why can you create a new branch with the same name... You will see the multiple branches in the Properties...Branches tab in the Source C ...Show All
Visual Studio Tools for Office Focus after bookmark insert?
We are displying a Word Document in a Iframe on an .aspx page. This Document was created using VSTO and in it we have an ActionsPane. We use it to insert bookmarks onto the Document by double-clicking in a listbox. All that works fine, but my problem resides in the foucs after we insert a bookmark. The focus remains on the listbox, NOT the Document, which I need. I have tried this: doc.ActiveWindow.ActivePane.View.SeekView = Word.WdSeekView.wdSeekMainDocument It works fine in just the Document, but in the browser it doesn't. I know it is not meant to be in a browser, but does anyone have any ideas O ...Show All
Windows Forms Modified collection serialization
Hi folks, I have to create a special type of collection in which each item has to have a reference to the owner collection at construction time. Here are some parts of the C++/CLI code. public ref class ScopeChannels { public : property ScopeChannel ^ Item [ int ] { ... } } public ref class ScopeChannel { public : ScopeChannel( ScopeChannels ^owner ) { ... } } I need to be able to serialize this. What is the best approach I have experimented with bad luck both with TypeConverter, and CodeDomSerializ ...Show All
Smart Device Development Determine if Bluetooth or GPRS connection
Hi, How is it possible to determine if the bluetooth, gprs or wlan is turned on in my ppc or smartphone if not then how is it possible to turn it on regards, rnv GPRS: You can't really ever be sure you are connected as you can lose connectivity at any time. I'd recommend that you simply try to do your send/download and if it works you're connected. You don't need to turn it on, the device handles this for you when you try to talk to the web. You can use (e.g.) OpenNETCFG ConnectionManager, but this won't tell you properly if you are disconnected, so you may as well use the above method ...Show All
