Tom_HDi's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Any one got any suggestions?
Ive played a game called MapleStory countless times before. Its a 2d game but has too many layers so it falls in the category of a 3d game. My computer came down with a few viruses so my friend brought over his windows disc and restarted it. Now im trying to start up the game but it says "Failed in finding proper screenmode for gr2d". I can play other 3d games such as Runescape. Can anyone help These forums are here to support game developers, not to provide product support for other people's games. I don't know who publishes Maple Story, but I'm sure they provide contact information in the manual. ...Show All
SQL Server Selecting a view and selecting FROM a view is wildly different
A colleague of mine has a view that returns approx 100000 rows in about 60 seconds. He wants to use the data returned from that view in an OLE DB Source component. When he selects the view from the drop-down list of available tables then SSIS seems to hang without any data being returned (he waited for about 15 mins). He then changed the OLE DB Source component to use a SQL statement and the SQL statement was: SELECT * FROM <viewname> In this instance all the data was returned in approx 60 seconds (as expected). This makes no sense. One would think that selecting a view from the drop-down and doing a SELECT * ...Show All
.NET Development windows forms
Could you let me know the simplest correct way to position a panel control between a toolstrip at the top and a status bar at the bottom, all three controls held within a parent panel I have docked the toolstrip as top and status bar as bottom should I size the panel in the load form and resize form events is there a more transparrent approach to the problem. Why don't you set the Dock property of the panel to Fill It should work. ...Show All
Windows Forms .Net Forms Control embedded in IE
Hi All I have the wonderfull task of building a .Net Forms Control to be embedded in IE. Essentially this is the same idea as the old ActiveX control only now the "<object></object>" tags point to a URL rather than and GUID. I've got it all working and embedding works like a charm. Certain functionality requires .Net Permissions to be set on the client for the specific site but thats cool as it is running in a controlled environment and not open to the world. Here is my problem. The controll I am embedding is designed to talk to a Fingerprint reader via its device drivers. When I create the reference in my project to these drive ...Show All
Visual C# TCP send formatted messages
hi,,, while i was making some tcp server client applications i found my messages sometimes wree bunching up,, and i have some snsitive data that causes errors if my data is corrupted,, so i have read in some places that is good when u sedn a tcp message to di it this way: [type][lenght][data] but,,,, how can i do it ... and then how to read it when i receive it ....... thx mig16 I don't know what exactly is happening with your code .. but if you want to do something simple let the first byte or two bytes be length and the read byte until you get to length and the that will be your message. --Yath ...Show All
Software Development for Windows Vista HandleExternalActivity not subscribing to event
Hi, I have a state machine workflow with a state that uses the HandleExternalActivity activity. I have set it up to use an event in my custom interface. However, when the implementation of my interface raises the event I can see that there are no subscribers to the event. In other words, the HandleExternalActivity activity hasn't subscribed to the event. Any ideas what would cause this Thanks, Kent Kent - it generally is that the worklow isnt in the state you think it is. Are you hosting in ASP.NET or a different host If ASP.NET you need to look into the ManualWorkflowSchedulerService ...Show All
Visual Studio 2008 (Pre-release) Get all bindings on a page?
Hi all, I'm trying to create an ErrorProvider that I can give a data context to and have it display errors automatically thanks to the IDataErrorInfo interface. Is there a way to interrogate the current page (this is a WPF navigation application) to find all the bindings on the page Thanks, Do you mean is it possible at runtime to tell what properties on an object were provided through the binding system versus what was manually set on the object When I first think of it, I'd guess no. But then the various bindings have to be stored somewhere right...So let's dive into the framework and see what we find. Let's start with th ...Show All
Visual Basic Type to Structure conversion
I have just started using vb.net 2003 and trying to convert an old vb program. The old defined datatype was: Type OrderHeader InvoiceNo As String * 10 CustomerNo As String * 6 End Type I understand that it is now structured like: Structure OrderHeader Private InvoiceNo As String Private CustomerNo As String End Structure but since vb.net will not handle a fixed string length is there any way around this Thanks Sammy Sammy, I'm glad I could help. :) Dustin, To be honest, you've known things that I haven't and I know thing ...Show All
Windows Forms Click event on dynamicly loaded control does not fire the first time
Hi there, I am developing a framework in which you can describe a flow of controls (that inherit form my FlowControl-class). Therefor a user control is dynamicly loaded in a user control (my FlowPanel-class) that inherits the Panel-class. OnLoad of this base-class the data which is needed to load the user control is extracted to reload the FlowControl on a postback. Clicking a button on a FlowControl-class should cause the loading of another FlowControl on the FlowPanel. The problem that occurs now is that the first time the button is clicked, the OnClick-event is not raised. When I click the second time, the OnClick-event is ...Show All
Visual C++ favor AMD64 intrinsic functions
How do I tell my compiler/linker to use the __stosq intrinsic function 32-bit assembly intrinsic functions compile, but 64-bit ones do not. Also, the compiler /favor:AMD64 is considered to be an unknown option. Is there anything I can do to enable this compiler option Are programs that use 64-bit pointers limited by default to 2GBs of memory What will happen when I generate data beyond 2GBs but do not enable the linker /largeaddressaware option Are you using the 64-bit toolset Specifically, when you type cl in the command line, does the first line say Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727 ...Show All
Windows Forms Binding Data in ASP.NET
I retrieved data from a DataBase into a dataset. How can I bind a particular row to a TExtBox Hey Hey! you were really close! It looks like you are talking C#, not C++ though... Here is what finally worked for me: DataRowView^ myDataRowView = (DataRowView^)indexBindingSource->Current; textBox3->Text = myDataRowView->Row[2]->ToString(); Good luck with your exams, T. Feral Cat (AKA "Stray") ...Show All
Windows Forms Using 2 Datamembers in a single view
I currently have 2 tables within my dataset. I am working on a screen that contains a single datagrid view that shows data from both tables. Is it possible to populate this simply through just setting a second datamember or set the columns specific to datamember instead of the whole control. Also, is it possible to make column headers bold TY in advance. No. You'll have to do what is described in the DataGridView FAQ - question 21: The DataGridView does not provide any new features apart from virtual mode to enable this. What you can do is use the JoinView class described in the following article http://support.microsoft.com/ ...Show All
Visual C# Printing text directly to a printer (NOT as a graphic)
I can print text if i do a e.Graphics.DrawString(......) My problem is that I am trying to print to a card printer, and usually it checks what text it is printing, and if it hits a '~' it then encodes the magnetic stripe. When i print from Microsoft word, or Access, it works fine because text is sent to the printer. But using "PrintDocument" object and drawing to a bitmap, it is unable to parse the text. Any ideas on how to print text directly to the printer at locations, instead of rendering them onto a bitmap first Hi, Since the .NET Framework cannot send preformatted data to a printer direct ...Show All
Visual Studio Team System Binding trouble when migrating VS2003 SourceSafe to TFS
Ok picture the scene. A department moving to using Team Foundation Server but has a load of legacy applications still needing support which currently reside in Visual SourceSafe. The applications are mainly .NET 1.1 web applications (ASP.NET/C#). Armed with the knowledge that there is a Visual Source to Team Foundation Converter and that there's the Visual Studio 2003 MSSCCI plugin for Team Foundation Server, all seemed rosy in the land of opportunity. The migration copy from SourceSafe to TFS took about three days to complete (thank goodness I triggered it on a Friday afternoon). The trouble is that the developers can't open the code becau ...Show All
Windows Forms How can I find out if a form (in my case a child form of MDI parent) is maximized?
Hi, How can I find out if a form (in my case a child form of MDI parent) is maximized is there a way to know the MDIParent max size for its child forms Thanks, You can use the WindowState property to determine if the form is maximized: if (myForm.WindowState == FormWindowState.Maximized) { } > is there a way to know the MDIParent max size for its child forms I'm not sure what you mean there. Can you provide more information about what you are trying to achieve ...Show All
