snowmt's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Intel(R) 82815 Graphics Controller and transparency problems
Hi It looks like the gfx card doesn't support alpha. But DirectX should attempt to emulate this in software. You can see more info here (with screenshots) http://www.flatredball.com/frb/forum/viewtopic.php t=783 Is anyone know where is problem with DirectX on this GFX card Kind regards from Poland Mateusz Kierepka No, Direct3D doesn't try to emulate raster level operations in software. It would be far too slow. However, it should be possible to achieve the effect you're trying to get, simple alpha blended sprites, without using destination alpha. A lot of professional developers consider embedded Intel graphics unacceptable for games, but a number of games, mostly ones at aimed at a wide audience, do support it ...Show All
SQL Server Showing different counts for the same dimension?
Hello, For the life of me I can't figure out the best way to do this. I have 2 fact tables, hosehold and account where several accounts roll into 1 household. Each fact table has several dimensions attached to it on of which is the "core" dimension. The "core" dimension indicates if a household or account is "core" based on several business rules. I need to be able to show counts of "core" households and ALL of their associated accounts and also "core" households and their associated "core" accounts ONLY. What's the best way to set this up THANKS! Hard to say what's happening, without looking at your actual cube. But could you confirm h ...Show All
SQL Server DROP USER
Hi, I’m having problems dropping a user this is my code: Public Function DropUser() As Boolean Dim conn As New ServerConnection( "STATION01\SQLEXPRESS" , wContainer.Username, wContainer.Password) Dim myServer As New Server(conn) Dim myDatabase As Database = myServer.Databases( "VideoDB" ) If myServer.Logins.Contains(“username”) Then Dim db_user As New User(myDatabase, “username”) db_user.Login = “username” db_user.Drop() Dim db_login As New Login(myServer, “username”) db_login.Drop() Return True Else Return False End If End Function ...Show All
Visual C++ Returning the memory allocated for a pointer
Hi! I would like to ask if there is a function (or some way) to return the memory allocated for a pointer. Example: char *s = new char[69]; cout << DesiredFunction(s); //I would like this to print 69 Thank you in advance. " But I'm assuming that at the time of the printf, he doesn't know the size." <- Correct (except if declare a second #define in the file printf is, which i dont want)!! " why not create a class that encapsulates the memory along with its size" <- I just did that. Seems to be a better way of doing that. A bit complicated though for a simple thing like this, but anyway thx a lot for helping! ...Show All
.NET Development SQL2005 & VB.NET 2005
hi i have a question,i can connect to a sql server 2005 database and get results but when i want to insert records to my database,i dont get an error but it doesnt update!!! Dim conn As New OleDbConnection( "Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=mylibrary;Data Source=IBRAHIM-6740DDE\SQLEXPRESS;" ) Dim ds As New DataSet Try conn.Open() Dim com As New OleDbCommand( "INSERT INTO bolumler(adi,altbolumadi,kayittarihi) VALUES ('" + TextBox2.Text + "','" + TextBox3.Text + "','" + DateTimePicker1.Text + "')" , conn) conn.Close() Catch ex As OleDbException MessageBox.Show(ex.Message) Catch j ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do i make buttons for a mainmenu
Im making a main menu for my game and i was wondering if there is a special way to add buttons to it plz help:) You will need to implement them yourself or find an implementation that is available from the community. We are planning on adding a presentation system to the framework in a future release. We're also investigating a sample that would show how to do some basic UI controls. ...Show All
Visual Studio Express Editions Can't find System.Data.SqlClient
I'm trying to add a call to SqlConnection which gives me the error "The type or namespace name 'SqlConnection' could not be found (are you missing a using directive or an assembly reference". I tried to add a reference to System.Data.SqlClient to fix this but it's not listed in the add reference dialog box. I see System.Data, System.Data.OracleClient, System.Data.SqlXml, but not SqlClient. Any ideas how to fix this I tried reinstalling Sql Server Express (the 50MB version, not the 234MB version). More Details: I installed MS Visual Web Developer Express before I installed MS Visual C# Express on this machine. thanks, Jeff SqlConnection is declared in System.Data.SqlClient namespace in the System.Data.dll http:// ...Show All
Visual Studio Team System Work Item custom field's value update
Hi I'm customizing the process template to add some fields to work item type definitaion. So, in the Bug Work Item Type xml file i edited to add a field Release#. Now, this release number should be a dropdown with the values getting of the release # drop down getting updated quite frequently. I couldn't find an easy way how to add the release# values. All i could understand is that everytime i need to add a value to this dropdown, I need to download the Process Template, then edit the Bug.xml file to add the 'AllowedValues' tag and then upload the process template. Is there an easy way to this situation Here is an article on how to do it: http://blogs.msdn.com/team_foundation/archive/2005/05/06/415268.as ...Show All
Visual Studio 2008 (Pre-release) OR-Mapping (DLinq_Overview_for_CSharp_Developers 7.1.1)
Hi, I have a Question about the Mapping how is descriped in 7.1.1 in the DLinq_Overview... Document. I made a class for the Mapping to a DB that looks so: [Table] [InheritanceMapping(Code = "I", Type = typeof(ICQ))] [InheritanceMapping(Code = "P", Type = typeof(Person), IsDefault=true)] public class Person { [Column(IsDiscriminator = true)] public string DiscKey; [Column(Id=true, AutoGen=true)] public int PID; [Column] public string Name; [Column] public string Vorname; } public class ICQ : Person { [Column] public string ICQNummer; [Column] public string ICQNick; } public class DB_test1 : DataContext { public Table<Person> Person; publ ...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
Visual FoxPro System time - synchronizing, displaying
Hi experts. Does anybody know how to get the real time from internet. I want to have the real updated time in my application. Second task is to changing the system time. How can I do that Third task is how to display time in form for example in textbox. I know the way with timer but if there is any other way I will be glad to know it. But the consequence is in the order I have written. Mainly the getting real time from internet. Thanks According to wikipedia, Pacific Time observes daylight saving in the same way as Central European Time so as the transitions are the same then the offset will always be the same. Winter: Pacific is UTC - 8, CET is UTC + 1 -- offset of 9 hours Summer: Pacific i ...Show All
Software Development for Windows Vista Privacy Policy Schema
So, I noticed that the privacy policy is an xml file extension or was it jus a dud Does anyone know the schema for that I love William. This guy's eyes are always open. I will find out what is supposed to be in there. I did that SOOOOO long ago, I really don't remember. g Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation blog: http://blogs.msdn.com/garretts ...Show All
Visual Basic Adding Controls Dynamically
Hello, I am going to try and explain this to the best of my ability. Within a form I am going to be using probably (open to suggestions) a TableLayoutPanel to split the header section and the diffrent controls. The unquie part about it is, whenever the header is clicked another whole header and the diffrent controls are added. So for example this is what it looks like when the form initially loads: -------------------------------------------------------------------------- Header - Header - Header - Header - Header - Header - Header -------------------------------------------------------------------------- 26 Controls within a panel -------------------------------------------------------------------------- After the form is loaded an ...Show All
Community Chat Free Online Visual Basic 2005 book
I have recently made my book free, sponsored by AdSense of course. The book is designed for non-programmers. After many hours of tweaking javascript I have finally completed most of the design of the page, so that it works with google and also so that there are no frames. If anyone would like to help with the book, ie: make it better, then feel free to contact me here or at the site. You can find the book link in my signature... nowhereman1960 wrote: Is it posible to read it off line Well, I suppose you could print it ...Show All
Microsoft ISV Community Center Forums iexplore.exe - Application Error
I get the following error message when I close my internet explorer. The instruction at "0x62304320" referenced memory at "0x62304320", The memory could not be "read". Click on OK to terminate that program. Any ideas what is causing this Hello i would like to know how to fix this problem on my computer. If there is away please let me know so i can fix it. Tracyb ...Show All
