UFAnders's Q&A profile
Visual Studio Team System Is it possible to install the Trial version and they "upgrade" it to a "real" version later?
I am currently running the RC version of TFS. Is it possible for me to install the Trial RTM version and later on when I have bought a real license upgrade it a "real" version ...Show All
SQL Server MDX script to scope on all but the leaf levels
Hi, I am trying to specify a scope statement on all non-leaves members of all hierarchies of a dimension (time dimension basically) so I would need to say something like this: scope (MyMeasure, not leaves(TimeByDay)); this = (MyMeasure,timeByDay. currentHierarchy .currentmember.firstChild); end scope; Does anybody see a way of doing this without explicitly repeating a scope statement for each implemented hierarchy.level-above-leaf like the one below scope ( {[Measures].[RG Queue State],[Measures].[RQ Distinct Queue State]}, [Processed Statistics Peri ...Show All
.NET Development Internet Cafe Software
i have to automate my college computer center(ISA 2000 installed) with 2000 students with their roll nos. and passwords and personal details to be stored in a databse a student enters his roll no. at the server computer and is alloted a computer (out of 200 computers) . he goes at that computer , enters his roll no. and password and if correct then is allowed to access internet for 30 min. after which he is automatically logged off i also have to store the login and logoff time for evry student so plz help me how can i disable the internet access after 30 min . Can be a web based or Winforms application or some ot ...Show All
Visual Studio Express Editions How to turn off redrawing?
Hi! I would like to turn of redrawing of richtextbox while procesing text inside it. I have found one solution, but I can't get it to work. c od e: SendMessage( new HandleRef( this, Handle ), WM_SETREDRAW, 0, 0 ); Error Message I get: The name 'SendMessage' does not exist in the current context Perhaps I misunderstand. Can't you just use SuspendLayout while you're processing the text and then ResumeLayout when you're finished ...Show All
SQL Server Creating a DB script
Somebody knows a tool able to generate DB scripts from a .mdf file SQL Express runs as the Network Services account, which is a limited access account that doesn't have permissions for a number of things, including User Profile directories. If this is a one time operation, I would suggest detaching the database and moving it to a location where you can access it (such as the MSSQL\Data directory), attaching it there and then using Management Studio to generate the scripts. If this is a task you need to do repeatedly, you'll probably need a programatic way to do this. I haven't been able to find a T-SQL method for doing this, mayb ...Show All
SQL Server How to Pass parameters in SSIS dataflow
I am using a parameterized select query as displayed below to fetch values from source. SELECT A.Account_GUID, M.Merchant_GUID, H.Household_GUID, B.BankAU_GUID, SR.SalesRep_GUID, E.Entitlement_GUID, I.Income_GUID, Exp.Expense_GUID, SP.Sales_Product_GUID, P.Product_cd, SUM(S.Sales) AS Monthly_gross_MC_VI_amt, SUM(S.Sales) - SUM(S.[Returns]) AS Monthly_net_MC_VI_amt, SUM(S.SaleTxns) AS Monthly_gross_MC_VI_tran_cnt, SUM(S.SaleTxns) - SUM(S.ReturnTxns) AS Monthly_net_MC_VI_tran_cnt FROM Account AS A LEFT OUTER JOIN dbKAIExtract.dbo.tblSales_STG AS S ON A.Account_No = S.AccountNo And S.BucketNo = And S. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3d modeling Code Structuring
Hi, I am kind of new to Direct X programming , and currently Im using Direct X 9.0 b and I have a question regarding code structure. I have been able to write a piece of code that displays a rotating object that was imported from 3ds max as a .x mesh.Having done that and thinking of going a step further and displaying multiple objects on the same world , I thought I should make use of some function or using classes to ease the process of loading and giving the object its world co-ordinates.Unfortunately I have encountered some problems when I tried to encapsulate the mesh loading process. I have tried the following: 1)C ...Show All
Software Development for Windows Vista Designer will not accept activities
I removed beta 1 and installed beta 2. When I try to drag a activity onto the designer i just get the [/]. The only activity that works is parallel split. Weird. I can not add a sequence, a code activity or anything. Any help would be appreciated. Marty 1) Try right clicking and clicking 'Reset Toolbox' 2) Check the dates on the assemblies that were installed (System.Workflow.*) in C:\windows\assembly\ ... ...Show All
Visual Studio Express Editions Problems accessing certain help topics.
Hi All :) I'm trying to access 'Network Programming' under '.NET Framework SDK > Quick Technology Finder' from within the C# Help Documentation. It keeps saying the content isnt available, and that I need to check my settings to ensure it loads online help where required. I've done this (Internet works just fine under IE) and am dumbfounded as to why this wont work... Any ideas This is actually a limitation of the Help system, one which we unfortunately couldn't fix. Links to topics that aren't part of the MSDN Library for Visual Basic Express Editions (a subset of the full MSDN Library) will ...Show All
Windows Forms BindingSource.Current question
I have a Customer form with a DataGridView, TableAdapter, BindingSource... When I click on a row I open another form to edit the customer. This second form has a DataNavigator with it's BindingSource set to the first forms BindingSource (I pass it to the second form). The controls in second form are also bound using this BindingSource. Everything works. In my second form What I need is to access the current item from the BindingSource. I see there is BindingSource.Current but this returns an object. I think I need to cast it to something but what Any ideas Current returns an object of the row you ...Show All
Visual C++ How do I convert a long variable to const Int ?
I get back numOfContext as a long (req. by this call). I then want to create 2 arrays based on this size but I need const int for array declaration. How can I do this Thanks. pSYContextContainer->get_Count(&numOfContext); AlphaDavis wrote: I get back numOfContext as a long (req. by this call). I then want to create 2 arrays based on this size but I need const int for array declaration. How can I do this Thanks. pSYContextContainer->get_Count(&numOfContext); Is this managed code or native code Here's some code showing you how to do this for a native as well as for a managed array : int ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XAct and mp3
Hey. We were hoping to use XAct as our audio format, and we're currently trying to find a way to get it to run mp3's. I've done a good deal of research, but I can't seem to find any references to this. Has anyone else tried this Is it possible Are there any plans for adding other compression methods to Windows version of XACT In Aur upcoming title we want to use XACT as the title is both for PC and XBOX360 but without any 'real' compression support (such as OGG, WMA, MP3 or something similar) XACT is useles and we need to stick with DirectSound for PC and XAudio for XBOX. ADPCM with 512 samples per block ...Show All
Visual C# get Fibonacci sequence number base on user input
hi all, in my application, i want to return the n-th number in a Fibonacci sequence to the interface by asking user input. e.g. user inputs 5, and click on a button, it returns the 5th number in , which is 3. please help. Here is one solution (maybe not optimal, but it works ): private int fibonacci(int userInput) { int sum=0, a=1, b=1; int i=2; if (userInput == 1) return 1; else { if (userInput == 2) return 1; else { while (i != userInput) { sum = a + b; a = b; b = sum; ++i; } r ...Show All
Visual Basic VB.net
i m using this code right now i m having 468 forms in our erp project so we r using the code like as dim frmName as string frmName=GetForm() ' its return form name as string select case frmName case "Form1" frm as new Form1 frm.Show case "Form2" frm as new Form2 frm.Show ............... ................. case "Form468" frm as new Form468 frm.Show end select here i m usning simple form name (i.e form1, form2) original is diffrent. i m facing the problem to adding new form and searching also. so i want solution like as we r passing the form name as string and cast it into the form object. u have the solution p ...Show All
SQL Server automatic change of permission on database after install web site
I have Web Site with ASPNETDB database and own database. I was precompiled this site and I created aplication with Web Setup Project. This setup aplication includes SQL 2005 EXPRESS. When I installed and ran an my web site in Internet explorer, that displayed error "Failed to update database ... because the database is read-only". I know, that is a bug with permisson and the fix a bug is solution for this problem but i have installation package and i need automatic fix in setup application. Thanx for comments. Vitty, The main focus of this forum is on connectivty, client odbc/oledb drive ...Show All
