Software Development Network Logo
  • Visual FoxPro
  • VS Express Editions
  • Windows Forms
  • Visual C#
  • Windows Live
  • Microsoft ISV
  • Visual C++
  • .NET Development
  • VS Team System
  • Smart Device
  • SQL Server
  • Visual Basic
  • Architecture
  • Game Technologies
  • Visual Studio

Software Development Network >> Fadi Al-Sheikh's Q&A profile

Fadi Al-Sheikh

Member List

Ntompson
Suprajha
miketravers
MichaelH1981
Nick aka Delgar
Ben Movie Magic
David Olix - MSFT
Grady McGhee
omar 14492
Delphi Skyline
CodeAnger
Andrew Williams
James01
AvalonBliss
Stonario
ecca30
dummies
Abhishek Pandey
NeedSomeAnswers
hiTTmaN
Only Title

Fadi Al-Sheikh's Q&A profile

  • Smart Device Development first chance exception of type 'System.IO.IOException'

    Surely this shouldn't be happening!  The following code creates a connection, DataAdapter & DataSet, then fills the DataSet.  the myDataAdapter.Fill creates a 'first chance exception', whatever that is Imports System.Data.SqlServerCe Public Class Form1     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load         Dim myConn As N ...Show All

  • Visual Studio Team System Cross Project Reports

    With the Beta2 version of TFS we created some very useful cross-project reports. The core parameters were: Project, Assigned To, State and Work Item Type. With the official release of TFS, the State table and System_WorkItemType tables have been removed from TfsWarehouse. Where can I easily retrieve this reference data now A work items state and type, in TfsWarehouse, are at: [TFSWarehouse] . [dbo] . [Wo ...Show All

  • Visual Basic End Processes?

    If I wanted to make and app so that when its started it would end a certain process e.g msnmsgr.exe how would I do this And is it the same code for VB6 as it is for VB.net        Dim proc As Process  proc = Process.GetProcessById(pid)  proc.Kill()    Note you can also get process byname. See the process class.  There are other ways too such as doing a sendmessage to a process telling it to ex ...Show All

  • Visual C++ vc++8.0 bug: access violation upon call of any CImageList methods

    I have sucessfully imported and compiled a complex MFC 6.0 project from vc++6.0  into vc++ 8.0 (MFC 8.0). It contains several subprojects (libs and dlls). In vc++ 6.0 those project linked MFC6.0 statically and after I imported it to vc++ 8.0 I set the linkage of MFC8.0 to "shared". However when I try to compile and link the project in vc++ 8.0 in release mode (debugmode works fine) I get an acess violation in afxcomctl32.inl. This happnes w ...Show All

  • Visual Basic ShowWithoutActivation does nothing???

    I have added Protected Overrides ReadOnly Property ShowWithoutActivation() As Boolean Get Return True End Get End Property to my "test form" and open it using a timer from my "Form 1" but if you keep typing into the text box on form 1 when test form opens the textbox on form 1 looses its focus... It may be me doing somthing stupid so i have uploaded a test project so you can se ...Show All

  • Visual C# assign value to datetimepicker (windows form)?

    i have a datetimepicker in a window form. how should the coding be if i read a date from the database and the datatimepicker will show the date that i get from database something like if i read a data from database and assign the data to the textbox, i would write SqlDataReader myReader; myReader = cmd3.ExecuteReader(); if (myReader.Read()) { txtunit.Text=myReader["P_UNITS"].ToString(); //textbox } wat is the codin ...Show All

  • Visual Studio Express Editions New to C++

    Hi, I am new to C++ express. I have coded in Access (VBA and SQL) for quite some time, so I'm not a complete beginner (but close). I leanred how to code in access by using the sample applications given and would like to do the same with C++. Are there any sample applications available to help a new user understand how forms get connected and how events are triggered Something like, from a menustrip, click "new file" and a dailog ...Show All

  • Visual Studio 2008 (Pre-release) How to get a XAML Window's Handle??

    Hello: A very difficult problem got me: I want to get a xaml window's handle, then pass it to a dll which need it . Is anyone know the mothed Thank U! A google search on "XAML window handle" yielded the following link [1] as the top entry. It has the following as part of a code sample on interop: IntPtr hwnd = new WindowInteropHelper (window).Handle; [1] http://bl ...Show All

  • Visual Studio Express Editions Reports

    I am not sure if this is the appropriate place to post this question. If it is not i do apologize. I have been trying to figure out how to create a report for output from a VB05 application. I am needing to display/print output from a MSAccess database based on user entry. I know VB6 had a report designer where you did a click and drag of fields onto the report. It also had the option to hard code the report in. I am looking for a way to do the ...Show All

  • SQL Server How to get around SqlException I'm getting because of IS NOT NULL???

    I'm trying to return all the rooms that are in a specific area being selected in a ComboBox and I don't want any rooms that have no MacNo. I would have thought this would do it but they Visual Studio throws me a SqlException "Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression." String dbsql = "SELECT a.RoomID " ...Show All

  • .NET Development No Managed DirectX for 64bit?

    I posted this issue back during Beta 1 and was told that Microsoft will look at making a 64 bit Managed DirectX after the OS and the development environment was released. That is way too late for those of us looking to release a 64 bit application any time soon! Is there any update from Microsoft on availability of even a Beta Managed DirectX for the x64 Thanks - John Sigh... I'm Still getting the BadImageFormatException with DX SQ ...Show All

  • Visual Basic How do I execute an SQL Command with an ODBCConnection and MySQL database?

    I have tried many times in many different ways to get this to work.  When I try to compile the code below I get the error message on this line of code " Dim myCmd As New SqlCommand(mySQL, cn)" then I get the error message "Value of Type 'System.Data.ODBC.ODBCConnection' cannot be converted to 'System.Data.SQLClient.SQLConnection'. When I comment out these lines "D im myCmd As New SqlCommand(mySQL, cn)myCmd.ExecuteN ...Show All

  • .NET Development OdbcDataReader and Null Values

    All,  When dealing with a recordset created through the datareader, how does one deal with null values   I have an ODBC database with plenty of them and I am wondering if there is a better way to handle this issue than coding a if (reader.isDbNull) statement for each and every one.  As a side note, I was playing around with the dataset/datatable which seems overkill for one forward only, read only row that I am trying to access b ...Show All

  • SQL Server Report Builder Filter drop down list - when the list is more than 500 values

    Hi All, I build a model (either from Cube or from tables) and open it in report builder. When I select a FIELTER on field which has few distinct values like state code, I get a drop down list. But when I select a filter on 'Dept Name', the drop down list on filter disapears. I have to manually key the filter value. Can any one help me in getting a drop down list on filter, when distinct values in that column are more than few hundred. R ...Show All

  • Visual C++ Is there any way to change to height of the columns in a Listview control?

    Hi everyone:        I'm tring to write a listview control inherit from  CListCtrl, and I want to put my own skin on it. But it seems that the height of the columns in a listview is not so easy to change. As CListCtrl did not provide a method like SetColumnWidth() to change the height of the columns. Is there any way to do it Any help will be greatly appreciated! Espr ...Show All

©2008 Software Development Network

powered by phorum