JeffRusso's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Using .X files
I am using C#. Could someone show me a code sample on how to render my .X models in my DirectX world Thanks. Use the Mesh.FromFile method. For more information about DirectX programming, I recommend "Managed DirectX 9 Kick Start" by Tom Miller: http://www.amazon.com/exec/obidos/ASIN/0672325969/qid=1122536227/sr=2-2/ref=pd_bbs_b_ur_2_2/103-5080069-1649448 ...Show All
Visual Basic Scan using TWAIN
Is there any actvex control to scan / acquire images in Vb.Net Previousy I was using the Kodak Image tools. Now it is not wit VB.net Here is an example ...Show All
Windows Forms How to sort a simple bound column in a DataGridView?
Hi folks. i have a new DataGridView in a simple windows form. I've set the DataSource property to my ArrayList or List<> instance. The content of the collection is a struct i made which has some exposed public strings or longs. The data does show up correctly in the DGV btw. When ever i try to click on the column headers nothing happens! i can move the columns left or right, but i just can't sort the columns. Secondly, there is not 'direction' glyph either. Is there a special way to sort a DGV column each columntype are all DataGridViewTextBoxColumn types. SortMode for each column type is set to 'automatic'. Please help :) ...Show All
Windows Forms Hepl : Image in Label
Hi, I have problem with label. I have added image (animation gif) to label. It's good. But image larger label and i do not want resize label and form. I want have scroll in label. Can i do it or use other control ! If you know, please tell me. Thank so much. I think you need to use another control. Labels doesn't support AutoScrolling which is the one you've described. A Panel with a PictureBox inside would be the one you might be looking for; then add a Label control, position it inside the Panel and set the Parent of your Label equal to the PictureBox on run-time to handle transparency issue ...Show All
Windows Forms ChildForm Scrollbars???????????
I have seached the forums and other sites, but still do not quite understand the scrollbars on childforms. I have a Parent MDI with childform. The parent MDI is set a maximum. When I open a bunch of childforms inside the parent MDI and tile them vertically or horizontally I do not get the scrollbars for the childform and so I cannot see that half of the form in each childform. I have autoscroll set to true on the childforms. Can anyone enlighten me what I am doing wrong or the proper procedure on getting the autoscrollbars on the child forms when they get smaller than the viewable area Thanks. all you should have to do is ...Show All
SQL Server Decimal vs currency....
It seems that the "decimal" type allows more flexibility but also uses more storage than "money". On the other hand, does "money" have any special t-sql functions that understand its unquie nature (e.g. adding two money values together with no cents round-off error). For example, would the number 12345.12 be declared as a decimal(7,2) or currency Barkingdog There aren't any special functions that explicitly recognize a monetary data type. How you declare it really depends upon what you are storing in there. If I'm storing pricing or something else that is in monet ...Show All
Visual Studio Express Editions Urgent: SQL Server & SQL Express
Ok, so I downloaded the new ASP.NET and new C# etc. I already have SQL Server 2000, do I have to download SQL Express Can SQL Server 2000 and SQL Express co-exist Before downloading SQL Express do I need to completely uninstall SQL Server 2000 Thanks in advance. I would expect it to work the same as MSDE, namely when I need to develop for MSDE, I install a named instance, and the instance at <machinename> is SQL Server 2000. ...Show All
Visual Studio Computer Shuts down on Install
Hi, I'm trying to install vs2005 - default install - from Disc 3073 Enu MSDN TE for Softw Dev. This is on a clean machine (formatted HDD + XP PRO + SP2). Every time the computer shuts down (in fact 'turns off' without warning) at about the same point during installation (near the end of vs2005). I have rebuilt this computer (Acer TM636LCI) from scratch 3 times now (twice enu, once dutch) but it keeps on failing. Please advice! Getting a bit desperate TIA, Michael Problem solved: http://blogs.msdn.com/astebner/archive/2006/03/17/554248.aspx Document Explore ...Show All
Visual Studio 2008 (Pre-release) Querying protection capabilities on the server?
In my service host I have two endpoints for the same contract: a secured one and an unsecured one. Clients may connect to either. However there will be server side configuration for the clients that specifies whether a client should use a secured or unsecured connection. Hence I need some simple negotiation to check which endpoint the client came in on and tell it to reconnect to an alternate endpoint if necessary if it used the wrong one. To do this I need a way in the contract implementation to perform this binding inspection. I have figured out how to perform an address comparison, but I would rather not. I would like to keep the endpoint ...Show All
.NET Development Create an Access DB from VB Code
Hi all, I want to ask the following thing: how can I create MS ACCESS database and few tables programaticaly, let say - by clicking a button Can It be done by execution of stored procedure from the button's code I thougt about that, but I don't know how exactly to do it... THANK YOU! :> There is a discussion of the steps to follow on this page: HOW TO: Create a Microsoft Access Database Using ADOX and Visual Basic .NET ...Show All
Software Development for Windows Vista Soundmax Audio Driver and Windows Longhorn Beta 1
Hi, I have Soundmax driver installed on Windows Longhorn OS. When I use the sound recorder that comes with the OS (in the Startup->Entertainment section) and record through a microphone, my recording is okay. But if I use Wave out Mix as input pin and try recording from Windows Media Player to the Sound recorder that comes with the OS, it does not record. It changes my setting to microphone when I start recording automatically. Also another difference I noticed between Windows Xp and Windows Vista is that mixer device option in the Volume Control of Windows Xp shows SoundMax Digital Audio and with Windows Vista it shows " ...Show All
Windows Forms Pop up notification
Hi, I am wondering if there is any way to call a pop up notification window (not MessageBox) with a message. Preferably the pop up you get when somebody signs onto MSN Messenger. If there is no such way to call it, could anybody tell me how to create it Did you add the System.Runtime.InteropServices to your class ...Show All
Visual C++ Trouble with Speech SDK 5.1 and Visual Studio 2005
Hi I updated my version of Vs 2003 to Vs 2005 Pro . My project was sucessfully compilated and linked in 2003 , but i seem to have trouble with SpHelper.h. ( Speech API) Error 18 error C2065: 'psz' : undeclared identifier F:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h 2373 Error 38 error C2065: 'psz' : undeclared identifier F:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h 2373 Error 70 error C2065: 'psz' : undeclared identifier F:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h 2373 Error 7 error C4430: missing type spe ...Show All
Visual Basic Access or SQL Which one is better
Hi I'm wondering, which one would be better, i'm creating 2 medical programs, that are going to be running on a local machine, I Use visual Basic 2005 express and don't know if I should develop with access or SQL 2005 express. Which one is better and faster Any suggestions or comments will come in handy. PS. Future versions might have network connections, like for a secretary or interoffice connections. So should i work on access or SQL express OK - I never use the adapters, so I can't really comment on this code, or how fast it may or may not be. I would always write stored procs for all SQL op ...Show All
Visual Basic Single Quote problem in Insert Query.
I have a Form where a user is supposed to enter following information: Zone Number and Zone Name. I am using following Insert Query to insert the record in the Oracle Database: qCommit = "Insert into Zones Values(" & Val(txtNewZoneNo.Text) & ",' " & txtNewZoneName.Text & " ' )" This query is execute using "ExecuteNonQuery()" method. The Form uses Hindi Language Fonts to enter the information. One of the Hindi Character is displayed with the ' character on English Keyboard. Now here comes the problem. As the user types the Zone Name in the Text Box and requires that Hindi Character which ...Show All
