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

Software Development Network >> Part Time Australian's Q&A profile

Part Time Australian

Member List

BerW
software tester
Alessandro Ferreira
KarenK
Dan Balaceanu
mcrisf
HenryHan
Vinith Antony
Jassim Rahma
DOSrelic
M Thomas
Prabagarane
Moistly
Parham!
Kunk
!=MaYHeM
Mr.Kuo
Andy R26
IamHuM
REspawn
Only Title

Part Time Australian's Q&A profile

  • Visual Studio Never mind

    withdrawn. ...Show All

  • SQL Server Dynamic goal for a KPI?

    Hi! I'm new in SSAS and I'm stuck. Here's my problem : The goal of my KPI has to change (every month or every year). I could enter these different values with an MDX expression such as CASE WHEN <date condition> THEN goal-1-value ... END but i'd like it (different values of the goal) to be stored in a database. So my question is : Is it possible to get back these values from an MDX expression If not is there another way to get these values from database in SSAS Thanks in advance, Philippe Assuming that you do store the goal values in a table, you coud add a measure group, with a measure for the goal value, to the cube. Then this "goal" measure can be directly accessed in MDX. ...Show All

  • Visual Studio Extending Built In Packages?

    I've been searching for a way to Add SSH support to the WebDirectory Project. Is there a way to Extend webdirprj.dll or will I have to write an entire new WebDirectoryProject Package in order to add support for file systems such as SSH Thanks, Hi Darren, The extensibility of an individual package is dependent on what sort of extensibility mechanisms it provides. I am not familiar with the web directory package, but my guess is that this is not possible as there are most likely hard dependencies on the underlying file system capabilties. I'll contact the team and get you a definitive answer though. As an alternative, is there a product out there that will mount a file system over SSH as a virtual ...Show All

  • Smart Device Development windows mobile 5.0 Pocket PC to Smart device NotSupportedException

    I have converted my windows mobile 5.0 pocket pc application to Smartphone. It is compiled successfully and run. But I am getting somne exception on some form. Like I am getting An unhandled exception of type 'System.NotSupportedException' occurred in System.Windows.Forms.dll Additional information: NotSupportedException private void InitializeComponent() { System.Resources. ResourceManager resources = new System.Resources. ResourceManager ( typeof ( ReportsForm )); this .imageList1 = new System.Windows.Forms. ImageList (); this .mainMenu1 = new System.Windows.Forms. MainMenu (); this .menuItem1 = new System.Windows.Forms. MenuItem (); this .menuItemCache = new System.Windows.Form ...Show All

  • Windows Forms How do I reference a dynamicly created control on a tabpage?

    I have code that successfully creates a group of nested controls. A tablelayoutpanel contains two splitter panels and another tablelayout panel. There are further controls under the splitter panels, both labels and datagridviews. If I want to refer to one of these controls when I switch tabs, how do I get that reference to work I have tried: Private Sub EmpPopulate( ByVal index As Integer ) 'populate the employee list Dim name As String = "DataGridView1" & index Dim grid1 As New DataGridView grid1 = Me .TabControl1.SelectedTab.Controls(name) grid1.ForeColor = Color.BlanchedAlmond End Sub As I am confident everybody sees, this causes a nullreferenceexception. Is this even the ...Show All

  • Visual Studio Toggle Dimension

    I have a matrix report which has two dimensions: one with a subtotal and the other with a grand total. Is there a way I can toggle or hide the subtotal without hiding the dimension it is associated with For example, row data contains a FIELD1 and a FIELD2, each with their own Subtotal. However, the user wants to be able to turn off the Subtotal for FIELD2 on occasion while keeping the actual data in FIELD2. ...Show All

  • Visual Studio Making MSBuild run tasks in parallel

    I do not see a reliable way of using MSBuild Engine to schedule tasks/targets in parallel. The problem is that some task/target can modify properties/items that the task/target downstream depends on. I don’t see of any easy way of finding such dependencies. (Other than batching perhaps). Am I missing something Are there any plans to add such functionality Devenv uses the same build engine (that's one of the cool parts of MSBuild :) Where things get a bit confusing is if you have native code as part of your projects. If you have native code you'll see some multi-proc stuff happening. That's because native code is built sing VCBuild, which does have some multi-proc support in it. Neil ...Show All

  • Visual Studio 2008 (Pre-release) Issue with WPF Designer in Vista Build 5472

    I've installed > Vista Build 5472 > Windows SDK July CTP and > “Orcas” Community Technology Preview – Development Tools for .NET Framework 3.0 But I'm not being able to view/update the WPF form in the design view. Even the default template (xaml code below) generated by the VS IDE is not loaded in the Design. It is showing as a black patch instead. Is it due to the .NET version available with this build of Vista < Window x:Class = " SampleWPF1.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " SampleWPF1 " Height = " 300 " Width = " 30 ...Show All

  • .NET Development "aspnet_regiis -prov" option not working? (encrypting .config sections)

    Any idea as to why this works: aspnet_regiis -pe "connectionStrings" -app "/TestApp" And this doesn't: aspnet_regiis -pe "connectionStrings" -app "/TestApp" –prov "RSAProtectedConfigurationProvider" The only difference is the addition of the "-prov" option in the second command. In theory, both commands are equivalent, as "RSAProtectedConfigurationProvider" is the default provider (as used in the first command). It's almost as if the -prov is an unrecognized option. When I run with the second command, all I get is the list of aspnet_regiis options. Has anyone else encountered this Try putting the -prov after the -pe such as aspnet_ ...Show All

  • Visual Studio Express Editions runtime error

    Hi all, I just want to compile a vc++ file byrunning a C# project. and the code I written is using System; using System.Diagnostics; using System.ComponentModel; namespace process { class Myprocess { // void ExecuteAppStartInfo() { ProcessStartInfo info= new ProcessStartInfo(@"C:\Program Files\Microsoft Visual Studio.NET\VC7\bin\cl.exe", @"D:\ws\samp.cpp"); Process.Start (info); } static int Main() { string Applicationpath; // Console.WriteLine ( "Enter the path of your Application"); // Applicationpath=Console.ReadLine (); Myprocess p= new Myprocess (); p.ExecuteAppStartInfo(); Console.ReadLine (); return 0; } } ...Show All

  • Software Development for Windows Vista Copy File to System32\Drivers

    Hello, I encountered a problem that my program cannot CopyFile to C:\\Windows\\System32\\Drivers even though my property is Administrator, what I got by using GetLastError is Access Deny. But I really need to copy some files to that place, is there any other way I can do this Thanks! Hello, My solution is to build a Setup.exe by InstallSheild and make it silently installed via ShellExecute to fix this program. If you get any solution, let me know too : ) ...Show All

  • SQL Server Attempting to transpose/pivot columns to rows... I think.

    I have something of a challenge for you folks (at least it's very challenging for me). I have a table that has data that looks like this: Date______OrderNum____WorkDay 2006-06-1__AA_________1 2006-06-1__AB_________1 2006-06-2__BA_________2 2006-06-2__BB_________2 2006-06-2__BC_________2 2006-06-5__CA_________3 2006-06-5__CB_________3 etc. So, there are dates that orders happened and each date is marked as the 1, 2, 3, etc. business day of the month. What I am trying to write is a SQL statement that will display results thus: Day1______Day2______Day3_______etc . AA________BA_______CA_________etc. AB________BB_______CB_________etc. Is this making any sense to anyone Basically, I need to turn th ...Show All

  • Visual Studio 2008 (Pre-release) How to Bind to an ADO.NET Data Source.

    somebody knows as to connect data of a table of data base to one grilla How to Bind to an ADO.NET Data Source. this is what I have done: Imports System.Data Imports System.Data.OracleClient Public Class Form1 Dim Cnn As New OracleConnection( "Data Source=SOURCE;User ID=Iili;password = lili; Unicode=True" ) Dim DataAdapter As New OracleDataAdapter( "SELECT * FROM GE_SEG_ROLE" , Cnn) Dim DataSet As New DataSet Private Sub Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load DataAdapter.Fill(DataSet, "GE_SEG_ROLE" ) End Sub In the XAML file this it is code: < Window x:Class = " Window1 ...Show All

  • Visual C# escaping characters

    i need to write some query in code i want to know if csharp has anything like heredoc in php i hate having to write my queries like this: "select group_name = group_name, " + "group_key = group.group_key " + "from dbo.sponsor " + "INNER JOIN dbo.client s_name " + "on s_name.client_key = sponsor.client_key " + "INNER JOIN dbo.[group] " + "on [group].sponsor_key = sponsor.sponsor_key " + "where plan_key = " + planKey+; it gets really annoying hi, if you don't want to use textfiles as what nobugz said because of this line "where plan_key = " + ...Show All

  • Visual Studio Extending with a new Platform / Device.

    How can I introduce a new device / platform into visual studio I'm talking about the integration you see with SmartPhones, XBOX, etc. Is it even public the interface to integrate stuff like that There's another example, altho a little bit different - F#. It has source code and all, except for the imteresting part - the integration. I think it's interesting because it's using another compiler - an exe file. I dont really understand why this part of the extensibilty is kept "secret", because i would think that it'll make Visual Studio even more popular to developers - especially game developers because it will create a mechanism of compile cross-platform from inside visual studio without having to revert to some ugly and slow solu ...Show All

©2008 Software Development Network