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

Software Development Network >> Wayne Munro's Q&A profile

Wayne Munro

Member List

epsilon_ro
daveiso
XNA Rockstar
Marcos Bertoldi
Dave Houlbrooke
Ronghwa
pattyg
LouArnold
PedroMCN
aero1
Aneel
darklightred
Stephen S1
lukef01
jongas
Ajay Pathak
vdv_phuong
SarasMax
Aamir Iqbal
Cobaia
Only Title

Wayne Munro's Q&A profile

  • Windows Forms object^ FUNCTION(string^ s)

    I badly need a function or method that can: -Take a string handle as an input parameter -Return an object handle with the specified s as its object name -Return NULL if an object with that name cannot be found like the following System::Object^ FUNCTION(System::String^ s) This function is much like the "DynamicLoadObject" function found in unreal script (JAVA variant). Is there a method of achieving this For example: private: System::Windows::Forms::Label^ label3; and in a function func1() { System::Windows::Forms::Label^ tmplabel; tmplabel = FUNCTION("label3"); } If a way of changing that last number (label 3 ) exists, that would still be very useful. Like some format similar to add up strings "label& ...Show All

  • Visual Studio Team System MS Project Field Mappings

    Does anyone know where I could find more information about customizing the field mappings with MS Project   The current mappings have extremely odd behavior that doesn't seem consistent, i.e. no duration can be specified apparently because it isn't mapped but % complete can be specified IF you fill in Microsoft.VSTS.Scheduling.CompletedWork and Microsoft.VSTS.Scheduling.RemainingWork (but you have to use both and if they don't match Microsoft.VSTS.Scheduling.BaselineWork it doesn't seem to matter or it provides wierd behavior, etc..) EDIT: Also, it appears as if existing mpp refresh behavior is sometimes unaffected by the latest loaded field mapping changes i.e. setting a mapping to PublishOnly=true that wasn't previously set that ...Show All

  • Internet Explorer Development Updated Imagelist.htm - Toolbar button and Tools menu

    Hi, I have debugged and updated the imagelist.htm utility that was originally published by MS for IE5+. It is now compatible with IE6 SP2 and IE7. http://www.iecustomizer.com/ url=iebuttons/ txtProvider=117 Regards. ...Show All

  • SQL Server MDX with parameters using OleDb?

    I'm trying to run an MDX query with a parameter. It works fine with ADOMD.NET, but I can't get it to work using OleDb. (I have to use OleDb because of limitations of the calling application.) Is this possible The following code works: //using Microsoft.AnalysisServices.AdomdClient; string MDX = "with member [Measures].[Test] as Str(@Param1) " + "SELECT [Measures].[Test] on 0, " + "[Product].[Category].[Category].Members on 1 " + "from [Adventure Works]" ; AdomdConnection conn = new AdomdConnection ( "Provider=MSOLAP.3;Data Source=localhost;Initial Catalog=Adventure Works DW;Integrated Security= SSPI ;Persist Security Info=false;" ); conn.Open(); ...Show All

  • Visual Studio Express Editions Adding standard C "template".

    My intention to use Visual Studio Express C++ was to have an good and stable compiler and IDE to develop C (ANSI C) code on a windows platform. I know that the program title suggests other use for it than for standard C but i'll try anyway. As you create a project you can f.x. right-click the 'Source Files' dir in the solution explorer and select 'Add -> New Item'. Now in the coming window you can choose between a few different types of source file such as .cpp .h etc etc. My question is: What must I do, in this window, to be able to select a .c source file Currently the only method i've found is either to create a .c file outside the IDE and then add it to the project, or create a header-file and save it as *.c file. The ...Show All

  • Visual C++ Inconsistencies in overriding private function (bug?)

    I have a class, "Facade", which has two private members. One returns void, the other returns a pointer to another class. virtual void doProcessing(); virtual ResultSet* processPolicy(Policy* policy, boost::gregorian::date evaluationDate); I have two derived classes, class A overrides doProcessing(), class B overrides processPolicy(). I noticed that A's doProcessing() will get called, but that B's processPolicy() does not. Both instances of A and B get created and started in the same manner. Once started, doProcessing() gets called, which in turn calls processPolicy(). The only differences I can spot One is void and has no parameters; the other returns a value and has parameters. Do I need to treat one different from t ...Show All

  • .NET Development DataSet, SqlCommand...

    Hi, I have function that gets a datatable Public Function PageGetByID( ByVal id As String ) As DataTable Try Dim par() As SqlParameter = New SqlParameter(1) {} par(0) = New SqlParameter( " id" , id) Dim ds As DataSet = dl.getDataset( "select * from News where id = id" , par) If ds.Tables(0).Rows.Count > 0 Then Return ds.Tables(0) End If Return Nothing Catch Return Nothing End Try End Function Later I use it to get string of html from my db and show it through Literal Dim dt As DataTable = PageGetByID( "1" ) Literal1.Text = dt.Rows(0)( "Page" ).ToString() But I have an exeption in getDataset ...Show All

  • SQL Server Custom Property for Remove Duplicates transform Input Row

    Im working through the MS example of "removeDuplicates". I cant seem to figure out how to add custom property for input column. I added the helper method: private static void AddIsKeyCustomPropertyToInput(IDTSInput90 input, object value) { IDTSCustomProperty90 isKey = input.CustomPropertyCollection.New(); isKey.Name = "IsKey"; isKey.Value = value; } I call it from: public override void ProvideComponentProperties() { //... AddIsKeyCustomPropertyToInput(input, false); //... } public override void ReinitializeMetaData() { IDTSInput90 input = ComponentMetaData.InputCollection[0]; if (input.CustomPropertyCollection.Count == 0) { AddIsKeyCustomPropertyToInput(input, ...Show All

  • Windows Forms Progress bar

    Hey i think everybody knows that i've been working on a webbrowser now the only things that need to be done after i've got the working offline done, is that i need to get the statusbar to work with text and the progress bar can any body help me, it basicly needs to work like the Internet Explorer one but with just text and a progress bar. Thanks. The text bar part, subcribe to StatusTextChange; private void axWebBrowser1_StatusTextChange( object sender, AxSHDocVw . DWebBrowserEvents2_StatusTextChangeEvent e) { this . lblStatus . Text = e . text; } ...Show All

  • SQL Server Train and test data sets

    I've seen that sometimes is better to split the table into a test dataset and a training dataset, and I'll appreciate if anyone can explain why is this... thanks Santiago Acenolaza Argentina Usually after you finish building a data mining model, you'll want to test the accuracy of model against sample data. If you use the same data that you used in training, the model might show accurate results; but in reality it might have overlearned (or overfitted) on the data. Splitting the dataset into test and training allows you to validate the model accuracy on dataset it hasn't seen during training, which is more representative of the dataset it'll be used against for prediction. Let me know if you have any a ...Show All

  • SQL Server Join 2 table with our relation

    is there any way to join to table with out relation I mean conect tow table row by row If you are using SQL 2005 you can use (1) the ROW_NUMBER function and (2) a full join to get this kind of result; there is probably a better way of doing this, but I think this will work as a starting point. Dave ...Show All

  • Visual Studio Tools for Office Data Source Window not visible

    I created a new Excel Workbook in Visual Studio 2005 and created a new data source. When I click on the Data menu and select "Show Data Sources", nothing happens. I can see the .xsd file in the solution explorer. What am I doing wrong ...Show All

  • Visual Studio Team System How is it possible to specify the SpellChecker used by FxCop?

    We use FxCop for 2 years and are now in trouble because we just discovered that FxCop uses a default spellchecker like the one installed by MS Office. In our case, the FxCop results are totally different depending on the PC where it runs ; here we have 15 developper machines and several build machine and we have no guarantee that everybody use the same version of office! Does exist a way to force FxCop to use a given spellchecker Thanks a lot if you have an idea because at this moment we are about to let down this great tool if we don't work it out. Thanks David for your quick answer. Then does exist a way to subsitute the default Office spellchecker This information is probably written somew ...Show All

  • Microsoft ISV Community Center Forums MS Access User Defined Permissions

    Hi there - im building a contact management system and require some help with coding. I have a table (tblusers) for users that contains their information e.g. user name , password and tick boxes that will hopefully allow them to edit certain levels within the hierarchy of the system e.g 'allowcompanyedit' tick box will allow users with that box ticked to create and edit company information, 'allowcontactedit' tickbox will allow users with that bx ticked to create and edit contact information etc etc. I have created a user login screen and added code to a command button that checks their credentials against what is held in the users table to see if they should be allowed to log in or not. I would like to add additional code that will also ...Show All

  • .NET Development Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "LanguageLocalisation.reso

    I am getting this error in VS2005 when I try to add Localisation. Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "LanguageLocalisation.resources" was correctly embedded or linked into assembly "App_Web_b0mnmypn" at compile time, or that all the satellite assemblies required are loadable and fully signed. The language localisation can be found in App_GlobalResources and is called LanguageLocalisation.en-IE.resx The code behind is as follows. ... //set CurrentCulture for thread Thread .CurrentThread.CurrentCulture = CultureInfo .CreateSpecificCulture("en-IE"); Thread .CurrentThread.CurrentUICulture = new CultureInfo (& ...Show All

©2008 Software Development Network