Deefken's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Sprites drawing problem
Hi, I'm having a problem while drawing sprites with D3DXSprite->Draw(). The images are drawed diferently from the original image. It's seems to be kind of blured. I'm using fullscreen (set to 1024x768), and the image size is 1024x1024 (I'm only displaying part of the image (1024x200). Another thing. I'm drawing some text with DrawText() and the text seems also to be blured. Any ideas Ty Sounds like you are seeing aliasing problem based on scaling your image. That's not unexpected. You can see something similar with the bug in the "Simple 2D" sample in the SDK. ...Show All
.NET Development Guideline for Connectivity Question Posting
This was originally posted on http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=362498&SiteID=1 . In order to better assist troubleshooting connectivity related issue, the more specific the problem you describe, the faster we can help you out. Please take a few minutes to answer the following questions and post the answers as much as possible along with your specific repro steps. http://blogs.msdn.com/sql_protocols/ may already have your question answered. Check it out. [1] Client side: What is the connection string in you app (please specify) If client fails to connect, what is the client error messages (please specify) Is the client remote or local to the SQL ...Show All
Windows Forms Can't change DataGridView from an inherited Form
I have a Parent form with some controls common for many forms im going to create. One of this controls a DataGridView. The problem is i cannot make changes to anything related to the datagridview, cant change it's properties nor its events through the designer. In fact, when i clic on it it has a little grey lock on the top left corner, but i don;t know what it means. I have set it's accesible level to protected and public and it doesnt work, have tried remaking it also. Can anyone help me EDIT: i cannot make the changes from the child forms Nevermind about this, i found out that my problem is actually a "feature" of Visual Studio 2005... for reference about this problem u can read on this blog: ...Show All
SQL Server Report Builder - Data Model(Security)
Hi all I have created security roles that restrict access to a certain Dimension and a member therein. The security works fine when the users finened in it runs a report: The data is accordingley ristricted. The problem is when those same users run Report Builder and create a report, those members are no longer restricted and they have acces to absoluteley all data from the cubes. Is there some way that I can force the Data Model to follow the cube's security roles Any help is much appreciated... Gerhard Davids EDIT: I have found that it uses the wrong user when opening report builder. For some reason it uses my windows account instead of the one I used to log onto report manager. This is way the security isnt working ...Show All
.NET Development There is already an open DataReader associated with this Command which must be closed first.
I have a rather large ASP-NET-2.0 project that I've been developing for some time. I'm using System.Data.Common classes for all of my data access, and SQL-2005 as my provider. Up to and including Beta-2, everything was working just fine and dandy. Then, with the release of RC1, I suddenly started to get the following error:: There is already an open DataReader associated with this Command which must be closed first. This totally threw me, but I dutifuly started to trace all of my connections & readers to make sure I was closing & disposing of them properly, and all appears to be correct. After a bunch of tedious and very time-consuming debugging, I've come to the conclusion that from RC1 onwards, the framework is not correctly ...Show All
Visual Studio Team System VS crashes when trying to change database connection in a SQL Project after installing datadude
As the subject says, since installing data dude CTP 6 and still the same after CTP 7 when I try and change the connection string on the properties on a SQL project VS crashes. Multiple crahses have been submitted. I have tried reinstalling VS team suite but no luck. Any pointers or should I raise a bug in connect. Simon, Can you please describe the steps you are doing before observing the crash, starting from opening the VS instance. Does it also happen on the empty project. Which connection string you are changing. "Target Connection:" What was the value before. - Sachin Kumar (MSFT) ...Show All
Windows Forms Related Question
I played with this a little myself. In VS2005 the ability to have two message loops on two seperate threads is no longer available "out of the box". There probably weren't many folks who needed this -- and that's your primary issue here. I'd run the two windows in two seperate processes. Interprocess communication used to be horribly difficult but in .net it's pretty easy and really fast too. Of course you'll need two instances of the IDE to debug it but it sounds like you are already setup for that. As dual monitor systems are becoming extremely common do we get better support in Vista or .net 3.0 I love my dual monitors... But they can be really irritating. Every morning I have to reset screen settings because XP can ...Show All
SQL Server SQL 2005 Mirroring with Sharepoint 2007
Hi, iam from Mexico, somebody has installed SQL 2005 with mirroring and sharepoint 2007 regards. thanks See... that is already known to do that. The issue would be having it automatically after the db is mirrored to switch the SharePoint stuff. With this there is still a manual process behind it, correct ...Show All
Windows Forms Control values do not refresh
I have 2 projects: Project 1: A strongly typed dataset with a table etc. I have some code in the ColumnChanged event that looks like this: Select Case e.Column.ColumnName Case Me.columnDISCOUNT.ColumnName Dim r As REQUEST_LINERow = CType(e.Row, REQUEST_LINERow) r.UNIT_COST = r.LINE_PRICE * r.DISCOUNT End Select Project 2: A windows form that has the above dataset placed on it, a BindingSource (bound to the dataset) and several textboxes (bound to the BindingSource). When the user changes the discount text box (by tying a new value). I would expect the Unit Cost text box to update with the newly calculated value as a result of the ColumnChanged event. However the new value does not appear. The new value howev ...Show All
SQL Server Still Getting computername\Guest error
Thanks for the responses but I'm still getting this error. computername\Guest. Simple Filesharing is OFF on the xp server maching. My lap, where I wrote the app i'm using that connects to the server works OK..I connect after intering the computername\sqlexpress, dbname, username and password. But on another laptop I'm still getting error that shows computername\Guest. I can't figure it out. the only difference I see in the user accounts on both laptops is that under "manage network password" mine show only one entry "passport.net" where the other laptop(where I'm having trouble connecting) show two entries 1.email account and 2 passprot.net. I'm using sqlserver and windows authentication. ...Show All
Visual C# Is there anything equavilant to this in c#.net??
this is a vb.net code help me to convert string to hex... Microsoft.VisualBasic. Right ("00" & Hex(b(i)), 2) is there any method or class or anything give me the same result of this in c#.net ... help me please.. thanks in advance ublic string ArabicHex( byte [] b) { string temp,s="",h; int i; for (i=b.GetUpperBound(0);i > -1;i--) { temp= b .ToString("x2"); h = temp.Substring(temp.Length-2).ToUpper(); s=s+h; } return s; } somethig like this right but this always returns the string in reverse order in two ways ... the first by reversing the words ... and the second by reversing the chara ...Show All
Internet Explorer Development Can I post to a URL without navigating using IWebBrowser2 ?
Hi, What I am trying to do is this. As and when a user goes to a new site in IE, I just want to post some of the data from the page to a server without any response from it so that the user can continue what he is doing. I have written almost everything......as a BHO in which I have the handle to IWebBrowser2. I tried using Navigate() but it seems to "navigate" to the url even though there is no response. And this becomes an infinite post-back to server. I am wondering whether from my current page I could post the data without navigating to the url using IWebBrowser2 control. I need this urgently. So kindly give me some ideas (code snippets would be useful too) Thanks, Andy ...Show All
Visual Studio Team System Setting a Value Based on Multiple Fields in a Bug Work Item
I have 2 drop down fields in my bug work item that I want to use to determine the value of a 3rd (read-only) field. Is there any way to do this I know I can set the value of 1 field based on another, but there doesn't seem to be any way to use the value of 2 fields to set a 3rd. For example, I have a bug defect level (catastrophic | critical | marginal ....) and a bug probability level (frequent | probable | occasional ....). I want to use those two fields to set the priority of the bug. So if defect = catastrophic and probability = frequent, then priority should be automatically set to immediate. Thanks, Karen The only way I think it can be done is with eventing service in WorkItemChanged and ...Show All
Visual C# Object not set to instance of an object
I want my form to be binded to theses properties of my object but i get that exception....Can somone help me out...I call this function in my form load and when the form loads is when i get the exception I dont thinkg i am missing any thing i have my object reference declared at a global level..... public void LoadFormToData() { try { Customers.CustomerCode = txtCustomerCode.Text; Customers.Attention = txtAttention.Text; Customers.Class = ( string )cboClass.SelectedItem; Customers.LoadType = ( string )cboLoadType.SelectedItem; Customers.VehicleType = ( string )cboVehicleType.SelectedItem; Customers.TermNumber = ( int )cboTerm.SelectedItem; Customers.Status = ( int )cboStatus.SelectedItem; Customers.Commodit ...Show All
Visual Studio Express Editions Microsoft Forms 2.0 ComboBox
How i can use Microsoft Forms 2.0 controls like combox in vb 6 i fill combobox with list. how i fill it in vb.net 2005 In VB6 Me.CboCust.List=MyCustArray In VB.Net Me.CboCust.Set_List( , , ) What is the syntax of Set_List() Microsoft forms 2.0 and 2,0 controls are not compatible with .NET! To add a range of items to a .NET combobox: Me . ComboBox1 . Items . AddRange ( MyArray ) where "myArray" is your declared array of items ...Show All
