Jahangeer's Q&A profile
Windows Live Developer Forums MapControl.Features documentation?
In this thread , I have notice of MapControl.Features... I have not found documentation on this subject in SDK. Where I can find documentation about MapControl.Features Thanks in advance! Alex Thanks Caleb T! I understand your answer. I think that this and other functions would have to be (mantain) in future versions of MsVE SDK. Can we open open a new thread for our "wished functions" . I propose the name: "Wished functions (brainstorming)".... What you think ...Show All
Visual FoxPro How to see the code behind a foxpro report
Hello I am new using FoxPro. I have in my hands a foxpro application. This application produces reports. I can see the report design, but I dont know where to look to see the code behind the report. Can somebody tell me where can I find the coding behind a report in FoxPro Thank you Open the report, and right click and select data environment. The data environment will be displayed. Right click again and select "Code" and you will see an area where you can put code. The procedure dropdown will tell you if there is code behind any of the procedures by being in bold. Greg Gum ...Show All
Software Development for Windows Vista Context in workflow?
I was curious to know if there a way of sharing a "context" between all activities in a workflow instance. I am looking at something analogous to HttpContext in ASP.NET and LogicalCallContext in Remoting. Of course, I can resort to ThreadLocalStorage or AppDomain data myself, but I wondering whether there is a better way of handling this. Thanks, Manoj The ReadyForAppoval method takes a ExternalDataEventArgs as parameter. Create a class that inherits from ExternalDataEventArgs. Before you call the ReadyForAppoval from within your wf, add some activity/WF properties to the WorkflowEventArgs1.Properies. [ Serializable ] public class WorkflowEventArgs1 : ExternalDataEventArgs { public WorkflowEv ...Show All
Visual Studio 2008 (Pre-release) Streaming wmv file using rstp:// protocol fails with MediaElement
Hi, I'm trying to embed a MediaElement with the source from a bigpondsport video. The url for the video is 'rtsp://wm9.streaming.telstra.com/wh_cricket0/OnDemand/NWSTest02'. The element doesn't load. The code I'm using is: <MediaElement Source="rtsp://wm9.streaming.telstra.com/wh_cricket0/OnDemand/NWSTest0205V.wmv" Width="482" Height="341" /> If I pull the content from somewhere else, such as: <MediaElement Source=" http://channel9.msdn.com/playground/wpfe/sleekvideoplayer/assets/fabrikam.wmv " Width="482" Height="341" /> It works fine. Any ideas Thanks Yeah you are right, that works in XAMLCrun ...Show All
Visual Studio Express Editions Showing and image and opening the image file
I am using the following to display an image to a form: Private Sub OpenToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripButton.Click Dim filein As String OpenFileDialog1.Filter = "Bitmaps (*.bmp)|*.bmp" If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then PictureBox1.Image = System.Drawing.Image.FromFile(OpenFileDialog1.FileName) End If End Sub After showing the image, I want to open the image file (in another sub) to examine the contents, but the above is apparently keeping the file open. (Error is: "The process cannot access the file 'c:\cncsware\andrew1.bmp' because it is being used by another process."). Is there a wa ...Show All
SQL Server Time dimension limits kills performance
Hi, I have a cube with a fiscal time dimension like that: Year = 2005, 2006, 2007 Quarter = 20051, 20052, 20053 Then months and weeks using format like 200501, 200502 etc. Cube is partitioned by quarters, 12 partitions in total. Now what puzzles me is this: - When I query this from an Excel pivot and set no limit on the time dimension so I get something like total 2005, 2006 by quarters and 2007 by weeks, the query processes in a few miliseconds - When I query this from an Excel pivot and exclude something from the time dimension so I would get only 2006 and 2007, the query now takes up to 30 minutes. The code generated by Excel is much different between the 2 situations however, since the cube is partitioned by ...Show All
Visual FoxPro Standard UI
Hi! I have question for You. I`d like to change the look of my System but I don`t know how do it. The FoxPro (9) brings me standard Toolkit and I am blocked. I am inspired the UI of Vista and I would like to create something similar to it. I know that the people who use foxpro can do it. I need that information, it is very important for me. Help! And let me add Doug Hennig's post on the same topic: Creating Gradient Images the Fast and Easy Way http://doughennig.blogspot.com/2007/02/creating-gradient-images-fast-and-easy.html ...Show All
Windows Forms how to disable "X" button in the form
HI Each form has three buttons in caption bar, maximize, minimize, and closing("X") buttons, in the form properties, there are properties for maximizebox and miniizebox, but I didn't find method to disable closing button. Anybody knows how to do that Thank you very much! you have 2 options Either change the FormBorderStyle or use the Win32 API to do this There are a couple of threads about this on these forums http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=691778&SiteID=1 hope this helps! ...Show All
Visual C# Printing EVents
Hi, Is there any different between these two proberties if i want to change the bottom margin of only the current page 1- PrintPageEventArgs.PageSettings.Margins.Bottom 2- QueryPageSettingEventArgs.PageSettings.Margins.Bottom Thanks nobugz was perfectly clear. "Former" means the first one that you listed, and "latter" means the last one. So use the QueryPageSettings event for changing just one page, like he said, and don't be so accusative next time, please. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. makeing a racing game
I was woundering if i could make a nascar type racing game with xna. I don't like the current nascar games so i was wondering if i could make one myself XNA can do this, if you have a look at the video that is on http://letskilldave.com at the moment (in his last post), there is an example of an XNA racer game... ...Show All
.NET Development <ItemTemplate> not supported
Hi there. Im working on a website that was created using visul studio 2003. Im now working on that project in Visual studio 2005. when I try to execute the project im getting an error about ItemTemplates not being supported. This is the part in question: <MyNo1 : NewsList RssUrl = http://www.hello.com/feeds/rss/howareyou runat ="server"> < ItemTemplate > <% # AddToC1(Container.Data) %> </ ItemTemplate > < AlternateTemplate > <% # AddToC2(Container.Data) %> </ AlternateTemplate > </MyNo1 : NewsList > the error message that I get is: Error 51 Validation (HTML 4.01): Element 'alternateitemtemplate' is not supported. any advice would be greatly appreciated. ...Show All
Visual FoxPro VFP 3.0 on XP
I need VFP for a small project, and I don't want to spend USD 600 for a new version (is there a beta version still available ) Is it ok to install VFP 3.0 on Win XP Thank you, Tor Henrik > i'm currently using vfp 6.0 for almost 4 months. So far, it does not give any problem. What's the difference between vfp 6.0 and 7.0 See: http://fox.wikis.com/wc.dll Wiki~VisualFoxProVersionFeatureConcordance Note: You should always start a new thread when asking on different subject. ...Show All
SQL Server .Net DataProvider for SAP Timeout
I am using the .Net DataProvider for SAP. When importing data I receive an error, when calling sap functions via exec. The errors vary (e.g. Error 0xc0047062: Data Flow Task: Microsoft.Adapter.SAP.SAPManagedProviderException: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.) On the sap-side the function runs, but it takes a few minutes. I can ask the sap-bw team to speed up their performance, but this is political. The sql-timeout parameter is not working with this datareader. Have you any proposal that solves the problem. Thanks Hello Groth, you may also have a look at this tool: www.xtract-is.com It works definitly faster than the ...Show All
Visual Studio adding a where clause
I have a crystal report that grabs all the data from the database, MS Access DB, but I need it to only grab the 1 record a user wants. The user selects an item from a datagridview and I want only that item to display in the crystal report. I tried using the selection expert, but there doesn't seem to be any way to pass a DB ID to crystal reports to use in the Selection Expert or Selection Formula options. I'm using C# if that makes any difference Thanks in advance for the help found my answer on: http://www.serratedsoftware.net/Blog/tabid/54/EntryID/6/Default.aspx "Today I wrote a Report for a client using Crystal Reports for Visual Studio.net 2003. The report uses two stored procedures in MSDE as ...Show All
Visual Studio 2008 (Pre-release) confused of creating an instance c#/xaml
Hi, I have a good grasp of OOP from my Actionscript 2.0 background although I am very new to c# and xaml. I am somewhat confused that I have to create an instance of an object in c# when it already exists in xaml. For example; I create a Storyboard in xaml and call it myStoryboard. If I want to access and manipulate myStoryboard in c# I have to create a new instance of Storyboard before I can set it = to myStoryboard. Why do I have to do this if the instance already exists as it seems to me that I now have an instance of an instance Sorry for the nub question but I just can't seem to fully appreciate the 'why' of this process thank you Thanks again for the help. hopefully one final question: why do I not have to ...Show All
