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

Software Development Network >> Paul Monaghan's Q&A profile

Paul Monaghan

Member List

DC Ross
phowatt
cplusplus1
Sentient
orent
Marauderz
memodude
thomasabcd
globbe
Vinod Sa
MrLucky
George Waters
Marcus Widerberg
WXS123
Michael A Thomas
nsam
Dave9999
pavel989
StumblingInTheDark
Tim Hunter
Only Title

Paul Monaghan's Q&A profile

  • Software Development for Windows Vista HBMMENU_CALLBACK in vista

    The following code always failed in Windows Vista (Beta 2 Build 5384). It is deemed a completely legimite code and works fine in Windows 2000, XP. Is this a known bug or HBMMENU_CALLBACK is not supported anymore Debugger shows that USER32!ValidateMENUITEMINFO sets the last error code as: LastErrorValue: (Win32) 0x57 (87) - The parameter is incorrect. MENUITEMINFO menuItemInfo = {0}; menuItemInfo.cbSize = sizeof(MENUITEMINFO); menuItemInfo.fMask = MIIM_BITMAP; menuItemInfo.hbmpItem = HBMMENU_CALLBACK; ATLVERIFY( SetMenuItemInfo(hMenu, ID_FILE_NEW, FALSE, &menuItemInfo) ); Any leads or information would be appreciated. Thanks I've found workaround for my problem - using SetMenuItemBit ...Show All

  • Smart Device Development Exe killer

    hello, i have launch several exe through ShellExecuteEx SHELLEXECUTEINFO ShExecInfo = {0}; ShExecInfo.cbSize = sizeof (SHELLEXECUTEINFO); ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS; ShExecInfo.hwnd = NULL; ShExecInfo.lpVerb = NULL; ShExecInfo.lpFile = L "\\Program Files\\abc.exe" ; ShExecInfo.lpParameters = L "" ; ShExecInfo.lpDirectory = NULL; ShExecInfo.nShow = SW_SHOW; ShExecInfo.hInstApp = NULL; ShellExecuteEx(&ShExecInfo); WaitForSingleObject(ShExecInfo.hProcess,0); now i want to kill that abc.exe how i manage it is there any api for that killing exe Thanks in advance Regards Salman Hello, kuntushi i stop exe i ...Show All

  • Visual C# Search for Substring in AutoCompleteStringCollection()

    I have a problem that I'm trying figure out with AutoComplete. I have dynamically created a AutoCompleteStringCollection and have multiple values however I would like this control to be very responsive so I want it to search for a substring in a AutoCompleteStringCollection Item. For instance say my collection has the following values Apple, Ardvark, Baker, Blue, Bannana When I press "a" the auto complete comes up but only list Apple and Ardvark, However there is an "a" in Apple, Ardvark, Baker and Bannana. I've been trying to figure out how I can get AutoComplete to search for a substring but I've had no succsess. Any help would be much appriciated. Nic G'day ...Show All

  • Visual C# How can I replace all occurance of a string except when it's enclosed with a special tag?

    Hello, Let's say I have a variable named: someVar which contains the following: href wow nice this <a href="cp.com">cow duck john</a> text etc And I want to replace: "href" with "link". I can't do: someVar.Replace("href", "link"); Because that will change: <a href="cp.com"> ! So, how can I replace all the occurances of "href" when it's not part of an HTML tag Please help. Hi, Felan, I agree with you that href( !\s*=\s*( :"|')) is better expression than mine. regards ...Show All

  • SQL Server SQL Server Business Intelligence Development Studio not found

    I have installed the evaluation version of SQL Server. When i click on the Intelligence Development Studio link it starts looking for the file devenv.exe. The file is not on the pc. Repeated installation twice making sure that all components are selected. What is causing this file not to be available Haris   For visual studio was able to download and install visual basic 2005 express edition. The business intelligence studio still won't work. The system still reports the devenv.exe file as not available. ...Show All

  • SQL Server Report Execution timeout after 60 minutes (1 hour) - Execution cannot be found (rsExecutionNotFound)

    Dear Colleagues I wonder if you could help me. I have a report that runs for from 0 to 1,5 hours when executed. If the report executes and renders output file in less than 60 minutes - it works fine, but if only it takes more than exactly 60 minutes to run it generates the following ASP.NET exception: ReportServerException: Execution 'lmxn1q3k3zdxwjvavsargonw' cannot be found (rsExecutionNotFound) At the same time if I make a subscription to save report for example to network share it does not stop at 60 minutes and saves data to the required folder (I've scheduled it this night and the report was saved after 1,5 hours of execution). The report server Report Execution Timeout setting is set to never expire . I also tried to ...Show All

  • Smart Device Development Wap wakeup

    Hi, Has anyone tried the wap wakeup for WDP   I've followed the example in the msdn library but nothing happens.. not even any errors.  Is there a procedure that i am missing Thanks, Hasnul As additional information, I follow the recommendations from http://msdn2.microsoft.com/en-us/library/aa454329.aspx http://msdn2.microsoft.com/en-us/library/aa919421.aspx but it is not working. ...Show All

  • Visual Basic &H308 ???

    Hi,   For hours ive researched, any explanation would be great, nearly any developer knows the answer im sure.   take this for example: [code] Private Const WM_CHANGECBCHAIN As Integer = &H30D ... Protected Overrides Sub WndProc( ByRef m As Message) Select Case m.Msg Case Is = WM_CHANGECBCHAIN If m.WParam = CType (mNextClipBoardViewerHWnd, IntPtr) Then mNextClipBoardViewerHWnd = m.LParam Else SendMessage(mNextClipBoardViewerHWnd, m.Msg, m.WParam, m.LParam) End If End Select [/code]   this part: Private Const WM_CHANGECBCHAIN As Integer = &H30D   The &H30D i know its a hexadecimal value and may re ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What does creators club include right now?

    I'm a little puzzled about what the creators club actually includes, I've checked the FAQs and can't really find an answer. I have however managed to find the following: "The XNA Creators Club is available on Xbox LiveR Marketplace for $49 (U.S.) for a four-month subscription, or $99 (U.S.) for an annual subscription. Both subscriptions provide aspiring game developers with access to thousands of game assets from Microsoft and key partners such as Turbo Squid Inc., as well as white papers, specialized starter kits, samples and technical product support to help turn Your World, Your Game into a reality." I signed up for a year because it sounds like quite a good package, however there seems to be no information provided on ...Show All

  • Visual Basic Skipping lines in a test file

    I routinely work with text files with well over 3200 lines of text. I am trying to write a routine that will parse the file and skip lines (example every 3 rd line) and save the new smaller text file. I am not a college kid trying to get someone to do his homework for him. I am just trying to teach myself to write simple programs that I find useful. I have 5 or 6 VB.Net books and have not seen this topic in any of these books or the net, does anyone have any tips or pointers to get me moving in the right direction there is no way other thatn writing. a file newer. there no update a single line it seems.. is there any way to update lines or words in a file , other than reading the file and writing the same things. ...Show All

  • Smart Device Development file opened?

    <deleted> You'd need to make second launched copy of your application notifying already running copy somehow. Any common IPC methods would do. ...Show All

  • SQL Server Conditional split with dependence?

    I have setup a SSIS package that takes a flat file fixed width input, and stores it to two SQL server tables in the same database. The flat file contains two types of records, lets call them Type1 and Type2. The two types of records are formatted differently, and the first character determines what type the record is. I used a conditional split to send record type1 down one path, and type2 down the other. On each of those I use a derived column task to build all the fields and then store to the table with the OLE destination. I put any errors that occur (like truncation) into an error table by setting the "redirected row" feature vs "Fail Component". This all works well and I have no issues. The dilema is as follows. ...Show All

  • Visual Studio Express Editions A Mute comand ???

    hi its a simple lil thing all i need is when a picture or button is clicked an double clicked the volume of the computer is muted Simple as :) i've searched and cant figure this out not using windows media player or anything just the computers Master volume to = 0 :) Public Const VolumeMute As System . Windows . Forms . Keys = 173 Member of: System . Windows . Forms . Keys Summary: The volume mute key (Windows 2000 or later). Public Class SendKeys Inherits System . Object Member of: System . Windows . Forms Summary: Provides methods for sending keystrokes to an application. ...Show All

  • SQL Server Extremely Poor Performance - Identical DB's but very different performance

    Hello Everyone, I have a very complex performance issue with our production database. Here's the scenario. We have a production webserver server and a development web server. Both are running SQL Server 2000. I encounted various performance issues with the production server with a particular query. It would take approximately 22 seconds to return 100 rows, thats about 0.22 seconds per row. Note: I ran the query in single user mode. So I tested the query on the Development server by taking a backup (.dmp) of the database and moving it onto the dev server. I ran the same query and found that it ran in less than a second. I took a look at the query execution plan and I found that they we're the exact same in both cases. Then I too ...Show All

  • Software Development for Windows Vista Unable to setup windows Vista 5308 (error while displaying image selection wizard)

    Hi - I have tried to install the 5308 build on a (older) PC (AMD Thunderbird/512MB/ATI 9000) that I use as a test machine but I keep getting an error message immediately after entering the license key. The error dialog says "An internal Setup Error occurred while displaying the image selection wizard". After a while the setup program will abort and display another dialog "Exception Unknown Exception 0xe0000100 occurred at memory location 0x77e4028b. Other postings of a similar problem suggested that there was an ISO image download/DVD buring issue. I have reburned at 1x speed. I have re-downloaded the Checked build. I have tried to install this when booting from the DVD with both a Win2K PRO and a WinXP OS hard drive inst ...Show All

©2008 Software Development Network