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

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

altamash

Member List

Blipwort
Juan Castillo
Alessandro Moacyr Duarte
Mike Culver
eduar_hte
bookysmell2004
Roy mm
Jackuline
Claudes
BilalShouman
I.Katzav
Dongwei
Raguvind
Stefan Wagner
gafferuk
DOSrelic
awsiv
Walker Boh
Nitasha
Ivan Selchenkov
Only Title

altamash's Q&A profile

  • Visual C# File.copy() acrossed servers

    Hello all, I'm fairly new to .NET languages and have been tasked with writing an application to keep files in directories on 3 different servers in synch. I've used FileSystemWatcher to accomplish this in a more local environment, but when I try to do it on these servers, it isn't working because the server with the master files is on our network, but not in our domain (or any other domain). So when I try to watch it from a domained location, I get a permissions error trying to watch it and if I run it from that machine, I get permission errors when I try to copy or delete a file. So finally, my question. Is there a way, when I am using File.(copy | delete), I can pass credentials to the UNC directory path I am trying copy or ...Show All

  • Internet Explorer Development IE7: BeforeNavigate2 not called any more on javascript links

    Hello, I have discovered that IE7 does not call the DWebBrowserEvents2 event BEFORENAVIGATE2 any more when the user clicks on a javascript link. The event was invoked in IE6 and allowed BHOs to handle javascript links. Before IE7 it was possible to cancel, modify or otherwise react on javascript invocations. I used this functionality to implement a pop-up blocker for IE. Example Code <html> <body> <a href="j a v a s c r i p t : alert('pop-up');">Pop-Up</a> </body> </html> // added spaces between "j a v a s c r ip t :" to be able to post the code Please call the BeforeNavigate2 event again for backward-compatability reasons or introduce a new event whenever a javascript link is act ...Show All

  • Visual Studio Changing devenv.exe.config for AddIn purposes

    Hi! We have VS2005 AddIn that connects to the web services published on the remote server. As a result of different time zones, the clients usually get the following error: Microsoft.Web.Services2.Security.SecurityFault: Message Expired ---> System.Exception: At least one timestamp has expired. The known solution for this issue is adding timeToleranceInSeconds property to the app.config. This is the code:    <microsoft.web.services2>     <security>       <timeToleranceInSeconds>86400</timeToleranceInSeconds>     </security>   </microsoft.web.services2> However, it should be added not to the AddIn config file, but to devenv ...Show All

  • Visual C++ VS2K5 SP1 Beta bugs!!!???

    I installed the beta to get around a merge problem with TFS and it worked. However, I create the installer for our product on that machine. When I released daily installer the code started breaking because the actual code was compiled with RTM VS2K5(this is expected) However, our previously released products running on MFC 8.0 all started breaking after installing the daily build. Why would already installed products on a system break if a product installed with the beta MFC merge modules start to break Is this what will happen when the SP ships And more importantly, how do I scrape the unwanted SP1 Beta DLLs from these now "infected" test machines Thanks, This bug is already reported on connect.microso ...Show All

  • .NET Development How to send image as XML

    I want to send images as XML via Web Service. How can I do that Is there any limitation e.g. size of image. You can use the following function to convert Base64 to binary and then use response.write to pump binary into image tag to send it to client. If you have an option to ajax type functionality, you can create a generic page to handle base64 image rending. ie. Base64ImageRender.aspx imageid=XXXX public void ConvertBase64ToBinary(string[] imageData) { //convert to byte array. byte[] byteImage = null; try { byteImage = Convert.FromBase64String(imageData[0]); } catch(Exception e) { string msg = e.Message; } ...Show All

  • SQL Server Missing fields in MSmerge_history table under SQL Server 2005

    Hi, I have a query that uses the following fields from MSmerge_history: MSmerge_history . start_time , MSmerge_history . runstatus and MSmerge_history . duration Below is the query that I am using: SELECT MSmerge_agents . subscriber_name AS SubscriberName , MSmerge_history . start_time AS SyncTime , MSmerge_history . runstatus AS SyncStatusID , MSmerge_history . comments AS Comments , MSmerge_history . duration AS Duration FROM distribution . dbo . MSmerge_agents MSmerge_agents INNER JOIN distribution . dbo . MSmerge_history MSmerge_history ON MSmerge_agents . id = MSmerge_history . agent_id WHERE MSmerge_history . runstatus IN ( 2 , 6 ) AND publisher_db = DB_NAM ...Show All

  • Visual C# Change Service Logon information programatically?

    Hello, I need my C# application to modify the Logon settings for a particular Service. To clarify, I don't need help with installing a C# Service, I just need help in changing the Logon credentials once the service is installed. There must be a way, I just can't seem to find it anywhere... ServiceController does not seem to have any hooks to this info. I am simply trying to mimic the same functionality as: Control Panel->AdminTools->Services....Right-Click Service, Click on LogOn tab, change Credentials. Any suggestions would be greatly appreciated! Jason Thanks, Blair! I appreciate your response and insight. One question... since the service is already installed, is my only option ...Show All

  • SQL Server Cluster Model Viewer Timeout

    Hi, I am trying to browse a clustering model and encounter the following timeout error: XML for Analysis parser: The XML for Analysis request timed out before it was completed. Execution of the managed stored procedure GetNodeGraph failed with the following error: Exception has been thrown by the target of an invocation.Microsoft::AnalysisServices::AdomdServer::AdomdException . Is there anything I can do to change settings to enable viewing of this model Or, perhaps we have too many attributes in the model Thanks. Please try the following: In BI Dev Studio, go to the Tools menu and select Options\Business Intelligence Designers. Change the value of the Query Timeout to some larger value (600 would be a good sta ...Show All

  • Visual C# Sound In Form...

    Hi, I was wondering if someone could provide me with some code to simply add a continuous sound playing in the background of a form I have performed a few searches but all examples are really complicated. Isn't there an easier method I guess the easiest solution would be embedding the Windows Media Player control to your application and program against it: 1. From the menu, choose Tools | Choose Menu Items 2. Choose COM Components tab 3. Check Windows Media Player component and click OK - Windows Media Player control gets added to the toolbox 4. Drag the control to your form 5. Set the player's url property to your file location: axWindowsMediaPlayer1.URL = "c:\\mymp3file.mp3" ; An ...Show All

  • Visual Basic form loading on screensaver activation

    How do I load a form in an already running application when the screensaver activates Basically, to give some background to the problem, I want a full screen application to 'lock' itself, and require the user to input a password when the operating system's screensaver activates. This locking thing is nothing to do with os security, just the security of my application. I have sorted the 'lock' bit out, it's just how to get it to 'lock' itself when the screensaver activates I'm new to VB, and am young, so I have no idea where to begin on this problem, so some help would be greatly appreciated. thanks in advance ST W ST W, The following code example demonstrates how to activate a ne ...Show All

  • .NET Development How to create a XPathNavigator object against a XmlElement?

    Thanks ...Show All

  • Visual Studio 2008 (Pre-release) Knowing when my class (that inherits from ModelVisual3D) is added to the scene graph

    My lengthy subject says it all :) I have a class that inherits from ModelVisual3D (similar to what Daniel mentions in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=397381&SiteID=1 ). I would like to know when it needs to be rendered, as it has a bunch of lazy initialization to get done (like generate its visual). This means I'd like to be notified when it was added to a scene graph that's about to be displayed, regardless of whether my class was added in xaml or programatically). Is there an event I can listen on Should I be inheriting from something else than ModelVisual3D Thanks! That might work, but it's not ideal. What I really need is to know when an object needs to render itself. For example, I might nee ...Show All

  • Visual Studio Problem using SandCastle with ASP.NET 2.0 WebSite

    Hello, I have all the pre-compiled dlls of the asp.net 2.0 application, I trying to use Eric Woodruff's sandcastle GUI While building the build fails asking for System.Configuration unresolved assembly reference: System.Configuration (System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) required by App_WebReferences BUILD FAILED: Unexpected error in last build step. See output above for details. Does it necessary that i should include all the namepaces used to build documentation for a project. Can anyone point me who to use sandcastle with asp.net web applications. thanks!! sqlnew Hello I found out that I was not building XML co ...Show All

  • SQL Server MDX Query syntax

    I would like to use the value of a member property in the where portion of an MDX queiry. It is a boolean. I have tried : select {[Measures].[Avg CPA],[Measures].[Click Conv Rate],[Measures].[App Conv Rate]} on columns, NonEmptyCrossJoin([Strategy].members, ( NonEmptyCrossJoin([JobIndustry].members, [Media].members )))on rows from ChartReportingCube Where [CampaignID].Properties("Campaign Benchmark Flag") The actual value in the property I want: Campaign Benchmark Flag is -1 Is it possible to reference member properties in the where clause If so, what is the syntax Hi. First thing I notice in your query is the missing left parentheses in the where clause. Your statement has ...Show All

  • Visual Studio Team System Can't browse work items

    hi we are having a strange problem and i think its related to our environment as i didnt found anything similar to it on the net. The problem is few(particular) of our team users can't browse the work items at all i.e. none of the query returns any workitems, wat we have to do is to remove them from the project and add again then they can view the work items. It started happening quite frequently now like 4-5 times in a day. Any hint, clue why its happening regards faraz Hi Faraz, Thanks for your reply. The most likely cause that suggests itself is that these particular uses may also be members of some other TFS group that has deny permission set and that upon background processing that the deny trump ...Show All

©2008 Software Development Network