AMH's Q&A profile
SQL Server 2 data sources
I am trying to create a report that creates 2 datasources - that are from differnent servers. I can get most everything to work, but on one page of the report I want to have information from both sets. Now a query like this will work =IIF(Fields!Master_Job.Value = 5536,123,0) but if I try to go to datasets and choose the same thing, it fails to work. =IIF(First(Fields!Master_Job.Value, "Set1") = 5536,123,0) I would eventually like to ...Show All
Visual Studio Team System Unit test fails because of referenced dll on a remote server
Failed to Queue Test Run 'thsk@AYNRAND 2006-03-02 11:57:54' with id {6d251b4c-8811-4d08-b8ba-53aaf93eeb25}: Microsoft.VisualStudio.TestTools.TestManagement.ExecutionException: Test Run deployment issue: The location of the file or directory '\\myserver\path\MyLibrary.dll' is not trusted. The same machine functions as our build server, and the automated central builds in Team System works fine. I have added the server to the list of trusted sourc ...Show All
.NET Development The partner transaction manager has disabled its support for remote/network transactions
Hi People, I developed a .net 2.0 windows applications using TransactionScope. Client applications access a MSDE database on server via LAN. The program works fine when I tested on my own computer where database is on the same machine. But when I deployed database to the server, I got a message "The partner transaction manager has disabled its support for remote/network transactions Exception from HRESULT: 0x8004D025". I did some ...Show All
.NET Development FtpWebRequest question
Can anybody please help me I am trying to write a code to uplode or delete file on ftp server. A problem is that I don't know how to set up Method property for ftpwebrequest class, so sample code like this would work. Dim serverUri As String = "ftp://ftp.contoso.com/file.txt" Dim request As FtpWebRequest = CType(WebRequest.Create(serverUri), FtpWebRequest) request.Method = WebRequestMethods.Ftp.DeleteFile request.EnableSsl = Tr ...Show All
Visual C++ Isolated Application? What is it?
Hi, plz allow me to ask all of you a very simple question. What is an isolated application Who isolates our apps from who Some docs start with the following sentence; An application is considered an isolated application if all of its components are side-by-side assemblies. Do you understand this Me No, I do not. I suspect that these days Microsoft is encouraging us to write manifest-based apps. If I am right, y ...Show All
Visual C# How to open a window
Hi, I have made a button and by clicking on it a new window opens. The code in the button is Form myForm = new Form(); myForm .Show(); This works fine, but how do I actually work on myForm visually Or how do I make myForm one of the files of my project I'm using Visual C# 2005 which includes .net. Thanks, Behrouz BruceB wrote: The code in the button is Form myForm = new myForm(); T ...Show All
Windows Forms Scroll form content from code
I have a form and it's content is painted in OnPaint event. Because the content can be larger that the form, I calculate the size the falls outside the form and set the AutoScrollMinSize property. The scrollbars are displayed when necessary and  ...Show All
Windows Forms ListView sorting
hi there, i have a ListView on my form. Its 'View' property is set to 'Details' and it has several Column items in its Column Item Collection. I want the user to be able to click on one of the Column headings and see a little arrow facing down (Sort by ascending order) or an up arrow (Sort by decending) similar to Windows Explorer. How does one make this little 'arrow' visable to the user regards, there is good article on CodeP ...Show All
SQL Server Stored Procedure to executing an SSIS Package
In SQL Server 2005 I need a stored procedure that will execute an SSIS Package for me. There is some earlier stuff on the board but I don't understand it. I don't want to create a Job to do it if I don't have to. Thanks, George Cooper I suggest you do create a job. It will be easier and more secure than any other option. The only alternative is to use xp_cmdshell to call a dtexec command, but t ...Show All
Windows Forms Using Win32API to check scroll information from text box
I am trying to get the scroll information from a text box particularly the page size.Using VB6. As anyone got a sample code for vb6 or can point me in the right direction or recommend any books on code for Accessing the API in VB6. Ma ...Show All
Windows Forms creating mail from .net application
Hello. I need to create mail message from my application, but not using mailmessage class. I want to open new message window at default mail agent on client machin (Outlook Express e.t.c.) with already attached file and pre signed mail address in "To" field. The same action, for example, does PowerArchiver on selecting "Compress & E-Mail" in explorer popup menu. Can I do this in my .NET application (I use version 1.1) ...Show All
Visual Studio Tools for Office Normal.dot changed when opening word..... WHY??
My addinn is doing something strange... When I open word - doing nothing - and try to close word I get a question about saving changes made to Normal.dot. It seems like my addinn (a button offering the user to save the document in another archiving system) markes the normal.dot as changed... Any suggestions Sometimes it also seems like it does the same thing if I open an existing document... neoret ...Show All
Visual Studio Visual Source Safe Command Line
Hi! What can be the advantages we can get by using the Visual Source Safe Command Line In any automated build environement with multiple code trees, the command line is much more simple and reliable when trying to create a specific version of the code set. Although the GUI is fine, the automation interface does not provide a simple method to get the "latest" version of a file that is PINNED to a prior version. Automated creation of comm ...Show All
Visual C++ SortedList with Integer key
How can I declare a SortedList with an integer key The following doesn't work: SortedList^ sl = gcnew SortedList< int , Object>; The error is that type 'int' is not expected. Hi, SortedList can take any keys that implements IComparable interface. Int32 is one of them. So you can use int as the key to the SortedList without any special declaration. For example, it is fine to do the following: ...Show All
Windows Forms ClickOnce on Firefox
I thought this would be a simple thing to find out, but I've searched the web for over an hour and could find hardly anything. Does ClickOnce work with the Firefox browser I'm not a Firefox partisan, but I need to know if it is possible. I have created a ClickOnce application, and it is working fine with IE (localhost IIS based server). However Firefox gives me a "Cannot dowload the application. The application is missing required files..." erro ...Show All
