Christopher Ireland's Q&A profile
Visual Basic change published project dir
hi, after finishing my project i would like to publish it so i can burn it to a cd and if a computer doesnt have .net framework 2.0 it will install it before running my project. I know how to do this and can publish it with all the right files through the publish wizard. The problem is when i publish it, the running directory is a temporary one which i found out with the help of a couple of people and the application.startuppath command, and the ...Show All
Visual C# Need good tutorial for Query Builder
Where can I find a really good tutorial on the VS 2005 version of Query Builder using C# I have limited SQL knowledge and no experience at all with previous versions of the Query Builder. I posted this in Visual Studio General as well. My question isn't really specific to C#. ...Show All
Windows Forms Positioning context menu over datagridview
Hi -- I'm trying to configure my datagridview so that if the user right-clicks on the row header area, a context menu pops up. I do this with the following code: Private Sub dgvResults_CellMouseClick( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles dgvResults.CellMouseClick If e.ColumnIndex = -1 And e.Button = Windows.Forms.MouseButtons.Right Then cxmnuGrid.Show(dgvResults, N ...Show All
Visual Studio Error:Request could not be submitted for background processing.
I have an application written in vb.net which displays crystal reports. (I develop in Visual Studio .net 2003) Lately I have begun to get an intermittant error when the app tries to display a crystal report: Error in File:(reportname.rpt). Request could not be submitted for background processing. Business Objects indicates that there is known bug. There are patches for their software - and they suggest that users of OEM versions contact th ...Show All
SQL Server Data Source Issues using DB2
Has anyone used SSIS with DB2 as a data source. I am able to make it work with the OLE/db driver for DB2, but it is verrrrry slow and fails if it is not an extreamly small table (probably < 1000 rows). It runs much faster and seems to handle large tables if I do it with a script component using an ODBC DataReader. We would like to not have to write code for every table and I can't get a pre-defined data source to work with ODBC. The OLE driv ...Show All
Visual Studio Express Editions read a remote file in a char * variable
People, how do I read a remote file in a variable Respectively, I need some function like char *file_get_contents ( char *url ) so that i can remote_file = file_get_contents ( "http://192.168.0.10/somefile.html" ); Is there some straightforward way Before trying to do this through HTTP, are you able to do this by going through the LAN filename = " \\ \\192.168.0.10\\www\\somefile.html ...Show All
Visual Studio Tools for Office Most flexible deployment is to GAC?
Working on a VSTO Word application. Users will need to be able to pull documents from a Sharepoint site that use the app as well as email them to each other, and also be able to work offline... Right now I have decided to install the assemblies into the application folder. However, I assume that if two users install into different app folders (or if Program Files is on D: for one user...) then they cannot email the document from one user to a ...Show All
Windows Forms ClickOnce ISV Mode
Hi All, I've only been looking at ClickOnce for a very short time and so this question may be way too early. In any case: Is there a way ClickOnce can be used to distribute ShrinkWrapped Software. My question is specifically around building the bootstrap executable. Can we manage all of the following requirements: a) There are some redistributables that need to be set up and cannot just do an XCopy and so must be part of the Prerequisit ...Show All
Visual Studio Team System Multiple Source control Databases in TFS
Is it possible to create multiple databases in VSTFS as in VSS Each database is specific to an environment. Current VSS setup Database A $/ Proj A Proj A.1 Proj A.2 Proj B Database B $/ Proj A Proj A.1 Proj B Proj C Proj C.1 Is it possible to do this in VSTFS Currently the TFS server is installed in the test environment and in Single server install mode. When VSTF is insta ...Show All
Smart Device Development How to get my application to run at boot time
Hi, i'm developing a Win CE .Net 4.2 application and i want to know how to make it run at boot time, I'm not sure what to do, so please help me. Thanks in advance. Read this for WinCE: http://blogs.msdn.com/cenet/archive/2004/12/03/274661.aspx Cheers Daniel ...Show All
Visual Studio Team System WorkItem Field enabling/disabling based on current user
Hi! I have another question regarding Workitems: I would like to achieve that the WorkItem Fields can only be editable to that user which is present in the System.AssignedTo field. Other users cannot edit the fields. Is this possible somehow Thanks, Bye! Hi! Thanks for the reply, but I think you not really got my problem. Let's assume I'm logged in as "Jack". A workitem's AssignedTo field is "Frank". In this ca ...Show All
.NET Development Hiding DataGrid columns not working
I've populated a datagrid using a DataView as the DataSource. The DataGrid.Columns.Item(x).Visible = False statement is not hiding any columns. I've also tried DataGrid.Columns(x).Visible = False I've tried the code in four different built-in event procedures. Page_Load, Page_Init, DataGrid_Load and DataGrid_Init I can't get the column to be hidden. What am I doing wrong The columns are au ...Show All
SQL Server auto-increment nvarchar column
Hi experts! The situation :I have a table containing the MemberID and related member's info. The MemberID is the pk and should be incremented for every new member. However, the ID is in "nvarchar" type, since it consists of an "IM" prefix. I used the following stored procedure to insert new member to the table. CREATE PROCEDURE dbo.spInsertNewMember @parMemberTitle nvarchar(2), @parMemberFirstName nvarchar(40), @parMem ...Show All
Software Development for Windows Vista Maximum time-out interval for delay activity
I need to set the time-out interval for delay activities to large intervals (say one year). However I am getting the following exception when I set the TimeSpan value to a large number. TimeSpan allows values as large as 2^64. So I was wondering where is the 2^32 limitation coming from. Inner exception: System.ArgumentOutOfRangeException: Time-out interval must be less than 2^32-2. Parameter name: dueTm at System.Threading.Timer..ctor(TimerC ...Show All
Audio and Video Development Forum for encoder 9
where can i find a forum for encoder 9 and or embeded media player 10 Thanx See http://www.microsoft.com/windows/windowsmedia/community.aspx On that page are links to newsgroups for past Windows Media products including the Encoder and Media Player. -Sumedh Barde ...Show All
