Posts

Showing posts from June, 2015

file copy progress bar

good day all i know how can make progress bar copying file. i not sure if should use buffer or copy bytes copied , forth. thank you just move code posted button click event , source , destination textboxes: private void button1_click(object sender, eventargs e) { webclient wc = new webclient(); wc.downloadprogresschanged += downloadprogress; wc.downloadfileasync(new uri(sourcetextbox.text), destinationtextbox.text); } void downloadprogress(object sender, downloadprogresschangedeventargs e) { progressbar1.value = e.progresspercentage; } code runs asynchronously keeping ui responsive. Visual Studio Languages  ,  .NET Framework  > 

Webservice must return only the few fields of Table entry from Database Object Model

hello! i have database, called "mycompany". convert object-model via add new item --> ado.net entity data model, , object-representation of database. say, name mycompanymodel. for example, 1 of tables in database customer, have following fields: id name login password country in webservice, implement, need return in xml format customer table entry. the code following: [webmethod]  public list < mycompanymodel.customer >  getcustomers( )  {       m_mycompanyentities  =  new  mycompanymodel.mycompanyentities( );        var  query  =  from  m in m_mycompanyentities.customer select m;                        return query.tolist < mycompanymodel.customer > ( );  }  all objects automatically serialized xml. need. but, need implement 2 versions of web-service: one - administrative using, includes fields of customer table entries another - public using, includes few fields of customer table entries. version of webservice called silverlight or flash browser clients. actu

Polycom RMX integration with Lync Server 2010

Image
good afternoon to everyone. i have a concern and problem in integration curious that i have between a polycom rmx 4000 and lync server 2010. integration was performed correctly and the necessary static routes for these two environments to communicate seamlessly . but strange thing is that after 7 days or 8 days after no communication between the 2 environments . rmx computer restarted or re-created static routes again and again no communication between the 2 platforms and returns within 7 or 8 days to present the same problem. deputy image with a trace that volume, when the failure occurs . if knows how solve this problem, we appreciate it . thanks all Lync Server  ,  Unified Communications  > 

How can i increase TPL thread pool size ?

hello. coding 1000 thread web crawler. currently starts 100 , steadily increases. mean running tasks count. the rest 900 @ waitingtorun status. want of them run. after software started, , couple of hours running task count rises 400. want thing run 1000. don't want tpl decide itself. how can ? thank you this how start tasks 1000 tasks task.factory.startnew(() => { startcrawler(); }); browser based pokemon style mmorpg game developer used asp.net 4.0 routing @ it's monsters hi, try http://stackoverflow.com/questions/11075320/using-tpl-how-do-i-set-a-max-threadpool-size note though seems lot , counter productive : "setting thread pool size large can cause performance problems. if many threads executing @ same time, task switching overhead becomes significant factor." please mark whatever response solved issue thread marked "answered".

CSV where clause need to skip the first loop.

Image
file.writealllines(destination1, file.readalllines(destination).where(l => !l.startswith(@"""name"""))); above code working fine, heading contains "name" need skip heading , remaining fine... how can achieve above code. something along line of logic shows how exclude blank lines , lines contain name. var filename = path.combine(appdomain.currentdomain.basedirectory, "myfile.txt"); var results = file.readalllines(filename) .tolist() .select((row, indexer) => new { linenumber = indexer, line = row }) .where(item => !string.isnullorwhitespace(item.line) && !item.line.tolower().contains("name")); foreach (var item in results) { console.writeline(item.line); } test file (does not include other columns focus on blank lines , repeating headers) name karen jim harry mary name mark lam please remember mark replies answers if , unmark them if provide no help, others lookin

How to subscribe Message failed at port level?

how subscribe message failed @ port level. there custom way subscribe message failed @ port level. 1 way check checkbox " enable routing failed messages " there other way... came accross, on of lady......... having of exp in biztalk server , asked silly question myself, suggest how subscribe message failed @ port level. answer yes, enable  routing failed message @ port level.we subscribe failed message based on promoted propety failure code error desc etc...... unfortunately not happy answer. per there no such option, surprised , know having solution of it.. keep point 1 way... , may there other option have check. 1 please suggest me other ways. :-):-) hi  there msdn article here , which says below: "with biztalk server 2004, messages failed @ send port or receive port, or due routing failures, suspended. if wanted use suspended message information (for example, analyze why message suspended or generate failure report), take actions

Proposal: Make framework contract assemblies open source

hi, (sorry if has been suggested before; couldn't find anything.) over past few months, seems guys have been working hard on keeping missing contracts on framework assemblies. it's incredible amount of work, , think benefit if contract assemblies made open source. specifically, i'm thinking open source contract assemblies on github . doing allows users spot missing contracts add them contract assemblies , send cc team pull request can review , hit "merge" pull in. generally, workflow be: 1) fork code contracts contract assembly repo. 2) add whatever contracts needed. 3) push fork. 4) send pull request. 5) cc team reviews changes , either merges them in or makes intuitive inline comments in diff view in pull request contributor acts on. needless say, speed framework contract development tremendously compared current post on forum -> wait implementation -> wait release workflow. think github in particular useful because no other site seemi

Service Application Unavailable

Image
this serious problem happening @ 1 of our web server (win 2003 server): the description event id ( 0 ) in source ( .net runtime ) cannot found. local computer may not have necessary registry information or message dll files display messages remote computer. may able use /auxsource= flag retrieve description; see , support details. following information part of event: .net runtime version 1.1.4322.2379- setup error: failed load resources resource file please check setup. if error happens iis blocked , every website displays: service application unavailable ... after restart of iis things fine undetermined amount of time. server whole weekend have restart several times day. we did - reinstall .net framework - installed possible updates (sp2 etc.) - checked permissions on upload folders we host both classic asp , .net 1.1 pages. use fileup component asp... if can suggestion great day so long, luke did answer experiencing same issues. and causing major problems our clients. hosting 1 s

Azure latency

hey, we hosting mobile app in azure , giving latency while going third party payment gateway. please suggest way reduce latency? also can support in azure review our architecture , find flaws, there website proceed same ? could explain bit more query?  may try performance test on mobile app, feature better understand code , dependencies, find bottle necks , make necessary adjustments meet load , performance goals: https://azure.microsoft.com/en-us/blog/announcing-public-preview-for-performance-test-on-webapps/ . support azure review architecture , find flaws, suggest create technical support ticket. can check link “ how create support ticket ”. do click on "mark answer" on post helps you, can beneficial other community members. Microsoft Azure  >  Azur

Reflection bug in .NET? GetType( ) invoked through a MethodInfo returns wrong value.

hi there can explain these results (see code below)? the console should output "system.runtimetype" outputs "reflectionbug.myclass". essentially, methodinfo "gettype" method of class "myclass". invoke ht method , returned value. expected return value should system.type but returns instance on gettype() method invoked. if can explain it, please let know. cheers   using system; using system.reflection; namespace reflectionbug { public class myclass { } class program { static void main( string [] args) { object myobject = new myclass(); type type = myobject.gettype(); methodinfo gettypemethod = type.getmethod( "gettype" , new type[0]); object ret = gettypemethod.invoke(myobject, new object [0]); // expected result: system.runtimetype // result obtained: reflectionbug.myclass ?? console.writeline(ret.tostring()); } } }     this working correctly.  actual type of r

How to catch an error in an MVC 5 method using Application Insights

i have installed application insights mvc 5 asp.net 4.5 app. sending kinds of data portal. now, want see if can use catch specific error that's happening in method.  public async task<merchant> updateasync(merchant merchant)         {             using (var uow = _unitofworkfactory.create())             {                 uow.merchantrepository.update(merchant);                 await uow.savechangesasync();                 return merchant;             }         } i'm trying catch error in method. public async task<actionresult> getofferslist(guid id)         {                             var consumer = await _merchantconsumerservice.findasync(id);                 var model = await _uniqueofferservice.getconsumerofferssummaryasync(consumer.consumerid);                 return partialview("_consumerofferslistpartial", model);                     } how go using application insights catch , report errors? use try , cat

Thank you to the WPF Bing Maps Control developers and Ricky

i want thank effort bing maps team has put updating wpf control.  appreciated.  of doing desktop development feel left out, , the recent updates go long ways helping our jobs.  i forward bigger , better things in future once microsoft direction desktop made clear. pmont glad hear happy updated control. credit goes developers. posted info on forums, did work. http://rbrundritt.wordpress.com Bing Maps  >  Bing Maps WPF, WP7/8/8.1, Silverlight

Switching between WCF Service and Business Layer

my proposed application asp.net web forms application.  project has got ui layer->businesslayer->dataaccesslayer.  might go distributed scenario in feature, want have wcf service layer between ui & bl.  ui->sl->bl->dl.  requirement switch beween wcf & business layer ui layer should abstracted calling wcf/bl.  looking reference/guidance what can have domain service layer in between. layer stays in between ui , business layer. layer decides want switch (wcf or bl). have following setup ui --> dsl --> sl or bl --> dl regards, xeon2k Architecture  >  Architecture General

plz help

what version of vb can make console applications i'm guessing here mean need hold of in order write console application in vb.i think visual studio express allow make console application. it comes in several different versions. you want express2013 windows desktop. http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx when start new project there bunch of options pick from. i think version have console 1 of them. please don't forget upvote posts , mark answer question. my latest technet article - dynamic xaml Visual Studio Languages  ,  .NET Framework  >  Visual C#

Is clr code loaded one per process or shared

hi i reading clr hosting articles , wondering how clr laid out in memory logically. is clr (shim+mscor*.dll) loaded per process or shared somehow once first instance present in memory. ie, code in clr n applications occupying n*sizeof(mscoree.dll + mscor*) or 1 memory instance shared applications. how different scenario incase of asp.net hosting several web apps? ------------------            ------------------        -------------------- |         clr       |             |      clr             |        |      clr              | -------------------          ------------------         ------------------- |                        |            |                           |        |                           | |    app code     |            |       app code    |         |       app code    | |                        |            |                           |        |                           |        ???????? the clr no different other dlls: there 1 copy of clr code in ram.  copy

Task.Start vs. Async

does know advantages/disadvantes of each: task async/await they pretty similar. jp cowboy coders unite! the new async/await features build on top of task , task<t>.  they make life far easier work with, code doesn't have turned inside out or have strange language work. you can of same things them, though - example, wanted connect async service (that returned task<int>) , update text box, task in .net 4: // ie: in button event handler - private void button1_click(object sender, eventargs e) { task<int> task = someservice.getdataasync(); task.continuewith(t => { try { int data = t.result; textbox1.text = string.format("received {0}", data); } catch(aggregateexception ae) { // aggregateexception, custom handling required ae.handle( ex => { if (ex mycustomexception) { textbox1.text = "received mycus

Is Bing MAPs API down?

hi, we have started facing issues bing maps not loading pushpins. checked following bing maps sdk site , down. https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk#getpushpinoptions+js can please let know if there issue going on? looks things started working again 10 minutes ago. when keep refreshing page 9 out of 10 times loads fast, still rolling out servers. [ blog ] [ twitter ] [ linkedin ] Bing Maps  >  Bing Maps REST, SOAP, Spatial Data Services

C#: Can a Dictionary<> or an ArrayList<> name be created from a variable string?

can a dictionary<> or arraylist<> name created variable string? for example, i'm creating dictionary of ids needs contain either dictionary or arraylist object of same name, which can updated files associated id , whether owner of file (o) or user of file (u). needs this... i'm struggling in creating because embedded dictionary/arraylist has same name users , not specific them. so needs this: ids (dictionary key),  (value either dictionary/arraylist of same name)      .add(userid1,                userid1)                                               .add("file1", "o")                                               .add("file2", "o")                                               .add("file3", "u")                    .add(userid2,                userid2)                                               .add("file1", "u")                                          

linking two forms in C# form application

i've created form application registration of students. when user clicks on text " student ", student registration form should open. how this? **************** using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.linq; using system.text; using system.windows.forms;   namespace school_management_system {     public partial class form3 : form     {         public form3()         {             initializecomponent();         }           private void form3_load(object sender, eventargs e)         {           }           private void studentstoolstripmenuitem1_click(object sender, eventargs e)         {           }     } } which student registration form? form4? if yes, doing correctly. private void studentstoolstripmenuitem1_click( object sender, eventargs e) { form4 registrationform = new form4(); r

Character Sets issue with JDBC SQL Server for Polish characters

i have java app uses sql server 3.0 jdbc driver. accessing table columns defined nvarchar. tables contains rows polish characters. java app simple selects , creates xml document based upon data in table. when run app windows (xp) server, data extracted correctly. had tell jvm use utf-8 encoding. when run same code linux (redhat 5.0)server, extracts data polish characters garbage. still set encoding jvm use utf-8. i'm not sure why behave differently windows linux. the sql server database resides on windows (xp) server. sql server 2008. does have ideas on why linux behave differently windows jdbc clients? sql-server doesn't support utf-8 utf-16; however, doesn't forbid use varchar or nvarchar field store string of utf-8 characters sql-server see characters indivudual ascii (8 bit) characters. sql-server won't able sort them or return proper string length rest making equality comparaisons or storing/retrieving them, work. for problem linux, it's quite pos

How to Create a Pivot Report

Image
hello, i have 2 account tables.the first table has account information name,address,taxid,account nature etc.the second table has alternate address fields.i join these 2 tables based on account number.there can more 1 alternate address account. accounts there can 10 alternate addresses , accounts there can 2 alternate addresses. i built report joining these 2 tables , see account number repeats in report depending on number of alternate addresses has.but users not this.they want see 1 row account.how can this.should use matrix achieve this?if should use matrix field should use column grouping , fields should use row grouping. can me this.i totally confused.thankyou!! hi deteminism, in scenario, there many rows address for each account, users want see 1 row each account, right? in case, can use [account] fiel on row group, , use expression calculate string total [address]. have tested on local environment, steps below reference. in test data, there many phone_number

SQL Server 2000 upgrade to SQL 2005

hello, trying download 2 files below: en_sql_2005_std_x86_dvd.iso and en_sql_server_2005_sp2_x86_cd.iso however, files when searching cannot located on msdn site.  need file perform upgrade. can assist download location of files? thanks vons   lavonda smith hello, you find them on following link: https://msdn.microsoft.com/en-us/subscriptions/securedownloads/hh442898#searchterm=sql%20server&productfamilyid=0&languages=en&productfamilyids=211&pagesize=10&pageindex=1&fileid=0 hope helps. regards, alberto morillo sqlcoffee.com SQL Server  >  SQL Server Setup & Upgrade

Schema Importer Extension without GAC or editing machine.config

does know if it's possible create schema import extension without registering assembly gac or editing machine.config file? basically, org has multiple branches of same code , i'd make web reference generation use dll specific branch without manually setting every time want build different branch. guide i'm going off of: http://www.microsoft.com/belux/msdn/nl/community/columns/jdruyts/wsproxy.mspx i suggest create "stub" schema importer extension can place in gac, , loads per-branch schema importer extension real work. "stub" small, , independent of branch. john saunders wcf is web services. not 2 separate things. use wcf new web service development, instead of old asmx or obsolete wse use file->new project create web service projects Archived Forums A-B  > 

No MOH for Held Call

when placing call on hold, held caller not recieve moh. if park call recieve moh. any ideas please. if set policy on server not front end, make sure replication has succeeded. we getting server administration questions, recommend consult experts in lync management forum: http://social.technet.microsoft.com/forums/en-us/ocsmanagement/threads -- how ask question: http://support.microsoft.com/kb/555375 -- posting provided "as is" no warranties, , confers no rights. use of included script samples subject terms specified @ http://www.microsoft.com/info/cpyright.htm Lync Server  ,  Unified Communications  >  Microsoft Lync Client Development

Provision VM fail - STATUS:Conflict

i have tried last 3 days problem remain , @ least consistent. have reinstall azure stack 3 times, no error, , have exact issue 3 times. when provision first vm deployment succeed. thereafter every deployment failed status:conflict , provisioning state:failed. if delete first vm can deploy 1 , 1 vm successful.  have number of demo's , far must admit azure stack poc unstable , not usable. ideas how issues can resolved in order demo product ? rebuild not option, done 3 times. director hi evan, there few reasons why may happening.  please reference thread possible mitigations. if bios includes such option, should configure use local time instead of utc time. for more information, please refer azure stack documentation . regards, pradeep Microsoft Azure  ,  Devel

C# Computer make expression from numbers

Image
how make computer makes expression given random numbers calculate given three-digit number ,if can't number should calculate closest him? in first 3 labels random generated three-digit number,in second 4 labels random generated numbers can 1 9,in third label random generated numbers can be(10,15 or 20) in fourth label random generated numbers can (25,50,75 or 100). hello, please show have tried far, otherwise make effort , if stuck come , show code , issue. please remember mark replies answers if , unmark them if provide no help, others looking solutions same or similar problem. contact via twitter (karen payne) or facebook (karen payne) via msdn profile not answer coding question on either. vb forums - moderator Visual Studio Languages  ,  .NET Framework

Transactions across WebServices

what's best way handle transactions across web services in .net? how perform 2 -way commit? example: client makes request company abc server add user. adduser() operation executed on company abc webserver. then call made web service execute adduser() operation on company xyz server. ( data synchronized on database ) if either operation fails on eith company abc or company xyz, whole operation should rolledback. any idea? thanks. monu   hello, if need perform transactions in interoperable way, want start looking @ ws-atomic transactions and wcf.  can take through wcf web forum here . if care transactions between .net web services can take @ distributed transaction support in system.transactions namespace.  think can pass transaction object around in serialized form, haven't tried myself. good luck! daniel roth Archived Forums A-B

RFC_ERROR_SYSTEM_FAILURE with SAP ECC 6 Unicode

hi all, i using biztalk 2006 r2, microsoft biztalk adapter v2.0 mysap business suite sp1 & sql server 2005 database server. we have developed orchestrations communicating sap version 4.7.   currently sap has been upgraded in ecc 6(unicode) system. i have configured new send port on dev server. orchestration can communicate sap ecc 6.0 (non- unicode) system while trying connect sap ecc 6.0 (unicode) getting error. a message sent adapter "sap" on send port "ecc 6 sendport" uri "sap://as:***.**.***.***/**/***/" suspended.   error details: rfc_error_system_failure   messageid:   {b7dd677e-0ef3-480b-835a-d389f2e24179} is there can configure setting unicode ?   thanks in advance     ajay dabhade problem solved: standard table data types appear not unicode compatible in sap ecc 6.0. make rfcgetfunctiondesc raise error. solution: used other data types scratch in rfcs in sap   ajay dabhade

Does application insights store actually IP address and any other personal data information

hello, public university , want explore possibility integrate application insights our applications.  we want know if application insights store ip address , other personal data information?  ip address collected first octet removed , replaced on 0 , stored way. when data received city , country detected on base of ip , able see in ui. no pii collected automatically. if develop application , add ai sdk can write code collect other information , put in custom properties. applicationinsights not scan detect if try collect additional information.  anastasia Visual Studio Development  ,  Visual Studio Team Foundation Server  >  Application Insights (AI)

Should the async compiler throw ArgumentExceptions from calling task?

the tap guidelines mention async method should throw usage errors directly method on callers task , other errors that might occur during execution assigned returnned task (page 3). seem reasonable have compiler generated async methods throw exceptions of type (or derived from) system.argumentexception on caller's task? idea way people can follow tap guideline without having resort hybrid approach (page 8) or manual implementation. realize perhaps not usage errors argumentexceptions aren't argumentexceptions usage errors? if true, wouldn't make hybrid or manual implementation nessecary non-argumentexception usage errors instead of time? dave i think way it's done less surprising. consider asynchronous operation needs take time validate parameters. in case, argumentexceptions before first await raised on caller's context, while argumentexceptions after first await raised on continuation. also, as noted, not usage exceptions argumentexceptions; it's n

Convert VB.Net program to C# program

can convert vb.net c# or c++ using visual studio 2010. asking without using other outside help, visual studio 2010. rs ricky scott hi rickysco just go throuth below link : http://visualstudiogallery.msdn.microsoft.com/cc8da841-f978-4c3e-8397-c820bd57298c may helps you. regards, meghs Visual Studio Languages  ,  .NET Framework  >  Visual C#

SharePoint Designer workflow in App

have tried use sharepoint designer workflow in app? amit - our life short, others grow..... whenever see reply , if think helpful, click ♥vote helpful♥ , whenever see reply being answer question of thread, click ♥mark answer♥ hi,   think not possible implement workflow in app. please refer below link, http://social.msdn.microsoft.com/forums/sharepoint/en-us/bbf1250e-3a2b-4ea4-81a6-da5a3c2faf2a/how-to-create-a-workflow-in-an-sharepoint-hosted-app- balaji -please click mark answer if reply solves problem. SharePoint  ,  Apps for Office and SharePoint  >  Developing Apps for SharePoint 2013

Centralised Data Storage : Apps? or traditional .NET with SQL Backend?

hi all, perhaps bizarre question i'm looking definitive answer above. buy in whole "apps" idea being isolated, nice easy life-cycle , clean mechanism .... struggling see how scale in enterprise: example, of see appears "apps" performing specific, simple task , sharepoint components deployed working data installed app-web such multiple installations @ different site scopes leads proliferation of multiple "instances" of data definitions.  explained nicely in "surveys" example here :- understanding sharepoint apps my question therefore around scenario data maybe more complex, high-volume , transactional.  practice build out lists , libraries in specific site collection centralised usage (let's assume "expenses") ... , develop "app" deployed anywhere app catalog - accesses "centralised data repository" installed instances read , write same lists? i'm starting suspect *not* apps should

web service - connect to BizTalkMgmtDb failed. Timeout expired

hello, we having issue 1 of our web service application. schemas exposed web service on server1. application process this:   when request message arrives, gets sent orchestration, schema validation , business rules validation. if message valid gets mapped internal schema , output gets saved network drive response message gets created , sent caller process flag true. if message fails validation response message gets created , sent caller process flag false. we have application deployed on server2 sends request web service deployed on server1.   while doing load testing (sending appx 500 requests web service in loop @ time), following errors received in order listed: ----------------------------------------------------------------------------------------- event type:      error event source:   biztalk server 2009 event category:           biztalk server 2009  event id:          6913 user:                 n/a computer:        server1 description:

Suggested alternative to analysis timeouts

i have issue "analysis timeouts". problem them not deterministic. on repeated builds, 1 may method analyzed, , not. not play quality controls on continuous integration. i suggest limitation analysis complexity based on kind of internal "counter" static analyzer keep while analyzing method, , counting deterministic internal measure such calls analyzer methods or whatever. lead reproducible results when making build. when implemented, timeouts can still there - possibly made (much) longer, catch border cases or backwards compatibility. DevLabs  >  Code Contracts

Integration of Biztalk Rfid with Windows application/web application.

 hi guys, i entirely new biztalk rfid , biztalk server. know how rfid solution implemented  using above said 2 concepts. of forums , tutorials have following understanding. using rfid manager (from biztalkrfid) can create process contains bindings logical devices, custum handlers , sink handler.once rfid  tag gets read rfid devices(scanners), tag datas stored in sink database. how tag datas in our sink database mapped our application database , how integrate our windows/web  application using .net? instead of default rfidsink can specify "application database" component in process.   each specific integration depends on application requirements , scenario, not clear question. please note biztalk rfid gives ability to manage any rfid solution both manually (e.g.: rfid manager) , programmatically (see examples in the microsoft's or other sdks.) hope helps, valentina shkolnikov BizTalk Server

How to set the batchSize of WCF-Custom sql binding property from ESB toolkit BRE resolver?

  hello, how set batchsize of wcf-custom sql binding property esb toolkit bre resolver? answers appreciated. thanks in advance efforts. rg     -rajesh gorla hi, in static send port can export wcf configuration config file in wcf custom transport properties. these properties can use in endpoint configuration (for example the endpointbehaviorconfiguration) of the wcf-custom resolver. greetings,   tomasso groenendijk BizTalk Server  >  BizTalk ESB Toolkit

Get printers from remote machine and add to listBox1

Image
hi all, i want add network printers on remote machine listbox. googling found couple of visual basic scripts meant visual studio reporting set , no longer used. right have scheduled task runs every morning outputs list of shared printers on server text file c sharp app reads more automated , read directly server's printer list.  can advise me need this, or learn how populate this?  notes: code found online:  strcomputer = ".";            set objwmiservice = getobject("winmgmts:\\" & strcomputer & "\root\cimv2");            set colitems = objwmiservice.execquery("select * win32_printer",, 48);            for each objitem in colitems; (change . server name). put in each code listbox1.items.add; my current code: using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.linq; using system.text; using system.threading.tasks;

Blocking Program Execution When Playing MP3/WAV with WMPLib

i have application thread runs in background.  that thread watching new data and, when data received, processed - includes playing 2 sounds. each play sound function [ e.g. play1() , play2() ], each of set follows: wmplib.windowsmediaplayer wplayer = new wmplib.windowsmediaplayer();  wplayer.url = "c:\\dir\\sound.mp3"; // play1() mp3, play2() wav wplayer.controls.play(); however, when data processing happens, play1() fires off play2() fires , 2 sounds play on top of 1 another. i play sound1, play sound2, continue threaded function looking new data. how can pause execution of application while audio playing?  i found information suggesting use of timer, not familiar using them , attempts unsuccessful. edit: i guess better way of thinking might pretend want pop message box after the audio file has finished , don't want return play1() function until after file has finished , message box has been shown.  e.g:  wmplib.windowsmediaplayer wplayer = new wmpli

Google My Maps equivalent for Microsoft?

hi, know if there equivalent plugin google maps can install office 365? work has changed on gmail office 365. used use google maps lot, build map using set of addresses , have different layers different sets of addresses. having address database , being able view on map, instead of on spreadsheet. the dept have advised me install bing maps, seems allow add maps , locations meetings in outlook. google maps whole separate programme, if there similar available microsoft? thanks in advance help! laura there lot of different ways use bing maps inside of office 365. in office 365 there 2 map visuals out of box lets view te data on map. first through power view: https://support.office.com/en-us/article/maps-in-power-view-8a9b2af3-a055-4131-a327-85cc835271f7 https://www.dynamics101.com/sharepoint-online-demo/ the second if data in list , have geolocation field, there map view option:  https://dev.office.com/sharepoint/docs/general-development/create-a-map-view-for-the-geol