ReidDesign's Q&A profile
SQL Server Aspnetdb.mdf and aspnetdb_log script files
Hi, Please any one can pass me Aspnetdb.mdf and aspnetdb_log scripts files in order to create those databases in sql server 2000. thanks..... Assumung that this is related to the Visual Web Development Kit, this can be downloaded under: http://msdn.microsoft.com/vstudio/express/vwd/ HTH, jens Suessmeyer. ...Show All
Windows Forms Can anyone explain this code from the Data Form Wizard
I am experimenting with the Data Form Wizard and created a windows form (mulitple records) that displays one record at a time with record navigation, update, delete, cancel, cancel all and add buttons. This is a form bound to a dataset. This is what was generated for the add button: Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e& ...Show All
.NET Development Percentage Sign in DataTable.Select()
I'm using the Select method of the DataTable in .Net 2.0 in order to return a DataRow[] which match a set of criteria. One of those columns contains strings and I want an exact match. The filter parameter of the Select method seems to use a SQL-like syntax where % acts as a wildcard character. However, it's possible for the value of the string to contain a percentage sign. Using the SQL rules solved an earlier issue I had with an apostrophe (I escaped the single apostrophe into a double apostrophe). However, nothing I try seems to convince the Select method to treat my percentage sign as a literal character instead of a wildcard. I've tri ...Show All
SQL Server How to Get detailed Logging info?
All, I have a master package with 5 Execute Package Task for sub_packages. How to get the detailed logging information as I see in the debug model in the local file system Thanks A lot I mean The Execution Result Tab when running debug. It has all the progress information. Can I get all the information in a text file How to configure a log provider I have created one with all the event (checked all the events under the DETAIL tab) in the Configure SSIS Logs window, but I got nothing in the log file. The 'log' file has only one line like this #Fields: event,computer,operator,so ...Show All
Windows Forms DataGridViewComboBox
Using the latest release of 2005. My problem at the moment is really more of a cosmetic one than an acutal serious code/data problem, but its been annoying me all weekend and hopefully someone here will be able to point me in the right direction so I can find a solution. I have a datagridview in a windows form, and I prebind it to a datatable type. I load the datatable and it loads/saves to my remote database correctly. My problem arises with a datagridviewcomboboxcolumn. Upon trying to modify the data inside(when the code is running), I have to click 3 times to actually get the combobox to open and display the choices.&nbs ...Show All
Visual Studio Express Editions using openfiledialog
l want to use fileopendialog to open a text file that l select and place all of its contents into a multline textbox. Then l want to be able to make changes and save it again. as well as doing save as. l have this code so far but l need some more help. Private Sub Button3_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button3.Click Dim openFileDialog1 As New OpenFileDialog() openFileDialog1.Filter = "Text Files (*.txt*)|*.txt*" openFileDialog1.Title = "Select A Text File" If openFileDialog1.ShowDialog() = DialogResult.OK Then End If End ...Show All
Visual Studio Refresh some objects to trying?
Hello Keith, - I'm trying to open a project by standalone exe but can't refresh a some objects(eg: word, excel and image) into active report. - Can I zoom in and out a image which insert into report at design time I's been trying to use GDI+ to redraw the image. Can you help me I look forward to your relay as soon as possible. Thanks Starfo Hello Starfo, As a first step you will need to ensure that the Visual Studio development environment is shut down. In your code you will need to ensure that you are closing the report document that you are binding to the viewer. You can do this by calling the .Close() method. So the steps ...Show All
Visual C# How do I embed an SQL Server Express database with a C# application?
I haven't been able to find any decent tutorials for easily deploying a C# application with a bundled SQL server 2005 express database. Does anyone have any good information regarding this Using SQL express database is really simple, if you are already used SQL Server. There is only difference in connection string where instead of Setting Data Initial Catalog, you should set AttachDbFilename with file path to your database mdf file. Data Source attribute has to be changed and in case of default installation of SQL Express that is .\SQLEXPRESS One thing about connection is important and that is, authent ...Show All
Visual Studio Team System Report not showing in Team Explorer
If I log in as TFSSetup I can create a report and deploy it. That report shows up on the report site and in Team Explorer. However I have another account which is simply a domain member. This account is in the Content Manager role and has access to TfsWarehouse. I've given the account TfsWarehouseDataReader role memebrship in SQL 2005, which seems to be enough to allow this user to create reports. When I create a report with this user I can deploy the report successfully, the report shows up on the reporting site and I can execute it, both as the current user and when logged in as TFSSetup. However this report never shows up in Team Explo ...Show All
Visual C# singleton
How do i make a singleton object so i do not have to make a new instance of a form Simply add a static function like this to your form and change the form type when needed: //Static instance that is stored and referenced out to callers private static Form1 m_FormInstance; public static Form1 GetInstance() { //If we do not already have an instance created, make one if (m_FormInstance == null ) { m_FormInstance = new Form1 (); } //Return instance return m_FormInstance; ...Show All
Software Development for Windows Vista Error adding a custom activity to a workflow
I defined a new custom (composite) activity as part of a workflow activity library. The library project compiles fine. From within my sequential workflow project, I add this activity to a workflow by dragging it from the toolbox in the designer. I define the required parameters in the workflow that the above activity expects. However I get following error while compiling the workflow project. "error 279: Could not create activity of type 'WorkflowProjectNamespace:WorkflowName'. Could not load type 'ActivityNamespace.ActivityName' from assembly 'ActivityLibraryName, Version 3.0.0.0, Culture=neutral, PublickeyToken=null'. " What gives I have ...Show All
Smart Device Development a strange ' ArgumentException'
I got this error when I was testing a edge detection algorithm using vs.2003, cf1.1 (i got cf 2.0 installed on my ppc, dun know if that cause any problems): An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll Additional information: ArgumentException Source Code: (there is a green arrow point to line 't1=pixel.R;' when this exception occured, and that 't1' has been assigned a value already when this execption happened- I seen that in the bottom debug window.) private void edgeDetect(Bitmap bitmap,int edge_threshold) { int [,] sodelA = new int[3,3]; ...Show All
.NET Development Where should a config file be stored?
I have written a program that creates an .xml config file if one does not exist. The config is stored in the same folder as the .exe I am using ClickOnce as my deployment solution. (Program written in C#) The problem is that when a user upgrades the program the config.xml file is removed. This causes the user to have to suffer through the setup wizard after every update. How can I prevent the config.xml file from being removed Is there a special directory I should be storing the file in Any suggestions or advice would be greatly welcomed. ;) What JBrown said is the simplest method, but there is also IsolatedStorage. Pe ...Show All
Visual Studio Team System needed: How-to guides for new users
example: to setup a team system project for an asp.net web service do this.... also: this will not work.... for example I was trying to setup a web and tfs on one server. can it be done if so how to do it keep it short, to the point, like: you can do it if you follow the standard install and then do this.... also I was looking for a how-to / walk tru for this but what I found was way to much info and not enought steps-to-follow. I found some stuff that started talking about how to create work items and what a work item is and so on.... good info but I need some simple 1-2-3 steps I have a folder of asp.net code and I want to ...Show All
Windows Forms Display Word or Excel menus/toolbars in WebBrowser control for Winforms 2.0
I am checking if there is a way to display Word or Excel menus/toolbars in the WebBrowser control for Winforms 2.0 Thanks for any help, Bob Hanson I don't know of a way, and apparently, including the menus and toolbars was one of the main issues MS faced with the ActiveDocumentHost and this was the reason it was removed in Beta 2.&nb ...Show All
