markmcgookin's Q&A profile
Software Development for Windows Vista WS-Addressing and Workflows
Hello, I'm testing a few workflow engines and one of the requirements is support for WS-Addressing. (The workflows call Web Services running on Java applications servers.) I've read that Windows Workflow Foundation does support WS-Addressing but I haven't been able to find any examples or tutorials for it. Could anyone tell me if Windows Workflow Foundation supports WS-Addressing and if there is a good example or tutorial for it I'm trying to find a solution and to write an activity for it myself so I can add it to a workflow but I don't know where to look to tell the Web Service what it's new EndpointAddress will be. I've also read about Windows Communication Foundation and WS-Addressing but I'm not sure if I need WCF. ...Show All
Visual C++ Problem with combobox in a toolbar
I created a class CStyleBar derived from CToolBar and I added a combobox to that class I Override the OnCreate handler like this int CStyleBar::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CToolBar::OnCreate(lpCreateStruct)==-1) return -1; if (!LoadToolBar(IDR_STYLEBAR)) return -1; SetButtonInfo(0,ID_STYLE_FONTNAME,TBBS_SEPARATOR,500); CRect rect; GetItemRect(0,&rect); rect.bottom=rect.top+500; //rect.right=500; if (!m_tbFontFace.Create(WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT, rect, this , ID_STYLE_FONTNAME)) return -1; FillFonts(); } where ID_STYLE_FONTNAME is the id of the only button in the toolbar and FillFonts() loads all th ...Show All
Windows Forms How do i bind two datagrids independently to datasource from different queries?
The topic was stupid i'll try to explain better... I have a form with two tabs. Each tab will have a datagridview. I also have a dataset with table Orders. When i dragged the orders "table" onto my first tab, a orderstableadapter was created. So far everything is fine. The question is: What do i do if i want to add a new datagridview on the other tabpage, but this should be filled only with orders that has status ID = n I have added a new "fillby" method to the tableadapter created for the datagrid in the first tabpage, but i'm not sure how i'm supposed to make the other datagrid "use" the other query i created. I set both datagridviews to use the same bindingsource - which was generated when i dragge ...Show All
Visual Studio 2008 (Pre-release) Update UI Thread from Background Thread - Control.Dispatcher
Hello All, Using the following delegate, and attempting to update the UI. There is no clear examples on how to pass multiple parameters though to the dispatcher. I keep receiving an exception (shown below). The code works if you invoke a method that only has one parameter, however it should work with multiple parameters. Maybe I am missing something simple. -------------- CODE FOLLOWS -------------- Public Delegate Sub MemberChatDelegate(ByVal member As String, ByVal msg As String) Public Sub UpdateChat(ByVal member As String, ByVal msg As String) ' Update UI Code here If Me.Dispatcher.CheckAccess Then ' Update UI Code Else Me.Dispatcher.Invoke(Windows.Threading.DispatcherPriority.Normal, New MemberChatDelegate(AddressOf UpdateCha ...Show All
Visual Studio Express Editions sorry about this!
ok, i'm going to appoligise profusly...because this question isn't about VBE at all...its about php, but no other forums replied to my posts..and i know how awesome you guys are (i'm looking at you tall man and you too armdiliyas(sp )) so please forgive me and take pity on me! my website is frameset based, and once i made a login script i figured out that i can't actualy make it go to the right target (i.e. main ect.) heres a peice of code that needs it done: echo "[<a href=\"admin/admin.php\">Admin Center[/url]] "; and i want it to load that into the frameset named "feature". thanks in advance, and any help is appreciated! Ok, well before this post gets deleted, as it should ...Show All
Visual C++ Smartbridge Alerts
I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Helen McLaughlin I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Xavier Gonzalez ...Show All
Visual Studio 2008 (Pre-release) DLinq & Web Services & SOA
Hi All, Can someone give me an idea of how DLinq fits in with web services etc So I have a good understanding of how DLinq works, I am just trying to understand where it fits into the overall architecture. For example say I have a Smart Client that communicates with several Web Services to get its data etc where would DLinq fit into this equation - presumably it would sit between the DB and the Web Services, but would you recomend making use of it on the client via some kind of DB facade Any help/pointers would be great. Cheers, D. Currently, DLinq is most appropriate on the mid-tier for accessing databases - essentially behind the services as you point out. It is really not designed to get data from web-services ...Show All
Game Technologies: DirectX, XNA, XACT, etc. About XNA: Sky, Landscapes and Models
The basics that we expect from a rendering suite, game engine or whatevers, is to be provided with tools about Skies.. or Landscapes loagin.. or to load models in diferente formats, like 3ds, .x, .obj.. so.. whats about this and XNA . All the material that i saw until the moment was about 2d drawing... y just got that in only 2 days because i had a little experiencies with anothers engines.. like OGRe or Irrlicht.. i decided that XNA is the way to go for my next title because we can target on Xbox 360..... and.. well.. the million dollars questio(s) are... How can i load landscapes with heigtmaps for example.. How can i load an obj object what about that strange format WXM , or SWM What about a accurate collision detection ...Show All
.NET Development another timer question
Hey, I'm developing a program to calculate satellite orbits, and some calculations need to be done each second, others each day. For that I'm using System.Timers.Timer class. This program is going to be running for a long time, sometimes even months. Question: isn't this a bit dangerous I mean, having a timer running for this long time always counting up Any suggestions Thanks haba, I think timers will be okay to use- unless incrementing a value for every tick of the timer you won't encounter any overflow problems. The timer just monitors the system time and when it's next cycle is ready it will fire off the tick event. So in your case, the tick events are not firing often at all. &nb ...Show All
Visual Studio 2008 (Pre-release) XAML: setting BitmapImage.UriSource from binding doesn't work
The following should display a picture for a list box item: <Window.Resources> <DataTemplate x:Key="ImageTemplate"> <Image> <Image.Source> <BitmapImage UriSource="{Binding}" /> </Image.Source> </Image> </DataTemplate> </Window.Resources> <Grid> <ListBox> <ListBoxItem ContentTemplate="{StaticResource ImageTemplate}"> C:\picture.jpg </ListBoxItem> </ListBox> </Grid> ... but I get an exception: "Property 'UriSource' or property 'StreamSource' must be set." Simply using <Image Source="{Binding}"/> would work in this example, but I want to use the BitmapImage f ...Show All
Visual Studio Documentation of constants in ProjectFileConstants
Is there any documentation of the constants in ProjectFileConstants I'm procedurally building a Microsoft.Build.BuildEngine.Project and while I can guess what some of the elements and attributes do from looking at existing projects I was hoping to get some concrete information about the various Items that can live in a Visual Studio project. Thanx, -Ian Hi James, Yeah I saw that page, if you notice, the Description column is empty , and clicking through to each constant isn't any more enlightening. I guess most of the constants are self-explanatory, but there are a few that are strictly for meta-data, and some that are pretty cryptic. Thanx for the response though, -Ian ...Show All
Visual Studio Express Editions Increasing Form Transparency from 0 to 100
Hello every1 How can I Increase my form transparency from 0 to 100 I have wrote the code bellow in the tick event of my timer1. and I`ve set the timer1.Interval =1 , and it is working, But it is very very very slower than 1 mili second. I know there must be a little delay for running the code of tick event, but it is so slower than the interval as 1 second . ohhhhhhh pls help me on this. Am I supposed to use the "user32.dll" If Yes how can I use that What is the differences between setting the form transparency by using "user32.dll" and my way at all Private Sub Timer1_Tick( ByVal sender As Object , ByVal e As System.EventArgs) Handles Timer1.Tick Me .Opacity = i ' variab ...Show All
Visual C# unsigned char* to byte[]
Hi, I'm using an external dll programed in C that have an struct like this: typedef struct{ float pin; float sustr; float adh; char* codiError; unsigned char * ImageM; int alt; int an; }Datos; and my struct in C# is this: public struct Datos { public float pin; public float sustr; public float adh; public string codiError; public byte[] ImageM; public int alt; public int an; } The call to the function that return this struct is this: public unsafe static extern Clases.Datos PruebaMalla(byte[] image, int an, int al, string path); Now I've the problem using my C# structure and calling the function. If i call the function wit ...Show All
Visual Basic MsFlexGrid.CellPicture comparison issue
Hi! I've got a problem upgrading MSFlexGrid related code. Given working VB6 code: Option Explicit Dim Checked As IPictureDisp Dim Unchecked As IPictureDisp Private Sub Form_Load() Set Checked = LoadPicture("checked.bmp") Set Unchecked = LoadPicture("unchecked.bmp") End Sub Private Sub MSFlexGrid1_Click() With MSFlexGrid1 If .CellPicture = Unchecked Then Set .CellPicture = Checked Else Set .CellPicture = Unchecked End If End With End Sub Upgrade Wizard has created this: Option Strict Off Option Explicit On Friend Class Form1 Inherits System.Windows.Forms.Form Dim Checked As System.Drawing.Image Dim Unchecked As System.Drawing.Image Priv ...Show All
Windows Forms 3rd party dll not in global assembly cache
Hello, I have created an application that has 3rd party controls. I published it to a file system for local network install. When I click 'install' on the default page, I get an error "xxx.dll not found in global assembly cache". What causes this and how can I publish the app so users can install it successfully Sorry, this did not solve the problem. Perhaps I am missing a step in deploying the application. I have added a setup project in the solution, and included the windows forms application in the output. The setup has detected and included all dependencies. I built the setup project, which rebuilt the app project and created the msi with required files and the setup.exe. I placed these ...Show All
