enric vives's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Where are the D3DPERF methods wrapped?
Does the XNA framework include access to the D3DPERF_* functions For instance I don't know how I could live without D3DPERF_BeginEvent & D3DPERF_EndEvent when using PIX! Andy. I suppose I was asking whether they should be included, presuming that they are a permanent part of Direct3D I also presume we won't be able to run PIX on the 360 version when it arrives Andy, ...Show All
SQL Server Word Wrap database query results
In Visual Studio 2005, when you are looking at the results of a database query, or table (show table data) etc., how can you make the results field values wrap like we use to be able to do in VS 2003 and in Visual Interdev. If the field values were longer then what was display in the grid output results, you could expand the column width and row height and the field values would wrap to fit. If I try to do the same thing in VS 2005 or in sql enterprise manager 2005 the field values don't wrap, they remain displayed in one long line and they just get cut off after a specific number of characters. I have noticed this problem also. Until they get if fixed, just tab to that cell (all the data should be se ...Show All
Visual C# Method Parameter Naming Style
Sometimes I have a method that initializes a class by passing in a few values. In this situation, I generally want to set the value of a private member from the parameter value passed in. (In other words, I don't want to "Set" the property and trigger code in the Set method.) So my code would look like this (** this obviously won't work.. hence, my question... *) public class MyClass{ int x; int y; public void Init( int x, int y ) { x = x; y = y; } I have read many suggestions on naming styles, but so far I haven't seen an example of the "right" way to handle this. I've played with different prefixes and other tricks to rename the method parameter, and of course any of them work , but I ...Show All
Windows Forms error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Hi, I am developing a windows application in .net 2005 that runs a rather large stored procedure in sql server 2000 (about 165 parameters). I run a function that assigns all the select parameters from various check boxes and all the where parameters from various text/combo boxes as a datatable. In that same function, when i executedatatable (passing the connectionstring, commandtype, commandtext, and parameter array), i get a sqlexception with the error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The statement has been terminated. I've searched high and low for an answer to my problem. Though many people have encountered this same error, it seems none have reac ...Show All
Software Development for Windows Vista how to read data from a hid device in vista service ?
hi i have a service, it can read data from a hid device, but now it can not work in vista, i find the readfile() always in io pending even if data coming, i don't know why who can help me regards Dear Sir: Do you resolve this problem I try many method, but still can not solve it. Best Regards, ...Show All
Visual Studio How to disable the Parameter prompt for Crystal Report using VB.Net
I'm having a problem whereby I can't disable the parameter prompting in VB.Net with the following codes:- Dim crPDV As ParameterDiscreteValue Dim crPFD As ParameterFieldDefinitions Dim crPFL As ParameterFieldDefinition Dim crPV As ParameterValues crPFD = CR.DataDefinition.ParameterFields crPFL = crPFD.Item("paramterName") crPV = crPFL.CurrentValues crPDV = New CrystalDecisions.Shared.ParameterDiscreteValue crPDV.Value = valueToPass crPV.Add(crPDV) crPFL.ApplyCurrentValues(crPV) CrystalReportViewer1.ReportSource = Application.StartupPath & "\TheReport.rpt" CrystalReportViewer1.Show() Any error with the above codes OR do i need to add any additional code(s) that able for me to pass the parameter value direc ...Show All
Windows Search Technologies Display and Filter Outlook Journal Entries in Windows Desktop Search
It would be great to show special icons for Outlook Journal entries in Windows Desktop Search. It would be even greater if I could filter on these. Thanks, that's better. As a suggestion for the next version, it would be great if you could add the Journal icon under Communications under the Other drop down menu. Loren Rex ...Show All
SQL Server Problem installing server instance on windows xp sp2
Hello all (sorry for the cross post, I previously posted that message in getting started) I have a problem installing a SQL Server 2005 (developper edition) on my windows XP SP2 machine. When I launch the setup, all the requirements are ok, but I'm just allowed to install client components and documentations. I can't install the database server instance. The Sql Server is downloaded from MSDN (2 iso files extracted to my HD) My machine is a P4 2.8Ghz HT with 1Gig of RAM. Thanks for your help FYI, here's the Report for the system configuration check: ------------------------------------------------------------------------------ System Configuration Check - WMI Service Requirement (Success) Messages W ...Show All
Visual Basic Finding a Start position in a File with fixed record lengths
i have a file containing some data stored in a fixed record length. Reading from this file is not a a problem, except that i have to read each record from start to finish. the 2nd part of each record is a date field. My test file has 356,000 records What i would like to do is open the file at a random point, check the date value and act accordingly (ie, take 50 off the record number and try again, or add 50 and try again) or something like that. Is this going to end up being more intensive and time consuming than it is to read the 356,000 records sequentially and then act accordingly for each record Or is there a way i can build an index to the datafile and use that instead I can do everything with the file that i want ...Show All
Microsoft ISV Community Center Forums Focusing on textbox (in PPT)(use VB?)
Hi everyone....any help would be great. I have a one-slide Powerpoint that has a textbox (from the "control" toolbox, not the normal textbox) to allow for text to be entered during a presentation (or slideshow view). The problem is that you have to click on the box to enter the text. Is there a way to have the cursor go right to the box as soon as the slide comes up So when the slide comes up and I start typing, it will go right in the box without me having to click on it first I wasn't sure if this could be done with VB in PPT (which I think is VB 6.3). Thanks! ...Show All
Visual Basic Problems accessing form from module
Can anyone help me I am trying to access a form sub from a module. I have the code below but my messagebox does not seem to be triggered. Another question I would have is: if your function is not shared in a form, how else can you access it from the module Thanks! HERE IS THE MODULE Module themod 'try to access the form Form123.staticmethod() End Sub End Module 'HERE IS THE FORM Public Class Form123 Shared Sub staticmethod() MessageBox.Show("hello") End Sub Private Sub Form123_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load End Sub End Class ...Show All
Visual Studio 2008 (Pre-release) namespace declared at Envelope Level are not taken into account...
The problem occurs with .NET3 RC1 when trying to deserialize a DataContract which has a DataMember of type System.Object (xs:anytype) If the namespaces "xsi" and "xs" are defined at the Envelope level, they are NOT taken into account while deserializing the FaultContract. For example : in the following XML message, the namespaces "xsi" and "xs" are defined at Envelope level and are used in the "paramValue" dataMember of the CreateAddressFailedException FaultContract. When trying to deserialize using a DataContractSerializer, we get the following exception : Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channe ...Show All
Software Development for Windows Vista Twain 5 Driver
I have the Epson Scaner 1660 PHOTO and it the driver is not compatible for VISTA How can i use with my Epson Scanner in VISTA Hi Igor, Please note that Microsoft does not support 3rd party products, also note that this forum is geared for software developers creating their own programs. You will need to contact the manufacturer for support. Try starting at http://www.epson.com/cgi-bin/Store/support/supAdvice.jsp type=highlights¬eoid=86150#scanner ...Show All
Software Development for Windows Vista Project type is not supported by this installation
I have been struggling with this the entire day. I just installed for the first time: WinFX Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2_2 Windows Workflow Foundation Runtime Components Beta 2_2(EN) for x86 WorkflowTemplates - 2006-03-07 If I try to create any WWF project based on the new templates, I receive an error stating that "the project type is not supported by this installation". I have uninstalled everything and installed the Beta 2 version (instead of the Beta 2.2) and I get the same error. I then uninstalled everything again and reinstalled the Beta 2.2 version hoping that it would have worked, but no luck. Has anybody had this problem Any help will be appreciated. P.S. ...Show All
Smart Device Development Webservices in smart devices
Hi All, Iam facing 1 problem with 1 of my application created in VS2005 . My application tries 2 call a webservice asynchronously at some point of the application but it always ending with an exception like threading/ web exception. The application run successfully in VS2003 without any error. How can i solve this issue.. Help me please Ratheesh Common reasons for that are: - Using 'localhost' instead of actual server name. - Networking issues. - Proxy settings issues. You should see if you can access the server from Pocket IE to make sure you can reach the server at all. ...Show All
