Software Development Network Logo
  • Windows Forms
  • Visual Studio
  • .NET Development
  • IE Development
  • Visual FoxPro
  • SQL Server
  • Windows Vista
  • Microsoft ISV
  • SharePoint Products
  • Visual C++
  • Visual C#
  • Game Technologies
  • Audio and Video
  • VS Team System
  • Visual Basic

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

pdxJaxon

Member List

dsandor
Filipe Silva
gcox18
Furrukh Baig
Zebedeu
Mario Almeida
Hassan Ayoub
PaulDev
IGiberson
me113
Chuck Cobb
DanDro
thedewd
sugrhigh
Cyrus Chan
pessi
nemo kao
Dat23
Rahul Singla
IceAngel89
Only Title

pdxJaxon's Q&A profile

  • Visual Studio 2008 (Pre-release) Default value of DataMember on client side?

    I create a DataContract like this in a service: [DataContract] public class Person{ public Person(){ _name="leo xue"; } private string _name; [DataMember] public string Name{ get {return _name;} set {_name = value;} } } But when I create an instance of Person class on client side, I find person.Name is a null value. So is there a convient way to pass the default value to client side Hope for your advice. Thank you. svcutil generates partial on type declaration. You can add your own constructor or callback methods with the partial type declaration in another file to prevent overriding by svcutil. zhish [MSFT ...Show All

  • Visual Studio 2008 (Pre-release) Nested/Inner Classes and the x:Type Markup Extension

    I posted this on the Usnet discussion, but there seems to be more action here, so reposting... I want to use an TargetType="{x:Type Yadda.Stuff}" where Yadda is a class and Stuff is an inner class of Yadda. Is this possible in Xaml I'd rather not have the namespace polluted with a wrapper class that I'm using to populate a TreeView (as I can't modify the data class itself). Any help is appreciated. Thanks for the quick response. I suppose as a workaround, I could create a sub namespace for these classes ala: namespace App { namespace Window1.Helpers { internal class TreeItemWrapper {} } class Window1 : Window {} } It's not perfect, but it will probably work for me. ...Show All

  • SQL Server how to give permission to this user to connect to my database???

    I am using Microsoft Visual Web Developer 2005 Here are the steps I used to create my database Tools -> connect to database -> Select datasourse - Microsoft SQL Server (SqlClient) -> Server name - comp4_8\SQLExpress -> Log on to the server – Use Windows Authentication -> Connect to a database -> Select or enter a database name – MyDataBase comp4_8 - is the name of my computer. I am using Windows XP Professional SP2. Login as administrator without password. Now about the problem I have. On local machine everything is great! But I hosted my website and got this error. The question is how to give permission to this user to connect to my database. Cannot open database " ...Show All

  • Visual Studio Team System Connecting MS Excel and MS Project to Team Foundation Server

    Can I connect to TFS Server using Excel or Project without having the Team Explorer Client software installed. I can get to the Team Project Portal using the browser, but when I attempt to open the Issues.xls it just opens the file but does NOT displays any data. Do I need the Team Explorer to be installed on the PC Thanks, Wally ...Show All

  • Visual Basic error messages microsoft visual basic - hidden modules - help

    Can anyone help me to get rid of the annoying error messages I keep getting when opening & closing XL, publisher, and when shutting down The messages are typicaly advising an error in hidden modules such as 'AutoExec' or 'DistMon'. Other forums I've seen blame Adobe Acrobat for the fault- some sort of add in error, but the Adobe help line say that this is a MS fault. I run a new XP professional operating system, new office 2003 and added a PDF version 7 reader which I've since deleted. I've searched my system for pdf maker *.xla files which some say cause the fault, but I can't find anything by that name. There are no pdf addins on the excel tools menu either. Short of scrapping the whole thing, and going back to a pencil & ...Show All

  • Visual Studio 2008 (Pre-release) Catching All Actions in WCF service hosted in IIS

    I am having a problem implementing a CatchAll handler. When the request is comming in, the exception logged is There was no channel that could accept the message with action 'urn:RouterTest/Hello'. The client is the default test client from a WCF routing sample. I am sure its a basic configuration problem, but I am cant figure out what exactly. Thank you ------------------ My Server Code is as follows: RoutingService.cs - [ServiceContract()] public interface IRoutingService { [OperationContract(IsOneWay = false, Action = "*", ReplyAction = "*")] Message ProcessMessage(Message message); } [ServiceBehavior(ValidateMustUnderstand=false, InstanceContextMode=InstanceContextMode.Single, AddressFilt ...Show All

  • .NET Development Step into webservice from ASP.NET project - Typed Dataset parameter

    I have a VS 2005 solution with two ASP.NET web projects. The first one is the front end and the second one has the web services which are getting called from the front end. I have defined a Typed dataset in the webservice project. I have a web method in the webservice project which takes the typed dataset as a parameter. When I debug the front end project and try to step into this webmethod which takes the typed dataset it does not seem to go into the webservice. Rather it steps over the webmethod. However, I have two other webmethods, one that returns a typed dataset and one which takes a string parameter and I am able to step into both of these. Is there something I am doing wrong Thanks ...Show All

  • Smart Device Development How to Access system(or shell) imagelist in WinCE 5.0?

    Hi How to access system's(or shell's!) imagelist in Windows CE 5.0 . In desktop versions of windows we can get it from shell32.dll. But I have no idea about Windows CE 5.0. Can someone help me out please. thanks, Mahesh. hImageList = (HIMAGELIST)SHGetFileInfo( _T("\\") , 0, &sfi, sizeof(sfi), SHGFI_SYSICONINDEX|SHGFI_SMALLICON); try with this and chekc here: http://www.pocketpcdn.com/articles/systemimages.html ;) ...Show All

  • Visual Studio Express Editions VB Express 2005 crashes very often

    I d/l'ed VB express and install went flawless. But it seemed the more I used it the more often it started crashing. No particular event causes a crash more than another. Seems all random. Its to the point now where its really not useable. So I uninstalled, and borrowed a copy of Visual Studio from a friend. Same thing. Random crashes all over the place. Something odd on visual studio though, after I build a sql database and connect it to my program, and have a dataset, if I try to make a query with the query builder, the dataset will disappear. So, I uninstalled Visual Studio and reinstalled VB express 2005. Seems at first it appears better, but soon after crash crash crash. I'm not at that computer right now so I don't hav ...Show All

  • Visual C++ list boxes and data sources...

    Here is what i am trying to do: listBox1 displays information from a database. when I click on an item in listBox1, listBox2 displays information from another table. However, i try putting this code in: private : System::Void listBox1_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) { if (listBox1->SelectedIndex.Equals( "Elves" )) { listBox2->DataSource = "gamestaBindingSource2" ; } else { listBox2->DataSource = "gamestaBindingSource3" ; } } The program runs, but when you get to this section, the following error appears: "An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Additional ...Show All

  • Windows Search Technologies I can't type in the IE address bar

    I can't type in the address bar of IE 6 anymore. I can access any site by using my favorites. Is there anybody can help me with this Hi Tulio, This forum is for questions specifically related to Windows Desktop Search, however, you may be able to find more information in regard to your issue here: http://forums.microsoft.com/MSDN/showpost.aspx postid=374701&siteid=1 ...Show All

  • Windows Forms Binding controls to nullable fields in strongly type dataset rows

    I have a problem where I cannot leave a data bound control without entering some sort of value. This is driving me up the wall, and I can't believe it isn't a fairly basic need, so here goes... I have the following ... a) 1 strongly typed dataset b) 1 row from a table in the dataset c) 1 BindingSource object d) 1 standard TextBox on my form. I want to bind the "Text" property on the TextBox to the Decimal Salary field on my datarow - the datbase/dataset allows this field to be null. So I tried the following code.... _bindingSource.DataSource = _row; _binding = new Binding ( "Text" , _bindingSource, "Salary" , true ); textBox1.DataBindings.Add(_binding); This works fine ...Show All

  • Windows Forms Property Page control

    Can anyone tell me what kind of control is used in the Property Pages in Visual Studio 2005 (Its the same control you see when you select Tools --> Options --> Windows Forms Designer.) I would like to use a control like that for some data entry in my windows apps - is it a standard control (though I don't see anything like it in my standard toolbox) or do I need to download it somewhere Is it perhaps just a clever implementation of the listview control Please advise. Thanks, Shawn. ...Show All

  • SQL Server Regarding MSsubscription_agents table....

    Hi, I am using transactional replication with updatable subscriptions. I am not able to apply the snapsnot after doing schema changes. The subscriber throws the error Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. This error is thrown on the below query... select * from MSsubscription_articlecolumns where artid = 4 and agent_id = ( select id from MSsubscription_agents where update_mode > 0 and UPPER ( publisher ) = UPPER ( N 'Servername' ) and publisher_db = N 'TestTransUpdate2' and publication = N 'Test_TransUpdate2' ) The table MSsubscription _ agents is having more than one record for the ...Show All

  • Software Development for Windows Vista LoadWorkflow method of StateMachineInstance in RC2 version

    What is the other way to load a workflow in the RC2 version Doesn't the StateMachineInstance instance have a LoadWorkflow() method You can't get a workflow instance back from the SqlWorkflowPersistenceService directly. You can from the StateMachineInstance class in lab 4 and are able to do Load off of it like the following: stateMachineInstance.WorkflowInstance.Load(); ...Show All

©2008 Software Development Network