progames25's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. kW X-port for 3ds Max 9 (X file exporter with XNA support)
I have made a preliminary version of the kW X-port plug-in available for Max 9. The full Max 9 download from Autodesk is almost 3 GB and is still going, so I haven't been able to test it yet -- it's just re-compiled with their new SDK. I give it a good 90% chance of working fine, though :-) The version for Max 8 has been tested, of course, and is still available. It might work as far back as Max 6, because they are apparently version compatible from 6 through 8, but I have only tested on 8. kW has some features that might help with XNA usage, such as support for the Max Direct3D9 material with shader parameters; support for mirroring along Z and mirroring the V coordinate ; support for properly exported skinned meshes even if ...Show All
.NET Development button to replace URL
I'm creating a short page that contains a text box and a button. The user enters a url into the tex box. When the user clicks the button, the effect should be the same as clicking on a hyperlink that contains the URL. Now ... I can do all of this, but the response wants to return the contents of the url to my program. I'd like for it to just pass the file as if I clicked on it in a browser. Can someone help Thanks! can't understand ur question completely, Are you just wanna get response conetent in your application or wanna show these contents like web page shown in Web Browser. if you just wanna get response contents of particular URL then use following code. // Creates an HttpWebR ...Show All
SQL Server database mail isn't working in the SQL Agent job notification
Hi, Starting a few weeks ago I stopped receiving notifications when SQL Server Agent Jobs failed. The only error I see from the Error logs is the following: "[ 264] An attempt was made to send an email when no email session has been established " I've followed all of the postings about stoping and restarting the Agent service, confirming that the database mail can send out test emails and making sure that database mail account name matches the actual SMTP account. From my testing, I can successfully send out a test email by right-clicking on "Database Mail" - "Send Test E-Mail." Here's my setup: Active/Passive SQL Server 2005 Cluster. 32 bit SS2005 SP1 installed Database Mail worked for around ...Show All
Smart Device Development Question for Ilya Tumanov
You closed this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=555177&SiteID=1 Let me firstly say that I appreciate your attempts to help by commenting on my threads. Thank you. But could you please consider the effect of closing peoples questions without soliciting their permission first. Browser based applications running on smart devices with a local server should be placed in the smart devices general topic area, and not in asp as you suggest. No-one in the asp forums is likely to join a thread about smart devices. So I think your assertion was wrong. I also think it impolite to close a thread without even asking first. There is more discussion to be had on the capabilities of the pda local web serve ...Show All
.NET Development RedirectStandardOutput in Process class is not working until the process is killed
string instlLocation = @"C:\Program Files\Cisco Systems\VPN Client\vpnclient.exe"; ProcessStartInfo psInfo = new ProcessStartInfo(instlLocation, "connect " + sStoreName); psInfo.RedirectStandardInput = true; psInfo.RedirectStandardOutput = true; psInfo.UseShellExecute = false; psInfo.CreateNoWindow = true; Process process = new Process(); process.StartInfo = psInfo; process.Start(); vin = process.StandardOutput; I am not able to get the output stream with the above code using vin.Read(), until the process is terminated or I kill the process using below code. Any right help will be greatly appreciated. p ...Show All
Visual Studio Express Editions Calling Win32 API from Assembly Code
Hi How do I call a Win32 API from assembly code Basically I have to call kernel32.dll function from my assembly code. Hi Mike, I have got solution. Below is Function that read the current country on system. GetLocaleCountry() { // TODO: Add your control notification handler code here //// Load Library HMODULE hModule = GetModuleHandle("kernel32.dll"); ///// Get Function Address of "GetLocaleInfoA" PVOID FunPtr = GetProcAddress(hModule,"GetLocaleInfoA"); ULONG ulCurrentESP; /// Used to store Current Stack Pointer USHORT usRtn; /// Used to store return from API Call CHAR *strPtr = new CHAR[100]; /// Output Buffer to Store Data DWORD lcid = LOCALE_USER_DEFAU ...Show All
SQL Server Closed conversation endpoints not being purged
We have been having a problem with service broker for quite a while now and searching on these forums and more generally on the web has not yielded any kind of answer... Our application utilises service broker within a single database (there is no cross database, cross instance or cross server communication). There are approximately 12 queues which are used to varying degrees. A few of the queues have a throughput rate in the order of up to 100s per minute at peak periods. In some scenarios we are able to make use of persistent conversations but the majority of messages are sent on their own conversation or in small batches on their own conversation. Some time ago we found that the database was growing in size more than expected d ...Show All
Visual C# MouseHover Error
I dont know why but I keep getting an error on this peace of code using System; using System.Windows.Forms; class Focuses { public static void Main() { Application.Run( new DoesItFocus()); } } class DoesItFocus : Form { public DoesItFocus() { this.MouseHover += new EventHandler( HoverMouseForm ); Console.WriteLine( this.MouseHover ); } void HoverMouseForm( object obj, EventArgs ea ) { Console.WriteLine( "Stop that hehe" ); } } the error that Im getting is.. c:\c-sharp\focus.cs(14,27): error CS0079: The event 'System.Windows.Forms.Control.MouseHover' can only appear on the left hand side of += or -= The thing is that it is already on the left hand side. Now I understand what you wanted with that th ...Show All
SQL Server Freeze Pane functionality during Export to Excel
Hi All, I have created a Report using Sql Server 2005 Reporting Services. When I export the report to excel, I want to freeze the pane of the headers in the exported excel. Any pointers on how to achieve this will greatly help me. Thanks, S Suresh Thanks a lot for your reply. What I want to do is exactly what you said not to put page headers into the excel. My page header has two textboxes, so I do not know if that working. I will try your suggestion tomorrow. Thanks again! ...Show All
Visual C++ A Question with the Form use too many system memory?
I designed a form by using managed C++.The form is size of 1024X768. My troubles is , when I start my program, I find it use 70Mb system memory. But after minimize the form, I find it use 2Mb system memory. Then I maxmize the form. I find it use 10Mb system memory. Why the form is inited using 70Mb What happened How can I solve the problem So it must be something that you do in your code. I see that you have a PictureBox. Any chance that you are loading a buch of images at startup ...Show All
.NET Development build query based on user input criteria (search function)
I have a search form which contains a set of search criteria and a datagridview. the datagridview is populated by entering none or some of or all of these critera and click on "search" button. the search criteria are: name, dob, gender, date_time_registered, active , etc. I am able to build a simple query for each possibility, e.g. only search for one field, or search for all fields, or search for any 2 or these fields. This is rather inefficient. Is there a way to build one query to accommodate all possibilities I tried to do something like this: SELECT * FROM patient WHERE name = AND dob = AND date_time_registered = AND active = assume user only specified two criteria: name and active, I did this in my code ...Show All
SQL Server T-SQL Question
I need to figure out how to write a stored procedure to get the correct daily AAbutter price for sales orders on a particular day. I am pretty confused...but I am just a beginner. First of all, a sales person will input a date (@Date) to obtain a correct daily butter price for that day. This will be the date that the order was received...so it doesn't always mean that it is the current date. They will also put in a customer number as well (@Cust_Num). We have a table that gives historical data for the daily AAButter price with the fields MktDate, Price. The catch is how we deligate the AAButter price to our customers. They are categorized in 3 ways: Daily Pricing, M-F Average, and Thursday-Wednesday Average (with no SATor Sun AAButterPr ...Show All
SQL Server User instances
I have been developing and testing my app for some time without worrying about the question of user instances. Due to the nature of the app, I would want the database to be copied to laptops, where data would be added and then merged back into the "main" DB. To facilitate this, when the (VB) app first installs, it copies the DB files from the data directory to an easily accessible folder which it creates in the C: drive (if they are not already there - to facilitate application upgrades). The code is written and working. However, then I thought about user instances. With User Instance set to True, I suspect that this concept of a DB file created by a user on a given machine being readable by another user with a laptop is li ...Show All
Visual Studio Team System Hung merge possibly causing SQL error 2627
I'm working with Microsoft Visual Studio 2005 Team Explorer Service Pack 1 (KB918525) against Visual Studio Team Foundation Server Service Pack 1 (KB922996) using SQL Server 2005 Standard Service Pack 1. I started a merge from an integration to main line using the Team Explorer's Source Control Explorer GUI. I canceled this merge while still in the wizard. Now when attempting a similar merge (involving the same targets and workspace) from the command line or from the GUI, I receive a dialog with the following error. A database error occurred (SQL error 2627) ---> Violation of PRIMARY KEY constraint 'PK_tbl_PendingMerge'. Cannot insert duplication key in object 'dbo.tbl_PendingMerge'. Using the Team Explorer's Source Control Explorer GUI ...Show All
Visual Studio Modify XML documentation template
If I write /// above i.e. a method I get something like: /// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> Is it possible to modify the template generating this comment lines I.e. on my machine, I'd like to have a tag telling that I'm the creator of the class. So, I'd like the automatically generated documenatation lines to become something like this instead: /// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// <createdBy>Andreas</createdBy> Is this possible In case it is, ho ...Show All
