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

Software Development Network >> Are Haugsdal's Q&A profile

Are Haugsdal

Member List

eTape
Bill Reiss
Matt24
bygosh
mvsure
jerfoo
AlucardHellSing
Bigmo
maderito
DQM
GeminiSaka
Anthony_HK
rjwelte
AWolf
Pam B
big fish713
Melvin McClurkin
Slow
CaptBeagle
caligula
Only Title

Are Haugsdal's Q&A profile

  • Visual C++ MFC OnMButtonDown not called ...

    Hello, I am updating a source code that uses MFC to manage the third mouse button. To do this I have and the function: afx_msg void OnMButtonDown(UINT nflags, CPoint Point); to my class that inherit from CWnd. Unfortunaly, the event doesn't seam to be handled because the program never enter in this function... To manage this event, is there any other thing to add Thanks You should add an entry to the message map to direct the message to your handler: ON_WM_MBUTTONDOWN( ) To handle messages in MFC you need to add an entry in the message map and then implement the function which will handle those messages. The entry in your message map is the part which tells MFC to direct the windows message when received to your functio ...Show All

  • Smart Device Development monitoring registry and file/object access

    Hi, I have a question regarding Windows Mobile: is it possible to monitor registry and file/object accesses how What I need is that, when some application/process accesses the registry or a file/object, I would like to be notified of that. (Though I DON'T need to know in real time). I'm aware that on NT or XP one can use drivers and hooks to do that. But I don't know if this is also applicable to Windows mobile (Sorry I'm not familiar with Windows Mobile, yet) Thanks in advance for any help! dxx Hi, Thanks for your reply. I want to monitor both read and write access to registry and file system (including file creation, openning, closing, and deletion). I also want to know which application or process (if not the OS its ...Show All

  • SQL Server syspublications ..is there a known issue.?

    Hi, I have two publications on a database. One Merge Replication and one snapshot replication. When i run select * from syspublications i see only one row. (snapshot). I am not able to see the record for the merger replication. I am a dbo and administrator on the system. Is this some known issue I am surprised. Have any one else noticed this Or am i missing something obvious Cheers Mohan Thanks Greg. I missed that. But still wondering why create a syspublications table and not have all publications in it. Any way thanks for the sharing. ...Show All

  • Visual Studio 2008 (Pre-release) Returning Files as a Stream

    I have a WCF contract that returns a stream. I am normally returning an XML file. This works fine, but whenever I return a 'null' or binary file, the WCF comm seems to get hosed. This is a self-hosted console app. Here is my app.config. <endpoint address="net.tcp://localhost:8002/ProLab/" binding="netTcpBinding" bindingConfiguration="" contract="NCRx.ProLab.Common.IProLabServer" /> The interface is set up as a duplex interface as follows. [ServiceContract(Namespace = " http://NCRx/ProLab/Server ", SessionMode = SessionMode.Required, CallbackContract = typeof(IProLabWorkstation))] interface IProLabServer { /// <summary> /// Notifies the ...Show All

  • SQL Server Is there a way to 'peek' the items in a queue?

    ... or some other way to prolong their presence on the queue. The scenario I'm dealing with requires me to receive a batch of messages and fire them off (as a batch) to a legacy Unix application via TCP. What I need to do is keep those messages on the queue (or at least somewhere else in the database) until I know for certain that the legacy app has received them. Comments Roger's book, 'The Rational Guide to Service Broker', is the best read on the subject. I'm not sure I understand what you mean by 'events that signal the closing of a conversation'. One such event is the fact that an EndDialog message is being received, this is a sure indication that the peer has ended the conversation. ...Show All

  • SQL Server Dundas Charts for RS 2000

    Hi all, maybe this is the wrong forum or company to post, but I'm looking for an answer, which I can't find at Dundas' Website. Is there a Version of Dundas Charts for Reporting Services 2000 All I find is the Version for 2005... And if there is such a version, are there differences concerning the possibility of usinig 2 Y-axis One more thing. What would be the arguments for using 2005 instead of 2000 Replies are very much appreciated! Thanks in advance! ME Have you looked into Chart FX at http://www.softwarefx.com/SfxSqlProducts/cfxReportingServices/ From their website: "Chart FX for Reporting Services leverages the charting features from the award winning Chart FX charting e ...Show All

  • SharePoint Products and Technologies Filter search results in MOSS 2007 depending on the signed in user.

    Hello, I have a Sharepoint site where all the lists and libraries are going to be filtered depending on the user that's logged in (using a UserID identifier for each user and each list item having that same UserID as foreign key). I need to implement search capabilities on the site, however I also need the search results to be filtered by that same UserID. And this should be transparent for the user, he shouldn't be aware of the filter; in other words the user shouldn't be able to turn on or off the filter (as for example a Scope) and shouldn't be able to override it (as for example a param in a QueryString). I'm trying to link a CurrentUserFilter to the search results, in other words. Any ideas on how to acomplish this Thanks, ...Show All

  • Software Development for Windows Vista Vista's new data re-direction/virtualization breaks my app. Help

    Now that Vista no longer lets you write files to the "Program Files" directory (after the initial install) my app doesnt work correctly. The Vista security design feature (aka the newly introduced MS redirecting driver) now takes the files that were going to the the "Program Files\ myApp\" directory and redirects them the users local profile into a "Virtual Store" directory. I completely understand the MS necessity to do this to help maintain security\integrity. Per the link below, it discusses how applications run as a standard user, even if your logged on as the administrator running the app. The articles states you can "mark" certain applications as needing the full administrator token when ...Show All

  • Software Development for Windows Vista Data Activities

    Hi All, could you please tell me, why there aren’t Data Activities(Wait for Data, Update Data...) by Framework 3.0 any more What can replace this activities By the way, in my workflow from an activity i would like to invoke a mask, after a pause time (delay) if the mask not be filled, it will be continue to wait once more time, else exit, the question ist, how can i detemine in the workflow whether the user have reacted or not. Any help ist appreciated Regards The Data activities were removed around Beta 2 or 2.2 time frame. You can use CallExternalMethodActivity and HandleExternalEventActivity in place of the data activities. If you want to wait until the user has done something or a period of time has ...Show All

  • Visual Studio Express Editions VS Hanging

    Whenever i try to debug my application, Visual Studio Express passes after the compilation, and then nothing happens. After a shrot while a message appears telling me to wait, and if VS is waiting on another program, would i like to go to it. This has me perplexed, as i have no idea what is going on. I was not doing this constantly though so i continues with my coding, but toaday when i went to compile it, it complained of managed code trying to be executed in an OSLoader lock. I now I did not muck up my code, as all I removed was a single COnsole.Write Line command.The code generating this was in one of the files VS had generated for me. Any help in fixing this much appreciated, Mike I have futher debugge ...Show All

  • Visual C++ Executing Code

    I have used Jcreator, CodeWarrior and a dozen other compilers for various languages. Now I am using Visual C++ express to compile code (in C++ of course) and I seem to have run into a snag. In literally every toher compiler, there is a prominent 'Execute' button, however, I have looked, searched the database (as futile as that was), searched through everymenu, enquired throughout the digital world, looked at instruction s and lessons and everywhere I thought an answer could be found, and Lo, I have not discovered where Visual C++ Express has hidden its 'Execute' command/button. My professor has some version of Visual C++ where there is a single button that both compiles and Executes code, but Express apparently has no such thing. ...Show All

  • Software Development for Windows Vista CScript Error: Can't change default script host.

    C:\Users\Eric>cscript //H:CScript //nologo //S Command line options are saved. CScript Error: Can't change default script host. ------- Does anyone know why this can't be changed I believe you can do this if you run cmd.exe as an admin. For me, I went to c:\windows\system32 in windows explorer Then I right clicked the cmd.exe and chose to run as an admin. ...Show All

  • SQL Server SQL Server Database Services (SQLExpress): Setup Failed. 1708 and 1603 and error 29528

    I am trying to install SQL Express, but are getting a failure. The SQLSetUp_xxxx_SQL.log contains the following information Who can help Property(S): CommonFilesFolder.D9BC9C10_2DCD_44D3_AACC_9C58CAF76128 = C:\Program Files\Common Files\ MSI (s) (CC:34) [22:03:07:796]: Note: 1: 1708 MSI (s) (CC:34) [22:03:07:796]: Product: Microsoft SQL Server 2005 Express Edition -- Installation failed. MSI (s) (CC:34) [22:03:07:812]: Cleaning up uninstalled install packages, if any exist MSI (s) (CC:34) [22:03:07:828]: MainEngineThread is returning 1603 MSI (s) (CC:DC) [22:03:07:937]: Destroying RemoteAPI object. MSI (s) (CC:FC) [22:03:07:937]: Custom Action Manager thread ending. === Logging stopped: 19/09/2006 22:03:07 === MSI (c) (24:40) [22 ...Show All

  • Visual Basic Retrieving data from disk into a text + binary fields structure

    I converted a VB 6 program to run under VB 2005, and it runs. But I can't figure how to avoid a warning message in the third line below: Dim TpArray(1100) As TpcRec '(TpcRec is a Structure of fixed-length strings and 16-bit integers) For I = 1 To TpCount FileGet(2, TpArray(I), I) Warning: Implicit conversion from 'System.ValueType' to 'blahblah.TpcRec' in copying the value of 'ByRef' parameter 'Value' back to the matching argument. I tried using FileGetObject; no apparent difference. "FileGet(2, CType(TpArray(I), TpcRec), I)" eliminates the warning, but with the disastrous result that binary zeroes are stored in the array instead of the data; what you might call a hollow victory. My first choice would be to corre ...Show All

  • Visual Studio 2008 (Pre-release) Authorization in a WCF Client

    Hi, How can I include a Password and User for the Web Service Server into my WCF Client Project. I want add a authorization into the http header. Here is my config file: < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < system.serviceModel > < bindings > < basicHttpBinding > < binding name = " CustomerSimpleByNameAndAddressQueryResponse_InSoapBinding " closeTimeout = " 00:01:00 " openTimeout = " 00:01:00 " receiveTimeout = " 00:10:00 " sendTimeout = " 00:01:00 " allowCookies = " false " bypassProxyOnLocal = " false " hostNameComparisonMode = " StrongWildcard " m ...Show All

©2008 Software Development Network