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

Software Development Network >> Hassan Ayoub's Q&A profile

Hassan Ayoub

Member List

qwv
GPC44151
Victor BA
icon_snowman
R Roo
Pooja Katiyar
KitRangers
Jalf
nattylife
l33t
me113
DocMoriarty
Alexei Moudretsov
AE_Cory
David Botz
Bekho
-JW
NoEgo
centexbi
AndrewBadera
Only Title

Hassan Ayoub's Q&A profile

  • SQL Server Object reference not set to an instance of an object

    Hi I m trying to access a server report through report viewer control. I got the error "Object reference not set to an instance of an object". I have administrator rights on the reporting server. My code is as follows: ReportViewer.ServerReport.ReportPath = "/Reportfolder/reportname" ReportViewer.ServerReport.ReportServerUrl = New System.Uri( "http://servername/ReportServer" , System.UriKind.Absolute) ReportViewer.RefreshReport() I have created this report using Business Intelligence Projects. I am using textboxes and rectangles throughout the report. When I compile and run the project through Business Intelligence Studio, it works very fine, but when I try to access it through direct ...Show All

  • SQL Server Where does the query run?

    Sorry, if this is in the wrong place!! If I'm using Query Analyzer on my local machine (XP) to connect to and run a query on a remote server (2003Std, SQL2000) which machine does the processing I am under the impression the server runs the query and send the results to the local machine, is that correct Thanks!   Taitt wrote: Passthrough Query passthrough is a query in sql server   that queries another database source probabaly another sql server, heterogeneous data source or oracle       ...Show All

  • Visual Studio Team System Is it possible to set recursion to false?

    Currently when automation script is run, an item is duplicated and incremented in subsequent runs. Is it possible to set recursion to false Thanks Test consultant Hi, Can you describe what the script does, and the item that is being duplicated More information will be appreciated on this. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

  • Visual C# Class Arrays

    I was just wondering if any one could tell me how to declare an array made of a class, as the standard precedure does not work for classes, structs, ect. Thanks in advance. clarification: Do you want to declare array of objects If so, you can declare using the same way as other data types, for example: public class TestClass { private int x ; private int y ; public TestClass ( int x, int y ) { this .x = x ; this .y = y ; } } TestClass [] arrays = new TestClass [10] ; for ( int i=0; i < 10 ; i ++ ) { arrays = new TestClass ( someX, someY ) ; } hope that helps ...Show All

  • Visual Studio Express Editions DataGridView Modifications

    I want to be able to input a numeric value into the .Text = "Value" field. On the Datagridview table. I need to be able to input a value in each field individually Here is my current code: ------------------------------------------------------- Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' Initialize the button column. Dim buttonColumn As New DataGridViewButtonColumn With buttonColumn .HeaderText = AssignmentNameTextBox.Text .Name = "Assignment" .Text = "Value" ' Use the Text property for the button text for all cells rather ' than using each cell's value as the text for its own but ...Show All

  • .NET Development Control of system clock

    Hi, Intro: I have a network sniffer connected to a UDP network. I use WinPcap with my data extraction API located on an interface PC. GUI is made in Visual Studio. I have full control of the time recorded on the sniffer (from extracting time in telegram header) but I run into the following problem: When I try to play back the UDP stream via 100MB onto a server running Win XP, the receiving application receives it's time from the system clock. I am not interested in showing the current time when the playback is not in real time. I am interested in showing the time from the extracted data. When I play back events and alarms all time stamping gets wrong since the UDP playback stream does not contain time stamp in use by my application. ...Show All

  • Visual Studio Express Editions Ugh....Driving Me nuts....

    I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All

  • SQL Server How to manage all the SqlNK versions at the same time?

    Hi everyone, Nowadays, we've got four sql versions running around: 6.5, 7.0, 2000 and 2005. If you try attach from Enterprise Manager 2005 servers it doesn't allow you because of 2005 uses SMO instead of DMO. If you try attach from Management Studio 6.5 or 7.0 servers it doesn't allow you too. We'd like to have from the same place a tool for all of them. Is it possible Thanks in advance, I believe SSMS is good one to go, but due to the limitations on backward compatibility you might not get what you want. So in this case you need to have 2 or 3 versions of SQL tools to continue the work. I'm sure there is a opportunity for a third party company to develop such tool. ...Show All

  • Visual C++ Selected Row - ListView

    Hi, Does anyone know the syntax of getting the selected row for an listview I.e if I click on the second row of the listview it should return 2. Thanks ...Show All

  • SharePoint Products and Technologies WebPart Sample

    I am new to MOSS 2007 and webparts development. Does anyone have a sample webpart code developed in VS2005 for MOSS 2007 that renders actual controls(textbox/dropdown for input and command buttons) The sample web part articles out there just do simple writer.Write(). They are not really practical examples to build off. A website reference will be fine was well. Thanks in advance. NJITDPM wrote: I am new to MOSS 2007 and webparts development. Does anyone have a sample webpart code developed in VS2005 for MOSS 2007 that renders actual controls(textbox/dropdown for input and command buttons) The sample web part articles out there just do simple writer.Write(). They are not really practi ...Show All

  • SQL Server Totals on last page only - How?

    Just started (today) using RS2005. Me and my Brian Larson MS RS2005 book. Can't figure out how to get my Grand totals to ONLY print on the last page of my report. They are calculating correctly, but printing on every page. I guess I wouldn't mind if the totals were page specific, but it's not even doing that... Thanks!! It tells me I can only use the globals you mentioned in the page header and footer. I try that and then it tells me I can't sum fields in the page footer.... Any ideas. Thanks ...Show All

  • .NET Development [2005] int32

    Hi everyone, how can i store a data variable of type int32 into a byte array of size 4 10x for ur help See this thread about a similar question regarding long. You just need to replace long with int and you get your answer: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=821611&SiteID=1 ...Show All

  • SQL Server SSIS connect to cube and extract fact data

    Hello, how can I connect to a cube (on a SQL 2005 server) and get (fact) data to process with SSIS I looked at the toolbox but I see no applicable tool. It would be fine if somebody can provide a link to an article or example. Thanks in advanced! -flyall- You can create an OLE DB connection manager to Analysis Services, and you can read from dimensions this way. I'm not sure though whether you can use an MDX query here to retreive data from your cube... Pipo ...Show All

  • Smart Device Development Type.GetConstructors() - InvalidProgramException on CF, works fine on the standard framework

    I have a piece of generated code that the CF (2.0SP1, August patch) just won't accept. The code is working just fine on the big framework, but mscorlib in CF gives me an InvalidProgramException. The context of the call to Type.GetConstructors(): protected virtual object CreateInstanceWrapper(Type type, params object[] args) { object instance; #if !CF instance = Activator.CreateInstance( type, args ); #else ConstructorInfo constructor; Type[] argTypes; argTypes = GetTypeArray(args); constructor = type.GetConstructor(argTypes); if (constructor == null) throw new ArgumentException("There is no matching constructor"); instance = Activator.CreateInstance(type); constructor. ...Show All

  • .NET Development Is this only possible in XPath 2.0

    I can't fugure out how to write an xpath to do the following in xpath 1.0: Doc < Plane > < Seats Number =" 1 " Window =" No "/> < Seats Number =" 2 " Window =" Yes "/> </ Plane > I would like to concatinate the @Number & @Window fields on each node set returned Desired Results: 1^NO 2^Yes The problem is if I use concat in xpath 1.0 I only get a single string result. Any ideas This is easy if the number of "Seats" elements is known (or can be obtained and then the XPath expression can be dynamically generated. In case one knows an expected maximum number of "Seats" elements, it is still ...Show All

©2008 Software Development Network