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

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

bboylen

Member List

Jan Kučera
Sven Rutten
aero1
wsalomon
dgibbons
Nick Hart
chingling
peebman2000
Tomys
newtoc#484467
NewWorld
Markm11
Nate00
CharlesB
Trisha1802
Acanthus
Andreas_M
Vahid Taslimi
Claudio Perrone
Francis Tracey
Only Title

bboylen's Q&A profile

  • SQL Server errors in creating a cube by AMO

    Hello I am creating a cube in C# by AMO. I created data source view with two table and one relation, one table is dimension and another one is fact. Then I added a dimension to db. This dimesnion has two attribute one key and one regular. The key attribute has a AttributeRelationship to another attribute. After that I updated database and every thing is ok. Then I want to add cube. First I add it Cube cube = db.Cubes.Add( "MyCube" ); cube.Dimensions.Add( "T Deal" ); cube.Validate(errors); Still the errors.Count is 0. Then I create a MeasureGroup and add a Measure to that. MeasureGroup measureGroup = cube.MeasureGroups.Add( "Vw Cube Fact" ); Microsoft.AnalysisServices. Measure measur ...Show All

  • .NET Development Web Service changes my parameter type

    Hi, I have a simple web service with a method having a custom type as a parameter. This type is declared in different namespace in other assembly. Something like that: public int Method1( Assembly1.Namespace1.Type1 parameter ) But in my client application the type of the parameter is changed. It regognizes it as declared in the web service namespace ( WebServiceNamespace.Type1 ) Is there any way to solve that problem. Thanks in Advance! Kostadin When you add a web reference to a project it downloads the WSDL and generates new types based on the schema of the service. No code is actually downloaded from the server, so there's no way to get the assemblies that implement the s ...Show All

  • Visual Basic Very slow transfer over internet

    Hello, I am using Visual Basic in VS 2005 to create websites. I have a site that is not really that big, but not really small either. I use the copy feature upload the files to the website, and it is really slow. If I use CuteFTP it takes about 15 minutes. If I use the Visual Basic IDE it takes over an hour. I have a five megs a second down and 1.5 megs a second up, and both directions are really slow. I prefer to use VS so that I can see what files are changed and what files aren't, but I can't spend so much time if I make changes to a lot of files. Is this a bug Is anyone else having this problem Are there some settings I might need to change I have only been using VS 2005 for about a month, so any help would be great. One ...Show All

  • Visual Studio Team System Dynamic field content

    Hi I have a category field in one of my work items. The type is a list of categories. The content will change frequently, so i'm looking for a way (besides custom controls) to update the content. Isn't possible to specify new content without having to export and import the process template Regards, Thomas Ardal If the change is not too often it may be of value simply to use the glimport command to update global lists as needed and point your field to use the global list for it's population. Thus no template changes are needed. If you need a bit more dynamic I think there was a thread and some sample code (I believe) on using global lists and updating those lists via code based on some action or event or specified regularity. ...Show All

  • .NET Development XmlDoc.LoadXml() Issue

    Hello Experts, I have Html Document stored in a String and would like to parse that string using XML DOM. This is sample of my string printXml (which stores inner html). When I print this string on console, it shows following: -------------------------------------------------------------------------------------------------------------------------------------- <TBODY> <TR> <TD height="1%"> <TABLE style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=3 width="100%" valign="top"> <COLGROUP> <COL width=115> <COL> <COL style="PADDING-LEFT: 20px" width=135> ... etc --------------------------------------------------------------------------- ...Show All

  • SQL Server SQL Server 2005 Reporting Services Integration

    How can we Integrate SQL server 2005 Report builder, Report designer in a custom .Net Application . Please Help me. I want to provide Report Designer, Report builder and Query builder functionalities to my .Net application. How can I Integrate them in my application Those applications are pre-built by Microsoft and do not have any controls for integration into custom applications. If you take a look at the SQL RS Partner site you may find a solution. http://www.microsoft.com/sql/technologies/reporting/partners/softwareapps.mspx cheers, Andrew ...Show All

  • Visual Basic Error while inserting data in to sql server from vb.net 2003

    Hello, I have a problem while inserting data in to sql server from vb.net. the code given below works perfectly but when i try to insert string with single quotes it is not working properly. Ex. string: 'This is a sample question' myCommand = New SqlCommand("Insert into " & TableName() & " (Questions,Option1,Option2" & _ ",Option3,Option4,CorrectAnswer,LODType) values ('" & strQuestion & "','" & strOption1 & _ "','" & strOption2 & "','" & strOption3 & "','" & strOption4 & "','" & strCAns & "','" & strLODType & "')", conn) I think the problem in the insert qu ...Show All

  • Windows Forms Regarding Wrapper clasess

    hi, In my application i am using some unmanaged code to do CUT, COPY and PASTE operations. Example of those codes are public const int EM_CUT = 0x300; public const int EM_COPY = 0x301; public const int EM_PASTE = 0x302; and send these using SendMessage(). I have heard about Wrapper classes and found out that these are used to call umnanaged code from managed code. What does this mean Could some one explain If i have to create one i would love to implement one in my application. No it's not something you have to do. A wrapper class would simply encapsulate the ugly details of calling the native code, and expose an interface more friendly to managed code clients. ...Show All

  • Visual Studio Tools for Office Is Microsoft taking problems serious?

    Today i came back from a 2 week holiday, before my holiday i had to investigate or InfoPath could be of use of one of our customers, i installed infopath 2007, and was looking for some developer tools for VS2005, since we want to use infopath serverside/webbased. After installing several servicepacks (why are those not advised in the microsoft updates ) i finally got what i want! (took me 4 hours). Using infopath in VS, but when creating a blank infopath c# solution i get some stupid memory error. Offcourse there is no clear error, like in 99% of all MS errors it only tells what's the problem, not what's causing it, and offcourse not how to fix it! After using The Google for 2 hours, i gave up, since the error could be caused by ever ...Show All

  • SQL Server Recovery from Metabase corruption

    I've spent most of the day trying to recover my team foundation server from a metabase corruption (no I had not backed it up). To date I've had to reinstall IIS,uninstall reporting services and reinstall that as well as sts and the other nonsense. Right now the TFS installer gets most of the way through (for the 10th ) time and reports that it can't access report server. In IIS http://localhost/reports/home.aspx I get a message 'The feature: "Scale-out deployment" is not supported in this edition of Reporting Services. (rsOperationNotSupported) (rsRPCError)' So it's possibly correct that Report server is not running. Now whilst I find lots of stuff which tells me how to en ...Show All

  • Visual Studio 2008 (Pre-release) Can't get ViewBox to scale to fit into an ElementHost

    I've written an experimental app that loads xaml files at runtime and then displays any UIElement that is loaded in a Windows Forms application. This works but the XAML graphics don't resize as the form is resized. The ElementHost is dock filled and my attempt at automatically sizing the XAML graphics is to put the loaded UIElement into a Viewbox as part of the loading process. When I do this it no graphics are displayed. See below the relevant section of XAML loader code. What would be the correct way of automatically sizing dynamically loading XAML content hosted in a windows forms app if ( element != null ) elementHost.Child = null ; object xaml = XamlReader .Load( File .OpenRead( openFileDialog.FileName ) ); elem ...Show All

  • Microsoft ISV Community Center Forums .lookin =

    Is it possible to execute a LookIn command but not to include specific folders in the named path I have a number of folders in a folder called 'Team Leaders' but within each of these folders I have 2 folders called 'Authorised' and 'Rejections'. I do not want the search to look in these folders and just skip them. Code for the routine is attached Sub ExGratia_Check() Dim objFSO As Object Dim objFile As Object Dim intFileCount As Integer Dim strFolder As String Range("A5").Select Application.StatusBar = "Counting Files" Set objFSO = CreateObject("Scripting.FileSystemObject") With Application.FileSearch .NewSearch . LookIn = "S:\Policy\CD Manual Letters_Service\Forms\Pilot Ex-Gratia\Team Lea ...Show All

  • Visual Studio Team System report designer don`t find all fields

    hi, i`m using report designer to create reports on my self-created work-items. but i did not find all fields and types in the selection in the report designer. i create a new report project. connect to the ms sql server 2005 analysis service. use the following conneciton properties: server-name: atvie-tfs01 database-name: TFSWarehouse i tested the connection and the connection is ok. in the query builder i choose the "team system" cube. and then i get the first problem. i added work item - System.WorkItemType to a filter with "Add to filter". in the filter i want to choose in the filter expression one of my newly created work-items. one is called ReleaseItem. but it is not available in the drop-down! but i imported alr ...Show All

  • Visual C# Validating a URL

    I am looking at how to validate a url. Not the format of a url but to see if the actual website is valid and it does not return a 404 error. Thanks in advance. Have a look at the HttpWebRequest class in MSDN. There is a sample how to make a get request and read the request response status. -- SvenC ...Show All

  • Visual Basic Inserting a line break in a literal string

    I am just getting started with VB and I am sort of used to QuickBasic, and I wanted to open a text file such as "C:/File.txt" and add to it. I got the file open and all of its contents into a string, but I can't add line breaks to it. The line breaks display fine in a MsgBox command but I can't insert the line break string (which looks like two vertical lines) into a literal string. If I try to paste it into the VB Code window, it actually adds a line break just as if I had pressed Enter, and the symbols look different than the Shift + \ line ( | ). The program looks sort of like this: FileContents = My.Computer.FileSystem.ReadAllText("C:\File.txt") Now, a Sub for a button NewData = TextBox1.Text FileContents = FileCont ...Show All

©2008 Software Development Network