Posts

Showing posts from March, 2010

What Using Statement defines a "Page" object

the statements page pg = new page(); pg.draw() is failing in program , cannot find "using" statement make "page" valid object. could please point me correct reference? thx much that looks winforms code there's no page class in winforms. anyway, doesn't make sense use smoothingmode.antialias bitmaps, that's geometric primitives likes lines , curves. in general, there's no facility in .net framework somehow 'smooth' bitmap. Visual Studio Languages  ,  .NET Framework  >  Visual C#

Problem with Scripting Functoid short : Element: to Attribute

hallo all i have crazy problem i need map element via (scripting functoid) using if else statement. the source element name stcode (data type short)     the destination sql destined attribute name ststatus (data type short) enumeration of collections (302,300, 100)   below scripting functoid code.   now when tested using test map. . code works.. but when deploy dll run on biztalk server.. it returns error. ("function 'usercsharp: getrepandorderconver ()' has failed.")   can please point me in right direction?   thanks in advance   scripting functiod code public int getrepandorderconver(int stcode) {                                if (stcode == 100) {                                                  stcode = 9;                                  }                                                                   else if (stcode == 300) {                                                  stcode = 15;   

Animating multiple objects on a single path.

here issue. can animate 1 object on path, need animate multiple objects (4) on same path need spaced out accordingly. senario: i want 4 buttons rotate counter clockwise around circular toggle button. can animating each individual button on own, don't want have create new path each one. seems kind of inefficant. if can point me in right direction great. thanks hi, 1) first have add 1 circle using ellipse control 2) add 4 button on form 3) select circle , choose menu -> objects -> path -> convert mothion path -> in popup dialog select first button now first button mapped circle path. once convert motion path default 2 seconds there story board move button on circle path 1 complete round. 4) selecting circle come story board timeline , move yellow time line 0 .5 seconds holding yellow timeline handle. 5) select circle , choose menu -> objects -> path -> convert mothion path -> in popup dialog select the second button now the second button mapped circle path

Get all the values between lower and upper value

hello i'm not sure, if question unique, couldn't find answer looking for. want way values within lower value , upper value in c#, , want have list of values richtextbox1.  example; lower value=apple28 , upper value=apple31. result this: apple28 apple29 apple30 apple31 *if list have apple15 not in list because it's outside lower value , apple60 not in list because outside upper value. code load values within range list. want code search values in external .txt file trough openfiledialog1 , values richtextbox1. not important, can find myself. need code find values within lower , upper value.  know should try first believe me tried many times , failed.  i new hope can show me. regards matthew's approach that. or @ least think does, put version append in 1 statement. why? because like  messing code. private void button1_click(object sender, eventargs e) { if (openfiledialog1.show

I Am Setting Adds In Universal Windows Project The Code Is Running But Cann't Displayed Adds. Can Any One Give The Solution For That?

output build came me shown below: 'test.exe' (coreclr: defaultdomain): loaded 'c:\data\programs\windowsapps\microsoft.net.coreruntime.1.1_1.1.25305.1_arm__8wekyb3d8bbwe\system.private.corelib.ni.dll'. skipped loading symbols. module optimized , debugger option 'just code' enabled. 'test.exe' (coreclr: coreclr_uwp_domain): loaded 'c:\data\shareddata\phonetools\appxlayouts\522c0235-d4c2-426f-9904-8cf98ca443c6vs.debug_arm.dumadu\entrypoint\test.exe'. symbols loaded. 'test.exe' (coreclr: coreclr_uwp_domain): loaded 'c:\data\shareddata\phonetools\appxlayouts\522c0235-d4c2-426f-9904-8cf98ca443c6vs.debug_arm.dumadu\system.runtime.dll'. skipped loading symbols. module optimized , debugger option 'just code' enabled. 'test.exe' (coreclr: coreclr_uwp_domain): loaded 'c:\data\programs\windowsapps\microsoft.net.coreruntime.1.1_1.1.25305.1_arm__8wekyb3d8bbwe\mscorlib.ni.dll'. skipped loading symbols. module

BizTalk Pipeline Component wizard for VS 2012

hi, can please share  installer of biztalk pipeline component wizard vs 2012 hello ammu, i have worked path earlier biztalk 2013 e.g vs 2012 , al things worked fine . there's  a patch here vs2012 support . requires installshield installer project. otherwise, @ code custom action , can see install steps (they're pretty straight forward). it can downloaded codeplex below link  https://btsplcw.codeplex.com/workitem/19604 thanks abhishek BizTalk Server  >  BizTalk Server General

sapnco.dll (SAP DotNet Connector 3) not loading after BizTalk solution is deployed to a different box

in our project had complex mappings. had map field in input schema output schema lookup value sap. sap exposed rfc input string. outputs string mapped value. have used external assembly in scripting functoid in biztalk mapper input going functoid , output going field in output map. used sap .net connector 3 using nugget command (install-package sapdotnetconnector3) , worked fine. after deployed biztalk application in box giving error "sapnco.dll unable load" , map failing. have installed dll in gac separately , checked 32-bit (same used in development box). still getting "sapnco.dll not loading" error. please help. in qa box can't install visual studio. hi ray, can check under assembly ur dll getting gaced. gac_msil or gac_32.. or both. if there @ both places remove gac_32. host instance runs ur orchestration containing map should 32 bit checked. pi_xel_xar blog: my blog biztalkapplicationdeploymenttool: biztalk application deploymen

i want to retrieve data from two table in repeater in asp.net using C#

hello , i have 2 table. company , product. want repeater/table layout this:. company1 product1 product2 product3 company2 product1 product2 product3 product4 company3 product1 company4 product1 product2 product3 product4 product5 product6 product6 product8 ............... , on. how this. should do.?? plz suggest me . should make 1 table both or make is. thanks & warm regards. plz me  thanks . but  how retrieve specific data xml  textbox search condition. if need "search" on xml, suggestion use linq-to-xml: since syntaxes , functions extensive , depend on need do, suggest have @ msdn page linq-to-xml anyway, if have specific question querying xml, open new thread specific question , possibily code snippet. davide 'n3wt0n' benvegnù if found answer helpful, please vote it. if think answer resolve issue, plase "mark answer".

wcf-sql adapter bug for operation on same table

hi experts, first of explain u module.. 1.) inserting xml files in sql 2008 using wcf-sql adapter through an orchestration.. 2.)am retrieving records same table using wcf-sql adapter. here polling records directly admin console... my problem ,for first time records inserted , second time they going dehydrated stage... when disable receivelocation(polling table), records being  inserting without dehydration..after r&d come know problem exists because, am inserting & retreiving data same table..i think locking database at polling time.what solution this? can 1 faced same problem?is wcf-sql bug?is there solution to overcome problem?needed urgently pls based on scenario you've described, dirty reads out (since want update on records retrieved).   so you've got options here if looking configuration based solution .   if data you’re polling on can near real time, can set polling interval in 8-10 minute range (or longer

Windows Service Description

  hi.   i want put description in windows service "description" column in services administration tool, can't find property or way it.   somebody know how it?   regards. check out following references on issue: adding description .net windows service serviceinstaller.description property .NET Framework  >  Common Language Runtime Internals and Architecture

MessageType getting supressed in Custom Resolver

hi all, i creating custom resolver called itinerary. have created corresponding extender well. when message reaches resolve method, messagetype null. error : object reference not set instance of object. source: microsoft.practices.esb.resolver.resolvermgr method: system.collections.generic.dictionary`2[system.string,system.string] resolve(microsoft.practices.esb.resolver.resolverinfo, microsoft.biztalk.message.interop.ibasemessage, microsoft.biztalk.component.interop.ipipelinecontext) error source: customresolver error targetsite: system.collections.generic.dictionary`2[system.string,system.string] resolve(system.string, system.string, microsoft.biztalk.message.interop.ibasemessage, microsoft.biztalk.component.interop.ipipelinecontext) error stacktrace: @ customresolver.managerserviceuddiresolver.resolve(string config, string resolver, ibasemessage message, ipipelinecontext pipelinecontext) at microsoft.practices.esb.resolver.resolvermgr.resolve(resolverin

Changes don't take effect in Browser on Build/Run....

ok, sort of amateur @ blend, stuck doing of work on designer view rather code (though know how code action sequences).  the trouble whenever run or build project, none of changes have made in program show in broswer. storyboards , such run great in blend nothing seem add makes changes on final outcome.   thanks help. simple solution.   also possibly of note in ****site folder, within clientbin folder, .xap file 2 weeks old. it possible .xap not getting copied on build. however, me this, need take @ solution (unfortnately). if cannot share publicly, can email me @ unnir @ microsoft dot com. thanks, unni this posting provided "as is" no warranties, , confers no rights. Expression  >  Expression Blend + SketchFlow

Disable automatic refactoring

hi, i'm working on rather slow computer , have no real use of refactoring function right now. when designing in class designer it goes through entire project every change, takes long time. is there a way turn off automatic refactoring? best regards carl carl - we've made number of performance improvements refactoring rtm may have improved.  using class designer (and not performing refactoring) should not cause performance hit you're seeing though. there's no way turn off automatic refactoring can turn off "warning when build errors exist" through tools | options | text editor | c# | advanced save time when refactoring.  however, since these build errors potentially cause change in code when performing refactoring, it's advised keep option on. hth, karen Archived Forums V  > 

How to add a string to the top (bottom) of a listbox

Image
at times i'm adding  strings list box other times i'm inserting them. in either case need print on top of listbox not bottom. troy tac sry karen doesn't. else? troy tac well reply of "it doesn't" tells me nothing no new suggestions instead here demo of suggested. 2 listbox controls, listbox1 allow add items in app have own way add items e.g. textbox or other means. press button1 , selected item in listbox1 added or inserted listbox2 depending on if checkbox checked. using system; using system.data; using system.linq; using system.windows.forms; namespace listboxinsertoradd { public partial class form1 : form { public form1() { initializecomponent(); } private void form1_load(object sender, eventargs e) { listbox1.items.addrange(enumerable.range(0, 50) .select(item => "item " + item.tostring()).toarray()); listbox1.se

Need help with filtering text in a texbox

i have been head scratching on over hour, trying allow following text in textbox  a- z -z 0 - 9 , ^ trying keep showing message box illegal characters    system.text.regularexpressions.regex regex = null;                         regex = new system.text.regularexpressions.regex("^([a-za-z0-9-^])*$");                         if (regex.ismatch(textbox1.text)) {                                                 }                         else                         {                         xtramessagebox.show("there seems issue not allowed illegal characters", "error", messageboxbuttons.ok, messageboxicon.error);                         }  can seeing doing wrong ? guys.  try expression:    @"^([a-za-z0-9\^])*$" and show example of text gives problem. Visual Studio Languages  ,

ChessMode Repo -- reports failed but does not break (or give information about break)

the test passes w/o hosttype("chess") attribute. when running test hosttype("chess") failure , paste in additional attributes. when rerun, says "failed", not honor breaks , no additional information. this test relies on publicized version of dll -- issue? also, concurrency explorer doesn't come did in pdc session video / demo. suggestions? in order breaks take effect, need run under debugger. concurrency explorer not launched visual studio.  command-line tool. -- tom Archived Forums C-D  >  CHESS – Find and Reproduce Concurrency Heisenbugs

Installing CS standard in place of CS MDSN Developer

we installed cs 2007 developer (msdn license) onto server. have decided make live server. we've bought standard license. now, we're wondering if need install standard version in place of msdn developer version? we're sure don't need licensing perspective. we've contacted microsoft via our suppliers , understand it's ok run msdn version, providing own full license (which not used elsewhere). but, i’ve read “ the developer edition, while free, limits system ~10 client connections ” http://forums.microsoft.com/msdn/showpost.aspx?postid=1007883&siteid=1 (last post on page) can confirm this? how can test / prove (we don't know how connection limit might enforced)? if must install, our options? - can use standard edition activation key instead (if so, how) ? - can uninstall msdn developer version , re-install standard edition? - pitfalls , problems? your advice appreciated, thanks, doug there's post on commerce server support blog:

How do I get the antenna description?

Image
i've written custom event handler (i used sample template included biztalk rfid) update database tag information read.  retrieve antenna number (source) need antenna description.  didn't see tagreadevent.  how can value?   thanks, cheri cheri, in general, capabilities implemented reader vendors can vary drastically , find capabilities implemented because more "nice have" "essential". i assume mean field labeled "description" on "sources" page of device properties. the dspi can download motorola found 1.0.13.6. there did not see regarding "description", have missed since reverse-engineering basically. if can following , email me dspi , on using , screenshots of property page antennas (one each different text see please), can try further, otherwise guessing much, since not have hardware. if possible 100% sure, circle expct changeable regarding alien: i sure helpful alien find andreas

reading inbox,trash,outbox

Image
i making small application in c#.net send mail gmail/yahoo accounts , read,delete inbox , trash etc. know how send mail , manage contacts using email account unable access inbox , trash etc account. need regarding this. please don't reply 3rd party dll files. helpful if suggest me how achieve it. thanks in advance. :) hi abhi97, welcome msdn forum. there code samples check outlook development issues. how use microsoft outlook object library retrieve message inbox using visual c# http://support.microsoft.com/kb/310258   programming samples can reference items , folders in outlook using visual c# .net http://support.microsoft.com/default.aspx?scid=kb;en-us;310244   accessing outlook items c# .net http://geekswithblogs.net/timh/archive/2006/05/26/79720.aspx   there dedicated outlook developer forum appropriate such issues. http://social.msdn.microsoft.com/forums/en-us/outlookdev/threads   martin xie [msft] msdn

How do you take existing Azure VMs and get them into Azure DevTest Labs?

i see question asked here (https://social.msdn.microsoft.com/forums/en-us/3f78df71-6e04-45eb-b9be-200130434a73/creating-vm-templates?forum=azuredevtestlabs) in november, before devtest labs released. had other questions it, thought best ask question again. i want take existing azure vms , put them azure devtest labs.  easiest way this?  have created lab instance, when adding virtual machines see base images.  not see how put existing vms in there. my vms "classic" vms.  think there way image , add template lab, isn't obvious.  plus, don't want have download image locally upload image/vhd lab. hello, thank posting here! as specified in earlier replies in link have specified new feature planned , yet come, may check latest response here . also, please provide feedback devtestlab’s new features , vote here thank understanding.   regards, ashok Microsoft Azure

How to compare DateTime?

datetime bday = new datetime(2012, 12, 31); datetime b = new datetime(2013, 1, 1); console.writeline((bday>b).tostring()); as far see, output "true" because today-bday larger of result "today-b" but result fights me!!! it's false…… why? it seems microsoft compares datetime according year,month , day number's larger or smaller? why??? it compares dates in chronological order. day ’31 dec 2012’ occurred before ‘1 jan 2013’, therefore first date less second one. do need kind of comparison? Visual Studio Languages  ,  .NET Framework  >  Visual C#

Xpath an attribute and use the field to populate a table

hello all, right trying vaue xml attribute , save value sql table. problem using xpath attibute when call insert, inserts whole node. id="2384082" instead of value. here xpath.  "jobid": "@{string(first(xpath(xml(body('http')),'/pagedresult/job/@id')))}", and try this   "jobid": "@{first(xpath(xml(body('http')),'/pagedresult/job/@id'))}", any ideas? hi mate, did try this:  "jobid": "@{first(xpath(xml(body('http')),'/pagedresult/job/@id/text()'))}", or  "jobid": "@{first(xpath(xml(body('http')),'/pagedresult/job/text(@id)'))}", i hope helps, wagner. Microsoft Azure  >  Azure Logic Apps

Data discrepancies

hi, viewing reports on production site of our client's account. campaign , ad group data pulling additional data. have looked ad group data $555.02 ad group , when drill down keyword level same keyword showing $456.68. additional data ad group pulling. please help.! thanks, surya. hello surya, thank question. reporting not real-time. clicks , impressions received in last 3 hours may not included in reports. expected. that being said, may need more information investigate data issues. please contact standard support , open ticket witht them. able gather required information account number, campaign name, ad group, keywords in order resolve issue. contact support here - https://support.adcenter.microsoft.com/default.aspx?productkey=adcenterss&ct=eformts&chatavail=undefined hope helps! :-) Bing Ads API: Development  > 

How to create new project using Code

hi everybody i want create new c# solution, , windowsforms application inside it. how can through code ? hamed shams consultant , executer of projects. windows , web programmer based on microsoft technology. hi hamed, check out these links, has explanations of how pro grammatically create projects. creating project (visual c#) vs 2008: how to: programmatically create projects vs 2013: how to: programmatically create projects regards. please remember 'mark answer' responses resolved issue. common way recognize have helped you, , makes easier other visitors find resolution later. Visual Studio Languages  ,  .NET Framework  >  Visual C#

How can I get the date of the next monday from the currentday?

how can  i date of next monday current day? please advice. mayooran99 public static datetime getnextweekday(datetime start, dayofweek day) { // (... + 7) % 7 ensures end value in range [0, 6] int daystoadd = ((int) day - (int) start.dayofweek + 7) % 7; return start.adddays(daystoadd); } mark answer or vote helpful if find useful | ammar zaied [mcp] Visual Studio Languages  ,  .NET Framework  >  Visual C#

Required build of Excel 2016 for a given version of Office.js

is there page somewhere shows build of excel 2016 need use given version of latest office.js? for example, nuget shows several different version of office.js such 1.1.0.7 , 1.1.0.9. thanks! hi e.alex, >> there page somewhere shows build of excel 2016 need use given version of latest office.js? in option, if reference javascript api office library content delivery network, not need use specific office.js. /1/ in front of office.js in cdn url specifies use latest incremental release within version 1 of office.js. because javascript api office maintains backward compatibility, latest release continue support api members introduced earlier in version 1. you refer link below more information. # referencing javascript api office library content delivery network (cdn) https://msdn.microsoft.com/en-us/library/office/dn221992.aspx best regards, edward we trying better understand customer views on social support experience, participation in interview project

Parallel Programming in C#

i want insert data sql database of parallel programming ?? please provide me solution ??? there difference between parallel programming , asynchronous  programming ?? hello. if planning use parallel programing reduce insert time in sql, maybe you must use bulkinsert msdn . (2.3 millions records in 20 seconds...) off course can use parallel instructions in code, think better use native sql sentences; optimized , use parallelism inside). excuse worst english... hope you. Visual Studio Languages  ,  .NET Framework  >  Visual C#

Visual Studio don’t change host file when deploy SharePoint-hosted apps on SharePoint on-premise environment

hi all, i use visual studio 2012 build app sharepoint (sharepoint-hosted app) , deploy apps using visual studio sharepoint.  everything work correctly except hosts file don’t change , should add app domain (app-xxxxxx.apps.doman.local) host file manually. my development environment configure following: web font end, applications server , sql server. all sharepoint services running on applications server. vs 2012 office tools installed on web-front server. i used article (http://msdn.microsoft.com/en-us/library/fp179923.aspx) configure web front server. the used user account local admin , farm admin. any kind of highly appreciated. visual studio must run admin privileges before update hosts file you. host file won’t updated in these situations: vs not running admin. if dns can resolve name, means don't need update hosts file. if neither of these apply scenario, though, let know. regards, - kemp brown [msft]

Events & Delegates CPU spikes

hi, i have following issue , not sure what's best way tackle this: the application i'm dealing utilizes live financial market data stocks, options, etc. so, there 1 class handles market data subscriptions , emits quote event. there several controls subscribe quote event , process data event delivers. the issue 1 control might subscribe market data msft , other control might need data ibm, still subscribed same event , control has filter incoming data event , determine if needs process or not. performance profiling showed me pretty non issue , can't cause performance spikes. so, i'm experiencing when i'm running 1 of controls, cpu usage @ 3% max. however, open 2 of controls, see spikes 25%!? this giving me headache because can't see why happening. one of thoughts since there several subscribers event, cpu clocks running high while 1 control processes data while others have wait process process on ui thread. if case, best way solve this? i hope following problem h

Need URL describing System requirements for Sql 2014

i found several articles\blogs describing these requirement want the "official" microsoft url. tia, edm2 hello, i have never seen issue powershell version while installing sql server since 2007 when started on msdn forums. hope helps. regards, alberto morillo sqlcoffee.com SQL Server  >  SQL Server Setup & Upgrade

Programs within one program--How feasible is it?

i have games developing run within single program tabpages within master tabcontrol. games not next-generation type, not use 3-d graphics function custom windows controls (for example, datagridviews). wondering how feasible in terms of performance. 1 such game may require some higher degree of memory storage hold information many class instances, , i'm worried crash in game may result in crash in whole program. (i chose embody games within single program in order (1) ease transfer of data between them , (2) have them common gui , simplify things.) edit: forgot mention based in windows forms. hi brad i liked idea , thought process. lets see if post of use you. i understand each game be embedded in tab page (of master tab control) , u said in win forms. 1. of now, dont worry memory crunches, assume users have (atleast 4 gigs of ram). start working , optimize memory when u see crunch. 2. if want avoid crashing of entire app coz of 1 game crash should implement c

I made an application and when i gave that app to a friend to test, he get this error.

Image
made application , when gave app friend test, error in avast: "idp.alexa.51" , avast think app virus. sounds anti-virus software believes application virus. either give different name or have friend add application list of safe applications. for example in norton security 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  >  Visual C#

WCF-SQL Simple insert

i trying wcf-sql adapter first time, , doing littel poc. cannot succeed in simple scenario. think there somthing pretty basic missing. i have created database ”sqladaptertest”, , simple table: use [sqladaptertest] go   /****** object:   table [dbo].[test]     script date: 12/01/2010 15:56:41 ******/ set ansi_nulls on go   set quoted_identifier on go   create table [dbo] . [test] (            [id] [int] not null,            [text] [nvarchar] ( 255 ) not null,   constraint [pk_test] primary key clustered (            [id] asc ) with ( pad_index   = off , statistics_norecompute   = off , ignore_dup_key = off , allow_row_locks   = on , allow_page_locks   = on ) on [primary] ) on [primary]   go   i created test bt project, , generated schemas inserting data in table above through “add generated items” -> “consumeadapterservice”. in “consume adapter service” connect database sqlbinding