Jesse Bradlee's Q&A profile
.NET Development How to install SQL Server Express as a ClickOnce prerequisite?
Hi, Besides just checking it in the prerequisites list, what else I have to do to properly install the SQL server. I have somehow : - specify instance name - set authenfication to "SQL" - setup users - configure network protocols - etc I have found information how to configure the server through command line, etc. But can not find anything how to do it during ClickOnce installation. Thanks PS. I already have asked the question in the ClickOnce forum.Seems like nobody there knows the answer. If you read the article (I did, several times) you will find out what it does not p ...Show All
Visual Studio 2008 (Pre-release) How to blend SolidColorBrush with ImageBrush?
When defining GeometryModel3D.Material I'd like to blend SolidColorBrush with ImageBrush. If I define materials in this order: <MaterialGroup> <DiffuseMaterial> <DiffuseMaterial.Brush> <ImageBrush ImageSource="image.bmp" /> </DiffuseMaterial.Brush> </DiffuseMaterial> <DiffuseMaterial> <DiffuseMaterial.Brush> <SolidColorBrush Color="Red" /> </DiffuseMaterial.Brush> </DiffuseMaterial> </MaterialGroup> I ...Show All
Visual C# Passing Data Between Forms
Ok. I posted this question before, but I didnt get a response. I can I access objects from one form to another Hi, Yes you can. All you have to do is declare the object as public in the class declaration. class test { public object yahoo = new object(); } cheers, Paul June A. Domag ...Show All
SQL Server Report Definition Language
Using VS 2005, I have created a piece of software that creates an RDL file using XML. However, although my data (though a DataView control) is showing as it should, and I can update this to create new data, I cannot get the RDL to display a variable which I change and use as a 'header text' to the report. The variable is shown the first time I display the RDL through a ReportViewer Control but remains static thereafter. The interesting thing is that when I view the XML through a third-party viewer, it shows the correct value stored in the variable. For information, I am using a child form in a MDI to create the data that is fed into anoth ...Show All
.NET Development Search a network drive
I need to be able to search our companies shared hard drive through an intranet page. I am not sure if this is possible. Basically I want to create a form and then when that form is submitted. I want it to call up Microsofts built search utility and then display the results. The reason for doing this is to make it easier for people to search company info by going to a form instead of a list of directories. Is this possible, any direction will be appreciated. Regg, can I suggest you direct this issue to the ASP.NET forums: http://forums.asp.net Regards, Kit ...Show All
Visual Basic converting a buffer value
I am trying to add a 16bit value to my buffer. I have: b(132116) = Convert.ToUInt16(tbHP.Text) where: b is my buffer array tbHP.Text is the numeric value to add to the buffer. The error I get says an arithmetic overflow occured. I am guessing this is because it is trying to set a 16bit value to an sbyte. I don't know how to correct this. Any ideas Troy, Is the buffer a byte buffer You didn't specify the datatype. Again, you cannot add anything larger than an eight bit entity to a byte buffer - ever.... there are a million ways to do this. dim a as ushort = Convert.ToUInt16(tbHP.Text) ...Show All
SQL Server SQL Server 2005 frustration
Hi. I'm relatively new to the SQL Server 2005 thing. Ive just downloaded the 180 day trial of SQK server 2005 (not the express edition), but I cant get to the management console or view any of the database bits like in SQL Server 2000. I've upgraded from SQL 2005 Express. Is this anything to do with it Can you please help me, as I'd like to be able to follow the tutorials in the SQL server 2005 Books online Ta, Matt Matt, You have the Express edition of workstation components still installed: Workstation Components [Version: 9.00.1399.06 Edition: Express Edition Patch level: 9.00.1399.06&nbs ...Show All
Visual Studio 2008 (Pre-release) How to delete a control on a form?
How can i remove a control on a WPF Form, tried all alternative but none works. Do i need to do it on XAML (Is it a not implemented feature ) From the small-now-but-hopefully-growing FAQ on the Channel9 Wiki :-) http://channel9.msdn.com/wiki/default.aspx/Cider.FAQDeleteControls chad ...Show All
Visual Studio 2008 (Pre-release) IDispatchOperationSelector throws exception
1. I have two operation contracts as follows. [ OperationContract ] string HelloWorld( string myValue); [ OperationContract ] string HelloNewWorld( string myNewValue); 2. I have a custom implementation of IEndpointBehavior and have the following code in its ApplyDispatchBehavior (). endpointDispatcher.DispatchRuntime.MessageInspectors.Add( new ServiceInspector ()); endpointDispatcher.DispatchRuntime.OperationSelector = new CustomOperationSelector (); The IEndpointBehavior is configured in the appropriate way in Web.Config file. And the ServiceInspector part works fine. 3. The SelectOperation method of C ...Show All
SQL Server SQL Server 7.0 with SQL Server 2005
I have SQL Server 7.0 and SQL Server 2005 installed on the same machine. When i try to backup SQL Server 7.0 it gives me following error, can anybody help and explain me a resolution: "Backup or restore operation terminating abnormally" I read from one of the KB articles on MSDN that when SQL Server 7.0 and SQL Server 2000 exist on the same machine this error comes and there is a work around for that. This is explained here: http://support.microsoft.com/kb/q280759/ Is there any similar workaround for SQL Server 2005 also. Please let me know. The error, -2139684854 = 0x 8077000A indicates a memory allocation fa ...Show All
SQL Server rs drops first column in data set
I started having this problem some time ago when trying to build a report using a stored procedure. Existing reports work fine, it is only new reports that result in this error: The data set ‘WeeklyManagement’ contains a definition for the field ‘BrewNumber’. This field is missing from the returned result set from the data source. I get this error when I try to preview the report. The missing field is always the first column in the dataset. I have tried everything I can think of, including repeating the column, rewriting the sproc, rewriting the report, everything. I cannot find any reason why this should be happen ...Show All
.NET Development response = (HttpWebResponse)httpRequest.GetResponse();
for .net 2.0 I would have assumed that if the url that I was trying to get was not available i.e. file not found I could do response = (HttpWebResponse) httpRequest.GetResponse(); and look at the status from the response, however, if the page is not there an exception is raised response is null and I don't have a good way of dealing with this in a catch block. Based on the documentation I would have not expected a page not found to raise an exception otherwise what good is the status code property response.StatusCode = HttpStatusCode.Found I think this might be a bug. in the exception handler e.status returns a protocol error ...Show All
Visual C# How to take user input for directory(folder) path????
Hi, I am now writing a C# program in VS .Net 2003. I like to have it included a control by that user can specify any folder(directory) where a collection of their files are stored. Any idea what control will work for me Thanks, vcboy FolderBrowserDialog d = new FolderBrowserDialog(); d.ShowDialog(); ...Show All
Windows Forms Windows Messages
Hi all, I want to send Custome messages from my .NET application to other windows application.I'm trying to use PostMessage ,but the other windows applications doesnt recognise the message i sent.The PostMessage(broadcast) function returns a negative value.This is how i defined the function.. [DllImport("user32.dll",EntryPoint="PostMessage")] private static extern long PostMessageA(long hwnd,long wMsg,long wParam,long lParam); Please help.. Thanks, Suresh. Perhaps you could try two .NET apps, and see whether or not you can get it to work, then switch back to your Delphi/.NET problem. Seems like y ...Show All
Visual Basic Form Design Goes Blank when switching between code and design?
Hi, I am running the release version of VS 2005 Professional. I have noticed a really annoying problem. I am developing a SDI application using a tab control to provide access to multiple pages that allow the user to input data. There are 5 tab pages and they have approximately 30 or 40 controls on each (labels and textboxes mostly and usually a single ListView, 3 command buttons and 3 or 4 drop downs). I often switch back and forth between the code window and the design window and most times I do this the design window goes white and the cursor is not busy but there is a delay of about 15 or 20 seconds before the design win ...Show All
