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

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

justicelin

Member List

MattMeharry
dalterio
Sticky0002
Sigfuss
LaurenceT
otm2000_zhang
deen
paramjeet
Erl Egestad
Dimitry
VoiceOfExperience
Dasa
Chryso
Aun
Daniel_JP
RossDempster
gabrielh
Joe Rattz
johnny_no1_boy
Mike9000
Only Title

justicelin's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. 3D racer problem (collisions)

    Hi im trying to make a very very basic 3d racing game. Basically, ive spent hours trying to work out how to detect whether my rocket (the car) has left the side of the track or not. I cant work out how to properly use bounding boxes/bounding spheres in 3D and i dont understand how that would even work with a track with bends etc. Here is my source code for you to download and try and understand what I mean. Any help is really appreciated. EDIT - http://www.sendspace.com/file/6pcunk http://www.megaupload.com/ d=G6CLZF70 Or if someone could just explain how to go about working out whether the car has left the track or not What fuctions you should use or whatever. any help anyone Even if you could just te ...Show All

  • Visual C# Import themes to my appication

    hey, i saw some apps that can switch some skins (some said that are Delphi based with VCL librarys) how is Media player 11 and Live messenger, done the desing, is so cool i want to do that to my apps. how can i import VCL libraries to my app in MS VC# and if u know some MS VC# VCL i only found delphi,c++Builder and C# form Borland The easier way possible is only for the Client Area of the form not the non client area i.e Title Bar. For drawing non client area you need to do extensive work through API calls. If you are interested to do theme only Client area then you can easily build a theme editor for your application and make some XML format of themes. See the same link for the help. It'll help you in understanding ...Show All

  • .NET Development SMTP Mail without SMTP Service

    I have a requirement for an email program to send SMTP mail without having IIS (and therefore no SMTP service) installed on work stations. I found a nice solution to this at http://www.eggheadcafe.com/articles/20030316.asp . I modified the code to fit my needs and it works. However I have a couple of issues. One: How do I cause the SMTP server to send out delivery notifications on failure and success This is pretty easy using the DeliveryNotificationOptions of the System.Net.Mail.MailMessage class. But of course I am not using this. Two: How do I send authentication or system credentials to the SMTP server Again, this is pretty simple using the System.Net.Mail.Message class. Example code: IPHostEntry IPhst = Dns .GetHost ...Show All

  • Windows Forms Writing event in Datagridviewcombobox?

    Hi guys, Greetings! I'm creating a datagridview with a combobox column, is there anyway that I can write an event everytime the user choose from the combobox list and when lost focus on it I can control the value to set on the next column like if the user choose from the list as "Chocolates" I can set the value on the next column as "PCS" these values where from the table. I appreciate any help you can give to me. Thanks, maybe this should be helpful private ComboBox combo = null ; private bool comboActionRegistered = false ; private void dataGridView1_EditingControlShowing( object sender, DataGridViewEditingControlShowingEventArgs e) ...Show All

  • Windows Live Developer Forums How do you print a bird's eye view in Local Live?!

    How do you print in windows local live ! I've tried numerous times, but have come up empty! Why can't I simply do file:print Why does windows only allow me to print an aerial or a road map It's stupid! I'm going to Google Earth.   AAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHH wrote: How do you print in windows local live ! I've tried numerous times, but have come up empty! Why can't I simply do file:print Why does windows only allow me to print an aerial or a road map It's stupid! I'm going to Google Earth. These questions should probably go to the Virtual Earth developers forums.  http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=537&SiteID=1 see you there. ...Show All

  • Visual C++ arrays

    i have an array that i have debuged to make sure it contains stuff. when i access it like arr[1]; it is fine. but is i try int pos = 1; arr[pos]; i get an exeption at runtime of "System.IndexOutOfRangeException" the array is highlited. what can i do Also note that when you create an array, the elements start at 0. If you do something like int array[1];, the first element would be array[0]. ...Show All

  • Windows Search Technologies Problem: WDS 3.01 seems to rescan/reindex depending upon where I am

    Hey all For some reason, when I connect from different places and different methods, IE from home via VPN versus at my desk with a direct connection, I get an "Items left to scan" of 13-14K items. The same goes when I connect back at work... Is there a solution I also use X1 and it does not seem to have a problem with where/how the machine is/is connected. Needless to say, that's a lot of IO and thrashing for nothing. Thanks! BTW, using XP, Office 2007, and WDS 3.01. I have the same problem. When I connect my laptop to the network MSD discovers a few thousand files more and tries to index them. I do not know where they come from. I say it tries, as it is never done. The number in 'Item left to scan' goes ...Show All

  • Visual Studio How to catch .net 2003/5 solution tree drag and drop event

    I am using EnvDTE to build an addin for .net 2003/2005. I am trying to catch the drag and drop event of the solution tree for both file items and folders. From the EnvDTE module, I can't find anything which is really useful to do this. Also, found that IVsHierarchyDropDataTarget and IVsHierarchyDropDataSource interfaces in the VSIP provide support for drag and drop, but I have no idea to hook them up with the IDE's solution tree so that we could catch the event. Please help on this. Thanks very much. Ivan Hi Ed, I actually tryed the EnvDTE ProjectItemsEvent, on drag and drop case, the there is no itemAdded or itemRemoved events come down to the derived handler. But remove and add from menu doe ...Show All

  • SQL Server Failed to call SSIS package from ASPX C# Web Page

    Hi, Everyone: I am getting the following error message when I try to execute a SSIS package from an asp.net page written in C# 2.0. What I am trying to do is basically just click on a button in the web page and it will execute the package. The code to execute the package is pretty simple. I pass the path of the DTS package stored in the local folder. This works fine in the machine where SQL2005 is installed locally. But it fail when I have a seperate Web Server and SQL Server. Any ideas Do I have to install SSIS or SQL2005 on a web server as well Thanks static public string Execute_SSIS_DTS( string DTS_Path) { Microsoft.SqlServer.Dts.Runtime. Application app; app = new Microsoft.SqlServer.Dts.Runtime ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Full planet terrain rendering

    So I've downloaded and ran the various terrain code samples and they work fine for a square area with a skybox. Here's the kicker: how would I go about extending this to render an entire planet full of terrain My goal is to recreate, as much as possible, the features of the Frontier (wikipedia.org) game we all enjoyed back in the day. To be clear, I'm just looking for the concept of how to go about this, or perhaps a pointer to an existing project. I'm having trouble wrapping my brain around the kind of LOD you'd need for something so grand (the ability to fly from space down to a planet and land on it). Anything is appreciated! Its really all about faking it, you might not want to render a spherical shap ...Show All

  • .NET Development Validating an item added in CollectionEditor

    Hello I have a propertygrid that is showing my collection. If user click on add button and enter an invalid data in one of properties of a new item, in setter of that property I'll show a messagebox, but how can I prohabite user to continue. private int x; public int X { set { if ( value < 0) { MessageBox.Show("Enter a value greated than 0"); return ; } x = value; } get { return x; } After closing my messagebox the new item is in the collection and user can add another item or click ok button. I am validating agin later but I am looking for a way to force user to fix this item before continuing. I tried OnInsert and OnInsertComplete events of CollectionBase and also CreateInstance of Co ...Show All

  • Audio and Video Development Animating from script

    I've been performing all my animations from the markup, but have a case where I'd like to do it in the script. Is that allowed and what is the syntax I've been combing through the spec and cannot find a reference. Thanks. The descriptions in that section are not entirely clear because the names of the properties are derived from markup. Basically you want: document.foo.style.animateProperty("x", "400px;0px", 1); where style is the namespace, x is the property, and 1 is the number of seconds. There is an example with my "Pretty Buttons" blog at http://blogs.msdn.com/ptorr/archive/2006/07/06/658680.aspx ...Show All

  • Visual Studio Express Editions Textbox

    1-I have some textboxes in my program. Max text length for them is 1 char. Now when I want to enter a number for example 423, I should press 4, tab, 2, tab and 3. Now what should I do to do this without tab button. I mean when I press a number in the first textbox the second number be automatically in the second textbox. 2-I want not to allow entering words (e.g. w) in my textbox. I mean I want to allow users to enter only numbers (e.g. 0) to my textbox. xRuntime wrote: Go to the textboxname_textchanged event then if textboxname.length.equals(1) textbox2name.setfocus (or something like that, I dont remember the exact code) I dont understand . Please help me more . ...Show All

  • .NET Development Side by Side Execution.

    Hello, Please can you confirm whether the following statement is true: If a .Net 1.1 application runs on a machine with both 1.1 and 2.0 runtimes installed, the application will try to run in the 2.0 runtime. In other words, if you don't configure an application to target a specific runtime, it will use the latest runtime installed on the machine. Thanks in advance. paulballard wrote: This is what I have read on MSDN but the behaviour I have seen in our production environment shows that the 1.1 application is trying to run in the 2.0 runtime. Strange, that's not what I'm seeing. At least not as long as the 1.1 framework is installed. paulballard wrote: Is there ...Show All

  • Visual Studio Team System Specifying Remote Machine name for certain tasks

    I'm working with Microsoft UK's SDC code (See http://www.gotdotnet.com/codegallery/codegallery.aspx id=b4d6499f-0020-4771-a305-c156498db75e ) and it doesn't appear that we can specify remote machines for the creation of Application Pools or web sites --- only CreateVirtualDirectory has a machine name. Am I missing something I don't think this forum is going to be a good place to get questions on these tasks answered - the Team Build team doesn't have any particular expertise with them, and I haven't seen too many users posting re: them either... The gotdotnet site where the tasks can be downloaded has a message board - perhaps there or some other forum would be a better spot. Good luck, and if you get yo ...Show All

©2008 Software Development Network