Software Development Network Logo
  • SharePoint Products
  • SQL Server
  • VS Team System
  • Visual C++
  • .NET Development
  • Smart Devicet
  • Game Technologies
  • Windows Forms
  • Visual C#
  • Visual FoxPro
  • Visual Basic
  • Audio and Video
  • Windows Vista
  • Visual Studio
  • Microsoft ISV

Software Development Network >> asalcedo's Q&A profile

asalcedo

Member List

Rahul Garg
Tony Malandain
Rachad
hye_heena
Bo Yu
WQP
barkest
Pockey
imj
Bjorn Johansson
vc#tyro
dragoncells
BigGuy
Lixin wang
Steveinbeloit
Rolan
Gregg2006
pinoyz
cfaulk
csann
Only Title

asalcedo's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. How to get distance from point to triangle or plane in XNA

    Hi all Ok, I'm trying to do ray picking in XNA with mesh positions and some terrain geometry, but I only found these classes: Ray Plane BoundingBox BoundingSphere BoundingFrustum Intuitively, I tried to use Ray with Plane to test for intersection, but it’s actually impossible. I need realistic intersection for vehicle positioning on my terrain, but I don’t know how. I search this forum and others but I didn’t find anything really useful. I tried to use height-maps to store de heights, but the result isn’t good. Any suggestions Thanks in advance That's like three ques ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tabs instead of Spaces by Default, please

    Visual Studio 2003 and 2005 default to tabs for spacing, yet for some reason XNA (and perhaps Visual C# Express) defaults to 4 spaces. Further, to find the setting to fix this is a little confusing - you need to realize the "Show All" checkbox is lurking at the bottom of the Options, check that, and then restart your hunt for the "Tabs" section. Please set the default to Tabs in future versions, for everyone's sanity, and source control savings. That's a personal preferences though. Some people swear by spaces instead of tabs. :) One of the advantages is that different program represent tabs differently. Maybe the code looks beautiful in your editor, but it might look bad in a diff pro ...Show All

  • Visual Basic VB Express and SQL Database

    I have an SQL DB and I am creating a form to add data to the DB, how do I pass vars from textboxes to the fields in the DB    Try it if you want. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click  Dim myDataRow As DataRow         Try             myDataRow = CustomerDataSet11.Tables("customers").NewRow()             myDataRow("FirstName") = txtFName.Text             myDataRow("LastName") = txtLName.Text   ...Show All

  • Visual Studio Team System Full .Net Solution Integration for Refactoring

    I had a conversation with one of the MS guys at Tech Ed and he indicated that they are working on full integration with the rest of the VS Stack for refactoring support. That is a "rename" in the database will traverse through the entire .Net solution and rename any methods that may be tied to the SP or database objects. Is this the case what is the timeline for such features RTM Thanks, Would you at least be able to do a 'dumb' rename Similar to a rename in an application project. The only difference would be that you leave the boxes unchecked instead of checked. This options would extend out to comments and other strings in ALL projects loaded in the solution that the database is in. A ...Show All

  • Visual Studio Express Editions Other way of saving

    I'm trying to save text from a Rich Textbox to an external .txt file, but I don't know how, can somebody help me just simply reference the rich text box control, give it the filename to save as and set the RichTextBoxStream type as shown. http://msdn2.microsoft.com/en-us/library/8bf5hy2e(vs.80).aspx there is also an example included above if you are asking on prompting the user on which filename and directory to save as, you need to use a SaveFileDialog to do this then save the file. Small example:   Dim theSaveFileDialog as new SaveFileDialog() theSaveFileDialog.Filter = " set filters here " if theSaveFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK then  & ...Show All

  • Visual Basic Reset-button

          the best place for ASP.NET questions should be posted on the ASP.NET forums: http://forums.asp.net ...Show All

  • Visual C# What values I should use?!

    I use this codes for receving SMS inside a managed app. by C#.net (Compact Framework - Pocket PC 2003): private static string SMS_MSGTYPE_TEXT = "Microsoft Text SMS Protocol"; private static long SMS_MODE_RECEIVE = 0x00000002; [DllImport("sms.dll")] private static extern IntPtr SmsOpen(String ptsMessageProtocol, IntPtr dwMessageModes, ref IntPtr psmshHandle, IntPtr phMessageAvailableEvent); [DllImport("sms.dll")] private static extern IntPtr SmsReadMessage(String smshHandle, long psmsaSMSCAddress, string psmsaSourceAddress, long pstReceiveTime, byte pbBuffer, long dwBufferSize, long pbProviderSpecificBuffer, long dwProviderSpecificDataBuffer, long pdwBytesRead); ...Show All

  • Smart Device Development .Net Compact Framework version on T-Mobile Dash?!

    I just downloaded all the development goodies and am trying to write an app for use on my T-Mobile Dash. Got a few forms thrown together and want to check it out on the Dash itself so went through the CAB wizard and got it installed on my phone. When I try to run it on the phone (not the emulator) I get the following error: "This application requires a newer version of the Microsoft .NET Compact Framework than the version installed on this device." How do I figure out which version is on the Dash, how can I update it so my application runs That did the trick perfectly! Thanks a lot for your help, I really appreciate it ...Show All

  • Visual Studio Windows XP Hotfix KB921883

    Last night at 3am Windows XP Hotfix KB921883 was installed and my computer was rebooted. This morning when I tried to connect to my projects which live on a remote server I encountered security warnings and my network share was unavailabe. Uninstalling the Hotfix solved the problem but I'm curious as to what the fix supposedly fixed and if anyone else had this same problem. Thanks, Jon Stalnaker That's exactly what I had to do. Turned out it was a group policy that had been corrupted and it wasn't letting my local admin account access certain system files and the registry. ...Show All

  • Windows Forms Changing DataMember shown in DataGridView

    Hi, I have 3 tables and on the click of a button I want to switch the table shown as a DataMember in the DataGridView to that of another. I realise you can change the DataMember by using DataGridView::DataMember = "" but this doesn't update the columns shown; I want the DGV to change the columns shown to those in the 2nd DataMember, and show certain records from that member. How does one do this I know you can clear columns and add them, but I don't know how to populate them with the data - I figure there must be some way just to switch the DataMember and grab all the columns and data from that, rather than adding columns manually. Thanks in advance, IxxI You can also filter data with the hel ...Show All

  • Windows Forms Problem with List<T> and TypeConverter

    Hi, I am having a bit of difficulty with TypeConverters and Generic Lists and I was hoping that I could get a bit of advice. I have a type converter that is used to create the constructor code for my component. (It is an XNA a Game Component, but I don't think that that has anything to do with the problem because it appears on a Winform) inside another component. For instance I have the following: public class A{ private string s; public string SProp { get { s = value;} set { return s;} } public A() { s = "" ; } public A( string inS) { s = inS; } } By itself, when class A is an object on a form (or in my XNA Component) the TypeConverter code works fine, the property grid on t ...Show All

  • Windows Forms (vb) asp.net validation

    I am writing a window form using (vb) asp.net, I have to validate two textboxes that when the user enter the passwords and both passwords are correct the form will display a welcome label; if the passwords are not correct; both textboxes will  automatically  clear and tell the user that the passwords did not match. I have the form working correct if the passwords match, but when the passwords don't match the textboxes will not clear; but it does display a error message saying that the passwords were incorrect and don't show the welcome label. I had also added a clear button; it works when the passwords are correct, but it will not work when the passwords are incorrect.  Bellow is ...Show All

  • Visual Studio Express Editions how to: bind a single control to multiple datasources

    hi, im really new to programming and i was wondering if there's someone out there who's kind enough to teach me how to bind a single control (ex. a textbox) to multiple datasource's (ex. two or more table's). thanks a lot.. yes, thanks a lot, i already had quite of those on a single form. i was just wondering if there was a way to make a simpler solution of having the values of a single control to be saved on multiple tables all at the same time. i even tried to assign the values of a control to another control, in which the former was bound to a datasource and the latter bound to another datasource, nothing happened. so, does this mean the end of the road for my question another reply is greatly appreciate ...Show All

  • SQL Server In SQL 2005 P1 SMO - Agent Last Run datetime

    Hi, I created an RMO script to generate a republishing replication (A to B then B to C). Because I don't want to start the B to C replication until the A to B replication is complete, I start the Snapshot and the Merge processes synchronously (vs. asynchronously). If I ran them asynchronously, I'd need to put in logic to loop-check the completion status of the Merge agent job before kicking off the B to C process. In the Snapshot agent, this means running .GenerateSnapshot(); (vs. StartSnapshotGenerationAgentJob) and in Merge agent this means running .SynchronizationAgent.Synchronize(); (vs. SynchronizeWithJob) I notice that the Snapshot agent never shows a LastRun or LastRun Outcome even though the snapshots are being generate ...Show All

  • Visual Studio VS 2005 Pro SQL Version

    Which Edition of SQL comes with VS 2005 Pro The VS 2005 Product Comparison shows it coming with SQL Server Developer Edition (which is what I need). But the Trial version I downloaded came with SQL Server Express, which doesn't include any of the BI tools I need. The product comparison here is incorrect then: http://msdn.microsoft.com/vstudio/products/compare ...Show All

©2008 Software Development Network