Navneeth143's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. JIT register allocation and bounds checking
A few questions for Shawn or one of his buddies: 1/ Does the register allocator used in the XBox JITter use all of the available scalar floating point registers If not, how many can it deal with 2/ Does the XBox VM ever skip array bounds checking, and if so under what conditions 3/ Presumably there are no bounds checks when using unsafe code and pointers 4/ Are the method inlining limitations of the CF VM mentioned here still applicable to the XBox VM - especially the one about not inlining any method with floating point arguments or return values (yikes, that would be all floating point setters and getters!) Andy. Ryan, I'm pretty sure you don't! Fact is that only the VM guys could ...Show All
.NET Development when using IIS hosted remote objects
Hi, I'm little bit confused about the difference between using remote objects hosted on IIS and web services. So u have any idea why should I use Remote Objects hosted on IIS instead of Web Services Thanks in advance. Got my answer : http ://forums.microsoft.com/MSDN/ShowPost.aspx PostID=4544&SiteID=1 ...Show All
Windows Forms key-value for ContextMenu
Hi, I have problems with combobox because they take the focus and that send the event 'Leave' in my opened forms (within my MDI) and if I put a combobox into a toolbar, the behavior is wierd when I try to send BringToFront() a form (It still takes the focus). So, I figured that a ContextMenu would solve my problem because it doesn't take the focus but I never managed to make a bindingsource to work with it. I created a typed dataset that I bound to a BindingSource (DataSource = to the typed dataset and DataMember = the table in the DataSet). Then I go to DataBindings, I set the text property to be linked with the Value Column from the Binding source. When I assign a constructed DataSet to ...Show All
Visual Studio How to make Accounts Receivable Reports
Can anyone help me know how to make an accounts receivable reports It was definitely about aging and if anyone had a sort of tutorial or any input about this, please let me know.Thanks... What are you using for your data If it's SQL Server you could create a stored procedure that would summarize your data into columns of date ranges then design your report off of this. If it is SQL server that you are using, and if your data is based on dates and amounts, I can send you a sample stored procedure that might help you. ...Show All
Visual Studio Express Editions Programming a button to directly open a .exe file!
I am making a program that will open a file when you click a button. I don't need to access the open dialog, I would just like to click the button and the .exe file opens. I am burning a bunch of programs to the same cd so i have to be able to open the one specific program and only that program with that button. I am trying to open this file with the button: "IE7-WindowsXP-x86-enu.exe" So if I had a button and I clicked it and it directly opened that file that is exactly what i am looking for. If anyone could give me a hand that would be great!! ahmedilyas wrote: Dim theDriveLetter as String = Application.StartupPath.SubString(0, 3) Process.Start(theDriveLetter & " fileName.exe " ...Show All
Visual C++ MFC question: SDI app w/ a second view that is of windowstyle: WS_POPUP
Hello, I know that it is possible to create multiple views for a SDI application. I am wondering if it is posible to create a second view that is of windowstyle WS_POPUP Thanks! Just create a new SDI application and choose "Multi Top Level documents" (or similar), than you can see how it is done. Otherwise you can simply create a new frame window with a view and a doc. There is no restriction for the MFC how many frame windows exist. There is only the restriction that there is one m_pMainWnd! ...Show All
Windows Forms Methods in windows service
Hi all, Just i've created windows service called "MYserv1" and controlled(like start and stop) it via VB.NET client apps. Now i want to write my own function calls in the windows service. i need to pass the parameters as well as need to get a return value from the function from/to normal windows client application. How to do it Most importantly,how can call those methods from client programs. Kindly advice me in this aspect. Thank U! Sorry, I was out of town for a long time. Thanks for your response. Unfortunately I have not solved the problem yet. I was thinking using ExecuteCustomCommand feature of Windows Service to call execute my application specific function. But that function ...Show All
Visual Studio Team System AsOf clause in Team Explorer
I have manually added an AsOf clause to an existing query, but Team Explorer doesn't recognise the clause. Team Explorer still displays a list of current work items. However, if I run the same query in Excel it works as expected. Is this a bug in Team Explorer Query builder in team explorer has capability to work only with where clause of wiql and it doesnot take asof clause into account. Hence it shows always current results when running a query. It is query builder and team explorer limitation. If you run an AsOf query and if you view the query builder, we do not have functionality to show that asof clause hence it is not used in query. ...Show All
Visual Studio Tools for Office Formula question: What does $A$2 mean?
What do the $ signs mean, and where is this explained in the Excel 2003 help file I did a search on $ but that found nothing. sample: =WEEKDAY($A$2 + VALUE(A$2)-1,1) = 7 This is in a conditional format It's always best to post questions specific to an Office application (rather than the VSTO technology) in a group that specializes in the application. For this type of question, a good bet would be http://www.microsoft.com/office/community/en-us/default.mspx dg=microsoft.public.excel.newusers&lang=en&cr=US or maybe http://www.microsoft.com/office/community/en-us/default.mspx dg=microsoft.public.excel.misc&lang=en&cr=US The $ tells Excel to NOT interpret the cell re ...Show All
Software Development for Windows Vista Multiple implementations of an interface
Hi, Here is my situation. 1.) I have an internal interface with an [ExternalDataExchange] attribute 2.) I have two classes which implement my interface 3.) I have a workflow with a CallExternalMethodActivity where I hook in the interface type and method name 4.) 1,2 and 3 are all in the same namespace My problem is that when I run the app the workflow seems to hook into the methods of the first class which implements the interface but does not notice the second. How does WWF deal with this case What is the correct way to implement something like this Thanks, Nathan Thanks Matt. That makes a lot of sense. Saurabh thanks for your answer. I updated to the newest versions and just for customer feedback it is incre ...Show All
.NET Development Error deserializing previously serialized object
Hi to ALL, Sorry to disturb u, i am using memory stream to serialize and deserialize my dataset this will serialize successfully. but failed to deserialize by throwing a error like this: There is an error in XML document (0, 0). here is piece of code plz correct me DataSet newDataSet = new DataSet("Root"); newDataSet.Tables.Add(CommonVariables.dtblAssemblyInputOutput); XmlSerializer ser = new XmlSerializer(typeof(DataSet)); MemoryStream writer = new MemoryStream(); ser.Serialize(writer, newDataSet); Byte[] byteArray; byteArray = writer.ToArray(); System.Text.Encoding enc = System.Text.Encoding.ASCII; string myString = enc.GetString(byteArray); writer.Close(); // *************For Conver ...Show All
Visual Studio MissingReportSourceException NullReferenceException
"MissingReportSourceException means that you have not yet supplied a definition for the report, so the report viewer can't validate parameters. Make sure you have set ReportViewer.ServerReport.ReportPath before calling SetParameters(). " How do you set the path or set the definition tried " reportViewer1.LocalReport.ReportPath.Equals new ( "TicketPrintLayout.rdlc" ); " and it gave me a null reference exception, so what do I do ...Show All
Windows Search Technologies Server search functionality
I couldn't find an answer in a quick browse so hope someone can help... We want to be able to search our server (which contains ppt, xls and pdf files typically) for topic / industry specific words. I started looking at Google mini but it then appears we would need to convert the server's file structure or something equally time consuming in order to have the mini work. Desktop search looked like a good tool, but what we really want is something that indexes our server so we can have an intranet or outlook enabled search engine our team can use to find documents. I think Desktop search isn't the right answer Assuming it won't do this (we'd like the index file to stay on the server, not be on everyone's PC) is there an MS software to ...Show All
Windows Forms how to create a scrollable picturebox
If it is a small picture(whose size is equal to the picture box size) scrollbar should not appear..if it is not so..it should have scroll bar..once we scroll we can see the remaining part of the image. Anyone can provide a code for this. and also usefull link . thanks and regards, Uvaraj T Rather than using picture box make your own control deriving from a usercontrol.Set the autoscroll prperty to true; please see the follwoing code. public partial class UserControl1 : UserControl { private Image image = null ; public UserControl1() { InitializeComponent(); this .AutoScroll = true ; image = Bitmap .FromFile( "C:\\Picture.jpg" );//name of ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA - Microsoft lack of vision
Its real sad that Microsoft, once again, shows this lack of vision for a games development tool: 1: Get visual: Don't force users to write such a lot of code to do just very little. It reminds the Charles Petzold's "Hello Window" hell of code days. 2: Provide visual tools: Let users choose the components, change their properties and write just the required code for the events. 3: Quick development means quick prototype and minimum learning curve. XNA has a lot of things to learn. Definetively it is NOT for students and hobbists. We will have to wait until someone encapsulates XNA framework into a group of visual components, that can be easily drag & dropped, inspected and tested very easily without having to learn lots of n ...Show All
