TimothyChenAllen's Q&A profile
Visual Studio MSDN
We are Microsoft Certified partner.The MSDN subscription CDs are shipped to us,monthly. But this month, i noticed one particular CD,Visual Studeio 2005 Team suite trial edition, is missing from the package,after comparing the "MSDN shipment contents" website online. we don't know who to contact with.we checked MSDN website,but we are so lost. Help throne: I'll try to find a contact for you. However it will probably be next week before I get back to you. Michael Blome Visual C# Documentation Team ...Show All
.NET Development Folder Compression
Is there a way to set the attribute's of a folder to enable compression for a given folder and its sub folders and files within VB .net. Thank you, Ken ...Show All
Visual C++ WinInet and SSL...
Can the MFC WinInet classes handle SSL connections If so, how do you deal with certificates Thanks. Ken.... Hi Ken, MFC WinInet classes can handle SSL connections. If you are using an HTTP connection you can open a connection using CHttpConnection::OpenRequest . with the Internet flag set to INTERNET_FLAG_SECURE. http://msdn2.microsoft.com/de-de/library/b9zh7b56(VS.80).aspx To deal with certificates you can use InternetErrorDlg. Refer to this old KB article. http://support.microsoft.com/kb/q224282/ Thanks, Sarita Bafna Visual C++ Team. ...Show All
.NET Development Framework is the problem...
I am having the following problem: I am having lessons Visual Studio 2003 on school and i am making exercises for my lessons at home with Visual Basic 2005 Express. When I open the files I've made at home, when i am at school, I get the error message that the Framework that is installed is not capable to open my executable. Can someone tell me how i can get my programs running on the school computers without installing a new Framework at school Thank you... W.G. Hi ! Maybe you whould do the reverse : Installing VS2003 at home, so you can be compatible with your school. If budget is your problem, Mi ...Show All
SQL Server SSIS Package Validation
Whenever I open a saved SSIS package, validation takes over and it can take a long time to do that. Is there a way to disable the validation process when opening the SSIS package Thanks. It will not work because I can only select Work Offline AFTER I load the package. I want to load the package quickly rather than waiting for several minutes of validation. ...Show All
Visual Studio Express Editions Inserting Images in the Sql Express database
I would like to insert images that I have stored on my hard drive into a sql server database using my vwd express. I have created a table but cannot figure out how to insert (convert) the image (.jpg or bmp formatted) file into the recommended varbinary(max) column. Any sql sample code available Thanks Hi, If you want to look at the example mentioned above, you need to install VB Express Edition 2005 or you need to have Visual Studio 2005. I only have VWD Express installed and would like to store images into my DB using a DetailsView. Can someone help me with this Is there a place like the ...Show All
.NET Development Connecting to a Database Using VB6
I know in VB6 they have a dataview window and VB.Net has the server explorere..How does VB6apps connect to databases Using ADODB is one way....setup a connection object very much like you do in ADO.NET... http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbegvb/html/oledbisanswer.asp ...Show All
Windows Forms how to share icons between forms
I have many forms which show the same icons on controls. At present each form has its own imagelist which means the icons are duplicated, which seems wasteful. Is there a way of sharing a common set of icons and still have them appear in the form designer I can assign them at runtime of course but I would like to see them at design time also. (sorry if this has been answered before - the search was not working). Best thing to do is use Lutz Roeders resourcer http://www.aisto.com/roeder/dotnet/ to add data to a resource file and use CType(resx.GetObject("MyIcon.ico"), System.Drawing.Icon) in code to retrieve i ...Show All
Windows Forms DatagridView column format for passwords
How can I change the column format from an Datagridview to display the password char (same as UseSystemPasswordChar in a TextBox) I have a column of type DataGridViewTextBoxColumn, but there isn't this property. Anonymous561786 wrote: Handle the CellFormatting event of the grid. If you are in the right column (password) show "*". Private Sub grid_CellFormatting( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles grid.CellFormatting If (e.ColumnIndex <> -1 AndAlso grid.Co ...Show All
SQL Server manage exception message
How to manage sql server runtime message to users understand it In my web form I added folowed code If Session( "Action" ) = "Edit" Then Try ObjectDataSource1.Update() Catch ex As Exception lblMessage.Text = ex.GetBaseException.Message End Try for manage user input for update the record. This is message returned by sql server 2005 The UPDATE statement conflicted with the REFERENCE constraint "FK_DEVIZE_RELATION__DRZAVE". The conflict occurred in database "Trgo2006", table "dbo.Devize", column 'Drzava'. The statement has been terminated ...Show All
.NET Development precision control
Hi all: I'm looking for floating type precision control in .NET... When I try to display 0.33 on a ListBox Control, this is what I do: .NET 2.0, C++: ListBox^ l = gcnew ListBox(); // ... setup code double d = 0.33; I->Items->Add( Convert::ToString( d ) ); it gives me 0.32999999999999999 on the listbox is there any way to control the precision of floating point numbers so that I can have precise 0.33 in the listbox and is there a way to display a double in exactly say 2 digits after the decimal point... thanks Take a look at math.Round(): String str = Math.Round(d,2).ToString(); l->Items->Add(str); ...Show All
Visual Studio Team System Web Test Connection Model and IP switching
Can anyone provide more information or links which explain in more detail: 1: Connection Pool and Connection per user. Whats the advantages/ disadvantages of using either of these Also what's the optimum setting for WebTest Connection Pool size or what does this depend on 2: IP switching, with this enabled, which I think it is by default how does this work / is there any additional config required. What range of IP's does it use thanks in Advance, Phil 1. Check out this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=12885&SiteID=1 2. IP switching is only available if you are running your load tests using the con ...Show All
Visual Studio Team System Shipped reports - Explanation
Hi, In VSTS there is quite a few reports shipped Eg: 'Actual Quality vs Planned Velocity', 'Bug Rates', etc. Is there any explanation what these reports mean Any such explanation or links of that kind will be of great help. Thanks, Saurabh Open the process guidance and select the Index tab and then Reports from the left hand panel. You should see a list of reports. Click on a report and you should get a definition of the report. ...Show All
Visual Studio Team System No effect of "define _CRT_SECURE_NO_DEPRECATE 1"
For the moment I want to suppress all the deprecated insecure functions during static code analysis. I've added this line in two separate files that get included in all source files: #define _CRT_SECURE_NO_DEPRECATE 1 to no effect -- the output still contains warning of these functions. A colleague has resorted to #pragma to supress these warnings. I'm curious as to why this doesn't work as documented in the help. Thanks. Sample warning: foo.cpp foo.cpp(18035) : warning C4996: '_wfopen' was declared deprecated c:\program files\microsoft visual studio 8\vc\include\wchar.h(827) : see declaration of '_wfopen' Message: ' ...Show All
Visual Basic DataAdapter & query
kind of a 2 part question: I need to query on 3 parameters: i.e. Name AND <X AND >Y at one Table in the DataAdapter. In using the DataAdapter.SelectCommand approach I find that one can pass only 1 parameter. So I simply put 3 separate commands - - and this seems to work (when there is a match) though I haven't rigorously checked it. so part 1 - is this approach ok In this DB there can only result in 1 match or no match. part 2 where I'm stuck is that finding no match is a good thing for the user - but I get a ServerError message of Not non-Zero index....... I was hoping that by having a bound textbox/label to one fi ...Show All
