darach's Q&A profile
Windows Forms How do I insert an exel spreadsheet in my form
Hi I want to be able to place an excel spreadsheet in my win form. How can I do this. Also how do I work with Excel Please help thanks Providing that Excel is installed on the machine running your app (version 2000 or later for v11, use V5 for earlier versions of office), Office.Interop is pretty easy to use in  ...Show All
.NET Development ObjectDataSource Doesn't Work With WSE 3.0
I have a web method which, when called, deletes a record from the database. I can call this method directly from the client and the method works fine. However, when I try to delete a record using an ObjectDatSource, the method never works. It fails saying that the usernameToken was not received. I finally discovered that the direct call passes the correct usernameToken to the web service but the ObjectDataSource doesn't pass one at all. All it passes is the parameter for the ID of the record that needs to be deleted. (I discovered this by inspecting the SOAP messages.) How can I configure the ObjectDataSource to also pass the correct S ...Show All
.NET Development calling a web service on the WWWW (WAN) from a windows service
hi, I have a windows service who tries to call a web service that resides on the internet. upon calling any function using the proxy i consistantly receive the following exception: The underlying connection was closed: An unexpected error occurred on a send. at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Demo.test.GetServerTime() in D:\...Demo\Reference.cs:line 37 to simplify things: 1. no security mod ...Show All
Visual C# Operator + in strings
string path = "C:\\Documents and Settings\\"+ LogonName +"\\Recent"; Error 1 Operator '+' cannot be applied to operands of type 'string' and 'method group' What do i have to do Thanks, Guilherme It looks like LogonName is a method, if so and it returns a string, try this: string path = "C:\\Documents and Settings\\"+ LogonName() +" \\Recent "; ...Show All
Visual Studio Express Editions Cant add Icon for Item in Listview
I want t be able to set Icons for each Item in my ListView. However I am not finding the property for the IconImage in Items in ListView. Please help. P.S. I have added the Images to my project, but still, nothing. Hello, Heres how you can choose icons for items in a listview... 1) make a new project 2) add a list view control to the form 3) set the "view" property of the listview to "Large Icon" or something that will show the icon. 4) double-click "ImageList" in the toolbox to add one to the project 5) Select the new ImageList and view its properties 6) On the "Images" properties, add your images to the collection 7) After addin ...Show All
SQL Server Unable to build the solution of Stock sample
I'm using SQL 2005 beta( the latest CTP, september 2005) and Visual Studio 2005. I follow the step-by-step in the 2005 book on-line to build the Stock sample, but cannot build the solution; I'm able to run sn.exe to create the sample key, but when I open the Stock.sln I get the error: 'The application for project 'C:\Program Files\Microsoft SQL Server\90\Samples\Notification Services\Stock\AddSunscribers\cs\AddSubscribers\AddSubscribers.csproj' is not installed. Make sure the application for the project type (.csproj) is installed' But the file is there..... The same error happens for loading of AddSubscription.csproj. So I stuck here....Am ...Show All
Architecture scalability implies using web services?
Hi everyone I am an analyst- programmer here in Spain(I don't know what is the difference with a programmer, i usually do the same things) I am studying a lot about architecture right now because i am in a very big project in the company that recently has hire me, perhaps the biggest project of Spain. Because i am a computer engineer I like the big vision, not the fight with the vb6, this just pay my bills. We use a lot of com+ components, put all of them in all the machines of the farm and release it. Well, we have disastrous consequences because we can't accept all the expected users. Here we don't use SOA architectures with busin ...Show All
Visual Studio Converted class code not found
I have converted an existing 1.1 class to 2.0 Beta 2. This has compiled successfully and the DLL exists. The class is imported into a project and the correct path shows in the references. When the project is started the following message comes up:- Could not load file or assembly 'EXIclass, Version=1.0.1995.24314, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Any suggestions I just noticed the edit you have made to the post after I posted my reply. You may want to post this question to the Visual Studio General forum with your updated info. Thanks, Ramesh. ...Show All
Smart Device Development How to graphically show the data in a vector?
This is maybe a silly question, but I just started C++, still a fresher. vector<double> a (1000); //a is a vector with 1000 double variables how can I show the data in the vector graphically like the wave simulation produced by Matlab It's possible to plot a graph with the points connected by lines. Are there any better ways to do it Thank you indeed. Can any experts please help me ...Show All
SQL Server Is it possible not to keep together textfields?
Hi, This all appears when exporting a report to PDF: I've a report with a label and textfield in the upper third, below the textfield there are some other controls. My problem is, that all works fine as long as the text for the textfield is short enough to fit the page. If the text gets to long I get a nearly blank page with only the label on it and the textfield on the next page. I found no property to change this behaviour. I want my textfield to split up to multiple pages, just as Access does it! I want to see the first part of the content on the first page and then page footer, page header and then the second part on the next pa ...Show All
Visual Studio Express Editions Hyperlink problem with multiple parameters
Hi all, I have what I hope is a newbie problem :( I have a dbo with three parts to the primary key.... I populate a gridview with the details from the file..... I want to use a hyperlink "edit" button to pass the keys to the maintenace aspx page so in the hyperlink properties I add the three fields to the DataNavigateURLFields and in the DataNavigateURLFormatString have something link the following;- Maintain.aspx Value1={0}&Value2={0}&Value3={0} When I press Ctrl+F5 to check the gridview, the url seems to ONLY pick up the first parameter ! ! Hence if the values were a, b and c then it evaluates the URL t ...Show All
.NET Development tabControl bugs in VB.Net 2003
I have been working with tabControls quite a bit lately and have noticed a couple of annoying bugs. One of these bugs are that I set the order of my tab pages collection and when I compile my project the tab pages end up in a different order all by themselves. Another problem is that when I try to delete objects that are on tab pages I am unable to do so by right clicking and clicking on delete; the delete, copy, and cut options are greyed out. Selecting the object and pressing delete doesn't work most of the time either. The only thing that does work sometimes is to delete the control from the "Windows form designer ...Show All
.NET Development TableAdapters.....
Is there a way to expose the SqlDataAdapter within a TableAdapter as a Public property even after re-generating the TableAdapter I can't use TableAdapters, because they don't expose the SqlDataAdapter as a Public property since I need to pass down the DataAdapter to a separate DB I/O method. Not a generated DB I/O method within the TableAdapter. I'm forced to use the Component Designer and create a SqlDataAdapter like I have been doing in VS.Net 2003. The following code is generated when creating a TableAdapter: <code> <System.Diagnostics.DebuggerNonUserCodeAttribute()> _ Private ReadOnly Property Adapter() As System ...Show All
Software Development for Windows Vista Wich is the better environment to work with WWF
Hello Guys!! Wich is the relation with WWF and Windows VISTA has my environmet to be a Windows VISTA to work with WWF Sorry if my post is old in this Forum, but I didn't found information about that. Thanks a lot! Rodrigo Sendin Developer's Team Tau Net Consulting www.taunet.com.br ...Show All
Visual Studio Print function does not work in x64 runtime
Print button in crystal reports viewer does not work in x64 runtime, when I click on the print, no response and no error, nothing happen. Is this a bug Does anyone else have the same problem Hi Barry, Depends on what version of Crystal Reports you are using. Currently only the version that comes bundled with VS 2005(CR 10.2) works on x64 machines. ...Show All
