Ovidiu Padurean's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Price?
does anyone know how much XNA will cost i mean it can't be free... Q: Can I use the XNA Game Studio Express or XNA Framework to build a commercial Xbox 360 game A: XNA Game Studio Express will enable you to create Windows and now Xbox 360 console games much more easily. These games are limited to non-commercial scenarios for 360 titles created with XNA Game Studio Express. However, XNA Game Studio Express may be used to create commercial games which target Windows. We will be releasing XNA Game Studio Professional next spring which will allow developers to create commercial games for Xbox addition to Windows. The licensing is similar to old Academic Visual Studio licensing models. Obviously by the t ...Show All
Visual C# Go to definition takes me to metadata file instead of source code
Hi, In my solution when I right click an object and click on "Go to definition...", instead of taking me to the source file for that particular class it will take me to the file with "[metadata]" tagged at the end. How can I stop this behavior and have it go to the real file instead Thanks, Yi Let's say I change my file (dll) reference to a Project reference, and I still get the metadata. What's the next problem ...Show All
Commerce Server Adding Extendend Order attributes in Pipeline.
We have extended orderform to have a notes collection, in the creditcard pipeline once a payment is made, we log an entry into the note. How-ever when we run the code, IDictionary Note = new DictionaryClass(); ISimpleList Notes; Object NoteObject; Note[dictionaryNoteSubject] = OrderNoteSubject; Note[dictionaryNoteCreatedBy] = ProgID; Note[dictionaryNoteCreatedDate] = DateTime.Now.ToString(); Note[dictionaryNote] = Response; Note[Constants.orderFormIdProperty] = OrderForm[Constants.orderFormIdProperty]; Note[Constants.orderGroupIdProperty] = OrderForm[Constants.orderGroupIdProperty]; // Check to see if we have any noptes defined. If we don't the value at the // key will be of ...Show All
Commerce Server Retrieve ALL products best practices?
I'm looking for the best way to retrieve all the products in a catalog. Currently, i'm running a CatalogSearch to retrieve all the product Ids and then calling GetProduct for each product Id to get the Product objects. Is there a better way to do this Michael. When you perform the catalog search you can specify the properties you want to be returned in the PropertiestoReturn property. This way you get all the informationyou want in one call ...Show All
Visual Studio Team System Design load test using
I want to design my load test to work like the following: Set load test to include webtest1 and use constant load of 3 load test users. For each load test user, I want webtest1 to create a new site only once (in my application) and 10 users. Then each user will login to this site until the load test finishes. How do I design something like this In order to get a web test to only run a certain number of times, you could databind the web test to a simple datasource and then set the data access method to unique. Unique indicates to run one iteration of the webtest for each row in the datasource. So if the datasource has 3 rows, then only 3 iterations of that test will be executed. You could create a simple csv file with the des ...Show All
Visual C# panel.visiable's problem..I've to double click then it works
// in my webpage I put my controls in a panel , when page load I set panel.visable = false. only when botton_click and then panel.visable=true //my problem is panel doesn't appear when I click once. I've to double click and then panel become visiable.. what's going wrong is my problem concern with "post back " I've no idea... P.S... I write panel.visiable while datareader.read() thanks Hi, JC Do not set the visible value in Page_load event, which is fired every time you click the button. Just set the panel.visible to false at design mode or you can set it in Page_Init event programly instead. Thanks ...Show All
Windows Forms Connection String
I'd like my app. to connect to the DB in the folder that will be in the user's computer when I install it. I don't want to have to change my connection string path everytime I install my app. on a new computer. Using ADO.NET, how do I make my app. to connect to the DB everytime it's run regardless of the app.'s location eg: Dim csWBoard As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:Projects\Whiteboard\WhiteboardDB.mdb" Will the above code work If not, what will I'm not sure if I follow and forgive me if this sounds stupid to you. I tried to follow this walkthrough: ms-help://MS.MSDN.vAug06.en/dv_deploy/html/2527c071-bf97-4f66-8e64-10e9b67a0569.htm but it tal ...Show All
Windows Forms Tabs, combobox, and webbrowser interact(simple question) Viusal C# 2005 express
hey, In my webbrowser program, I need it so thta the Urltext box(URLtextbox) will show the url of the current WebBrowser. So in the tab control's Selecting event I put this: private void tabControl1_Selecting( object sender, TabControlCancelEventArgs e) { WebBrowser thiswebpage = GetCurrentWebBrowser(); this .URLtextbox.Text = e.Url.ToString(); } What I am trying to do in this code is have the textbox show the URL of the webbrowser int he OPEN tab. So I think the Selecting event is what I have to use for this... ... ... But I get an error in this: this .URLtextbox.Text = e.Url.ToString(); It says: 'System.Windows.Forms.TabControlCancelEventArgs' does not contain a definition for 'Url' How do I mak ...Show All
Visual Basic 86 bit and 64 bit Winows operating system
Hi Im developing on windows XP 86 bit. But the program will be runing on a 64 bit operating system. Do we have to compile it in a certain way that it will work on a 64 bit If i compile it on my machine will it work on a 64 bit Thanks in advance :) If you are using VB 2005 - and you are developing on a 64 bit machine (the machine which has VB installed on) then you can select which Processor you want to target - Remember that you can create a 32 bit application which will run on either the intel or amd 64 processors OR you may specifically target the processor. Most 32 bit applications .NET should work just fine on a 64 bit OS. Its just not going to leverage any of the benefits of the 64 bit processor. This is why the def ...Show All
Visual Studio 2008 (Pre-release) accessing Sharepoint 2007 information using WCF?
I know it can be done, but what is the best way to, say, access a list of Documents in a document repository then make them available on a website external to sharepoint Including allowing the end user to download the documents My website that will be accessing the data will not be on the same server as Sharepoint so I cannot use the OM, but I would like to create a WCF app on the Sharepoint Server and use it to gain access to the data. Can this be done easliy About programming with the SharePoint OM, getting documents from Libraries, etc., I've been using SPFileCollection class and then iterating through all the SPFile items it could have. Also, SPListItem to check item columns/properties. About user ...Show All
Visual Studio How to get an application instance defined by the method OnConnection of an Addin towards an VS Application ?
Hi all, I have a problem to get the application instance defined in my addin ex : Public Sub OnConnection( ByVal application As Object , ByVal _ connectMode As ext_ConnectMode, ByVal addInInst As Object , _ ByRef custom As Array) Implements IDTExtensibility2.OnConnection _applicationObject = CType (application, DTE2) _addInInstance = CType (addInInst, AddIn) End Sub I want to get this attribute in an other VS application (ex : Windows Application). In my addin (EVA_CAT) I defined a shared property to get this attribut ex: Shared _applicationObject As DTE2 Public Shared ReadOnly Property AppObjt() As DTE2 Get Return _applicationObject ...Show All
SQL Server Calculations
Hi, I have a cube like that: Account Dimension vs Product Dimension Sell Income | Quantity | Unit Price Computers 210 7 30 Computer A 20 2 10 Computer B 100 5 20 Sell Income = Quantity * Unit Price The cube always aggregate first and after it calculate, because of that the total get wrong, Sell Income of Computers give me $210 and the correct value is $120. I tried put that formula in the dimension custom roll up, in dimension unary operation, in a calculated member but always give me the wrong value. The only solution is create a script command in the cube calculation like this: Scope(leaves(account), leaves(product)) ...Show All
Smart Device Development Saving DataTable new Rows Comming From Other DataTable to the DataBase ?
Hi i have a small question and i hope an answer or it as soon as possible . i have copied the rows of a datatable to another datatable in order to save the other datatable to my database by using the methode DataAdapter1.update(OtherDataTable.GetChange) but i surprised that the new rows have the DataRowState.UnChanged how can i change the DataRowState of them to : DataRowState.Added please help . You can add rows instead of copying them. ...Show All
Visual C# .NET and .NET API from OPC Foundation
I hope that's the right forum for my question. I have to communicate via .NET API from the OPC Foundation with a Siemens OPC Server to get and set data. I want to use OPCDA and C#. Unfortunatly the documentation is poor, I didn't find useful samples or better description. For example I do not know how to get to a server object. I find no documentation about what exactly is url.Path, what for do I need connectData Opc. Factory f = new Opc. Factory ( typeof (Opc.Da. Server ), true ); Opc. URL url = new Opc. URL (); url.Scheme = Opc. UrlScheme .DA; url.HostName = "ATHEAUGW0476" ; url.Path = "OPCDaten" ; f.CreateInstance(url, null ); Does any one know a ressource to get samples, documentation or any h ...Show All
Software Development for Windows Vista What does cfetched=0 mean?
Hi, while (pEnum->Next(1, &pPin, 0 ) == S_OK) what does the 0 for the cfetched argument mean What is the difference if write it like the below ULONG cfetched; while (pEnum->Next(1, &pPin, &cfetched ) == S_OK) pcFetched is useful only when you are getting more than one object at the same time (cPins>1). In this case it returns the actual number of Pins obtained : pcFetched [out] Pointer to a variable that receives the number of pins retrieved. Can be NULL if cPins is 1 . ...Show All
