hfann's Q&A profile
Software Development for Windows Vista What Windows Workflow Foundation can do?
Hi all, We are currently in the phase of comparing different WFMS's like JBPM, K2.Net, Ultimus etc. Came to know about microsoft own WWF, and we are really interested in this. Just downloaded the beta pluggin for VS 2005 and the labs, now I'll try them out. I have three questions: 1. We can orchestrate ASP.net web pages using WWF alright, but can we orchestrate webpages developed in any Non-.Net language using WWF like JSP 2. Does WWF support importing of Business process from MS -Visio , if yes then how 3. It is said that we should not go for WWF in the case of EAI or integration scenario, but from WWF we can call web services and can reach outside systems from that, In a scenario where all the systems which need to be ...Show All
Microsoft ISV Community Center Forums Can any1 arrange the ADO connection logic for this VBA code-block ?
Hi all VB developers ! Pls. refer to the following code-block. Can any1 arrange the ADO connection logic for this VBA code-block Set mdxRec = New ADODB.Recordset If dbh = "" Then ' MsgBox ("Faild") End If 'dbh.ConnectionTimeout = 360000 Set mdxRec.ActiveConnection = dbh mdxRec.Source = strMDX On Error GoTo errHand mdxRec.Open dbh.ConnectionTimeout = 360000 ' ADDED RECENTLY ''If dbh.Close = False Then If dbh.State = 1 Then dbh.Close End If On Error GoTo errHand Set wbBook = ThisWorkbook Set wkSheet = wbBook.Worksheets(1) 'Read in values from the record set wkSheet.Cells(9, 1).CopyFromRecordset mdxRec SubTotalsIns 9, 2, 3, 4, 8, 9, St ...Show All
Visual Basic Cross Threading in General
Can someone answer me this question... I have programmed in VBA for years. It seems to handle directly accessing simple form objects without any worries about threads or cross-threading or whatever... It seems ( also ) to me, that this threading issue could be internally managed by the Control Class to some degree or another. Is there a good reason for this new Thread Issue that I am unaware of Now that you're looking into multithreading, I'd suggest you keep trying that, but if you want an 'ugly/easy' way to cross threads, then take a look at the pseudocode in my last reply of my first question on this forum: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1109256&SiteID=1 If you use a Timer in the sourceobject (xxLabe ...Show All
SQL Server Drill Through Doesn't work.
I have a drill through that passes four parameters. Three are passed from the current selections in that reports parameters and the fourth needs to be the customer name they click on in the body of the report so it's passed as Fields!fieldname.Value. When I click on the customer name, the drillthough fires but the report simply doesn't load. If I remove the parameter from the field clicked on and just pass the three parameters, it goes to the drill through correctly and that fourth parameter just sets to the default for that parameter in that report. I can then simply check that parameter and select the value from the list that is exactly the same as the value I was attempting to pass it in the drill through and report refreshes correc ...Show All
Visual Basic [OTP] vbscript problem
Hello, Im not sure if this is in the right place, but I'll give it a try. I have an app that pass values to crystal reports from checkboxes. I need to change those checkboxes to dropdown menus. I think my problem lies within the sub sbPrintChoices. I'm new to this, and have tried soo many ways to get this thing to work. Any help is appreciated. <%@ Language=VBScript %> <% Option Explicit %> <% Dim dFrom, dTo Dim iIncidentID Dim aTypeID, aStatusID,aPayGradeID aTypeID = Split(Request.Form("chkTypeID"), ",") aStatusID = Split(Request.Form("chkStatusID"), ",") aPayGradeID = Split(Request.Form("chkPayGradeID"), ",") iIncidentID = 0 %> <html> <head> <title>Test Report</title> </head> < ...Show All
.NET Development Creating class to create bitmap of forms graphics object
I often need to capture a forms drawing surface and write it to a file. Typically I'd create the bitmap then save that and draw it to the forms graphic object but I'd like to do this more generally. Here is some code to create a class to do that but I cannot get to work. The gaphics from g does not transfer to ng and therefore the saved file is blank. class ImageCreator { public void CreateStill(System.IntPtr WinHandle, int w, int h) { Graphics g = Graphics.FromHwnd(WinHandle); Bitmap bmp = new Bitmap(w, h); Graphics ng = Graphics.FromImage(bmp); ng = g; bmp.Save(Application.StartupPath + "\\img.bmp"); } } I'd call it like this: ImageCreator ic = new ImageCreator(); ic.CreateStill(this.handle, this.ClientSize.Width, this.ClientSi ...Show All
SQL Server trigger limitation column_bitmask
Below is excerpt from the BOL regarding column_bitmask regarding creation of triggers. I see a problem - if I could have upto 256 column per table and updated_bitmask and column_bitmask are Integer data type, then interger can only be no more then 2^32, but we need to have up to 2^(column number - 1) which could be up to 2^255. We will get overflow error. Do I misunderstood something or there is a problem. We could use BIGINT but it only upto 2^62. We can not use any other data type because of bitwise comparison. Pleas help. Constantin IF ( COLUMNS_UPDATED ()) Tests, in an INSERT or UPDATE trigger only, whether the mentioned column or columns were inserted or updated. COLUMNS_UPDATED returns a varbinary bit pattern that in ...Show All
Windows Forms Internet Informations
hi... how to get the following: 1. network adaptor that connect to internet 2. max internet speed 3. retreiver/sec and sent/sec Check this out - http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.aspx I think you will something useful there.. ...Show All
Windows Live Developer Forums Pushpins with numbers on them.
Does anyone know the URL to the red coloured Numbered pushpins that local.live uses to display a pushpin I need numbers 1 – 25 if anyone can help me JeffK_ wrote: agreed. Ok, to crerate a dynamic image, create a new aspx named 'Image.aspx' then insert following code into the Page_Load Method: Bitmap bmp; Font font; bmp = (Bitmap)System.Drawing.Image.FromFile(Path.Combine(Server.MapPath("images"),"circle.gif")); gfx = Graphics.FromImage(bmp); font = new Font("Arial",7); gfx.DrawString("1",fnt2,Brushes.Black,0,0); gfx.Dispose(); Response.ContentType="image/jpeg"; bmp.Save(Response.OutputStream, System.Drawing.Imag ...Show All
Visual Studio DDEX provider and TableAdapter integration
Hello: I have a problem with the DDEX provider i'm developing to inthegrate the Firebird ADO.NET Provider into VS 2005. The problem is that only Select and Insert statements are being generated in the TableAdapter, what could i review to check why update and delete commands are not being generated Thanks in advance. Hey again, I figured out why my UPDATE and DELETE commands were not being generated. I made a mistake in my DataObject XML file, so the TableUniqueKeyColumns type was not being enumerated. It's all good now! Jeffrey Liu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animation Tutorial
Is there an update on when the sample code for animation will be released Is it something that will be released in a week or so, or will it be more than a month I know there have already been some questions about this, but I would like to know how soon I can progress on my project. Thanks. leclerc9 wrote: In the mean time, I started a codeplex project for an animation component: http://www.codeplex.com/animationcomponents The component is only in the alpha stage and the current release has a bug with specular lighting (fixed in the source code though), so I can't recommend using it in a serious project yet, but the next release should correctly animate most .X files (current release can only do matr ...Show All
.NET Development creating excel pivot tables using javascript
Does anyone know how to export pivot tables from a webpage to excel xls file As an example i want to export something like this: http://openrecord.org/pivot_table/test_page.html to an excel file using javascript thanks ...Show All
Visual Studio Changing Margins at Run Time
Hi, Using VS.NET 2005 and C#. I was wondering if it's possible to change the reportViewer's margins at run time I find that if you are creating label sheets the end user may have to tweak the top and left margin to center the text onto the label correctly. Unfortunately, every printer will print a little different. Thanks, Ron It has been a while since I did it so I cant think of any useful links but I have listed some useful tips instead If you want to go down the XmlSerializeable Classes route which allows you to to modify elements of the rdl by simply using class properties instead of having to use one of the various xml parsing techniques, as stated you will need to write a class fo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a GUI builder in visual studio
I'm curious as to #1 if it's possible and #2 how to get started building a GUI creator where you can drag and drop gui controls in 'design time' to create code files or a form of XML How do I tap into vs.net to create my own design time/code time pages The GUI controls wouldn't be .net controls, but controls that inherit from a custom gui control class and so on. Thanks, Jonathon Jonathon Stevens wrote: Before you guys didn't have a designer for GUI, you had a designer for the entire game. Sure, that was the "main screen" GUI, but I'm not talking on that level. I want to simply create a plugin (or whatever it would be called) for visual studio so that I can go in and get a des ...Show All
Visual Studio BindingSource Filter and Reports
Hi all, anyone has ideas how to display on ReportViewer items filtered through BindingSource.Filter Adding a BindingSource through ReportDataSource to LocalReport.DataSources doesn't seem to work - all items are shown Other idead would be to get ID from BindingSource or DataGridView and pass them to ID parameter .. but how Any smart suggestions Unfortunately I mainly code in C# but I believe this should work as VB implicitly casts on the variable's data type. Dim _filteredTable As DataTable Dim currDataRowView As DataRowView currDataRowView = _yourBindingSource.Current _filteredTable = currDataRowView.DataView.ToTable() ...Show All
