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

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

RhysDavies

Member List

Thomas Greenleaf
GS80
anarcosta
maqk
Holger Graudejus
pinoyz
Harkernator
Santhosh Pallikara
Jordan Terrell
prozac11
Gumbatman
Greg Wojan
Mark Gillis
dLloydm
magicalclick
Sebastiang
CumQuaT
Chinwa KneeHo
Neetan
Kamii47
Only Title

RhysDavies's Q&A profile

  • .NET Development What's the different between 64-bit and 32-bit ?

    What's the different between 64-bit and 32-bit I am always wondered what's the difference but I couldn't find a good reference. I want to learn what are the benefits. Can anyone tell me Regards, Mustafa Sorry for my late answer . Many interesting references it is possible to find there: http://www.viva64.com/links.php ...Show All

  • Smart Device Development Possible to scroll to a specific row in a datagrid?

    Is it possible to scroll to a certain row in a datagrid, and how would you do it C#: this .dataGrid1.CurrentRowIndex = certainRow; VB: Me .dataGrid1.CurrentRowIndex = certainRow ...Show All

  • Visual Studio 2008 (Pre-release) Creating a WPF ruler

    I wanted to pick some WPF brains to see what interesting ways there would be to create a WPF ruler. The only way I can think of is to actually determine the resolution of the screen then figure out where to draw the unit measurements (pretty much just using C# code) Anyone have any better ideas So does that mean that I don't have to calculate pixels/inch at all I can just draw an inch marker every 96 pixels ...Show All

  • Smart Device Development Program Hangs in VS2005/Device Emulator

    I'm attempting to debug a project using Visual Studio 2005 and the Windows Mobile 5.0 Smartphone emulator. Everything was working ok - project was running etc, then for no apparent reason (no code or settings changes) the project now hangs as soon as it begins executing on the emulator. Also the program files and the test files I was using were no longer in the emulator's directory. Tried other projects(that all previously worked) - same result. Tried debugging my project and others on a device through VS 2005, all worked fine. To date I have tried... Uninstalling and re-installing the project via the emulator. Clearing the saved state. Soft re-setting the emulator. Hard re-setting the emulator. ...Show All

  • Windows Forms AcceptButton not working

    I am setting the default button on my form, like so: this .AcceptButton = this .noButton; But the other button ("Yes") button click is still being envoked. In the designer the noButton appears to be set as the default (it has an outline). Then when I run, the"Yes" button has an outline and acts as the default. The debugger also seems to think that the noButton is the default button: this.AcceptButton {Text="No"} [System.Windows.Forms.Button]: {Text="No"} DialogResult: None Any thoughts/ideas I am seeing the same problem. I set my form's AcceptButton, I call the button's NotifyDefault, and I call Focus() on the button... and it displ ...Show All

  • Visual Studio 2008 (Pre-release) Generic WCF Service Invoker

    Could you please advice if there is any Generic WCF Service Invoker A component that I can use to invoke a WCF service by simply providing Service URL, OperationName, and ParametersCollection. BUT I still want to be able to control and custimize the binding/invocation. My scenario is that I have a bunch of functionally equivalent services that I want to dynamically bind to, at design time I know the service interface but I only know the concerete binding/service provider to use at runtime. Also some service providers sometimes do not comply 100% with the agreed-upon interface so I need to do some in-out transformations before invoking and after receiving the response. Is there any exisiting samples that can guide me on how to do the above ...Show All

  • SQL Server Data Conversion Numeric to date

    I have some data which I am trying to put into a DM where I can use it as part of a cube (my first!!) I have hit a small problem with dates, I get it from the ERP system as a numeric field, and I need to convert it to a date format. The intension is to use this converted data with Named Calculations to derive Year, month Day ect. However I cannot seem to be able to convert and store (in SQL) this column can anyone advise Thanks The source column is called AHDATE and a value is 60703 which I am told is YY/MM/DD and using a data conversion componant transforming to data type date[DT_DATE] I get 12/03/2066 00:00:00 Which is way out Thanks for any help Robbie ...Show All

  • Windows Forms Adding a ComboBox to a bound DataGridView

    Hi, How can you add a ComboBox to a bound DataGridView I know how to add a ComboBox if the DataGridView is NOT bound using something like: cbo = new DataGridViewComboBoxCell (); and then populating the ComboBox, construct other row columns and finally perfrom a dataGridViewx . Rows . Add ( dataGridRow ); This does not work if the DataGrid is bound - Hence my question. Thanks for your help. Hi, Thanks again for your help. As per your suggestions, I can't add the ComboBox outside the DataGridView, because, the ComboBox is used to control a specific column value selection while the user is editing a specific row. As per your second suggestion "Adding a ComboB ...Show All

  • Windows Forms Datagridview advanced search and filer

    Hello I would like to know how can i perform an advanced search/ filter in a datagridview. Including "Match whole word" , "Match case" and regular expressions. I have a datatable bound to the grid. Can i use datatable.select or bindingsource.filter thank you, Horea The Bindingsource.filter is NOT Case Sensitive. It is only possible to find parts of what you search by using the *-sign. myBindingsource.Filter = "LastName = 'S*'"; ...Show All

  • Visual Studio How to add a toolbar to a document window?

    Hi all, I need to add a toolbar at the top of a document window. I found how to do it for a tool window (there is a walkthrough in the SDK) but I haven't found anything for document window. .Anybody know how it can be done Freddo You need to have the shell create a IVsToolWindowToolbarHost for you that is tied to a IVsToolWindowToolbar that you implement that manages positioning of the toolbar. Normally toolwindows implement this for you and manage placement of toolbars but you can implement it yourself in any window. Pass an object that implements IVsToolWindowToolbar to the IVsUIShell.SetupToolbar() with the hwnd of the window that will contain the toolbar, your IVsToolWindowToo ...Show All

  • Software Development for Windows Vista *** VISTA RTM *** Writing to raw disk sectors.

    Hi, I have an application that is accessing the physical drive to read and write directly to the sectors. Recently I've used the new Vista RTM, and unfortunately my application is not working anymore. I get write access denied error when trying to write to sectors in the physical drive. I use CREATEFILE to get the handle to the physical drive (ie: \\.\c :), then the WRITEFILE to write directly to the sectors. I use SETFILEPOINTER to point to which sector I want to write. The WRITEFILE always fails with ERROR: 5 Access Denied. I run the app in user mode, but I elevate my app to administrator level. The problem still there. I have found the following discussion in a blog by Joanna Rutkowska: http://theinvisiblethings.blogspot.com/2006/10/ ...Show All

  • .NET Development Dropped/duplicated elements in a Collections::Queue

    I would need to provide a large amount of detail to properly describe this problem so before I do that, I'd like to just briefly outline the nature of my problem with the hope that the problem is well known. I should begin with the fact that although I have many years of experience programming native code, I am new to .Net programming and I still do not have good understanding of its basic concepts, for example, how the garbage collected memory management model works. First, I should start by saying that I use Visual C++ 2005. In my project I use mixed code because ultimately the program will interact with a native process via shared memory, using OS synchronization mechanisms. That other process stores data in a filemap and sets an eve ...Show All

  • Visual Studio Team System create work item via checkin policy

    hey, i'm trying to implement a check-in policy that creates a new work item at check-in using the WIT API. i've quickly run into serialization issues with the TeamFoundationServer and WorkItemStore objects. Here is the error i recieve: Error Type 'Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore' in Assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client' version 8.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx' is not marked as serializable. is there some way that i can use the API to create a work item at checkin time (events ) thanks, jcran Marcel, Thanks! That directly answered my questions about serialization. Also, this blog post of yours was helpful . I've switched to a web service now, using How ...Show All

  • Visual C# Check to see if Directory is being written to

    Is there a way to check to see wether or not a directory is having data currently written to it Thanks. I have a filewatcher program, whenever an .xml file is written to a particular directory, I grab it, read it and update the appropriate database files. I currently put a thread.sleep in there before I access the file to make sure it has been completly written. This works great for a few files being written. But when I slam it with 500-1000 + files at once I run into problems. Nothing serious but I would really like to be able to see if the directory that the .xml files are being written to is done being written too. something like this: while (Directory.IsBeingWrittenTo = TRUE) { Thread.slee ...Show All

  • SQL Server Migration to SQL Server 2k5

    Hi all, I have script written in SQL Server 2000. When i tried to migrate to SQL Server 2005, it is working fine in the SQL Server 2005 installed in Windows 2003 Server . System tables(syscolumns, sysobjects etc)are created in "Database->Tables->SystemTable". But when i tried to run in SQL Server 2005 installed in Windows XP , I'm facing the following problems. 1."The object 'CK_SavedSear_LastL_4B422AD5' is dependent on column'LastLoadedTime' "ALTER TABLE DROP COLUMN LastLoadedTime failed because one or more objects access this column" 2.Moreover none of the tables had been created in "Database->Tables->SystemTable". In both XP and 2003 Server, While installing, i ha ...Show All

©2008 Software Development Network