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

Software Development Network >> Kathleen MacMahon's Q&A profile

Kathleen MacMahon

Member List

Domeister
Olle SW
LJ_1102
Bridgepark
paul one
Willem Rozendaal
countzero
Matthew Byrdwell
AnnaEllis
Luke Barker
CrystalGeek
Rob Reiss
Cornelius Wolf
tibear
neutroncore
wkunz
Poslwa
gmcnickle
Varun Gupta
payyans
Only Title

Kathleen MacMahon's Q&A profile

  • .NET Development Formatting Numbers

    I want to convert some decimal and floating point numbers to strings.  I have been looking for examples of how to do this and came across the following posted example.  It seems to be what I want, i.e., String^ out = i.ToString...  However, when I run this example I get '02' on the screen, where I would like to see '05'.  What am I missing // example from another question  // using namespace System; int main() {    int i = 5;    Console::WriteLine(i.ToString()->Format("02")); }            &nb ...Show All

  • SQL Server Missing Distinct Count option in Measure's Aggregate Function property

    I am trying to get a "distinct count" aggregate function specificed for a measure that is non-numeric. Is this possible When I use the cube editor, the Distinct Count appears in the drop down list only when the measure is numeric or datetime. If the measure is varchar, the Distinct Count option is not there. Any thoughts Scott, Thanks for helping me, i did what you told me and worked fine. ...Show All

  • SQL Server SQL Server 2005 Express + User Instances

    Greetings All, It was with great excitement and interest that I installed SQL Server 2005 Express along with all the other "Express" editions of Visual Studio onto my computer.  What a great way to learn a variety of modern programming languages/techniques with no investment other than time.  I had visions of a wonderful personal website that my family could enjoy visiting.  I had visions of finally being able to work on a custom book database that my wife has frequently talked about.  I'm not sure those visions are ever going to come to fruition. The core of my problem seems to be SQL Server.  I can't even get the w ...Show All

  • Visual FoxPro Using Browse command in VFP9

    I used FPW2.6 untill a month ago , since then I convert most of my old programs to VFP9 , all is working fine except one major problem I have , the Browse command is not working in an stand alone EXE program , I know I can use the grid option but still the browse command was an easy way to display records in a file, is there a way to use the browse command in an EXE file Thank's for help No. A simple: browse or browse < browse clauses here > work for me very well (though I only use browse for debugging purposes). BTW to display records at runtime you could still use a grid instead of a browse. ie: * A ...Show All

  • Visual Basic Date Format

    I need to Format my date to look like 06/02/2006 i use this method and it returns the date at 6/2/2006.....Any help for this easy issue ToShortDateString.ToString() You can use the Format function: Dim d As Date = #6/2/2006# MsgBox(Format(d, "MM/dd/yyyy" )) The two M's and two d's force it to show two digits. M is capitalized because lower-case m means minutes. Hope that helps, Jonathan Aneja The VB Team ...Show All

  • Windows Forms Help. Port an VB indexer property to C#

    Hi all,  I need to convert this VB  Default Public ReadOnly Property Item(ByVal index As Integer) As SomeObject   Get      Return CType(list.Item(index), SomeObject)   End Get End Property and i think in C# comes to this: public SomeObject this [int index] {     get { return (SomeObject)List[index]; } } Could someone confirm, or remend this, please. Thanks JCasa ...Show All

  • Smart Device Development Pocket PC/Webservices: Unable to connect to the remote server

    I have developed a Pocket PC 2003 app in Visual Studio .NET and am getting an unusual problem i can't get to the bottom of. My VB.NET Pocket PC App tries to call a simple web method on my webservice from the device using the webserver's IP or Machine name and receives the error " Unable to connect to the remote server". Yet if i point the device's IE browser to the location of the webservice asmx file (i.e. http://192.168.1.1/mywebservice/testwebservice.asmx ) i can successfully see the WebService name and the supported operations in the devices browser window. I can confirm that the web reference url within my VB ...Show All

  • Windows Forms WaitCursor and form disable

    Hi I got an application with a lenghtly task in managed C++. I wish to disable the form to prevent user from doing anything and have a waitcursor (hourglass) when the task is running. this->Cursor = Cursors::WaitCursor; this->Enabled = false; the task this->Enabled = true; this->Cursor = Cursors::Default; The problem is when I disable the form, the WaitCursor disapear. If I& ...Show All

  • .NET Development TableAdapters BaseClass

    Hi,    I have a problem with the TableAdapters implementation: let's say I want to implement a generic method that takes a TableAdapter and performs some operation on it.     For the sake of example let's say I just want to open the connection the TableAdapter uses:          public void PreOpenConnection(<TableAdapter base class > tableAdapter)    {          tableAdapter.Connection.Open();    }      With the current implementation I would need to accept a Component para ...Show All

  • Windows Forms Wandering Controls in VS2003

    Hi, I have a form in my application which has a tabcontrol with 5 tabs. On each tab the controls are located in groupboxes. On the first tab I have a few controls including a datagrid. On the second tab I have the most controls - textboxes, checkboxes and datetimepickers. On the third tab I have a custom control. On the fourth tab I have a listbox and some textboxes. The fifth tab is empty currently. The problem I am having is with the datagrid on the first tab and SOME (not all) of the textboxes on the second tab. If I run the project after making some changes, the Windows Form Designer regenerates the code in InitialiseComponent( ...Show All

  • Windows Forms Datagridviewcomboboxcolumn Default Value

    Hi, I manually added a datagridviewcomboboxcolumn to my grid: Dim cboCol As New DataGridViewComboBoxColumn cboCol.Items.AddRange( New Object () { "Internal" , "External" }) cboCol.Name = "cboCol" Me .dgAvail.Columns.Add(cboCol) It shows up in the last column of my grid. Currently when I load the form it shows up with no value showing and I need to select the dropdown to enter a value (fine, but....) I would like it to show a default value (so the user only has to change when necessary). How can I acheive this It seems the only time I can set the selected index is when it is ...Show All

  • Windows Forms Grid questions

    Hi, Im making a grid for windows forms , and i need some feedback. If anyone have the time , could you please answer some of the questions located at: http://www.compona.com/gridfeedback.txt[^] (its about 20 grid related questions) //Roger  Is there any features the default datagrid or the normal listview (in report mode) lacks   <i>Easy to use cell validati ...Show All

  • Windows Forms What's the Windows Form Equivalent to the ASP Drop down list

    I want to download  a list of names and reference numbers, display the names to the User, and from his selection read the associated reference number, but I can't see the Windows Form to do this. I'm missing something pretty basic and deserve contempt, but would appreicate being enlightened. Thanks in advance. Following you suggestion of a binding problem, I re-configured the data adapter and dataset and now everything is working fine. I don't know what it was that I changed that rectified the problem. Thanks for the direction ...Show All

  • SQL Server Report layout:- Inconsistencies between page height and HTML Rendered

    I'm having problems with what is displayed in the browser being different to what is defined in the RDL and what is exported to PDF. I have set height to 21cm and width to 29.7 with 0cm margins. There is one table in the report. When I export the report to PDF its fine, all pages are 21x29.7cm, landscape. However, when I view the report in the report manager (in a browser) the pages are much longer than they should be... nearly twice as long (as if to make the report portrait again ) Has anybody had this problem with lanscape reports   Any ideas on how to resolve this I've made lots of different landscape reports and get the proble ...Show All

  • .NET Development Using transactions with TableAdapters

    I have several table adapters, each with an InsertCommand (among others). I call BeginTransaction before I start calling Update for each adapter. Update results in the InsertCommand being used but I get an exception because the command has no transaction. The commands are private members of the VisualStudio-generated adapter classes so I cannot access them to set their Transaction members. Is there a "proper" way to do this (In case it matters it's an OleDb/Access database). I'm also looking for this topic. I think you have to use TransactionScope from System.Transactions. But, beware that if yo ...Show All

©2008 Software Development Network