Bill Armstrong's Q&A profile
SQL Server Dimension Access for Roles in AS 2005
When creating a role in AS 2005 and specifying dimenison access (on the Dimensions tab of the role definition in BI Dev Studio), why do some dimensions have the option of "None" as access level while others only have "Read" and "Read/Write" For example, in looking at the Adventure Works sample solution for AS 2005, if you add a role and then go to the Dimensions tab of the role definition, you'll see that Account, Department, Organization, and Scenario only have "Read" and "Read/Write" as access options. All the others have those two as well as "None". At first, I thought that it was because of some unique setting for those four ...Show All
Smart Device Development determining phone location---recieving broadcast messages
I m trying to develop the code for determining the current location of the phone user on smartphone 2003 SE. I m doing native code development--win32 apis. As it should be i want to know the current location (like country city locality) of the user. And i guess broadcast messages is wat I need to determine that. But i m having a hard time finding a way to recieve these messages. I hv googled enough in vain already. Any thread or clue wud b highly appreciated in this direction. A sample code wud be simply fantastic. Thanx Vishal While searching for broadcasing messages, I found this article to customize home screen. I also found some ...Show All
Software Development for Windows Vista qWave issue
Hi, I'm playing with the qWave API. I manage to get QOSCreateHandle, QOSStartTrackingClient and QOSAddFlow working, and I do get a QosHandle and FlowId returned. However I have a problem with QOSQueryFlow: //QOSQueryFlow QOS_FLOW_FUNDAMENTALS buffFund; ULONG size =sizeof(buffFund); OVERLAPPED overlapped; if(!QOSQueryFlow(QosHandle, FlowId, QOSQueryFlowFundamentals, &size, &buffFund,0,&overlapped)){ //call GetLastError printf("QosQueryFlow error: %d \n",GetLastError()); } else { printf("QosQueryFlow OK\n"); } Returns error code: 6 ERROR_INVALID_HANDLE, whic ...Show All
SQL Server View referencing multiple tables not updatable ?
Hi This is for Sql Server 2000. I get the following error : View or function 'PS_EMPLOYMENT' is not updatable because the modification affects multiple base tables. Sql is as follows: INSERT INTO PS_EMPLOYMENT(EMPLID,EMPL_RCD,PER_ORG,BENEFIT_RCD_NBR,HOME_HOST_CLASS,OWN_5PERCENT_CO, SECURITY_CLEARANCE,NEE_PROVIDER_ID,POSITION_PHONE,BUSINESS_TITLE,REPORTS_TO, SUPERVISOR_ID) VALUES('000004', 0, ' ', 0, 'M', 'N', ' ', ' ', ' ', ' ', ' ', ' ') ---------------------------------------------------------------------------------------------------------------------------------------------------------------- ...Show All
.NET Development datagrid control
i've got a datagrid using a sql db - the grid works great - i just have 2 columns on the right hand side of the grid that I made templates - it seems you can put in blocks of code for some logic inside those item templates. i am trying to show an icon for each row - that will indicate buy or hold for example if [qty on hand] < 5 then response.write("buy") end if i just don't understand how to call an item row in the datagrid to validate against using vw developer express edition thanks ok here is what i ended up doing - got this tip from asp.net post http://forums.asp ...Show All
Windows Forms Multi-dataset vs. multi-table
I'm working on an application which has a similar architecture to Taskvision. I notice it uses multiple datasets. Why not use a single dataset for all tables What are the advantages/disadvantages of each approach Thanks in advance, Lee Hi! Well I navigate de DataRelations of the DataSet, and generate DataAdapters in runtime, to do that I also developed  ...Show All
.NET Development Installing .. advpack.dll
Not sure if this is where to put this question but I can't find anything else on these forums (shrug ). I'm trying to install the 2.0 redistribution package and get an error with c:\windows\system32\advpack.dll when trying to install. Any suggestions The reason I'm looking to install it is because I have an application that requires it. Maybe I actually need something different Ugh. lol 1. Remove advpack.dll (use Unlocker if it says the file is in use) 2. Place the advpack.dll from here in the spot of the old advpack.dll which you ...Show All
Visual Studio Express Editions some VB 2005 express problems
Hi 1.Is there any child node in treeview 2.How can the text in the rich text box always show at the bottom while receiving some income msg from hyper-terminal Thanks Please read this document . My best guess response: 1. Yes. 2. Hyperterminal doesn't use a rich textbox. ...Show All
Visual Studio Tools for Office Error attaching schema to document in VSTO 2005
Hi, I am getting the following error when trying to attach a schema to a document from within a VSTO 2005 Word Project: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." The code I am using is: Me.Application.XMLNamespaces("myschema").AttachToDocument(Me) I do a Me.XMLSchemaReferences.Add first if the schema does not exist in the library... It's pretty much the code that gets generated by recording the macro in VBA: Application.XMLNamespaces("myschema").AttachToDocument (ActiveDocument) Anyone have any ideas Thanks. Aaron. This is happening because although AttachToDocument ...Show All
Visual Basic Problem with own TextBox in VS2005
Hey NG So, I don't know, if this is an bug of VS2005 or if I offers this problem I made a new control member. It belongs to System.Windows.Forms.TextBox. I extended the "normal" textbox with some features. Now, sometimes my VS2005 crashes. (OK-It's Beta) - But when I reopen my project, all Forms can't be displayed correct - Because of an error with my control member. - After rebuilding the project (without errors) the forms are displayed correct, but my controls are gone. Now, I could add my control member again on the form - that works - but I can't give it the same name than before. - There I have to delete following code: Friend WithE ...Show All
Visual C++ Newbie help when compiling with Visual C++ 2005
I've searched all over the place but I can't find much information about this, so can someone please help me When I try compile any app I get the following message, "fatal error C1902: Program database manager mismatch; please check your installation." I was able to find this from microsoft msdn library. Visual C++ Concepts: Building a C/C++ Program Fatal Error C1902 program database manager mismatch; please check your installation A program database file (.pdb) was created using a newer version of DBI.dll than the one found while compiling. Install the latest version of DBI.dll on ...Show All
.NET Development Exception: Unable to read data from the transport connection
Hi, We've written code in C#.Net (Microsoft .Net Framework 1.1) for a Windows service to download the .csv files from different sites over GPRS connections through FTP. The Service runs on mulptiple threads to connect to multiple GPRS modems (as of now we are using 3 GPRS modems/connections) to collect the files from different sites at the same time. It all download files and works fine for some time. But later after some time any one of the gateways only works where in the other two goes into hang over condition. At this time there are no trace logs also been updated to find out the root problem. But very recently we got the message t ...Show All
.NET Development Saving changes imposed by DataSet to .mdb
Hello, I am writing some classes that I will use for a project that I am doing involving the use of msaccess databases. For the most part I have been using the System.Data.OleDB namespace in C#. I can manipulate the databases, but once I am done manipulating them how do I save the changes to the same db or a new db I would have thought that it would be fairly self-explanatory. I have tried searching for the solution. What am I missing I have attached a link to the preliminary version of the classes if that helps. Thanks a lot! - http://home.bresnan.net/~bcreavis/Code.doc -freeskier89 :) After ...Show All
Visual Studio Team System Full Circle error MSB3202
I'm having trouble building a team build. I am able to define a team build just fine, and when I try to run it, the log files seem to suggest that it can find the source files just fine. But I end up with a lot of errors. My solution uses Enterprise Library 2005, so here is one of the errors that reference it (so, I don't think it is custom code related): error MSB3202: The project file "..\..\..\..\..\..\Program Files\Microsoft Enterprise Library January 2006\src\Data\Data.csproj" was not found My team build has the file in its local source, the error occur when it tries to compile. TIA. jdn ...Show All
.NET Development Query Certificate Store
Hi Is it possible to query the machine level certificate store on the local machine using C# Thanks In .NET 2.0 you can use the System.Security.X509Certificates.X509Store class in System.dll to work with X509 stores. -Shawn ...Show All
