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

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

cdx1

Member List

mabster
Mikepy
Sean Connolly
hadjici2
rodri_ogri
George2
SWGuy
Eric Liprandi
Jim Holloway
michaelp
Gary_Fairchild
Fiddel
Viorel.
albTotxo
Student_I
Larkin Y
linzbfc
Joao Pinto
Avner Kashtan
denning_s
Only Title

cdx1's Q&A profile

  • SQL Server Viewing- VS Development Security

    Hi everyone I am having some difficulty getting the security on the Report Server to function correctley. Here's what's happening: I log onto Report Server using a certain account. This account is linked to a security role on the cube and to a certain company code within the cube. After building a report in Report Builder using this account and deploying it, I then run it from Report Server. It only displays the values in the parameters that are allowed for this user that I have logged in with. This is correct. However when I open BI and build a report and deploy it, the security settings on Report Server no longer take effect correctley. The parameter dropdowns are left empty where a certain company code should be. Does a cert ...Show All

  • .NET Development Writing/adding elements to a xml file

    Hello! I want to add another book (book4) to the xml file below. What I did: XmlDocument document = new XmlDocument(); document.Load("info.xml"); XPathNavigator navigator = document.CreateNavigator(); But how do I navigate to the required node and add another book Hopefully someone can help. Thank you. info.xml: < xml version="1.0" > <Info> <Author> <FirstName>John</FirstName> <LastName>Boy</LastName> <EmailAddress></EmailAddress> <Gender>Man</Gender> <Birthday></Birthday> <Address /> <ZipCode /> <City /> <Country /> <Telephon /> </Author> <Books ...Show All

  • .NET Development SelectNodes returning no nodes when there is xmlns attribute on the node

    I don't know if I'm missing anything here, Here is a sample code snippet that tries to select foo nodes from xml using SelectNodes on xmldocument. In this case nl.Count always returns 0, I remove the xmlns attribute from the xml everything works. I tried passing namespacemanager and the result was the same. Any Ideas xml < TestData xmlns="urn:foo"> < foo > Foo1 </ foo > < foo > Foo2 </ foo > </ TestData > -------- Test Console Application using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Xml.XPath; namespace ConsoleApplication1 { class Program { static void Main( ...Show All

  • .NET Development DSN problem

    Hello, I am working on a Istant Messenger and I made it so people can make a username and login. i sent a published version to my friend and he said he got a error when he tried to login that said ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. :( Please help. ...Show All

  • Visual C# Chr (VB.NET) vs char (C#) dagger

    I am converting a VB.NET program to C#. One of the features is returning the character code for an ASCII value. The (char) cast or Convert.ToChar seems to work in most situations. However, in some ASCII(134) I get different returns between the VB and C# code. In VB, Chr returns the small 't' symbol alla http://yorktown.cbe.wwu.edu/sandvig/docs/ASCIICodes.aspx . In C#, (char) or Convert.ToChar returns the 'square' symbol alla unrecognizable. I've looked all over but have not seen how to resolve this(other than setting a refernce to Microsoft.VisualBasic which is something I frown upon). Any help would be greatly appreciated. Thanks First of all, the official ASCII Code standard ...Show All

  • Visual Studio Team System about add a user to a team project

    Hi , all Our team has moved to TFS recently, as no one know it well ,so met some problems. and today, i want to add a user to a team project administrator group, but get the error message below, Team Foundation Server could not resolve the user or group 'Sammy Chen'. The user or group might be a member of a different domain, or the server might not have access to that domain. Verify the domain membership of the server and any domain trusts. In fact, i add the user before, and i am sure the user in the domain and also the server in the domain as i can load it in domain with terminal. so what should i do and another problem is i want to grant a user with a build right and can generate a report, what permission i should ...Show All

  • Smart Device Development searchbox with Treeview

    I am using Treeview to display the Contacts like .. Group >>Level 1 Node ConactName>>>Level 2 Node Home No >>>Level 3 nodes Mobile No Office No ConactName Home No Mobile No Office No I want to add a search box (like provided with contact screen).If a user enters some text, i shall be able to update the treeview with matching text nodes. How can i do that I dont see FindMatchingItem type method in treeview. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Indoor maps

    I'm making an FPS, but i'm wondering whats the best for the maps. Most stuff is made in 3D studio max and exported to .x files for now. Like for characters and weapos this is no problem, u can check if visible or not and stuff like that. But if u make 1 map in 3D studio and export to .x the entire map will be loaded and rendered ... whats best practice for this Well it depends on the graphics card and machine but the 1st thing to try is the naice approach of jsut rendering the whole thing. Depending on the materials and textures you can probably draw the whole level in less than 20 draw calls and GPUs are very very fast. If that doesn't work then you need to start partitioning up the mesh into sm ...Show All

  • SQL Server SqlDataSource not updating on editing GridView

    Hi, I'm new in ASP 2.0. I need to incorporate edit and delete capability in GridView. Using the wizard, i've generated this code. When I delete a row, it gets deleted but update does not work. I've tried several ways. I got no error or exception. But row is not updated. I've checked database, and I think the update query is not executing at all. Please let me know, what I'm doing wrong Here is the source code for reference. I'm using Visual Studio 2005 with SQL server 2005 Express Edition. Regards ========================================================== <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="QuoteItemID" DataSourceID="Sql ...Show All

  • Visual Studio Express Editions Access DB Template File

    Everywhere on the net it shows and says that you can select which database you want to use when starting a new website, SQL or Access for Membership Providers. Mine always makes a SQL DB and i dont have the option to pick an Access Database instead. I have installed Beta 1. Anyone have an idea on why i do not have that option Thanks You really need to download and install the RTM Version, what you are also looking for is the AccessData Provider, this used to be a starterkit on the Express home page. But for starters the VWD Groups are located on http://forums.asp.net , there are also groups for the data providers and you might be able to find the links you need there. ...Show All

  • SQL Server SQL SERVER- DATATYPE CONVERSION ISSUE

    I have a field that has date value, but the datatype is DECIMAL The value is 20051201.0. When I use the convert to datetime statement, it errors our with the foll error: How do I convert the decimal datatype to a valid datetime select convert(datetime ,20051201.0)- this errors out with the foll err: Arithmetic overflow error converting expression to data type datetime. Is this sufficient select convert(datetime ,convert(varchar(8),convert (int, 20051201.0))) as [convert dateTime] -- convert dateTime -- ------------------------- -- 2005-12-01 00:00:00.000 ...Show All

  • SQL Server cannot create jobs on x64

    Hi all, Just installed sql 2005 x64 (DB Server + Client Tools incl. management tools) and encountered the following problems: 1) Could not create jobs Getting Error: Unable to cast object of type 'Microsoft.SqlServer.Management.Smo.SimpleObjectKey' to type 'Microsoft.SqlServer.Management.Smo.Agent. JobObjectKey '. (Microsoft.SqlServer.Smo) Tried several different job types always same result Installing SP1 does not help Any help is highly appreciated TIA Dan Please post this to the " SQL Server Tools General " forum. Thanks, Peter Saddow ...Show All

  • .NET Development Collection was modified,Enumeration operation may not execute

    Hi all, I've got " Collection was modified,Enumeration operation may not execute " error message that i never found before. it's make me confuse to solve this error. below this, that is my error code : Dim xRow As DataRow For Each xRow In oData.Tables("tblDetails").Rows If Trim(xRow("pd2")) = Trim(nArray(1)) Then xRow.BeginEdit() xRow("pd1") = nArray(0) xRow("pd2") = nArray(1) xRow("pd3") = nArray(2) xRow("pd4") = nArray(3) xRow("pd5") = nArr(0) xRow("pd6") = nArr(1) xRow("pd7") = nArr(2) xRow("pd8") = IIf(nArr(3) = 0, nUnitAsDollar, Math.Round(nArr(3), 2)) xRow("pd9") = nArr ...Show All

  • Visual C++ File format

    Hi all. Im having trouble making this file read-out look nice. The code is this: #include <fstream> using namespace std; int main(){ char buffer[100]; ifstream file("file.dat",ios::end); if(file.fail()){ printf("File not found.\n"); } printf("File contents read the following:\n"); while(file >> buffer){ printf("\n%s ",buffer); } file.close(); system("pause"); return 0; } The file "file.dat" reads "This is only a test" inside. But when i run the program it reads: File contents read the following: This is only a test ----------------------- So i figured maybe it was a problem with my way of printing the message in the console. So i sw ...Show All

  • SQL Server Datebase roles problem.

    OK this is going to sound like a very easy question but for the life of me its not working. I have got a login called "Sales" and it is binded to a user called "sales" The sales user has of course got the public role for my database. I have created a Role on the database called "Sales Role" and given all the needed permissions to all the tables in the database. As soon as i give the user the new role and then go to the securables area and look at the tables and hit the "Effective Privileges" button there is nothing listed.... If i take off the "Sales Role" role from the user and go back and look at the "Effective Privileges" it is filled with the privileges the pub ...Show All

©2008 Software Development Network