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

Software Development Network >> Michael P's Q&A profile

Michael P

Member List

Sudeep Ghosh
vvkmlhtr
Rioch Mulhall
roadragedsb
Fran-1980
Mugambo
Elena Kharitidi
Prabhu Sadasivam
RyanMcClellan
firec
Neo
TechTnT
MSI Setup too complicated
dognardo
Cosgram
kavijay
Torkil
Hirantha
Anachron
Tomas Frojdo
Only Title

Michael P's Q&A profile

  • .NET Development Help to get a solid UpdateCommand for DataSet

    I have a small amount of experience working with writing UpdateCommands for SQL changes, but none of them have involved working with datasets - just passing variables to a datasource parameters in Stored Procedures and having WHERE clauses update them. However, I'm now working with DataSets, and I'm stumped on how to write changes made to the Dataset to the database, and was hoping someone could give me some demo code, or point me in the right ...Show All

  • Windows Forms selecting text and check for spaces

    Hi there, I am developing a tool which generates notes. The requirement is that the created note can not be longer than 400 characters (including spaces) If it is over 400 characters the color of the font is changed and the first 400 characters are copied to the clipboard. There is only one problem. It cuts the note exactly at 399 characters, hence it could cut a word. How can I check for the first space below 400 characters in th ...Show All

  • Visual FoxPro HOW I CAN DO "WIZARD UPSIZING" FROM THE SOURCE CODE??

    Hi! I have to do an upsizing from a foxpro-database to an sql server, but, I don't want to use the wizard--->upsizing from the menu-bar...I want to do the same things, but from the code! Can you help me Thank you. >But now, I have one more question for you...if I studi the Microsoft's upsizing >code, and I'll change something it, can I redistribuite my program I'm not really sure as I haven't looked much into this. Maybe so ...Show All

  • Windows Forms Get font type from text file or printer setting

    Hi, I want to print text file to dot-matrix printer. I use the example showing in SDK Framework. The font type and size are hardcoded. Is there a way to get the font type from printer (some of the printer can set font type) or get the ...Show All

  • Software Development for Windows Vista persistence service

    Hello! I'm new with Workflow Foundation and I have some questions about Persistence Service. I want to develop an application that will be crash proof...so I guess I need to use Persistence Service(crash proof=if my machine for one reason or another fails, I want that each unfinished workflow to resume) I would also like to know the status of each running workflow...how can I do that How can I use persistence service to save each ste ...Show All

  • SQL Server Conditionally adding a column to my custom component (part 2)

    A month or so ago I instigated this thread- http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=243117&SiteID=1 which talked about how to conditionally add a column to my component depending on the value of a custom property. If the custom property is TRUE then the column should appear in the output (and vice versa). Bob Bojanic said I should use the SetComponentProperty() method to do this and that is working pretty well. However, it b ...Show All

  • Software Development for Windows Vista WebServiced published Workflows.

    Is there anyway to have multiple WebInput/Output activities where each Input/Output activity set will be accessed by a different user I have tried to implement correlation into the Workflow, but it does not seem to be supported for WebService workflows. Is this correct This is correct, the WebServiceWorkflowHost doesn't support correlated instance access. You would need to write your own HTTP module to perform ...Show All

  • SQL Server Virtual Cube Migration

    What are best practices around virtual cube migration When the cube was migrated, it became a physical cube with linked measure groups. However, when I try and add a dimension to the cube, and edit the granularity within the Dimension Structure tab, I get this. Regular relationships in the current database between non-linked (local) dimensions and linked measure groups cannot be edited. These relationships can only be created through the w ...Show All

  • Visual Studio 2008 (Pre-release) Delete all records

    How do you delete all records in a table with DLinq. Don't have a list of records to give to .RemoveAll(). Using the DLINQ Table API is currently not the ideal way to delete all the records in the table. The best way right how would be to use the direct SQL. ...Show All

  • Visual C++ (MSVCRT) _iob disappeared?

    What can I do to replace the functionality of _iob Seems to be missing in MSVCR7/8 (using VS2005). Error 1 error LNK2001: unresolved external symbol _iob main.def In my def, I'm redirecting this export as such: _iob=MSVCR80._iob I also tried: _iob=MSVCRT._iob ...Show All

  • Visual FoxPro Grid Columns settings disappear

    I have a grid with about 20 columns and the following properties are defined at design time carefully: backColor, foreColor, fontSize, fontBold for the columns as well as corresponding properties for the headers. Then I have a table and I want to use a part of the table as a recordSource let say to display transaction for year 2005. I get a beautiful display. Then I have a combobox with some years like 2004, 2005, 2006, etc. It controls th ...Show All

  • Windows Forms app.config file question

    Hi all, Is it possible to progammatically write to the app.config file I would like to set a value to a key in the appSettings. I want to do this to set the location path of the database whose location will not be known at design time&nbs ...Show All

  • Visual Studio T4 Text Template Editor for VS2005

    Here's an interesting link for those of you who don't ready my blog (shame on you by the way ). Gaston Milano has created a T4 editor that plugs into VS2005 . It does colorization of template code versus output text, keyword colorization, and some intellisense. It should prove very useful for those of you writing T4 templates. Hi, Did you check the documentation that comes with the DSL Tools You can find it there : ms-help://MS. ...Show All

  • Visual C++ Adding New Controls to Common Dlg Boxes

      I want to add new controls to Common dialog boxes. I have gone through the Customizing Common Dialog Boxes article and it does not provides a standard procedure for adding new controls to Common Dialog Boxes. If you had read the links I gave you, you wouldn't ask... 1. All standard dialogs except the open file dialog, are templates you create and adjust. So the only guideline is the usability and standar ...Show All

  • Visual C# Casting to nullable generics

    Hi. I have this method: public static TVal DoIT<TVal>( object value) { return (TVal) Convert .ChangeType(value, typeof (TVal)); } But it fails in case of DoIt< DateTime >( DateTime .Now) . (Invalid cast from 'System.DateTime' to 'System.Nullable`1[[System.DateTime, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'.) How can I make it working I was trying to catch that case mys ...Show All

©2008 Software Development Network

powered by phorum