kaanuki's Q&A profile
Visual Studio Help collection integration
Hi All, This is for plugging in one help collection to another one, Let me explain the requirement: We have two VSIP packages, say Product-1 and Product-2, and both have their on help collections. Let the root node in TOC of the first collection be HelpProduct-1 and the second- HelpProduct--2. These packages will be installed in separately, and the requirement is to show in help contents, these two collections as children of a common rootnode, say, 'MyCompanyProducts'. So if I install product-1 first, the help contents should display- MyCompanyProducts HelpProduct-1 &nb ...Show All
SQL Server another question about bind object to Report
hi,all I download the Sample from http://www.gotreportviewer.com in the "InvoiceMaker" sample, the object like Custome can be bind to the Report directly, but in the "Object Data Source" Sample ,I Modify the " reportViewer.LocalReport.DataSources.Add( new ReportDataSource("Product", merchant.GetProducts()));" to "reportViewer.LocalReport.DataSources.Add( new ReportDataSource("Product", new new Product("Pencil", 30)))" there was an Exception with infomation:"Value does not fall within the expected range " ...Show All
SQL Server Uniqueidentifier or autoincrement?
Hello, Can somebody explain me the difference between both When to use each uniqueidentifier is a 128-bit integer (16 bytes) and has a unique value across all networks/computers. An IDENTITY is a property that allows you to auto-increment an integer-type column (int, bigint, smallint, etc.). ...Show All
Visual Basic defualt browser
How do you get windows to reconize my program as a browser and be able to set is as the defualt browser See this MSDN document for all the details on registering your program with 'Set Program Access and Defaults' -- as you'll see, creating some Registry keys and values is all that is required. '//mdb ...Show All
Visual C++ MFC application crashes when running standalone
Hi all, I'm currently working on an old MFC (made with VS2003) application to run in Visual Studio 2005/Windows XP. After a while most of the code compiled like a charm and the application works when beeing started from inside the IDE. Then i had really strange problems when trying to execute the program standalone (i.e. like copying it to c:\program files\program\name.exe and executing it there directly). I got some MFC memory errors which could be resolved by replacing some heap variables with stack variables. BUT, some problems still remain and i don't get any idea why. The applications still crashes on some actions (I debugged t ...Show All
Windows Forms TextFormatFlags.TabStop??
Hi Guys, What is the difference between TextFormatFlags.ExpandTabs and TextFormatFlags.TabStop Or, rather, how do you set tab stops, or use TextFormatFlags and TextRenderer to provide the same tab stop behavior as StringFormat Thanks, Michael Weinhardt TextRenderer.DrawText is a thin wrapper around GDI DrawText API. http://msdn.microsoft.com/library/default.asp url=/library/en-us/gdi/fontext_0odw.asp They should correspond to DT_TABSTOP and DT_EXPANDTABS... It looks like you would possibly have to bitwise OR in the value for the tabstop to change it to be something other than 8. ...Show All
Visual Studio Team System how to read command line arguments inside webtest generated code
Hi, I'm a newbie user of webtests. I'd like to find out how to read command line arguments inside my webtest generated code. I'm recording webtests to test various webpages of an application server and would like to parameterize the root URL to these webpages. This is so that I could use the same webtest generated code to test different installations of the application server. The webpages have identical links except for the root URL which changes for each installation. I have tried the following options and none of them worked: 1. When I read command line arguments via System.Environment.GetCommandLineArgs(), it ...Show All
Windows Forms is there a richtextbox which behaves likes textarea control in html
hi all i m tryin to make a messenger application using vb.net the problem i m facing is ... i have two rich text boxes one i will type the messgae and another one in which i will display the message along with the user name who send the message... i want to make the user name bold ... so is there any rich text box in vb.net which&nb ...Show All
Windows Forms DesignMode at non-control components
I'm creating simple wrapper component for user dialog that i want to work following way: at design-time it does not load wrapped form and assign all the property values to private fields, at other hand if component created at run-time it must create form and assign properties to it. But simple component's (not control) DesignMode property is alwais setted to&nb ...Show All
Windows Forms list boxes more HELP needed.
I need a way of making list boxes center the values displayed within the list. I also need to find a way of making them unselectable without setting enabled to false or SelectionMode to None because the form won't load the way I tryed doing it if you know of another way please help me. Okay, the more that I participate  ...Show All
Visual Studio Publishing project with MSBUILD
I am running msbuild on our build server, the server has the .NET v2 beta 2 runtime and SDK installed, it does not have DEVENV installed on it. When I try to publish the project with msbuild from the command line on my local PC that has DEVENV installed it all seems to work. When I try running the some command on the build server I get: “C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets : warning MSB3482: SignTool reported an error 'SignTool.exe not found.'.” The command line I am using is: %windir%\Microsoft.NET\Framework\v2.0.50215\MSBuild.exe StudentAllocator.sln /p:Configuration=Release /property:ApplicationVe ...Show All
Visual Basic Convert.ToBase64String problems
hi everyone. I've gotten the camera to work now...but I want to transmit the images via base64 and then have them decoded on the client. Its working just fine...except I can't seem to get my code to let me view the raw Base64 string...it worked at one point, but now it isn't. I'd like to be able to see the raw base64 string in a label if possible...it was working at one point...I was working late and lost track of how I did it..I know the Base64 conversion is occuring because I'm able to see the output in a picturebox. heres the code I'm using: Dim bmap As Image Dim buffer() As Byte Dim ic As New ImageCo ...Show All
Visual C++ fatal error C1083: Cannot open include file 'math'
I am running VS.net 2003, I need in include the old math.h header file. Now I seached my HD and in fact found the math.h file in the" F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include " folder (note I instaled VS.net2003 on a HD NOT my system HD and I also have 'dualboot' with win98 & win2k ). Here is what I have started with: #include <iostream> #include <math> using namespace std; void main() { float userNum=0.0; int workNum=0; cout << "Enter total amount: "; cin >> userNum; } And this is the error message from th ...Show All
SQL Server Getting code page errors....
I am importing some data from my IBM DB2 Z/OS mainframe to SQL Server 2005 using the SSIS import wizard. The wizard automatically converted the DB2 string data before trying to store it to SQL Server. The code page that the wizard chose to do its conversion is the 1252 Ansi Latin. However, I am getting the following error on the address field...."one or more characters had no match in the target code page". Can someone suggest another code page ASCII IBM 37 Can anyone tell me why this would work with my old DTS but not in SSIS Both of which were created through wizards with no extra coding or tr ...Show All
Visual Studio Team System TFS Project Creation Error
Hello, Every time I try and create a new team project. I get the following error: ********************************************** Error Insufficient permissions on the Windows SharePoint Services at WISHDEV to create a new site. Explanation The permissions granted your user name and ID on the Windows SharePoint Services at WISHDEV do not allow you create a new portal site. You must be granted specific root permission by the server administrator. User Action Contact the administrator for the Windows SharePoint Services at WISHDEV and ask that the permission “Administrator” be added to your user account. Warning TF30144: Th ...Show All
