enric vives's Q&A profile
.NET Development passing parameter from popup to parent
I am having trouble passing a parameter from a label control in a popup window to a textbox in the parent window. i have tried post and get methods and queries as well but none work.am i missing something here pleasze help i found a solution. http://aspalliance.com/87 ...Show All
Visual Studio Express Editions How Can i send text message to pager from vc++
i would like to send text message to pager by using vc++ application. if any body knows about this please let me know. Thanks Hello Re question: How Can i send text message to pager from vc++ As stated previously, please do not cross post and please select the correct Forum/newsgroup for your questions. This is a newsgroup type question http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All
Visual Studio Reference from csproj to vcproj fails to build using MSbuild
Hi, We are having an issue building a VS2005 solution using MSBuild. Our solution includes a c# project that has a project-to-project reference to a VC++ assembly project. The VC++ project has Common language runtime support set to None, but overridden on some of its source files to /clr. This builds fine within the IDE but fails to build using MSBuild from the command line. Looking at the MSBuild output, the /reference: for the VC++ assembly is missing from the CSC command line. If we enable CLR support at the project level everything builds fine, but this is not a practical option for us – there are hundreds of source files in these projects but only one or two that require the /clr switch. The link has a small example solution ...Show All
.NET Development Address returned in Socket Connection
Hi, I'm using socket connection to connect pocket pc (client) and my computer (server). When I run the program on the emulator, I'm able to establish a connection. At the server, I print the remotePoint from which the connection was accepted. I always get the unassigned IPAddress "127.0.0.1" printed. Can anyone tell me why this happens I have been trying to figure it out myself, but in vain.. Thank you so much. /******Server******/ IPEndPoint myEndPoint = new IPEndPoint ( IPAddress .Any, 5155); Socket mySocket = new Socket ( myEndPoint.AddressFamily , SocketType .Stream, ProtocolType .Tcp); mySocket.Bind(myEndPoint); mySocket.Listen( int .MaxValue); Console .WriteLine( "Server ...Show All
Visual Basic Opening a form
VB6 is total different than this! Learning a new platform, so please excuse me for my mistakes! I have a form which needs to show one record(thats all that is needed-its a table that carries the end-users info only-so only one record). The form has got the right datasource. I maybe opening it wrong to show the data. I have got a command button on my main form to open the "Company" form, with the following code; Private Sub Button5_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Dim MyForm As New Company MyForm.Show() End Sub The form opens, but with no data, there is data there because it is being used on the main form. Where did I go wron ...Show All
Visual Studio Express Editions the date apperas with 12:00:00 !!!!!????
hi i make a small console application with the following code to print on the screen the date specified and it appeared with 12:00:00 ! Module Module1 Sub Main() Dim dt As Date dt = #11/15/1983# Console.WriteLine(dt) Console.ReadLine() End Sub End Module ' the output : 15/11/1983 12:00:00 ! some of my friends says that it coould be solved by changing the format of the date in the culture of the entire application how can i do that thanks in advance. thanks for reply every one ok good answer but also the date appears with 12:00:00 in asp.net page in the gridview control and i try to format the date many many times but i can't find the answer can any one help me if he see t ...Show All
Architecture Data Transfer Objects and Collections
Hello, My business logic layer is using a domain model. The classes in the domain have intricate associations with each other and make lots of little calls to each other. This is fine for business logic on the server. On the UI, I use Data Transfer Objects to move data between UI/BLL. The DTOs map 1:1 with the domain objects, but they don't have the deep references graphs. Basically the only references between the DTOs are strict aggregations such as an Order and it's collection of OrderDetails ( NOT an Order and a reference to it's Customer object). So the OrderDTO class has a collection of OrderDetailDTOs. When sending a list of OrderDTOs to the gui, it seems very inefficient to load each one's orderdetails as well. Using lazy load ...Show All
Game Technologies: DirectX, XNA, XACT, etc. No way to set the SpriteBatch transform ?
I can't find a way to set the transform of the underlying ID3DXSprite of the XNA SpriteBatch. Am I missing something Thanks L. The SpriteBatch class doesn't support any transform state members. You will need to perform any transforms yourself before calling Draw methods. The overloaded Draw methods also contain options for scaling, translation and rotation transforms. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Content pipeline and "Game Library" projects
So I made a "Windows Game Library" project which needs an Effect File. I added the file to the project and tried to load it with ContentManager.Load. The client "Windows Game" project invokes the game library which can't find the asset. If I add the asset to the client library, it works fine. A quick look at the bin directory shows that the content pipeline is infact compiling the shader. A curious purusal with .NET Reflector shows that content loading works off the EntryAssembly (and that makes sense most of the time) Is there any way to load content from the currently executing assembly The situation you're describing is working fine for me. I have content files in the "lib ...Show All
Visual Studio 2008 (Pre-release) Which version of Windows Media Player for WPF (RC 1)?
Which version of Windows Media Player for WPF (.NET 3.0 RC 1) should we use if we want to muck around with Video, Video Brushes etc and wmv files etc. cheers Good morning, Even with WMP 10 the "number movies" in all the "MediaGallery" skip frames, the vioce count is correct, but the video will skip all the odd frames for a while, then hit one, etc., it real jerky. could you take a minute and run the SDK GraphicsMM_Media/MediaGallery" program and tell me your results I wonder if I'm running everything in software, no hardware acceleration I have an $800 video card running DX9.0 How can I tell How can I make sure my customers will not have this problem Thi ...Show All
Windows Forms How to restore Local security policy
I'm currently using Windows XP home edition, and when I go to Administrative tools and Look for Local security policy it's not there. When I try to search it, it's not found. Is there a way to restore it back in there short f backing my system. Thank you. This forum is for topic discussion for developers relating to Windows Forms applications using the .NET Framework and is not for topic discussion relating to general Windows support. Please do not promote the usage of off topic articles being posted in this forum. Please visit http://www.microsoft.com/communities/ or redirect your issue to a forum that better suits your problem. Thank you. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Only Gaming?
Can the XNA be used for more applications then just gaming What about Multimedia applications, integration w/ websites, etc Mardo From the FAQ : Q: Can I create non-gaming applications (such as a Media Center/Player) with XNA Game Studio Express A: On Windows this is possible, but the initial release on Xbox 360 is tuned to writing games. This is an area we are actively looking to the community for feedback on the types of applications they want to write for their Xbox 360. ...Show All
.NET Development Passing user session to webservice
Hi I have a aspx page that calls a component which in turn calls a webservice, I want to maintain the *same* session from the aspx to the webservice. is there any way I can pass the user session to the webservice, I tried using the HttpSessionState and HttpContext objects but it gives me an error since these objects are not serializable!! is there any other alternative to this Regards, Nikhil Sachdeva No, there's no way.... or at least I don't know. In my experience.... in this situations a Custom object is created for that (let's call it Context) that contains the required information and then this object is passed to the service using SoapHeaders.... In the service a SoapExtension can be used if needed. But, this wou ...Show All
Visual Studio Hosting text editor in managed control
I read this in an earlier post: Ed Dore wrote: I've run across this same issue myself. Though in a slightly different context. I was actually hosting the VS core text editor as a child control parented to my own managed editor. Can you tell me how to do it please! Thanks, Jamie Briant Hi Jamie, I've uploaded a couple of different editor samples that illustrate how to go about parenting the VSCodeWindow on a UserControl derived object (that serves as a custom editor), up on the Code Gallery on gotdotnet. These are really rough prototype packages, currenty build against Version2 of the Visual Studio SDK. As time permits I'll try to go back and update these. The TBEdit and MPEdit samples a ...Show All
SQL Server Login Problem
I have recently upgraded Visual C# Express Edition to Visual Studio 2005 Edition. Then I also installed SQL Server Management Studio Express Separately. Now my previously SQL Server Authentication login is not working. I am able to do only Windows Authentication. With SQL Server Authentication it is not working which is working properly prior to installation. A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233) check all the Network Protocols are enabled or not... follow these step ...Show All
