cashinde's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Unmanaged directX and .net windows form
I have written (with a pointer from you lot here - thanks) a visualisation program in unmanaged C++ DirectX. Everything works fine, however I need to be able to change and edit parameters of the model with the usual text input boxes and track bar, as well as haveing a menu with different options. I have written a little windows form program that does this but wihout the directx stuff. I would like to add my DirectX work into a window in the form but I have no idea about devices and that side of things (I just used the tutorials to set that end of things up). Any help would be greatly appreciated, thanks. ...Show All
Windows Forms multiline datagridview cells?
In beta1, datagridview cells could contain display multiline data by default. In beta2, the data is shown on a single line with some control characters. (1) Can I set the cells to display multiline (2) Can I replace the control characters with something else (eg a double space) to make it look a little more professional Thanks You probably need to set your AutoSizeRowsMode property on the column in question... to AllCells, for example. -Andrew ...Show All
Windows Forms MDI Problems
Am getting the following problems with MDI forms: 1. Child forms set to maximised at design time do not appear maximised when shown. 2. Icons of maximised child forms do not show in the control box menu until the MDI form is resized. 3. I can't get the toolbar buttons of child forms to merge with those of the MDI form. I've set the AllowMerge property of the MDI form toolstrip to True, and MergeAction of the child form toolstrip buttons to Append and Insert, but they just don't appear. EDIT - OK, I can fix this with the ToolStripManager. 4. I want the toolstrip to be draggable to any side of the MDI form. I'd use a single toolstrip container ...Show All
Smart Device Development passing objects
Hi. I understand that the smartphone/.NET CF (1.1/2.0) does not have a way to send objects using TCPClient/listener (in other words, from PC to phone) but can send strings. I know you could use a web service, and pass objects to and from :) I am wondering if there is any way I can pass an object from the PC (not using webservice but a C# winform app) to the smartphone and back just to add - im actually now using .NET CF 2.0 and well, using XmlSerialization - awesome stuff!!!! as for the 1.0 owners, including myself too for my other mobile device, still trying to work on it soon! I do recommend using .NET 2.0 ...Show All
Visual Basic Running a doc file from VB6
Hi all, What is the easiest way to run a .doc file from a VB6 app I know how to launch the Word Viewer with a document and I know how to access Word if it is installed on the user's machine. What I want to do is have a line of code that calls a document with the ".doc" extension and then opens the document in whatever program (Word, WordPad, WordPerfect, etc.) is associated with that extension. Is this possible Thansk in advance for your help! Hi! The folowing example opens a doc file: Option Explicit Private Declare Function ShellExecute Lib "Shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, ByVal lpOp ...Show All
Visual Basic Splash Screen Problems
Using VS 2005, I am using the splash screen facility within VB and within the code, having it run some general maintenance. The main exe has 5 different screens which can load depending on the command line parameter. The problem I'm experiencing (and having a lot of feedback from users) is the correct screen loads, the splash screen unloads but rather than return focus to the correct screen, the application on screen before the program was launched takes the focus. Eg. I have Windows Explorer on screen, launch the program. The prog loads and shows the generic splash screen and within a few seconds, the correct part of my app loads, the spla ...Show All
SQL Server SQLExpress Problems
I just installed Visual Studio 2005 Professional a couple a weeks ago, I have been playing around with the Personal Web Site Starter Kit it has to learn how the .NET interacts with the SQL Server. Everything was working fine even was able post the site on the WEB and have my friend and I log in and use it. My Issue is I messed up the SQLExpress , I am about at the point I want to completely start from the beginning and re-install the OS but I need to get a CD from Dell First. Any Help would be Appreciated in Fixing this. This is the Error Message I get when Trying to Open SQLExpress using the SQLSever Management Studio "TITLE: Microsof ...Show All
Visual Studio Express Editions My.Settings Values Read Only
Hello All, I have a bit of a problem here and I can't seem to figure it out. My project is a Class Library. This Class Library is one project which is part of a larger solution. I have several application settings which are set up as part of the project. Within the Class Library's root class, Application, there are two methods. GetSettings and SaveSettings. GetSettings retreives the My.Settings values and sets them as various property values within the Application class. This part works fine. The SaveSettings method retreives the property values from the class and attempts to place them back into My.Settings and then execute My.Settings.S ...Show All
SQL Server The target service name could not be found.
Hi : I am creating a queue application using Service broker. I was able to send and receieve messages between 2 databases in the same instance. Now I am trying to communicate b/w 2 different instances. I am getting the following error... The target service name could not be found. Ensure that the service name is specified correctly and/or the routing information has been supplied.. The routing informations is as follows DROP ROUTE SERVERROUTE CREATE ROUTE SERVERROUTE WITH BROKER_INSTANCE = 'D6F1721F-E7A2-4497-8890-FD4C2AAD98FE' , SERVICE_NAME = 'SERVERSERVICE' , ADDRESS = 'TCP://10.23.3.12:602 ...Show All
Software Development for Windows Vista main winxp colors in folder 16x16
Can someone send me the File Folder Icon from Windows Vista I wanna see how it looks in 16bit colors. Send it to windowsdesktopsearch@gmail.com Thanks in advance Michael www.windowsdesktopsearch.com Hello. Can someone from Microsoft please tell me the exact main colors in the Vista File Folder 16x16 icon. Right now it has to many colors cause of gradient, I would like to know the main colors used that the gradient is based on, if possiable thank you in advance. I know a nice method for making 16x16 icon glyphs here are ones from Windows 2000 changed http://www.windowsdesktopsearch.com/screenshot I wanted to do the same thing to ...Show All
SQL Server QueryLog to a file
Hi I am trying to generate a query log to log to a file but the file never gets created. Just to confirm. Is just setting the server parameter Log \ Query Log \ QueryLogFileName sufficient given that the other parameters are at their defaults Thanks Make sure you give your QueryLog file an extention .trc You might need to restart Analysis Server after you change "QueryLogFileName" server property. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual Studio Building Multiple Projects and Code Analysis reports
I use the following to build a number of projects for which I want to run a code analysis, while placing the code analysis report onto a file share: < ItemGroup > < ProjectReferences Include = " $(SlnRoot)\**\*.csproj " /> </ ItemGroup > < Target Name = " BuildAllDebugProjects " > < MSBuild Projects = " @(ProjectReferences) " Targets = " Build " Properties = " Configuration=Debug;RunCodeAnalysis=true;CodeAnalysisLogFile=$(BuildLogDir)\$(ApplicationName)_Code_Analysis.xml " > < Output TaskParameter = " TargetOutp ...Show All
Visual C++ how to stop an application like a messagebox does
hi there! i hope this is the right place for this post. i have the following problem: i am writing an adobe acrobat plugin in c++ with the visual studio.net 2003. i have another application with which i send data per mailslot to my plugin. the plugin displays a messagebox which is to be clicked when data is sent from the other application. if i try to implement the plugin without the messagebox the acrobat hangs because the plugin looks permanently for new data coming through the mailslot. so i used a sleep() command to let it check every second for new data but it happens the same as before without the messagebox, the acrobat hangs. so ...Show All
Software Development for Windows Vista InfoPath and WF
Is there a sample of how to integrate InfoPath with WF As a note, the forms data activities will be removed from WF in Beta2, but you can achieve equivalent functionality using the InvokeMethod / EventSink activities. There is also a sample with similar functionality posted here: http://www.windowsworkflow.net/ControlGallery/ControlDetail.aspx Control=2232&tabindex=4 ...Show All
Windows Forms scroll to a datagrid row?
I have two columns, one is an id column and the other a name column. How do I scroll to a row based on the name matching the text string entered into a textbox ...Show All
