avaya12's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Maya plugin
I would like to use the Maya plugin with Maya 8. Primarily, I would like to be able to assign FX files with the Hypershade and export to X files. Unfortunately, the December DirectX SDK only comes with Maya 6, 6.5, and 7 plugins. I got the plugin to compile by simply changing all the 7.0s into 8.0s in the project properties, but I get the following error when I attempt to load the plugin: DirectX Extensions for Maya - Error loading DXCC: Incompatable DXCC.DLL was loaded: C:\Program Files\Microsoft DirectX SDK (December 2006)\Utilities\Bin\x86\DXCC.DLL Desired DXCC.DLL is in path: C:\Program Files\Microsoft DirectX SDK (December 2006)\x86\DXCC.DLL DXCC.DLL exists at the 1st path that is mentioned, but not at the 2nd "desire ...Show All
Visual Basic MenuStrip in vb 2005
hi, I am using vb 2005 I have doubt in MenuStrip in vb win form. In my MDI form have 3 main menu items and one of my child form has one menu.. i want to merge that one menu in to MDI form's menu, when i maximize child form. child form's menu must come in 3rd position of the main menu.Then there will be total 4 menu. Then how to merge that single menu in to main menu thanks in advance Deedhun ...Show All
SQL Server case statement using cast
Hi guys, The value in the field ACCOUNTS.ACCOUNTKEY is something like: '3130005' I need to read the characters from position 4 to 6. If the value of that Substring is equal to the VALUE Zero then write "Zero". In the code below, the first "case" is working nice, but the second (red one) is getting ERROR. Please Help. "SELECT ACCOUNTS.ACCOUNTKEY," _ & " Case When SUBSTRING(ACCOUNTS.ACCOUNTKEY, 4, 3)= '000' then 'Zero'" _ & " Case When CAST(SUBSTRING(ACCOUNTS.ACCOUNTKEY, 4, 3) as int) =0 then 'Zero'" _ & " Else 'Unknown'" _ & " End " _ & "AS 'Finding Zero' " Thanks in advance, Aldo. the data in the field is a st ...Show All
Visual C# ComboBox to HtmlElement ??
Hi All, I have an application that is running a WebBrowser control. In my app I have a comboBox that has all the states in it .. Alabama, Alaska, etc. ... I simply want to set the drop down in the webBrowser to the same selected state in my app .. how can I do this... Apparently there is no HtmlElement for drop downs ... I have been trying InnerText to no avail! SetAttribute Maybe thanks, Paul No one Just need to set the selection of a drop down menu in my browserControl .. Can this be done thanks, Paul ...Show All
Software Development for Windows Vista Programming for user "Sleep" operation issues
According to these references http://windowssdk.msdn.microsoft.com/en-us/library/ms700612.aspx http://windowssdk.msdn.microsoft.com/en-us/library/ms700677.aspx Microsoft wants to ensure a more reliable and simple experience wrt Standby and Hibernate and hence Standby and Hibernate are now combined into a single "Sleep" operation. They do not want the user to experience "silent shutdown failures" caused by blocking applications which do not prompt. Microsoft does not want any applications to override the users request, hence the OS will no longer query applications on whether it is OK to go to sleep. Applications are supposed to be notified with BPT_APMSUSPEND and then have 2 seconds to cleanup before going to s ...Show All
Software Development for Windows Vista IIS7: how to properly create virtual directory for images?
Playing with IIS7. Strange problem. I can't create virtual folder for images. http://80.233.142.12/images/VistaUI_001.png Instead of image browser showing me nothing (IE) or image name (FF). But browser loading image! Somehow in last moment IIS adding some HTML stuff to stream and replacing actual image. What I did wrong I've just created a virtual directory and placed some pictures into it. Do I need to do something additionaly!! Directory browsing is enablea as you can see here . IMHO: settings in IIS7 are TOO COMPLICATED to understand by humans!!! ...Show All
SQL Server SSIS loses layout of precedence constraints when saving.
This is more a medium level annoyance than a problem. When I save a package, close it and later re-open it, the precendence constraints end up all over the place making my neatly layed out diagram a shambles. Call me anally retentive if you like (you wont be the first ), but I find this extremely annoying. Does anybody else have this problem Does anyone have a solution The other thing I've noticed is despite not saving the layout - the package is treated as modified (i.e. the save icon enables) if you do move tasks around in the designer - seems a little inconsistant. ...Show All
Visual C++ windows.h not found...
WOW, I can't believe this information isn't easier to find. I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2. NOTHING WORKS! The Directories are not found and there is no apparent way to set them. Apparently users have found a hack to make it work, but this is crazy. It seems like the first Microsoft person to install this would notice that it doesn't work and would raise the flag to the appropriate people so they can take the steps to fix it for their users. Or at least document it on the very first page where it is downloaded, or the very first page of the documentation. A user shouldn't have to hit forums to find out how to make a product ...Show All
SQL Server Delayed Send
Hi My application sends notifications by creating a once-off subcription, then raising an event in Notification Services. This causes the notification to be issued immediately. I want to be able to create a notification that is not sent until some time in the future. I'm not sure if I should be looking at ScheduledRules or EventRules. Has anyone done anything similar Thanks Robert. Event driven rules produce notifications as events come into the notification application. Scheduled rules create notifications according to the schedule defined in the subscription. Take a look at the ScheduleRecurrence and ScheduleStart properties of the Subscription class. HTH... Joe ...Show All
.NET Development Performance in DotNet remoting
Hi, Application: We have developed a DotNet Remoting application which acts as a server to Calculate analytics. This server takes inputs from different client applications and respond with the analytics. This server is run on a "Single-call" mode so that each request is created independently for scalability. In some scenarios the requests from the client are sent parallely using different threads to speed up the process. Also, this remoting server uses some third party libraries for calculations which takes a longer time to compute the analytics and these libraries do not support multi-threading. Problem Statement: - Keeping number of users and different requests, Request / Response volume is very high. There are case ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Scorched Tanks for Windows (and 360)
Hey, Continuing my habit of starting more games/projects than I can ever hope to finish, I decided on Thursday I'd write my own version of Scorched Tanks in XNA. What I've got so far is by no means close to being a game, yet, you could probably "play" around with it for 5 minutes or so, so call it what you will. It's working on 360 and Windows (without code changes of course) which is good news. What I've zipped is really just a work in progress for people to play around with and ask any questions (should there be any). The code is, as with all works in progress, fairly atrocious, so I'll keep it to myself for a bit but if by a miracle I've done something and you want to know how I'll happily tidy up the relevant bits and post it. ...Show All
Visual Basic user control doesn't appear in toolbox
Hi guys, I have a problem related to VS user controls and toolbox. i have 2 projects, one is where I define a usercontrol and the in other one I have a windows form where I want to place the userControl defined in the other project. Unfortunatelly, after adding the other project as reference, the UserControl defined there does not apear in toolbox :(. I should mention the the projects are in diffrent folders, if this helps you, and that if I make another project/solution and replicate the situation things go smoothly, as expected. So it may be a solution/project problem, have I messed some settings Is anything I should check Greetings Ciprian Hi Spidermans_DarkSide I ...Show All
Visual Studio Express Editions i have a problem regarding database and textbox
i have a problem regarding database and textbox!!! the textbox should be bound to the database(like in tutorials) that we can see the items in the textbox and also to navigate in firstitem to lastitem.... in my code below only the 1st row is shown when i navigate using navigator... it's not working, but you can see the number of items here's my code.. Private Sub Form4_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim asa As New OleDb.OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Administrator\Desktop\testing.mdb;User Id=admin;Password=;" ) Dim asaness As New OleDb.OleDbCommand( "Select user from login ...Show All
Windows Forms How to create Arrow Line Control?
Hi, all. If you ever used visio, you have seen the arrow link. You can put arrow link between two text boxes or image boxes. I want to create the arrow as a custom control so user can select arrow on the form and can drag it/link between two picture boxes. Does any one knows about this Any info will help! Thank you. I want Arrow line control which exactly works like the on on the Visio or Powerpoint.. Since it's a control, User should be able to click it. It's like a Line control in VB6. However it's missing in .NET! ...Show All
.NET Development how to check if ExecuteScalar returns null (datetime) value?
Here's what I want to do ( please pardon the formatting ) public static DateTime CustomerLastCallbackDate(string custID) { if (custID != null) { string sql = "SELECT LastCallbackDate" + " FROM Customer" + " Where CustID = @CustID" ; SqlCommand cmd = new SqlCommand(sql, dbSession.CN); cmd.Parameters.Add("@CustID", SqlDbType.VarChar).Value = custID; dbSession.CN.Open(); object result = cmd.ExecuteScalar(); dbSession.CN.Close(); if (result == null ) { return DateTime.MinValue; } else { return (DateTime)result; } }} My problem is that if the value from the database is null, the check for "result == null" doesn't work right ( I don't know why ) and processing goes to the retu ...Show All
