smickell's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. XNA and physics?
Hi, I'm curious about the XNA Framework, but at this point it seems like there is very little written about what exactly is included in the framework. Will XNA ship with a physics module How about the content pipeline Collada 1.4 Is XNA more than a c# wrapper for DirectX Regards Johan aka_Big_Wurm wrote: I wish some video came out of Gamefest, sounds like they did some demos of XNA and the beta has to be 99% ready to give it a release date. Maybe on10.net or someone will put up some of the video. Your wish will be granted soon! We're working on making the Gamefest keynote available via streaming video. Stay tuned and keep an eye on the XNA Developer Ce ...Show All
Smart Device Development Problem displaying multiple forms in PocketPC 2003
I am having a problem showing two different forms in Pocket PC 2003, and was wondering if anyone could help. I am using VS 2005. I have a main form that is showing. My app goes and loads a bunch of datasets from XML files. While this is happening, I want a dialog to appear with a progress bar showing that it is loading files (simple ui interface to make it obvious that something is happening). I have this coded, but I find that the program locks up when debugging. When I pause the running app (in VS 2005), to see where the program is hanging, it is always hanging trying to set form variables on the dialog form. For example, it may hang setting the label text property to show that it is loading file 2. Or it may hang when it tries to set th ...Show All
Windows Live Developer Forums mouse wheel zoom in behavior (vs google version)
I noticed the mouse wheel zoom behavior in VE is different than Google Map, and I was wondering if it is possible to set the behavior in VE same as GM because I like that version better(we can have a poll on the perference on this feature without going into generate debate). In GM, when your mouse is pointed to a place that is not at the center of the map, your mouse wheel zoom will keep that place under your mouse AFTER the zoom, so you can continue to wheel in. In VE, the zoom seems just a zoom in based on the current center, and the place you are pointing to may well be out of the map view, you have to pan around, find it, then wheel on. Or, you will have to pan that place to the center of the map before you roll your first wheel click ...Show All
Visual Studio Tools for Office IndexOf method in vsto word doc
Hi, I need to search text in a Word document from a vsto customization. At present, I'm using a range object to find and process text however I also need to do something like what Eric Lippert does in his VSTO C# book: while ((index = text.IndexOf(textToFind, startIndex)) >= 0) but I can't access the indexof method from a range object and I don't have a reference to the text of the document as a type string. It doesn't appear that the range object has something like range.text.indexOf(). Eric uses a custom recognizer class along with a recognize method which gives him access to the text variable (which I assume is the entire document) passed in as a param. Does anyone know how I can access the full text of a Word docu ...Show All
Visual Basic system.directoryservices encryption parameter
Hi, I know that this might be a wrong place to ask this question in the forum, but I could not find another place to ask this question, anyways here it is: The application that I am working on would require the authentication of users using LDAP over Active directory, the actual line of code doing the authentication looks something like this: Dim authDir As System.DirectoryServices.DirectoryEntry Try authDir = New System.DirectoryServices.DirectoryEntry( LDAP://DC=xxx.xxx.xxx , UserNameTextBox.Text, PasswordTextBox.Text) MessageBox.Show( "authenticated" ) Catch ex As Exception MessageBox.Show(ex.Message) Finally authDir.Close() End Try the code authenticates the user, but the security ...Show All
Smart Device Development how to call key down event explicitly when webbrowser is focused?
Hi, Can any tell me how to call key down event explicitly when webbrowser is focused. Actually I want to scroll down to bottom in webbrowser. like TextBox1.ScrollToCaret(); If you can help I will be really thankful.. ...Show All
Windows Forms Problem with WindowHandle
Hello, I found the below code on the internet, I want to use this to hide my notepad, Well, the hide part works very well, but to restore it doesnt work.. Now i tried separate numbers but none of them worked. So i would like to ask, does somebody know a way to fix this Or do this otherwise using System.Runtime.InteropServices; using System.Diagnostics; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private const int SW_HIDE = 0; private const int SW_RESTORE = 9; private int hWnd; [ DllImport ( "User32" )] private static extern int ShowWindow( int hwnd, int nCmdShow); ...Show All
Windows Live Developer Forums VECollection of Polygons
Hi guys, cool new stuff with polygons and access to the findResults with “where-only” searching using the new release of the VE MapControl Great work VE dev team!!! I’m trying to import a VECollection of Polygons into my map! But at the moment I only get: “The server is currently busy. Try again later.” But actually this should work fine, as soon the service is online again! Hope it doesn't take tooo long :-D Anyway - I’m wondering whether it is possible to access the single items of an added VECollection! !!! Even in debug mode they are not visible, seem to be private :-( Any someone tell me whether my assumption is true or if not (what I hope) how to get the items ! Thanks in advance hafi At this po ...Show All
Visual C# Why don't we use header file and Main in class
Hi 1-)In c# why don't we need header files What does c++ miss.So it needs header file but c# not. 2-)In c++ main() is not in a class.Main() is called by OS.It is a special function.But in C# it is also in a class.For example: class Exercise { static void Main() { Console.WriteLine(); } } Here this is confusing thing.Why do C# designers force us to put main in a class Does OS instantinate Example class for calling main().If not what is the magic behind this rule Thanks. ok my first questions answer is metadata.Thanks carlop. But for main() question i think maybe there can be some different purpose. OK Maybe i must ask so: Also is main() must be in a class for a language that want to be truely oo. ...Show All
.NET Development about XSLT..........
How to create a dynamic .aspx using XSLT The W3C site on it is excellent. I just read through it for use in a website I am making. See: W3C Schools: XSLT ...Show All
Smart Device Development resize form CF
Is it possible to resize a CF form I want my form2 to overlay form1. You can override the OnPaint method so that you can resize the form as you wish, thus creating the illusion that you have form over-lapping a form... /// <summary> /// Overriding method call to the OnPaint method of the Form so that it can be customised. /// </summary> /// <param name="e"></param> protected override void OnPaint(PaintEventArgs e) { Graphics g = e.Graphics; //if(!titlePanel.mouseDown) //{ base.OnPaint (e); //} Rectangle r = this.ClientRectangle; r.Height -= 1; r.Width -= 1; g.DrawRectangle(new Pe ...Show All
.NET Development Best way to write an email aliasing program?
Hi, I'm new to this area of .NET and wondering how one might go about the following task. Scenario: one Window 2003 or SBS 2003 Server running an email server. The email server might be Exchange, or it might be a third-party product which has its own SMTP server. I want to write a program that will forward some inbound emails to an outside alias. The purpose is to allow everyone who belongs to an organization to have an alias at the organization without having to set them up with email accounts on the mail server. Additional functionality would be added to allow groups of aliases, for example financecommitte@myorg.org might send an email to the seven members of the finance comittee. What I'm not clear on is how/whether this can ...Show All
Windows Forms How can we achieve Scroll lock type functionality in text box Or Richtextbox (c#)
I have a multiline textbox/RTB where text is appended every 20 ms. I want to copy some text in between and see what i have received. But whenever I click on RTB, It scrolls to down and I am not able to copy related text. So How can I achieve scroll lock functionality. I want the same behaviour as dot net IDE output window where text keeps on appending but whenever we want to copy it allows us to do. Currently i buffered all messages in queue from the time user clicks lock till clicks unlock and then appending all messages from queue. but this is temp soln. still looking for the better one. ...Show All
Visual Studio Express Editions remove all but numbers
This is the sort of data that i have; chris - 0400423068 tom - 0400987389 Heidi - 0412139864 and what i want to do is remove all but the numbers. dont worry i got it my self. Dim extract As String Dim start, finish As Integer extract = nameslist.SelectedItem MsgBox(extract) extract = extract.Replace( "-" , ">" ) MsgBox(extract) extract = extract + "<" MsgBox(extract) start = extract.IndexOf( ">" , 1) + 1 finish = extract.IndexOf( "<" , start) extract = extract.Substring(start, finish - start) MsgBox(extract) ...Show All
SQL Server SQL Execution Error: "clr Enabled"
I've Created a DLL Library and added it as an assembly in a database when I make a select statement from SQLCmd using my functions it runs fine but when I try to Create View from the VB 2005 Express Development Environment it Gives me the Error SQL Execution Error Error Message: Execution of user code in the .net Framework is disabled. Enable "clr Enabled" configurartion option note that CLR Integration Option of the SQL server is ON and I've Tried sp_configure 'show advanced options', 1; GO RECONFIGURE; GO sp_configure 'clr enabled', 1; GO RECONFIGURE form SQLCMD in vain when I execute the select statement from the SQLcmd it runs fine but when I try to make a View from the Developmet Environment i gives me that ...Show All
