JoeHand's Q&A profile
.NET Development Personal Website in Visual Studio 2005 - change default ASPNETDB to my own
Hi all, I created a personal website using the wizard in visual studio 2005 and want to change the default dbs (ASPNETDB and Personal) to ones I create in sql server 2005. I copied the databases that were generated and put them into sql server then changes the connection strings in the web.config file, but it doesn't seem to allow me to connect. Is there something that I need to do to get this working that I have overlooked. Thanks in advance for any help. Kind Regards, Grant. Take a look at this article by Scott Guthrie: http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx Also, add the following to your web.config file and see if it helps: <connectionStrings> &nbs ...Show All
Visual Studio 2008 (Pre-release) Navigate
Hi, Using the August CTP-bits I tied executing the following statement: Query<Category> categories = db.GetQuery<Category>("SELECT VALUE c FROM Categories AS c WHERE NAVIGATE(c, NorthwindLib.Category_Product).ProductName LIKE 'A%'"); Which results in a mapping exception: The Member or Property 'Category' on the 'C' side is not present on the 'O' side. Why Regards, Jesper Jesper, I assume you want to get the categories that have products starting with ‘A’. If you want to do that at the object layer using ObjectQuery<T>, here’s how: ObjectQuery < Category > categories = db.CreateQuery< Category >( "SELECT VALUE p F ...Show All
SQL Server Subscription sends 2 emails
We have SQL server 2005 Reporting Services SP1. In Report Manager I have a shared subscription that runs every hour between 8am and 6pm (I created the shared subscription in Report Manager, then modified it in Sql Server Management Studio to run the hours I wanted). I have a second shared schedule that runs Tuesday and Friday at 7am. For 2 separate report subscriptions - one uses the hourly schedule and the other uses the 2-day schedule, the first time they run during the day it sends 2 email - after that it sends only 1 email, as it should. I created a subscription to email a report when the report content is refreshed from a report snapshot. In Properties...Execution, I selected to render this report from a report execution snapshot, an ...Show All
Community Chat Is MS trying to throw away menu bar?
In IE7, classic menu bar is disabled by default. In Office 2007, there is not menu bar at all. Also the traditional toolbar is gone. I can't find a way to create my own custom toolbar too. What's happening I know menu bar is very classic and not pretty, but it is one single place that I am 100% sure that I can get all the features from a program. I don't want to lose it. Choose a diety and take it's name in vien........ Who on earth needs a gallery do do word processing Let's get real. Before long we'll need 3-d Glasses just to word process. Why does anyone need a live preview I rather thought 2003 was the penultimate. Even with the quick bar, itms are in groups and every time I want to c ...Show All
.NET Development Collection without duplication
I can't find a collection in the framework that doesent allow duplicated values. is there an alternative thanks in advance Have you seen System.Collections.Generics.Dictionary Its saves a pair of values at each index 1 is Key the orther is Value, Key is Unique and it cant be duplicated if your try to insert a duplicate it'll raise an exception!!! Best Regards, ...Show All
Visual Studio SandCastle - MRefBuilder (IndexOutOfRangeException)
Hi, silly question, but does 'SandCastle' work with the XML comments in a VB GUI application I ask because when I tried, I get the following error (which may or may not be related to the fact that my assembly is a reasonably complicated VB GUI app). MRefBuilderStatic (v2.0.2459.30849) Copyright Microsoft Corp. 2005 Info: Loaded 1 assemblies for reflection and 5 dependency assemblies. Unhandled Exception: System.IndexOutOfRangeException: Index was outside the boun ds of the array. at Microsoft.Ddue.Tools.Reflection.OrcasNamer.WriteProperty(Property property , TextWriter writer) at Microsoft.Ddue.Tools.Reflection.OrcasNamer.GetMemberName(Member member) at Microsoft.Ddue.Tools.ManagedReflectionWriter.WriteTypeElements(TypeNode ...Show All
Visual Studio Team System Browsing to team project
Hi All, I'am new user of team foundation server. I ran into a problem where i stored my solution under a team project in the wrong way. For each project that exists in my solution there is a folder directly under my team project. We have 11 projects so there are 11 folders right under my team project. To make branching of my project acceptable i want to create a new folder under the team project where i put these 11 folders and the solution file in, so that i should only branch one folder. I created the new folder and Moved the 11 folders and the solution file into the new folder. users that already had a reference to the team project (old reference) have to change there bindings. i tried this with browse only this doesn't work. there i ...Show All
Visual Studio Express Editions Help! What Is An Interface?
I have been thinking about this for 2 days now..and still cant find any satisfactory answers. Anyways..... I know that an interface contains only the Signature/Defination of a Method but not its Implementation. eg. Interface IFace { Void someMethod(); } class SomeClass : IFace { void method() { //Method Defination } So Is this right What I could understand from all the Books that I have read is that By using Interface we have to Implement the Method. but this Code works too. class Program { static void Main( string [] args) { Hashtable ht= new Hashtable (); IDictionaryEnumerator Ide = ht.GetEnumerator(); while (Ide.MoveNext()) { //Some Method } } ...Show All
Internet Explorer Development How do I get the notification when the active tab is changed?
I am developing a browser extension that uses the WebBrowser object. Since there are separate WebBrowser objects to each tab in IE7, I need to know which tab becomes active during tab switching. How do I get a notification for this Thanks, Mojo Mojo, I got a little more information from the product team that might be the missing piece to this puzzle. It sounds like you can use this event to determine when tabbed windows are activated. ...Show All
Visual Studio Express Editions Saving dropdown items?
I am making an internet browser and i hav used the following code for adding a site to the favourite menu. itmFavo.DropDownItems.Add(web1.Url.AbsoluteUri) but how can i save the added dropdown items when the form is closing en how can i open them when i open the form. This dowsn't work. please can someone give me a code sample ...Show All
Visual Studio Express Editions Create Array Control like on vb 6 ?
Hello all, i have question about the array control on vb.net 2005 How to create the array control like on vb.2005 and we create it on design not on code. for example if i use the vb6 : if we have two object or more and have the same of name its will creating the index for otomatically. And this idea do try on vb.net 2005 but it not create index control for otomatically. How to handdle this problem Now that youve seen how these work you'll start to realize that instead of only being able to write code in the event for a single control array in VB6. In .NET you can hook up the code to any number of events from any number of different controls. So the following example hooks up the same method to a but ...Show All
Visual Studio Team System What is "citizinship mindset" ?
I have read this page: http://guides.brucejmack.biz/MSF%20Agile%20Beta%202%20PT/Wss/Process%20Guidance/Supporting%20Files/Mindsets.htm But still don't understand what "citizinship mindset" is. It first says citizenship is about stewardship, then talk about web services, and then reassign bugs. I really can't understand what it means. Anyone would further explain it Thank you! We will be tightening up the descriptions in v2 of the principles & mindsets. The first place you might see the revised set is in Randy's upcoming book or in my upcoming book (race to the bookshelves ). To help clear up your confusion now, here is what I put in my book: Practice Good Citizenship Good citizenship means being trus ...Show All
Visual Studio Express Editions how can i have the text in options form textbox 1 2 3 and 4 be listed in conbobox1 form1 as drop list items
Hi I am new to programming and am trying to do the following. I have form1 with 3 comboboxes. I have an optionsform with 3 panels containing 4 textboxes each. I need the text in the textboxes on panel1 to list the text as the drop down list items in form1 combobox1. I need the text in the textboxes on panel2 to list the text as the drop down list items in form1 combobox2. I need the text in the textboxes on panel3 to list the text as the drop down list items in form1 combobox3. The list items on combobox1 2 and 3 would be saved to the my.settings so when the program is restarted the same list items will still show for combobox1 2 and 3. How can I do this. Thanks Thanks, now how can i make it to where n ...Show All
Visual Studio Tools for Office Problem deploying Excel 2003 add-in
Hello, I successfully created an Excel 2003 add-in using VSTO SE on VS2k5. When I run the app in debug mode, the add-in displays properly within Excel. When I run the installer, the add-in does not appear (even on the same machine as the development environment. I ran the client troubleshooter tool and everything seems to be there. For some reason I can only get the add-in to activate when run in vs2k5 debug mode. Any help would be appreciated Thanks, Richard looks good. I think the solution is in those docs. Let me take some time and go through them and get back to this thread. Thanks for the help so far -Richard. ...Show All
Software Development for Windows Vista Installing fonts in Vista using Installshield 7
Hi, Im having trouble getting fonts to automatically install in Vista using Installshield 7. Im adding the fonts to my font folder in the installshield project but, when i install, the files are added to C:\Windows\Fonts but are not installed. Has anyone else experienced this problem or know or a solution Thanks John ...Show All
