gogson's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Question on ID3DXEffect::SetArrayRange
Hi, I'm currently adding shader instancing to our engine. After I changed the single world matrix in the effect file to a matrix array, I noticed a heavy performance drop. The fps went down by almost 30%. After some investigation I found that the fps changes with the size of the matrix array, so the effect framework seems to always copy all elements of the array, not only those that were actually set. I then wanted to optimize this using the ID3 ...Show All
Windows Forms Application::DoEvents does nothing?
after already posting about Application::Exit apparently doing nothing, i now discover another member of the Application class doing nothing! ive made a short program that copies a bunch of files from one location to another, with a window showing the current ...Show All
Windows Forms Computer reset after running setup
Hi I'm using vs2005. With a publish tool I have created a setup files. When I'm trying to run setup file i can only see popup window giving me the choice [Install|Dont install] - when I press 'Install' I got computer reset :( Why is this happening What I did wrong :) In a publish tool I also got warnings according to publishing crystal reports resources Ex.: 'Warning 3 Unable to apply publish properties ...Show All
Visual Studio Tools for Office adding a table of content in a word document using c#.net
Hi, i want to develop a console application in c#.net which will take one word document as input and give one more word document as output which will be having the table of content in the third page of the document,if there is table of content already it will be deleted. thanks, soumya Actually, the VSTO forum probably isn't the best place to pursue this, either, but... I'm assuming you alre ...Show All
Visual C# Application running in system tray sending keystrokes
Hello, I would like to make a device that will control a couple audio apps that I use. I'm using the parallel port to do this and I've already got parallel port output and input down pat, but now I have a new problem. I was planning on writing a little app that would constantly poll the parallel port and send different keystrokes depending on what button was pressed. My question is this: Is Will the application still poll and send the keystrokes ...Show All
.NET Development .NET 2.0 Framework overriding .NET 1.1 Framework for apps written for .NET 1.1
Hello It appears when the CLR is loaded it always loads the latest version of the framework, since it makes it so hard for me to debug COM+ applications written in .NET 1.1 with 2.0 installed side-by-side. How can I have it run the 1.1 CLR instead of the 2.0 CLR. Is this even possible Will I be force to uninstall the .NET 2.0 Framework The application is not in a position at this time to be rework to fit the .NET 2.0 Framework. Thanks for your h ...Show All
Visual Basic Hide to Systray + Prevent Multiple instance.
Dear All, I've written an application that can hide in systray, but I want to prevent multiple instance of the app. so I used the following codes : Somewhere in class: Declare Function OpenIcon Lib "user32" (ByVal hWnd As Long) As Long Declare Function SetForegroundWindow Lib "user32" (ByVal hWnd As Long) As Long In Form Load: Dim ps As Process() = Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurrentProcess.P ...Show All
Visual Studio Team System Urgent: Beta3 to Beta3 Refresh Backup and Restore Help
We had Beta 3. In the upgrade to Beta 3 Refresh we had some problems. We rebuilt the server after backing up all SQL databases. We now have Beta 3 Refresh on the single-server server - completely rebuilt. We are about to do a restore of the database when we thought the database structure may have changed between the two versions or the stored procedures or whatever might have changed. What process should we follow to restore our d ...Show All
Visual Basic message for main menu bar
When I move mouse over the main menubar, couldn't got WM_DRAWITEM in windows 98 se, so no ODS_HOTLIGHT in itemState. In windows XP/2000, I got it. (I create my owner-draw menu with visual basic 6 + sp6) But Microsoft said the OS(windows 98/Me) could send it! Thanks. I solve it: use WM_NCHITTEST, WM_NCMOUSEMOVE, so just like Office2000 on windows 98. ...Show All
SQL Server isNumeric() - it can not be right?
hi, i am migrating data from a legacy system with a not nice front-end. as a result, i have all sorts of garbage stored on the tables. i am trying to convert values from varchar(12) to float, but i have an error during selecting data that says that data can not be converted eventhough i am using the ISNUMERIC() function to ...Show All
SQL Server Event notification and Service Broker
Hello, I read in one thread that Event notification can use Service Broker for delivery. How Service broker can be used in Event Notification for delivery of notifications any further links or related article Thanks in advance dipz Hi - The two technologies share some of the same terminology, and from a very high level they share a bit of the same functionality, but they are designed to solve diff ...Show All
Visual Studio Create a diagram by using custom code
Hi all, I am trying to create a diagram by using some custom code but facing some problems. Not sure if I am on the right way. I am first trying to create a "store" (Microsoft.VisualStudio.Modeling.Store). after that I am trying to create a new diagram ans suply it the new (empty) store by using code that looks like this: ServiceDescriptionDiagram diagram = ServiceDescriptionDiagram.CreateServi ...Show All
Windows Forms posted this once and no replies... PLEASE HELP!
Howdy everybody! I was wondering, is it at all possible, to create a Windows Application, install it on two different computers, and using an IP address connect the two computers over the internet, and have one of them save an XML file o ...Show All
Visual Studio Team System Adaptive Object Modelling
Hey, Is there any person who know or use the "adaptive object modelling" in his/her project. http://www.joeyoder.com/Research/metadata/OOPSLA2000/poster.htm I think it would be good discuss Hey, Yeah AOM is slow and poor performance. I have developed my project with aom. I could never release it with this performance. Then I have changed my structure. I started to use oodbms instead of using rdbms(mysql, mssql..). Now my project i ...Show All
Visual Basic vb.net singel instance mdi child func
i heard there is a way builtin in vb.net that alwas me to control how many instance i can have of a singel mdi child (like i can have only one mdi child of a parcticl form) You can create a singleton instance of any object... Public Module Main Private mdiCHildForm as Form2 Public Function GetmdiChild()as Form2 If IsNothing(mdiCHildForm) then mdiCHildForm = New Form2 return mdiChildForm els ...Show All
