zhangg3's Q&A profile
Visual Studio Team System TF30262 when creating project
Hi! We are evaluating TFS and the installations seemed to work smootly, but when we try to create a new project we got the error message "TF30262: Error occurred while creating document library". From the error log I can see that "VersionControlTask" is successfully completed and the first step of the site creation (verifying template existing) also. Then the next step, "Creating Site", failed with the above ...Show All
Visual C# Using dll's in C#, convert this Tiny bit of vb6 code into C# [Beginner]
Someone made a dll [AresHash.dll] in VC++ & I want to use it in C#. He included the Visual Basic6 code for using the dll and it works well.. but now for me its C# and im new to using dll's here..... Here is the VB Code Private Type hash_channel externalIP As Long internalIP As Long port As Integer roomName As String topic As String ...Show All
SQL Server SSIS Variables in SQL Agent
I need to pass a value to a package level variable in an SSIS package from a SQL Agent job. If I use dtexecui the syntax for passing the variable in the Property Path is \Package.Variables[User::MyVar].Properties[Value] and the package runs fine. When I use this syntax, or any similar format I can think of, in SQL Agent, my job fails. In SQL Agent you put this in the Property Path on the Set Values tab of the Step that runs the package. If I r ...Show All
.NET Development problem in using DropDownList Control
Hi All, I am developing a small web application in 1.1 framework. I am using a DropDownList control. I have coded a selected index changed event for that, and set the autopostback property to true. When i select any value from dropdown, it triggers this event alright, but again displays the 0th value from drop down. What could be wrong. Code Snippet: private void DropDownList1_SelectedIndexChanged( object sender, System.EventArgs e) ...Show All
Visual Basic Using and deploying DLL files without having to register it under Windows : is it possible ?
Hello everybody. I'm a new member of this forum and I ealready have an imoprtant question. I wanna know if it's possible to create and deploy under Visual Studio 6.0 (VB6) or .NET (7.0 or 7.1) library files (dll) that I could use without registering it.... The goal is to be able to run any application using this library whatever the access rights to the register base of Windows... Thank you for your supports !!! Thank you Ken f ...Show All
.NET Development bug in Int32.Parse
In Visual Studio 2005, the following throws a FormatException and it definitely shouldn't. The same code works fine in Visual Studio 2003. This is the version that I am seeing the problem, running on XP: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Profes ...Show All
Software Development for Windows Vista Will there be a windows mobile app?
Just wondering if there will be a Windows Mobile 5 application for XPS We're not aware of any beta XPS-enabled mobile applications out there as of yet. There are some great scenarios with mobile and XPS though. ...Show All
.NET Development Parent-Child Table Updation Problem
Hi! Note: I'm not using Typed Datasets. I've window form from which: I'm adding new departments to department (DID,Department) table and then adding new employees to employee (EID,Name,DID) table. These tables are related by column "DID" and are filled into one main data set. on form I create new departments and add new employees to both older/newly added departments. I'm using two data adapters, one for employee and ...Show All
.NET Development I can't send mail
I write this code but it doesn't work. It just show "Email didn't send succesfully". I didn't know how to add UserName, Password and Port. Please help me. private void Button1_Click( object sender, System.EventArgs e) { Button1.Enabled = false ; try { System.Web.Mail.MailMessage myMessage = new System.Web.Mail.MailMessage(); myMesage.To = txtDen.Text; myMesage.From = txtTu.Text; myMesage.Subject = tx ...Show All
Windows Forms date format entry in datagrid
Hi, I have a datagrid control that displays date inforamtion. I want the user to enter dates in ###### fashion. However, I have set datagrid column style format to ##/##/## which works for displaying dates already entered but does not allow the user ...Show All
SQL Server SMO Method Performance
I've run a series of performance tests on a test app that uses smo for creating sql server tables (including columns, indexes, triggers, and foreign keys) and stored procedures (including parameters). On a 2.7GHz machine with 512MB ram (both app and Sql Server running locally), the series of tests yielded the following results: Table.Create() 0.3 ==> 0.6 seconds PrimaryKeyIndex.Create() 0.7 ==> 0.9 seconds Trigger.Create() ~0.0 ...Show All
Visual Studio Tools for Office Generating an MS Word doc on the fly
1. With Office 2003, is it possible to programmatically create a Microsoft Word document on the fly using XML for both the structure and content If not, is this possible with the forthcoming Office 12 edition thanks. Yes, it's quite possible. You can save a Word document as XML to see the WordProcessingML Word generates, but when creating a document you don't need all of that. Word's XML vocabulary - Word ...Show All
Visual Studio Team System webtest file and code generated for webtest file
I recorded a test for webtest. Then I generated code(.cs file) for this recorded script (.webtest file). I modified the code to populate the field value dynamically. Now when I run the test, I would like to get the value from .cs file for .webtest file. Basically, I want to synchronize .webtest file with .cs file. Is there anyway I can do that. If we can not synchronize it becomes two objects (.cs file and .webtest file). Is that we have to main ...Show All
Windows Forms List and combo boxes don't show contents
I'm having a bit of trouble with my new Visual Basic .NET software. Just installed it (Version 7.1 blah, blah, blah) and when I debug, my list boxes or combo boxes don't show the contents, whether the contents are added via code or added in the properties window. I've spent far too long today searching for patches, updates and answers, to no avail (although I did discover that MS will provide 1 answer for a "mere" $99.99 -- holy cat!) ...Show All
SQL Server Error 6522 Trying to Run Assembly from database
Hi, I am attempting to load an assembly that has been stored in a table as a byte array. I have created a c# class called AssemblyLoader that takes in 2 parameters, the assembly name and the parameters for the assembly (just a query string). From this it returns the assembly byte array using a simple sql statement within the class using the assembly name to select the assembly bytes to return from the database. The returned byte arra ...Show All
