Posts

Showing posts from April, 2011

Can't set mouse cursor to crosshair

i'm trying set mouse cursor crosshair (from default hand) , it's not working: document.getelementbyid( "map" ).style.cursor = "crosshair" ; steve kahler this question solved on forums: http://social.msdn.microsoft.com/forums/en-us/vemapcontroldev/thread/d2aba403-1974-430a-8993-6fb16dd2e87a http://social.msdn.microsoft.com/forums/en-us/vemapcontroldev/thread/ed7e0811-d776-44f5-a68b-e2f5a03b84e2/#e486bfcf-95a0-47d1-934b-355d59c971be   and here sample code:   <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd" > <html xmlns= "http://www.w3.org/1999/xhtml" > <head> <meta http-equiv= "content-type" content= "text/html; charset=utf-8" /> <title></title> <script type= "text/javascript" charset= "utf-8" src= "http://ecn.dev.virtualearth.net/mapcontrol/m

Detecting Paste event in removable device like USB ..in C#

is there way detect paste event when try paste data in removable device ...c# code detect , message me  you mean  user dragging file onto drive in file explorer? you use filesystemwatcher , handle created event: https://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.created%28v=vs.110%29.aspx?f=255&mspperror=-2147217396 . i don't see wpf content in question. hope helps. technet articles: wpf: layout lab ; technet articles Visual Studio Languages  ,  .NET Framework  >  Visual C#

Software Requirement gathering, Analysis and Design - What is it exactly.

hi, when say, requirement gathering, analysis , design of software application means? i know requirement gathering means getting requirement client. analysis means understanding them , design means designing software architecture. but exact ( proper ) procedure 1 (technical analyst) should follow? there tools should used? document (uml) or needs created? regards, parag patil proper , exact relative terms, need have compare to, , don't. question not answerable.  there no procedure should follow without gathering requirement first. need choose best fit based on requirements. adopting/adjusting procedure part of software analysis , design work. software analysis , design topic taught in colleges. can start textbook , ask questions more limited scope. forum not suitable place cover topic requires book-long answers.  visual c++ mvp Architecture

Conversion of xml to string with characters (XML Doc) Biztalk

hey have formed xml need convert xml doc below , well formed schema : <batch_process><applicant><name last_name="bermuda digital communications" /><address><address_line1>5 reid street kitson building, 2nd floor hamilton,hm 11 bmu</address_line1><city>hamilton</city><postal_code>hm 11</postal_code><country country_code="bmu" /></address><phone>5637190327</phone><account_number>31000000840</account_number></applicant><applicant><name last_name="blackberry" /><address><address_line1>295 phillip street waterloo,onn2l 3w8 can</address_line1><city>waterloo</city><state>on</state><postal_code>n2l 3w8</postal_code><country country_code="can" /></address><phone /><account_number>31000000843</account_number></applicant><applicant><

COM Interop Problem on 64 bit system with Windows Forms LocalServer

i have windows forms application exposes coclass oneinterface throug com. in order have run local server , not inproc, have post-build actions involving 64-bit regasm, using 64-bit reg.exe replace inprocserver32 registry entry localserver32 entry. btw impossible have vstudio invoke 64-bit reg.exe putting whole path windows\system32\reg.exe in build action. vstudio wants start 32 bit reg.exe. way make copy of 64bit reg.exe , put under  name in ouputdir-folder. also, put call registrationservices.registertypeforcomclients in main method before application.run(new mainform()) call. registrationservices svcs = new registrationservices(); int scookie = svcs.registertypeforcomclients(typeof(test), registrationclasscontext.localserver, registrationconnectiontype.multipleuse); when in 32-bit system (using 32-bit regasm , reg.exe) works fine.  the behahvior following: when com client creates com object, , windows forms app running, directly hands out com object. if server a

Where is the Triggers Pallet in 2.5 March?

where did triggers pallet in 2.5 march go? not seeing anywhere. hw open it? making silverlight 2.0 application in blend. designer girl triggers not supported in silverlight 2. see if try create wpf project. triggers used define when states should active, , properties set in state. silverlight 2 has different mechanism state management , supported in blend in near future version. now, have edit xaml hand effects button rollovers. thanks, -unni Expression  >  Expression Blend + SketchFlow

Error when trying to Add-AzureAccount

getting error when trying initial setup of azure ps.  have done many times on different machines, , on particular machine have uninstalled , reinstalled azure ps few times no avail.  issuing add-azureaccount , expecting pop menu can type in account information-as simple can be.  keeps spitting out error message: add-azureaccount : key not valid use in specified state. at line:1 char:1 + add-azureaccount + ~~~~~~~~~~~~~~~~     + categoryinfo          : closeerror: (:) [add-azureaccount], aadauthenticationfailedexception     + fullyqualifiederrorid : microsoft.windowsazure.commands.profile.addazureaccount i found solution! have delete profile manually (clear-azureprofile fail well). remove-item "$env:userprofile\appdata\roaming\windows azure powershell" Microsoft Azure  > 

Generating XML from CSV and XSD

i need convert csv file xml based on xsd. easier approach this? example of csv: type,name,mfgdate,selldate,owner car,toyota,01/12/2012,,sa car,honda,1/1/2010,1/2/2012,sa truck,toyota,1/1/1965,,, truck, ford,,,,ca xsd looks this: <?xml version="1.0" encoding="utf-8"?> <xs:schema id="vehicles"     targetnamespace="http://tempuri.org/vehicles.xsd"     elementformdefault="qualified"     xmlns="http://tempuri.org/vehicles.xsd"     xmlns:mstns="http://tempuri.org/vehicles.xsd"     xmlns:xs="http://www.w3.org/2001/xmlschema" >   <xs:element name="vehicles">     <xs:complextype>       <xs:sequence>         <xs:element name="cars" maxoccurs="1" minoccurs="0">           <xs:complextype>             <xs:sequence>               <xs:element maxoccurs="unbounded" name="ca

Session issue

i have method in class sets session last error thrown. works great in web world, running batch job runs exe calls class , session not work. session has same error before code in method not run. ideas how can in windows app? www.helixpoint.com hi you can try following: http://social.msdn.microsoft.com/forums/vstudio/en-us/f0d33bad-b181-43fc-8bae-1578bf0c2801/share-session-variable-from-aspnet-app-to-wcf?forum=wcf regards please remember mark replies answers if , unmark them if provide no , or may vote-up helpful post Visual Studio Languages  ,  .NET Framework  >  Visual C#

What is the advantage of having multiple namespace in xml document

see below xml. when can build xml without namespace why people use multiple or 1 namespace in xml. know reason , advantage in details. when incorporate namespace need add code parse it.....so point. if possible explain advantage sample xml. thanks <soapenv:envelope xmlns:soapenv=""http://schemas.xmlsoap.org/soap/envelope/""> <soapenv:header/> <soapenv:body> <rate:rateresponse xmlns:rate=""http://www.ups.com/xmlschema/xoltws/rate/v1.1""> <common:response xmlns:common=""http://www.ups.com/xmlschema/xoltws/common/v1.0""> <common:responsestatus> <common:code>1</common:code> <common:description>success</common:description> </common:responsestatus> <common:alert> <common:code>110971</common:code> <common:descript

Virtual Catalog Rebuild

hi, i'm newbie i'd understand better give opinion. adopting sap product pricing. in few words, i'm going have segmented prices. example: list price, gold clients have 1% discount, silver clients have 0.5% discount. problem have price modification time. in specific products, had 100 price modifications in unique day. (this worst example) the first idea sap makes price calculation , after it’ll put respective prices cs 2007. (biztalk or xi. not quite sure!) what’s best way keep prices in cs? use virtual catalogs? vc has rebuild step. need stop site rebuild work? how long take 4k products? can run rebuild 10 minutes intervals? any idea appreciated! regards, fernando hello pb, "is commerce server staging (css) good pushing catalog production?" yes, supported way of transfering catalog data production.  we have used css service when transfering few catalogs day , there no performance issue. after time our business requirements changed , started stage during day. c

Is the executable file generated by compiler a Managed code or Unmanaged code ?

hi, when compile our vb.net or c#.net code (say in simple console application) in bin\debug folder .exe file created.is managed code? when directly execute file,will target clr ? or directly run on os ? why there consoleapplication1.vshost.exe.manifest files created in folder ? what .pdb file ? that executable file created in obj\debug folder .why ? when compile our vb.net or c#.net code (say in simple console application) in bin\debug folder .exe file created.is managed code? yes. file portable executable in (il) intermediate language when directly execute file,will target clr ? or directly run on os ? the in time compiler compile il instructions native code , run it. why there consoleapplication1.vshost.exe.manifest files created in folder ? visual studio needs files in order build/debug application. what .pdb file ? file debug symbols used debug session that executable file created in obj\debug folder .why ? depends on kind of build use: release or debug

Delivery Notification Performance

hi all, relating topics http://social.msdn.microsoft.com/forums/en-us/biztalkgeneral/thread/6e08a32b-e437-46d0-9dcf-a7d7a14e4fb6/ http://social.msdn.microsoft.com/forums/en-us/biztalkgeneral/thread/b103b5e1-7715-4b9f-840c-76c3f4bee782/#a2573d39-9d9a-4db2-87ac-2c0362dc75e1 i created orchestration in blog of kent http://kentweare.blogspot.com/2007/11/biztalk-delivery-notification.html from small messages working fine (less 1000 rows), bigger ones e.g. 10000 or our biggest over 25000 rows, working slow :( (and slow means running more 16 hours)  google found following topics http://blogs.msdn.com/kevinsmi/archive/2004/09/25/234312.aspx and hotfix http://support.microsoft.com/kb/889077/en-us   but seems biztalk server 2004, i'm using 2006 r2 is still problem in 2006 r2, there workarounds? kind regards per of course ssis job fast. automatic imports don't want use many different solutions in our company. perhaps split files.

ESB 2.1 on Visual Studio 2010

does  install esb 2.1 on visual studio 2010? i had below issue when access esb portal if have visual studio 2010. http error 500.21 - internal server error handler "pagehandlerfactory-integrated" has bad module "managedpipelinehandler" in module list note: iis 7.5, windows server 2008 r2, bts 2010, 64 bit thanks, raja i have setup esb 2.1 portal, here notes: http://dgoins.wordpress.com/2010/09/21/rough-notes-for-setting-up-esb-2-1-portal-on-a-system-with-sharepoint-2010-on-port-80/     mct, mcsd.net, biztalk ts BizTalk Server  >  BizTalk ESB Toolkit

Biztalk 2010 Dealing with oracle user defined types

hi  i have created application using package includes oracle user defined types table types ,record types etc. next need register folder containing dll , key manually gac right? , proceed usual steps have done noraml package right?  yes gac dll. also in project debug location whether need copy folder or separate dll , key. not needed. also in biztalk 2010 installation folder need paste dll , key there?(or folder completely) just dll. in wcf adapter sendport config,    in the  binding  tab, specify location of oracle udt assembly the  userassembliesloadpath  binding property. dll path above. thanks arindam BizTalk Server  >  BizTalk Server Adapters and Adapter Pack

I get wrong address for using A2 and A3 codes for ISRAEL while searching the address in Bing maps.

for address in israel, different results when using a2 , a3 codes country. following results observed.  observed result : fields: street - city description - zip code - country 1. empty - tel aviv - empty - isr ==> bing search: tel aviv,isr location recognized , correct 2. halechi - tela aviv - empty - isr ==> bing search: halechi,tel aviv,isr location not recognized 3. halechi - tela aviv - empty - isr ==> bing search: halechi,tel aviv,isr ==> change bing search contain: halechi,tel aviv,israel location recognized, , correct idem street arlozorov in tel aviv,isr 4. empty - jerusalem - empty - isr ==> bing search: jerusalem,isr location recognized , correct 5. chopin - jerusalem - empty - isr ==> bing search: chopin,jerusalem,isr location not recognized 6. chopin - jerusalem - empty - isr ==> bing search: chopin,jerusalem,isr ==> change bing search contain: chopin,jerusalem,israel location recognized, , correct

Windows fire Wall on/off

hi, sql adapter rsaid error  like  the adapter "sql" raised error message. details "new transaction cannot enlist in specified transaction coordinator. ". i have checked msdtc settings proper. later identified fire wall turned on. once stopped fire wall (off) working fine. is mandatory turn off fire wall.  hi dinesh, advise turn windows firewall on biztalk server. opening these ports on firewall dramatically increasing attack surface , relying on security of biztalk server not being compromised.  ports required biztalk server cataloged here: http://msdn.microsoft.com/en-us/library/aa577684.aspx also refer:  https://social.msdn.microsoft.com/forums/en-us/34377f85-95f9-4571-9713-f05329b53ee6/ports-to-open-in-firewall-for-biztalk-server?forum=biztalkgeneral rachit sikroria (microsoft azure mvp) BizTalk Server  > 

Enum.GetValues question

hello expert, i have enum below example since actually, have long list of windows message in enum: public enum windowsmessages : int{             ccm_first = 0x2000,             ccm_last = (ccm_first + 0x200),             ccm_setbkcolor = (ccm_first + 1),             ccm_setcolorscheme = (ccm_first + 2),             ccm_getcolorscheme = (ccm_first + 3),             ccm_getdroptarget = (ccm_first + 4),             ccm_setunicodeformat = (ccm_first + 5),             ccm_getunicodeformat = (ccm_first + 6),             ccm_setversion = (ccm_first + 0x7),             ccm_getversion = (ccm_first + 0x8),             ccm_setnotifywindow = (ccm_first + 0x9),             ccm_setwindowtheme = (ccm_first + 0xb),             ccm_dpiscale = (ccm_first + 0xc),             hdm_getitemcount = (hdm_first + 0),             hdm_insertitema = (hdm_first + 1)} then use : list<windowsmessages> thelist= enum.getvalues(typeof(windowsmessages)).cast<windowsmess

BizTalk Solution Design

hi all, i have requirement receive idoc contain various file names in particular repeating segment. i have pick files file name , folder location using sftp, map , append file..finally send consildated file unix system.. i majorly stuck approach of getting files sftp server in loop , using dymamic receive. could please me best approach proceed this. ??  1 thinking of creating orchestration receive first idoc , read file names in loop.. within same loop have amend filemask of created sftp receive location using wmi receive file 1 one. cannot receive file receive in same orchestration without using correlation. any other approach  which can suggest ? thanks, varun thanks, varun try ssh.net library @ codeplex @ https://sshnet.codeplex.com/ i have not used it... alternatively there multiple commercial sftp libraries available too. regards. BizTalk Server

Error in Visual C# 2010 Express

Image
hi, i don't know if best forum post this, here goes anyway. haven't had problems since quite time, i'd come here; whenever did, either unanswered question saw answered (only "answer" mark missing) or didn't know anwer, explains why graph of profile looks 1 of square root.  well, happens whenever insert breakpoint, unnamed variable (that little blue cube, nothing after) appears in locals. if wait few secs or click "step into" or "step over" crashes (the following image shows after crashing). yet if click, in covers useful "locals" , "watch", example, "error list", may click "step into", "step over" or "continue", continues running without crashing. in moment change "locals", crashes before (seen below while it's crashing. may see, print screen taken while window still appereing. now questions: wrong this? what's error? bug? how can solve it? oh,

Azure Data Factory - Multiple activities in Pipeline execution order

i have 2 blob files copy azure sql tables. pipeline 2 activities: {     "name": "nutrientdatablobtoazuresqlpipeline",     "properties": {         "description": "copy nutrient data azure blob azure sql",         "activities": [             {                 "type": "copy",                 "typeproperties": {                     "source": {                         "type": "blobsource"                     },                     "sink": {                         "type": "sqlsink",                         "writebatchsize": 10000,                         "writebatchtimeout": "60.00:00:00"                     }                 },                 "inputs": [                     {                         "name": "foodgroupdescriptionsazureblob"  

Handling Text Changed event for TextBox

hi, i want handle textchanged event textbox derievd custom control in silvelight. can handling textchanged of each individual textbox, lengthy preocess have hundreds of textbox controls. want handle textchanged event in derived class (from textbox). dont see override ontextchanged() funtcion altough can see ontextinput() etc. can suggest how that? are asking or suggesting. want handle textchanged event in derived class. suggesting, , asking if work you.  subscribe event in derived class , handle event. Silverlight  >  Programming Silverlight with .NET – General

Jump to URL ("&" - apersand - not allowed as value in the passed parameter)

Image
ssrs 2005, hi guys i have following problem: a report opens subreport via web (selecting option: jump url) , passing parameters using string: "javascript:void(window.open('" +globals!reportserverurl....... i have noted if parameter pass value like: test & test i got error (if replace test test, report works) so, "&" not allowed. how can solve problem ? (keep in mind these values thirdy party supplier , cannot modify) many help     fasttrack, you should able that. ="javascript:void (window.open('http://localhost/reportserver/pages/reportviewer.aspx?/folder/reportname&rs:command=render&param1="& parameters!param1.value & "&param2=" & parameters!param2.value & "','_blank'))" check out link: http://experiencingmsbi.blogspot.com/2011/08/using-javascript-in-ssrs.html regards, manoj *happy http://experiencingmsbi.blogspot.com/

Please need help creating report using SSAS as Source

good morning, this second time using ssrs create report , first time using ssas source. there link or documnetation? created new report using bids on desktop. how can deploy onto report server? ideas? please need help. thank you amy hi, hope helps http://www.mssqltips.com/sqlservertip/2704/developing-a-ssrs-report-using-a-ssas-data-source/ http://www.sqlcircuit.com/2012/11/ssrs-different-ways-of-deploying-reports.html http://gnanadurai.blogspot.in/ SQL Server  >  SQL Server Reporting Services, Power View

[HELP] ON Textbox positioning / coordinate

hey there. have list of array contain textbox. able information such content, width,height etc.. but having trouble of getting textbox coordinate/positioning. need value before able save in database. how can achieve it? kind soul can me or example appreciated. right postioning x & y hardcoded (1000). below code. much.  for (int k = 0; k < temptextbox.count; k++)                 {                     string textmsg = callpopups.toarray()[1].alltextbox[k].text;                     float width = (float)callpopups.toarray()[1].alltextbox[k].width;                     float height = (float)callpopups.toarray()[1].alltextbox[k].height;                     string textid = callpopups.toarray()[1].alltextbox[k].name + "textbox" + k + "_" + randomno;                                         savetextbox(textid, controlid, textmsg, 1000, 1000, width, height);                 } if textbox-es located in canvas, use next: double left

Converter to change a datagrid field whit id to description from database

hello. (sorry english)  i´m new in silverlight, in my app  fill datagrid whit data obtained table in database contains records of machines. in database exists table kind of machines n machines <--------------> 1 kind of machine   ie.  kind of machine table: 1.:camera 2. notebook kindofmachine : 1 property 1 : x; property n : y in field 'kindofmachine '  need grid shows me description, instead of id. i made converter, can´t make work in  asyncronic mode domain service converter class: works, returns string public partial class domainservice1 { private string result; public string gettipoequipo( int idtipoequipo) { var q = p in this .objectcontext.maestroequipos p.idtipoequipo == idtipoequipo select p; foreach (var maestroequipos in q) { result = maestroequipos.tipoequipo; } return result.tostring(); }       my xaml grid: < sdk : datagrid autogeneratecolumns

Getting error while building a cloud service from VSTS automated build

when trying trigger automated build deploy cloud service in azure, below error message: the imported project "c:\program files (x86)\msbuild\microsoft\visualstudio\v14.0\windows azure tools\2.9\microsoft.windowsazure.targets" not found. confirm path in <import> declaration correct, , file exists on disk. can in this? hi, base on reply, using visual studio team service(vso). forum on-premises tfs. move case visual studio team service forum dedicated support. thank understanding. best regards,  tingting we trying better understand customer views on social support experience, participation in interview project appreciated if have time. helping make community forums great place. click here participate survey. Archived Forums V  >  Visual Studio Team Services