Software Development Network Logo
  • .NET Development
  • Microsoft ISV
  • Game Technologies
  • SQL Server
  • Visual FoxPro
  • Windows Forms
  • Smart Device
  • Visual Studio
  • VS Express Editions
  • Visual Basic
  • VS Team System
  • Windows Vista
  • Windows Live
  • Visual C#
  • Visual C++

Software Development Network >> OOutland's Q&A profile

OOutland

Member List

joe joseph
masterbuyerseller
anandss
countzero
Martinro73
ahops
AYHAN
ToddNR
Adhamz
sotnlk
t_o_n_y
Ivan Volzhev
Ashutosh Kumar Srivastava
Arterius
dan_goita msft
Jim Bish
anakanak10
Landarzar
jfalberg
mister_ray
Only Title

OOutland's Q&A profile

  • Visual Basic How to select a database at application startup

    Hi, I wrote a little application with VB2005 which uses an access database. I stored the connection-string with an application setting (my.settings.etcetc). Now for testing purposes I would like to make a copy of the database file, one with my real data and a second which I use when I want to test new features of the program without messing up all the data. For this it would be nice to give a choice to select the database to be used at application startup. Could anyone give me a hint how to do this Thanks a lot Thomas You could use file dialog control to show the list of the files. You could also apply filt ...Show All

  • Windows Forms Custom menu items serialization ...

    Hy! I have build in VB .NET a custom menu which displays icons to each menu item. The StyleMainMenu inherits MainMenu and StyleMenuItem inherits MenuItem. For StyleMainMenu I have a toolboxbitmap and I can choose to insert directly from toolbar a style menu to the form. But, at design time, when I add menu items, they are made as "new MenuItem", not as "new StyleMenuItem". Question: how can I make that, by design time, the menu items to be as StyleMenuItem Thanks.   Hello Rick ( posting to two forums !) I've got it working ( sort of ! ) with the following attributes added just a ...Show All

  • Visual Studio Team System Problem to connect to AD while doing automated tests

    Hello All, I have a very strange behavior while running the tests on my development machines and on the production server. I have posted this thread in the CLR part but you may already have encountered this problem while doing tests. Thanks to have a look ! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=391203&SiteID=1 Jarod A new element : so I have created a brand new virtual machine with "Team Suite Trial" --> all my tests are ok Then I have create breand new virtual machine with "Team Edition" --> all my tests are ok Then I have upgrade my VM from "Team Suite" ...Show All

  • Visual C# Casting Generics

    How do I cast a generic class using an inherited type class A { } class B : A { } interface I <T> where T : A { } class C : I < B > { } class D { public D() { I < A > i = ( I < A >) new C (); //runtime error // I<A> i = new C(); //can't compile - but this is what I want to do } } Regards A g enerics newbie Hej Ulrik Jeg har rettet i dine kode eksempler. Se nedenfor. mvh Arne - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ...Show All

  • SQL Server Windows Mobile 5 connecting to SQL Server 2005

    Can't get winmobile 5 to connect to my sql server 2005 (using vs2005). Here's the connect string: "Data Source=tcp:XXXXXX\default,1433;Database=YYYYYY;" _ & "Integrated Security=SSPI;" This very same string, and variations of it, work in a vs2005 winforms app, but not a windows mobile 5. I'm (obviously) using system.data.sqlclient. MS documentation says it's supported on both platforms with no syntax changes. Any suggestions Thanks for your help :) I will that at the end of this week, and than say something about the results. Best Regards ...Show All

  • Windows Forms Getting Extended System Colours

    Does anyone know how to get the "extended" system colours in managed code   If you open the Display dialog (Appearance / Advanced), quite a few of items contain Colour 1 and Colour 2.  I need to get both to make my "Custom" forms to appear similar to those in the selected scheme. Also does anyone know how to find out if th ...Show All

  • Windows Forms Items in ListView / ListBox change event does not exists

    I need to somehow be notified when the number of Items in a ListView (or ListBox) changes.  I cannot find any event in the ListView that fires when the Items collection is modified. Does anybody know how to do this   Thanks, Greg I have an app with a limited designer.  The user modifies the number of items in the ListView by editing with the CollectionEditor via the PropertyGrid. I need to somehow be notified when the number of Items in a ListView changes (in order to implement Undo) Here's what I have tried so far: 1) The Items collection has no collection events. 2) ...Show All

  • Visual C# updating the UI with progress bar while Business Layer in process

    Hi I'm developing a windows based c# application. How do I update the UI with progress bar while Business Layer in process where my BL is in a seprate Machine in the same network. I tried by placing a thread to update the progress bar and at the same time BL function will also execute. But this doesn't seems to be working properly. can any one sugest any methodolgies for this Regards Karthik Uhmm, it "didn't work" because    OK, here it is... and yes, it works... TWO different ways!  Take your pick!     public partial class Form1 : Form     {  & ...Show All

  • .NET Development question about reading XML using XmlDocument

    Hi! I have a problem, I would like to read the structure of XSD schema (XML). I decided to use class XmlDocument and some related methods. I am using language C#. I have a problem with method SelectNodes(xpath). For example: XmlDocument xml_doc; XmlNodeList list; this .xml_doc = new XmlDocument (); this .xml_doc.Load( @"myPathToTheFile\test.xsd" ); list = this .xml_doc.SelectNodes( "///element" ); Problem is that node <xs:element... is on the third level but number of nodes in the list is always 0... Something is wrong with xpath i defined in method SelectNodes. But I can't find out w ...Show All

  • .NET Development Create new Object from unregistered DLL

    Hi Guys(.and Girls..) ! I want to create a reference to a DLL (which is just copied into same Directory) as for example do_it.exe; No i want to call this dll from do_it.exe; I know the API(Public Class inside of the DLL with methods and properties..); How can i call this dll fromout of the executable without having this dll registered; If using createObject("<my_class>") ... is .net able to locate the dll ..or has it to be copied to a specific path Can i directly call the class (also if its inside a namespace).. plz give some hints or example if available.. thanks in advance max Is the dll u ...Show All

  • Visual Studio Team System Merging and Branching at MSFT

    Hi, I've read a few blogs on Merging and Branching so I know enough to be dangerous! Whilst reading these blogs I thought; how do MSFT do their branching Let me explain a little and I'll simplify things here. Say VS 2k5 used TF. When MS started they created the project in TF. Files were added to a main branch. Then it came round to Beta 1 time. There must have been some cut off point where they said; right, lets create a branch and call it Beta1. After the branch was created the dev team continued to work on the main branch. Bugs were found in the weeks that followed and some needed to go in to Beta1. So, the fix was done in Beta1 branch an ...Show All

  • Visual Studio Team System MS Project Mapping Problem

    If I map anything to "pjTaskActualStart" or "pjTaskActualFinish" in FileMapping.xml I get an error when editing that record in Project. For example, the following does *not* work: >>> <Mapping WorkItemTrackingFieldReferenceName="Microsoft.VSTS.Scheduling.ActualFinishDate" ProjectField="pjTaskActualFinish" /> <Mapping WorkItemTrackingFieldReferenceName="Microsoft.VSTS.Scheduling.ActualStartDate" ProjectField="pjTaskActualStart" /> <<< However, mapping to "pjTaskText27" etc does work. For instance, the following mapping works ...Show All

  • Visual Studio 2008 (Pre-release) Why can't I use Kerberos with Transport security mode?

    Problem: If I use <security mode="Message"> then I get a Kerberos token at the server. If I use <security mode="Transport"> then I get an NTLM token. On both occasions I have the client set to use "Windows" as it's credentials. Any ideas Michael, Can you try setting proxy.Credentials.Windows.AllowNtlm = 'false'; and see if that addresses the problem. Thanks Gudge ...Show All

  • Windows Forms Removing the asterisk

    Thanks more for the fast reply that I does not see before OK. I want to know how to remove the * from the Row Header I want to Write Only the row number OK and I using DataGridViewwith Right-to-left =True So , Please I want to know how to (WRITE ONLY RO NUMBER CENTERED according to Row Header width AND In Arabic Font Thanks thanks thanks especially to Mr. Mark Rideout check out the following post for information: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=162118&SiteID=1 Basically you need to handle cell painting and remove the ContentBackground PaintParts. -mark DataGridView P ...Show All

  • SQL Server SSIS Optimization

    Hi There We have a package that simply reads a rows from a table and puts it into a flat file destination, this repeats through a for each loop. It is a very simple package. Problem is it takes 10 minutes to do a thousand rows. This is incradible slow, i have check indexes are fine, the table are only 1000 rows, but it seems to only read and write about 3 rows a second, this is crawling. Please how can we make tis faster, are there any obviously properties setting we should be checking We have started using SSIS alot around here, main problem is that all our packages seem very slow ! Whether they run in GUI debug or in a job in sql server ( ...Show All

©2008 Software Development Network