Software Development Network Logo
  • .NET Development
  • Windows Forms
  • SQL Server
  • Microsoft ISV
  • Visual Basic
  • Visual Studio
  • Smart Devicet
  • Audio and Video
  • Windows Vista
  • VS Team System
  • SharePoint Products
  • IE Development
  • Visual FoxPro
  • Game Technologies
  • Visual C++

Software Development Network >> IamHuM's Q&A profile

IamHuM

Member List

buzzdug
mrboldt
MMS2006
wwwxwww
rykk
ly4587
Zerrin
Matthijs Koopman
Aaron128
DadUnit
Abu Yaman
a9192shark
Kamen
raj.ramesh
Magos294963
megoo80
umuayo
Young K
TedWagner
Scott McKeown
Only Title

IamHuM's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. How to "publish" my own IGameService

    I've read Mitch Walkers article on the IGraphicsDeviceService and I understood it for the most part. Where I'm a little unclear is on the actual mechanics of creating my own GameService. The article says that the Graphics Component "publishes" an interface as a service. Does this mean the GameComponent internally actually creates a concrete instance of IGameDeviceServices and calls Game.AddService Here is an example: Lets say I'm creating a 2D Physics component that relies on an undelying "Physics" object (this object does all the simulation for rigid bodies). I want to allow others to either use my PhysicsComponent or create there own component that would could still interact with any other higher level physic ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Comparison of Techniques?

    Hi. I am new to DirectX and XNA, although I have a programming background in asm, c, and vba. After delving into the DirectX SDK and the XNA docs, I could not easily find an answer to my question, namely a comparison between different ways of doing the same job. My plan is to create a 'tile' based computer game along the lines of the old Avalon Hills board games. This means that it will use hexagonal tiles, terrain, and unit icons. The map will be large and scrollable, as well as enabled with the ability to rapidly zoom the map in and out. Units and terrain will be 2D, with no overlapping into adjacent hexes. The borders of each hex will be visable. As in general programming, there seems to be many ways to go about accomplishin ...Show All

  • SQL Server AS2005 MDX-Question (Grouping while ignoring intermediate level)

    Hi, I'm quite new to MDX and try to solve the following problem: given is a dimension having the following hierarchy: Business Unit A Sales Area 1 Customer X Customer Y Customer Z Sales Area 2 Customer V Customer W Customer X Business Unit B Sales Area 3 ... ... Now I need the sum of each business units' revenues grouped by customers. In the above example the result should look like: Business Unit A Customer V Customer W Customer X (sum of Sales Area 1 and Sales Area 2) Customer Y Customer Z Sales Area 2 Business Unit B Customer ... ... Is this possible with MDX Thanx for any help and kind regards, Gerald Gerald, try this: {GENERATE({[OrgDimName].[HierarchyName].[BusinessUnitLevelN ...Show All

  • Windows Forms fire TextChanged for a ComboBox

    I've been reading the related posts and playing around with my ComboBox and its TextChanged event since this morning,but still stuck. Here is my issue: ------------ Instead of SelectedIndexChanged and SelectedValueChanged, I use TextChanged event to detect the real change of a ComboBox. It cannot be edited, so I set the dropdownstyle as DropDownList. I've checked that the TextChanged has been registered. But when I run the application and select other option from this combobox, this event still cannot be fired. To solve this problem, what else can I check Or do I miss anything ------------ Appreciate your time.Thanks!   nobugz wrote: For that matter, what's wrong wit ...Show All

  • Windows Forms WriteXml

    In a Visual Studio Windows Application Form, I'm trying ot export the data to an Excel file, but I'm getting the message 'WriteXml is a not a member of System'.Windows.Forms.Button... Question 1 - why is it not in the list Question 2 - then how do I export the data Thanks I just try to guess what you want to do sir: I think we can using XML format Excel file, and waht we need to do is save an Excel file to xml format; than we can see how it is bulided, first may be some schema, then style then row by row, so we can write row by row to form that xml file hope it help you ...Show All

  • Windows Forms Activating the [Caps Lock] Balloon

    If you have the password character set for a textbox, and the user presses the Caps Lock key while that textbox has the focus, a notification balloon is automatically displayed, alerting the user that Caps Lock is on. My question is: How to fire that event programatically (ie, Caps Lock is already on when focus is obtained). Is there a message I can send to the textbox The easiest way is to use the ES_PASSWORD flag on a TextBoxs Style property such as this implementation stolen from here : public class PasswordTextBox : TextBox { private const int ES_PASSWORD = 32; public PasswordTextBox() { } protected override CreateParams CreateParams { [SecurityPermission(Secur ...Show All

  • Visual Studio Express Editions problems with Configuration manager

    Sorry for this newbi question. I'm using vbexpress and trying to connect to a database file call 'medical.mdf'. I continue to get the error message'ConnectionStrings is not a member of medical3.ConfigurationManager'. The project name is 'medical3". Will someone please help me with this Thanks can you post some code as well I believe you would have to create the SqlConnection string (or oledbConnection) or read the actual connection string from your app settings if stored just for your reference, a typical SQL Connection string looks like this: trusted connection: "Server=.;Database= yourDatabase ;Trusted_Connection=true;" Authentication: "Server=.;Database =y ...Show All

  • Software Development for Windows Vista Fixed hash algorithm in CertEnroll library

    Hello! The problem is fixed hash algorithm (SHA1) used in CertEnroll library. That's why  we can't create a certificate request using our Cryptographic Provider (CSP), that implements Russian Crypto-algorithms but not SHA1. X509Enrollment.IX509CertificateRequestPkcs10 interface has HashAlgorithm property that is used for signing PKCS#10. But after creating PKCS#10 CertEnroll creates "dummy-certificate" for the "Request" store (like XEnroll does). And it tries to sign this certificate with fixed in CertEnroll::CX509SignatureInformation::SetDefaultValues SHA1. We think that it is more correct to use the same hash algorithm as for signing PKCS#10. And several  comments for "Certificate Enrollment" wizard from "Certificates" snap-in: ...Show All

  • Visual C# Adding reference to project

    Hi, i tried adding a reference with extension 'dll' to my project but this error keeps popping up:This is not a valid assembly or COM component.Only assemblies with extension 'dll' or COM can be referenced. Help will be greatly appreciated! Right, only a COM dll or a .Net assembly can be added to references. Might be you are trying to add some native dll so you are getting that error. You can use dll with DllImport and use function names which you want to call. See Cetin's example! Usre your own name instead of user32.dll and use function name that is avaialble in that dll with correct paramater then you can call that function from anywhere in your code! I hope this will help! Best Regards, ...Show All

  • Visual Basic Trouble w/ MS Direct Speech Recognition

    Hi I created a small windows application w/ speech recognition using MS Direct Speech Recognition (ACTIVELISTENPROJECTLib.dll) It works great on my machine (one that I created the windows application w/ VB.NET 2005) but it doesn't work on any other machine. I added references to the speech recognition and imported namespaces at the "My project" When I run the same application on any other machine, it gives me an error message System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) ---> System.Runtime.InteropServices.COMException (0x80040154): Class not registe ...Show All

  • SQL Server Parametrization of xsd:boolean RDL element

    Hi, I'm trying to parametrize <CanGrow> element of the TextBox. It has xsd:boolean type, so when i assign this element with a simple expression like this: <CanGrow>=Parameters!CanGrow.Value<CanGrow> I get the following error: Deserialization failed: The 'http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:CanGrow' element has an invalid value according to its data type. Line 782, position 59. because resulted XML doesn't satisfy RDL schema. The same expression in <Hidden> element does'n involve the error, because <Hidden> has xsd:string type. Is there any way to have xsd:boolean report element parametrized, but not hardcoded I've ...Show All

  • Visual C# Enum DataBinding (SelectedValue)

    Why is it that the Binding method ....Binding ( propertyname ,bs, datamember .... not working ..... datamember : of type short propertyname: SelectedValue I am using : combox.DataSource= Enum .GetValues( typeof (xxxtype )); where xxxtype is of enum type. Regards Alu Hi , Sorry for the unclear explanation. Guess I may have solved the problem. I found that enumtype.member need to be casted with the type define in the enumeration before binding can be used like this: public enum xxx{ type1 = 1, type2 = 2 } I used a class to wrap around this enum and use a List to keep the object before binding to a combo box. like this : list.add(new classxxx(parm1,parm2....)) The problem is solved b ...Show All

  • Commerce Server Message Manager

    In CS2007, in order to get the MessageManager to work I had to build my resource assembly file as Messages.dll in my bin directory. In CS2002 my resource assembly file was in bin\en-US and was named Messages.resources.dll. My web.config is as follows: <cultures default="en-US" baseName="Messages" assembly="Messages"> <culture id="en-US"/> </cultures> Why isn't Message Manager using the resources dll in the en-US folder as before While we're on the topic, how can I switch languages when browsing the StarterrSite To answer your Starter Site question you will need to login into the site then go to My Account page then select Options . Next ...Show All

  • SQL Server Replication from Sql Server 2000 to Sql Express 2005

    I want to replicate data from sql server 2000 to a sql server express 2005 box. I can dts data across..but I want to be able to set up push replication from the Sql Server 2000 box, but the option to push the data to the Sql Express server in the GUI does not come up only Sql Server 2000 boxes are listed. Initially I will be using Snapshot replication but would like to eventually move on to transactional rep if only I can get it to push the data across. Does anyone know how to acheive this thanks for any help Sammy. Couple problem here... SQL Server Express 2005 can only be used as a subscriber and it cannot server as a publisher or distributor. http://msdn2.microso ...Show All

  • Visual Studio Team System ONLY LOCAL SQL SERVER 2005 ENTERPRISE OR DEVELOPER WILL WORK

    I am failing to create new database project with CTP7. Any attempt to do it results in following error: "An error has occurred while establishing connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)". I already tried everything I found in this post . My environment is as follows: VSTS + DB Dude CTP7, default instance of MS SQL 2000, named local instance of Microsoft SQL Server Standard Edition. I supplied MS SQL instance name for Data Connection and Design-time Validation Database in Tools>Options>Database Tools. I ...Show All

©2008 Software Development Network