Posts

Showing posts from May, 2012

Navigating between windows (Gurdy) - 2/19/2007 5:29 AM PST

by: gurdy hi! before blend beta, used navigate scene scene using following code. navigationservice ns = navigationservice.getnavigationservice(this); ns.navigate(new uri("window2.xaml", urikind.relative)); not work now. know replace with? mary by: unni ravindranathan (ms) i think brennon right. trying navigate window, not allowed. difference between old builds , new they, default, when created new item, used create "scene" element derived grid. now, default, create window cannot nested inside other windows, navigated to, etc. sample attached. thanks, -unni "gurdy" <gurdy@discussions.microsoft.com> wrote in message news:5d90945d-eae4-4977-9a98-4a5986c8f29c@microsoft.com... > hi brennon, > > crashes when click button bring new page. > crash > else, too? or us. there other way > navigate? > seems fundamental problem. suppose use layers , > assign them zindex, does

WPF Listview modification

for specific reason want select  listviewitem s on mouse button up, not on mouse button down. want behaviour embedded in control. possible achieve this? can give hint? Expression  >  Expression Blend + SketchFlow

Bing Maps v7 depreciation and standard Bing maps integration in SharePoint 2013

hello, our customer using standard bing maps integration in sharepoint 2013. affected v7 depreciation? if yes solution? best regards. miguel it be. since integration done sharepoint team, can happen built in map implementation. try asking sharepoint team first. if else fails custom solution can created bing maps api's directly. [ blog ] [ twitter ] [ linkedin ] Bing Maps  >  Bing Maps Web Controls

Escape ' in placeholder

hi all, i have anoying problem escaping ' in placeholder. here code use , working perfect string without ' each time have string "car's" error. string thirddropdown = string.format("//*[@id='syi-categories-l2']/ul/li[.='{0}']",                     raddropdownlist3.text); the problem use string format find xpath on site , each time have value ' in error due format. the problem when have value ' xpath not found due format of string there way solve this? the escape /' you use if statement , indexof() track these , either remove them or compensate escape Visual Studio Languages  ,  .NET Framework  >  Visua

Proxy access from appliance issues

hi, has else experienced problems configuring proxy internet access collector appliance? we can browse sites via browser using proxy when entering details in collector continue get: "unable connect internet. configure proxy settings if using proxy" the following logged webapp.log file: 10:33 error:      properties::   [processid, 3960]:[collectorid, 2c982935-f3f5-41a7-bad9-a0b352fb8dba]:[application, webapp]:[loggenerationtime, 25/10/2017 09:59:46] 10:33 error:      message::      error occurred when attempting read response: threw exception.type: system.net.webexception, exception.message: unable connect remote server 10:33 error:      properties::   [processid, 3960]:[collectorid, 2c982935-f3f5-41a7-bad9-a0b352fb8dba]:[application, webapp]:[loggenerationtime, 25/10/2017 09:59:46] 10:33 error:      message::      stacktrace:   @ system.net.webclient.openread(uri address)    @ system.net.webclient.openread(string address)    @ microsoft.azuremigrate.profil

Bulk label download problem

i attempting use the downloadcampaignsbyaccountids bulk api call download labels. however, not getting labels when make call. using bing ads java sdk version 11.5.3. bing ads account using here has single label in (created in bing ads web ui). bing ads account i'm using here have label functionality enabled (obviously, or else wouldn't have been able create label in ui.) also, there 1 campaign in account has 1 label added (the label added campaign in bing ads web ui). csv file returned call doesn't have label records in it. have reviewed bulk label api documentation, , can't figure out might doing wrong. can tell me i'm doing wrong here? here soap request/response: ---------------------------     id: 1     address: https://bulk.api.bingads.microsoft.com/api/advertiser/campaignmanagement/v11/bulkservice.svc     encoding: utf-8     http-method: post     content-type: text/xml     headers: {accept=[*/*], soapaction=["downloadcampaignsbyaccoun

Timer Vs Windows Services

hi team,              advised use windows services instead of timers questions answer. please tell me technical reason same? benefits of using windows services , demerits of using timer based application scheduled applications. please see below link previus question. http://social.msdn.microsoft.com/forums/en-us/architecturegeneral/thread/b2accb23-8c27-4592-b282-adf50a165a29 regards, zamsheer hi, there 3 timers in .net , available in types of applications. here article them..... http://msdn.microsoft.com/en-us/magazine/cc164015.aspx they way see can either have windows service application uses timers poll time. thats it. need both application working; windows service host, sitting in background, , using timer tick every 5 minutes. there no need discuss 1 needed need both. the other option write console application , set run scheduled task; every 5 minutes. easy set up. these 2 approaches equivalent. Architectur

Aggregating a COM object in .NET using ICustomQueryInterface

hi, i found blog post "icustomqueryinterface , clr v4" jmstall ( http://blogs.msdn.com/b/jmstall/archive/2009/07/09/icustomqueryinterface-and-clr-v4.aspx ) describes how force clr not throw away "com callable wrapper" (ccw) in case managed object gets handed managed object through unmanaged object. code worked beta versions of .net 4 unfortunately not final. ccw thrown away , in sample code cast ifoo2 fails. icustomqueryinterface.getinterface() never called. does of have idea how code fixed works .net 4.0 final? in case matters, scenario different: want write add-in unmanaged application. these add-ins must implement com interfaces. there exists unmanaged add-in pretty want want, need change behavior of single interface (let's call iinteresting). class implements iinteresting. other casts pipe instance of existing add-in class using icustomqueryinterface: customqueryinterfaceresult icustomqueryinterface.getinterface( ref guid iid, out intp

finding the index of a value in a multi dimentional array of doubles

im having trouble writing function index of value in multi dimentional array. value in [*,0] need check column 0 value. have far: public int locate(double[,] arr, double value) { int w = arr.getlength(0); (int x = 0; x < w; x++) { if (arr[x, 0].equals(value)) { return x; } return -1; } } arr double array large range of distinct values, , value double looking in arr[*,0]. this give me error saying not code paths return value. wrong code , how fix it? change to: public int locate(double[,] arr, double value) { int w = arr.getlength(0); (int x = 0; x < w; x++) { if (arr[x, 0].equals(value)) { return x; } } return -1; } mitja

Database Application Design Concerns

i redesigning invoice log application had designed in access.  one thing access took care of me confused on concurrency. my original plan build custom invoice , invoice collection class load when program opened , work off it. or load dataset , work off data in it.  however im not sure how handle concurrency in these scenarios.  since access shared same file have 6 processors opening 6 different apps , loading 6 different datasets if made change in 2 of them how handle this?         coding 4 god! i don't think link being rude nor condescending. used "managed" in context of choosing use sql server versus oracle or mysql... easy big fella, there many here many cultures trying use english common language.   the platform choose depend on research , preference cost, functionality, hosting requirements etc... question needs more details on how users access data either client/server app, asp web page etc... , answer need brief overview of main database engines

USB Devices Information

hello everyone, issue : getting usb devices , its' information provider, manufacturer, product, serial number , port on connected developing platform : c# issue description : want detect usb devices when connected information connected  usb provider, manufacturer, product, serial number , port on usb connected questions: are there microsoft libraries give me above information? if library external source, open source code used? regards, ketan you know forum graphical user interface windows forms (likewise there xaml , asp.net) try c# forum. http://social.msdn.microsoft.com/forums/en-us/category/vslanguages success cor Visual Studio Languages  ,  .NET Framework  > 

Get SQL Line Number of Error (And Stored Proc Name)

is there way stored proc name , line number of error when there sql error in stored proc (when using wcf-custom adapter in sendport).  example, i'm getting below.  know stored proc sendport calling, might call many sub-stored procs. seems biztalk capture entire sql error info , display back. neal system.data.sqlclient.sqlexception (0x80131904): string or binary data truncated. the statement has been terminated. server stack trace:    @ system.runtime.asyncresult.end[tasyncresult](iasyncresult result)    @ system.servicemodel.channels.servicechannel.sendasyncresult.end(sendasyncresult result)    @ system.servicemodel.channels.servicechannel.endcall(string action, object[] outs, iasyncresult result)    @ system.servicemodel.channels.servicechannel.endrequest(iasyncresult result) exception rethrown @ [0]:    @ system.runtime.remoting.proxies.realproxy.handlereturnmessage(imessage reqmsg, imessage retmsg)    @ system.runtime.remoting.proxies.realproxy.p

reading excel files without sending whole the file to the server

hi i  wanna name , count of columns of user's excel files, can't send whole file server, of first bytes (enough read first rows ). how can in c#? there way not send whole file? understanding javascript api office http://msdn.microsoft.com/en-us/library/office/apps/fp160953.aspx don't giveup, atleast give try, , try use javascript api office faisal ahmed farooqui Visual Studio Languages  ,  .NET Framework  >  Visual C#

Displaying new dialog from a user control

hello, i have application in c sharp. the main form contains panel in displaying user control. that user control contains button named "start". want open form2 after clicking on start button. form2 contains picturebox. after clicking on start button creating object of form2 and passing image should display onto picturebox. i passing image form2 in constructor , saving image local variable of form2. then assigning image picturebox's backgroundimage. after doing form2.showdialog() in start _buttonclicked(); then showdialog throwing exception "parameter not valid" because local image variable becoming null. i not getting why variable becoming null? what should local image variable wont become null?   i dont know did, how should work: //form1: private void button1_click( object sender, eventargs e) { string strimage = @"c:\1\backward.png" ; form2 f2 = new form2(strimage); f2.showdialog();

NoUsers/Sessions count - Azure WCF webservice behind a Azure Traffic manager

we have azure wcf webservice being consumed windows phone app , when enabled app insights user , session count either 0 or 1. reporting correct users/sessions/geographic info not supported pure webservice or because our webservice behind azure traffic manager. hello forg2, if i'm not mistaken (it changed couple time during ai lifetime), latest version of ai web sdk, users tracked via ai javascript sdk adds certain cookies on client meaning if web service not have user tracking ai on client side, users not tracked automatically server side. however, believe can submit user information manually using ai telemetry initializer (e.g. in sample code, authenticated user extracted): public class mytelemetryinitializer : microsoft.applicationinsights.extensibility.itelemetryinitializer { public void initialize(microsoft.applicationinsights.channel.itelemetry telemetry) { string user = null; if (httpcontext.current != null) { if (httpco

How do you REMOVE or DELETE Items from Recent Projects list in VS2005 RC?

i have been testing  vs2005 rc , result, have built many applications. most no longer interested in or use , delete them recent projects list, dont see how ! i have been achieving manualy deleting project iis, there's got better way ! any ideas? cheers, yousaid really, shouldn't need to, there way. if continue use visual studio different projects, recent few projects shown.  so, no longer use "age off" list, , replaced use. if don't want wait happen, however, can clear them out of registry.  mru list stored under: hkcu\software\microsoft\visualstudio\8.0\filemrulist  <--- file list hkcu\software\microsoft\visualstudio\8.0\projectmrulist  <--- project list know manually editing registry discouraged, , @ own risk. thanks, robert mcintyre visual studio product team Archived Forums V  > 

What is the use of Full-Text Search in SQL server?

hi friends, please help, know full-text search in sql server. how can take in our code. thanks, naga harish . hello,   for information full-text search, please see following: http://msdn.microsoft.com/en-us/library/ms142571.aspx if know how write full-text queries, please see following links: http://msdn.microsoft.com/en-us/library/ms142538.aspx http://msdn.microsoft.com/en-us/library/ms142492.aspx   http://msdn.microsoft.com/en-us/library/ms142566.aspx http://msdn.microsoft.com/en-us/library/ms142568.aspx   http://msdn.microsoft.com/en-us/library/ms142491.aspx   http://msdn.microsoft.com/en-us/library/ms142577.aspx http://msdn.microsoft.com/en-us/library/ms142559.aspx   hope helps,   regards,   alberto morillo sqlcoffee.com SQL Server  > 

SharePoint 2013 Powerpivot Add-in Install Configuration - Missing Parameters

Image
please verify below screen, missing 2 parameters per technet article -  missing parameters: passphrase : enter passphrase. if creating new sharepoint farm, passphrase used whenever add server or application sharepoint farm. if farm exists, enter passphrase allows add server application farm. powerpivot server excel services : type name of analysis services sharepoint mode server. in single-server deployment, same database server.   [servername]\powerpivot   technet article: http://technet.microsoft.com/en-us/library/jj682085.aspx   i have downloaded add-in http://www.microsoft.com/en-us/download/details.aspx?id=35577 , installed it   then ran powerpivot not sure missing. please help?   in fact supposed show parameters below screen SQL Server  >  SQL Ser

MS SQL 2016 express hardware configuration.

hi i designing software charity organization , using using ms sql express 2016 database. question hardware (server) specifications have consider. note that 1- there 20 users connected database. 2- saving images in database. i appreciate reply possible. thank support , cooperation best regards  alien developer you can use developer edition edition free. https://www.microsoft.com/en-us/sql-server/sql-server-editions-developerse. please mark answered if answered question or mark helpful if solve problem. SQL Server  >  SQL Server Express

using mshtml on c#

Image
i want write html page in there 2 text boxes , 1 button. when click button want start activex control text textbox , run javascript “play” text in text boxes. i’ve got spread in 3 files: .html, .js , .cs. i’m not using visualstudio, notepad++ , command csc build .cs class. to call javascript i’m trying use mshtml.execscript can’t recognize mshtml.dll. i’ve tried adding using mshtml; doesn’t work although dll placed in same folder .cs when try build it. should else able use .dll? i know looks strange it’s simulation of makes sense ;) my .cs looks follows. thank much!   using system; using system.runtime.interopservices; using system.collections.generic; using system.text; using system.threading; using mshtml; namespace anamespace  {     public interface asignatures   {     string fname();     string password();   }   [classinterface(classinterfacetype.autodual)]   public class aclass :asignatures   {     public string fname()     {    

Two-way Orchestraion should resume from where it failed

Image
hi all, we have orchestration this.. here have two-way port, post http request , receive response. i have scope around receive shape exception handler looking system.exception when end system down when post message,inside exception handler, have throw statement like: throw new system.exception("first attempt failed"). in outer exception handler, log exceptions occur in orchestration. my question is, if end-system posting message in life, our support people resubmit / resume suspended message, when they it, orchestration should resume above receive shape , continue complete rest of shapes. may know should here please. this migth be an interesting post regarding issue: http://blog.codit.eu/post/2012/01/13/best-practices-for-consuming-web-services-from-within-biztalk-server.aspx jean-paul smit | didago consultancy blog | twitter | linkedin mcts biztalk 2006/2010 + certified soa architect please indicate "mark answer" if post has ans

Processing files based on the transaction

i have trade partners sending professional , institutional files through same channel. basically, need able accept either transaction , make decission orchestration i use. have 1 orchestration professionals , institutional claims both of pointing separate folder locations. how route transaction either folder not error. in other words, without using file name, how make decission on routing file. tried using orchestration reads system.xml.xmldocument, splitting files (troubleshooting why). there better way so? if trade partner sends me transaction, can not set receive port professional because may institutional , vice versa. ideas appreciated. btw am using2009.   hi,     if using edi receive pipeline promotes gs08 received message. , gs08 different for  professional , institutional so using gs08 context property can route. hipaa schema gs08 value 837i 004010x096a1 837d 004010x097a1 837p 004010x098a1   thanks gyan if answers question, please mark &qu

Whats best: Expression or Decide

hi, have scenario have check existens of set of files in destination location , if not exists, copy files destination. scenario occurs in child orchestration. got know in situation file modifications not done best send via subscribing (through filtering). in situation best check condition. expression shape suitable or check good. im new biztalk. if understood requirement correctly, need copy file source destination if doen't exist in destination folder. simple solution use send port filter condition on receive port name. file adapter having 'copty mode' option can used in case. default, create new option enabled , not write file destination of exist. more details on create new mode: http://msdn.microsoft.com/en-us/library/ee253310(bts.10).aspx create new . if file not exist, file send handler creates new file , writes it. if file exists, file send handler reports error , follows common adapter retry logic send ports. default copy mode file send handler. genuine basil

How to Build replica server for Biztalk

  hi all... i have single biztalk server as production server..and want make replica backup of biztalk server when server 1 fails due reason can able replace backup server .. for have simple query...while configuring backup biztalk server have same database server using production server so db server has biztalk database.. so when configure backup biztalk going again create biztalk database in db server.. & how configure wss because again db server has wssdb database.. pls advice procedure follow..   thanks sandeep hmmm... dunno.  here approach take find out:   1.  if run configuration , specify existing database, try recreate database , give error?  (try in test environment first!) 2.  if step 1 give error, if leave "enable bre" box unchecked.  bre application still work on server?     BizTalk Server  > 

Add reference to authenticated web service from Biztalk server 2006 r2

hello, i have .net webservice user name/password authentication.i using soap adapter access web service.i doing right click on project->add web reference-> entering user name , password add reference it. the web reference getting added properly.i have created orchestration access web service , values back. but when i deploy application , drop file, getting following error when trying access ws orch: error description: webexception: request failed http status 401: unauthorized i sure error coming after adding authentication web service, because when accessing same web service before adding authentication, working fine me. do have specific pass credential web service biztalk . please suggest. you need set transport credentials on send port. in biztalk admin console, open send port properties, click configure button next fransport type. on general screen specify authentication type, basic, , below set username , password. 

Calling a SOAP v1.1 service with WCF

writing first program data soap v1.1 service using https. calling method uses user name/password authentication retrieve token. get: "an error occurred while making http request [service url]. due fact server certificate not configured http.sys in https case. caused mismatch of security binding between client , server." the code have is:             endpointaddress epa = new endpointaddress(@"https:// .. url ..");             basichttpbinding bind = new basichttpbinding();             bind.security.message.clientcredentialtype = basichttpmessagecredentialtype.username;             bind.security.transport.clientcredentialtype = httpclientcredentialtype.basic;             bind.security.transport.proxycredentialtype = httpproxycredentialtype.basic;             bind.security.mode = basichttpsecuritymode.transportwithmessagecredential; // dpsauthenticationsoapclient proxy generated wsdl             dpsauthenticationsoapclient dpsclient =                 new dpsauthent

Unauthorized Error when trying to use Sharepoint 2013 REST from workflow

hi guys, i'm trying set workflow in own site uses "/my/feed/post" endopint of rest post newsfeed item. got error said "code":"-2147024891, system.unauthorizedaccessexception". i've been spenting time on google , found this:  http://msdn.microsoft.com/en-us/library/jj822159.aspx but still didn't solve problem site not "app" "site". i'm still getting unauthorizedaccessexception. how should configure site give workflow permission post newsfeed? or how should set workflow? thanks in advance. michael make laugh. hi, do have same error deployed application? have in debug mode only regards SharePoint  ,  Apps for Office and SharePoint  > 

VC++'s Cstring to C# string

hello, i manoj, i want pass cstring value vc++ function string value in c# function. i have added class library project of c# vc++ project. vc++ code: cstring to_pass="hello"; funcstring(to_pass); --------------------------------------------- c# code: funcstring(string a) { //printing operation; } conversion not happening. kindly me. thank you. vc++'s cstring , c#'s string have nothing in common, have convert manually 1 other. marshaling library of vc++ should make simple: #include <msclr/marshal_atl.h> void example() { cstring to_pass = "hello"; funcstring(msclr::interop::marshal_as<system::string^>(to_pass)); } Visual Studio Languages  ,  .NET Framework