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

Software Development Network >> Bader Cheema's Q&A profile

Bader Cheema

Member List

Tatyana S
Tatakau
MURALEE KRISHNAN
Jinno
AJC
djjay0131
Nuno Alves
carroll.vance
cawilde
Carlos Quintero MVP
Anthonysc
Peter Beresford
Ajay Panhale
BigRedDog
KavitaRavi
SickOfMicrosoftShit
Stilgar
Marco Perreau
GO2GUY
Kevin Chua
Only Title

Bader Cheema's Q&A profile

  • .NET Development Calling an Oracle Package using DBProviderFactory

    I am trying to create a generic DAL and I am almost there. I can query the Oracle Database without any problem using straight sql, but when I try to call returning a cursor I get the following error: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'GET_PROGRAMS' I have attached the code that executes to return the datatable. As you can see I check the type of the parameter and if it is an OracleParameter and direction output, I am assuming an oracle cursor type and translate it. But when I do an autos watch on my debugging I can see the parameter is an oracleparameter and the direction is output, but it ...Show All

  • SQL Server Query cost

    In many cases, I am finding that SQL Server 2005 generates the same plan as SQL Server 2000, but the SQL 2005 costs are orders of magnitude greater than the SQL 2000. Also, the execution time and cpu time shown by SET STATISTICS IO/TIME on are greater in 2005 than they are in 2000. Are the costs not comparable across the two versions Sharon Sharon, The cost calculation is different in SQL Server 2005. Cost is now calculated by the number of ticks (based on memory, io and context switch cost). So that may explain the cost difference. I'll try to see if I'm getting the same behaviour with statistics ...Show All

  • Visual Studio Team System Cannot open database 'LoadTest' requested by login

      Hi, When I run a load test, I get the following error message: Error occured running test. (Computer computer name ). The load test results database could not be opened. Check that the load test results database specified by the connect string for your Test Controller (or local machine) specifies a database that contains the load test schema and that is currently available. For more information, see the Visual Studio Team System help topic 'About the Load Test Results Store'. The connection error was: Cannot open database 'LoadTest' requested by login. The login failed. Login failed for used ' domain \ username '. So then ...Show All

  • Visual Studio Express Editions Information not found

    I find very little content in the VB Express Help files. If I try to follow links from the pages I have -- even the "Guided Tour"  -- I get the "Information not Found" page. I have my Help options set to search local first, then the Internet. My connection is good. Did I neglect to download a critical file How can I find basic language reference material Thanks, Mable Links to topics that aren't part of the Express Library (a subset of the full MSDN library) will display the "Information not Found" page. You can still get to these topics by using search, as outlined in the topic "Troubleshooting Visual ...Show All

  • Visual C# Cast string to variable?

    Is there a way to cast a string to a variable name In my code I need to instance classes on the fly. In psuedocode I want to do this: Variable KeyValue<x>; With <x> being replaced by an incrementing number on every call (so you might end up with KeyValue0, KeyValue1, KeyValue2, etc.). Is there any way to do this in C#  I recall a way in Pascal, but that was many years ago... No, there isn't a way as the variable name must be known at compile time. You could implement this using a collection class such as:   // in your constructor List<Variable> m_keyValu ...Show All

  • Visual C++ - Windows.h not present

    i use the VC 2005 Express Edition Beta 2 well, i've downloaded it. But i can't open a .img file. Which programm do i need for it ...Show All

  • Visual Studio Team System Problems with users/group security on TFS projects.

    I can find no information in the administrators guide on how to add users or groups to a project but have observed the following behavior. I have created a project in TFS Beta 3.   I go to Team/Team Project Settings/Security... and bring up the Project Security Dialog box. The first problem I found is that I do not see anyway to associate users and passwords with the Team Foundation Server groups. Next I tried to add a windows domain group so I selected "Add Windows user or group", and clicked the Add... button to bring up the Select Users or Groups dialog. The  second problem occurs when I push the Locations.. ...Show All

  • Visual C++ cannot convert from 'LRESULT

    I have a MFC Application that creates a thread to do some processing. I am able to pass event messages from the thread to the main program. But, when I used similar logic to pass a message from the main program to the thread, I get this error message in the thread's .cpp file: Arc220Thread.cpp c:\Visual Studio Projects\mh53\mh53\Arc220Thread.cpp(16) : error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall CArc220Thread::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' None of the functions with this name in scope match the target type The error message concerns this bit of code in the thread: BEG ...Show All

  • Visual Studio Team System Error 28100.Error loading Event web service.

    Hi,   During installation I got "Error 28100.Error loading Event web service.". Any idea what is going wrong TFS is being installed on a Virtual Machine.   Please feel free to contact me if you need any more information. Thanks, Bart ps. Is it possible to upload the setup log Are you attempting a single server or duel server TFS install At what stage of the installation process are you getting the error   Easiest way is cut and paste the relevant error stack trace. ...Show All

  • Software Development for Windows Vista Assembly reference missing for System.Workflow.Runtime.Messaging

    I downloaded some samples on windows workflow foundation, when i am trying to run those samples it is giving error like 'the type or name space "messaging" does not exist in the namespace system.workflow.runtime' When i am trying to add that dll from references it is not exist in that i am working currently on winfx 2. 0 runtime so any one help me to solve this problem Hi Suresh, It looks like the sample is not in sync with your WF version. The "Messaging" namespace has been merged into System.Workflow.Activities. All types previously in the "Messaging" namespace are now in the "Activities&q ...Show All

  • Visual C++ Passing an array of structs

    I have this struct struct student//Struct layout { char name[30]; char id[11]; float gpa; int age; char gender; }; this is the syntax I have for the function I want to send the array to: void firstmenu(student students[]); student students[5];//Struct Array, this is where I make the array firstmenu(students[]); and that is where I try to call it. I get a compiler error of: error C2059: syntax error : ']' when I try to call the function. So I am assuming I have the right parameters when I make the function but I am missing something when I call it. I tried it without the [] doing [5] and it still gives me errors. I'm not sure ...Show All

  • Windows Forms Threading

    Hi guyz.. I need some help on threading.. Ok i already created a delegate and attached a method to it, and i invoked the delegate. Now that the sub routine is running on a seperate thread in the thread pool i need to call a another sub routine within that running thread, actually the sub routine im trying to call is the same sub routing& ...Show All

  • Windows Forms Hiding properties

    Hi I am finally trying to create a reusable control with design support (as opposed to my normal method just making the code part of the project and driving the design with code). The problem I am having is hiding some of the "UserControl" exposed functionality.  I have created my own derived ControlDesigner-class (and set the DesignerAttribute of the main control) ... [DesignerAttribute( typeof (LineControlDesigner))] public class LineControl : UserControl {     /// Stuff here }   and tried overloading the PostFilterProperties function:     public class LineControlDesigner : ...Show All

  • Visual Studio Express Editions MS C++ 2005 express beta 2: Problems with some windows.

    Okay, i've just updated from beta 1 and everything in beta 1 worked fine. The problem i'm having is that some features in beta 1 doesn't work on beta 2, like for example when chaning a directory for the project's output you do not see the list panel to select what macros when you click on the macros button. The other problem is in Configurations properties->C/C++->General->Additional Include Directories is that unless you enter the directory their by hand, not by choosing the edit option, you can not add new additional directories. in the edit dialog of those types of options you do not see the macros list panel nor the list panel f ...Show All

  • .NET Development Connecting to SQL Database

    Can someone please tell me what I am doing wrong. I am not certain why I cant make the connection to my database. Any pointers would be greatly appricated. I keep getting the following message: Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 445: Line 446: Dim CPhoneNum, CWorkNum, CCell ...Show All

©2008 Software Development Network