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

Software Development Network >> Sajid Hussain's Q&A profile

Sajid Hussain

Member List

Kitz
ASaleem
Mazmo
Gary7
MustangCobra
Jae
Bosse G
Troy Lundin
GTH
MaggieChan
JennyMQuinn
Spuddo
Antoine L.
trun_gup
Mongsreturn
Smallmaj
Cammyr
dmanz
*Jinx
David Hanak
Only Title

Sajid Hussain's Q&A profile

  • Visual Studio Express Editions Navigate cells without capturing

    I am a firm believer in simplifying and eliminating unneccesary code to accomplish a task. Dotnet is somewhat comfusing to me but i think that when you find the "straight forward code" it is so much easier to use. Here is an example: take a look at the code at this link first http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1101850&SiteID=1 Now i eliminated the keypress event code and added this: Private Sub movedownbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles movedownbtn.Click MaintableDataGridView.CurrentCell = MaintableDataGridView.Item(0, _ MaintableDataGridView.CurrentCell.RowIndex + 1) End Sub If anyone has any simplified code can you please start posting fo ...Show All

  • Visual Studio Locals Debug Window

    Hello, Since short I the Locals - Debug - Window is empty. I cannot figure out what is the problem. When I run the solution, I cannot debug/verify the variables. Does someone have a clue what is going on It is happening with all my solutions. Thanks. Hi, I reinstalled the machine and problem resolved. I cannot figure out what caused this flaw. Thanks for reading and helping during this thread. ESTAN ...Show All

  • Visual Basic JScript to VB

    im converting a website from no asp.net abiltys to asp.net 2.0. origanaly the site used jscript to do interactivity now i want to use VB. some of the code i dont understand so i cant convert it. any help would be great. the code is (its very long): var document_gregorian_year = "1998" , //Curent english year document_gregorian_month = new Array( "January" , "Febuary" , "March" , "April" , "May" , "June" , "July" , "August" , "September" , "October" , "November" , "December" ), //English months document_gregorian_month_index = 0 //Curent english month document_gregorian_wday ...Show All

  • .NET Development Common Language Runtime Internal error: 0x80131107

    Hi all, on one of our buildcomputers I get an internal error when building a version of the application for .NET1.1 : ------ Rebuild All started: Project: DataExchange, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... fatal error CS0009: Metadata file 'c:\Program Files\Siemens SIPLACE\SIPLACE Pro\GAC_DevCopy\System.Messaging.dll' could not be opened -- 'Common Language Runtime Internal error: 0x80131107' But the project file does not reference the System.Messaging.dll in this folder mentioned in the error message: <Reference Name = "System.Messaging" AssemblyName = "System.Messaging" HintPath = "C:\WINNT\M ...Show All

  • Microsoft ISV Community Center Forums vlookup

    Hello can anyone help me with how to write the excel vlookup function in vba the function in excel looks like this VLOOKUP(O2,'[Consolidated list of supplier.xls]Sheet3'!$A$5:$F$218,6,FALSE) how can i get something similar working in a macro. thanks namrata Hi, How about some like this Dim rngLookupValue As Range Dim rngtable As Range Dim lngColIndex As Long Dim blnRangeLookup As Boolean Set rngLookupValue = Range("O2") Set rngtable = Workbooks("Consolidated list of supplier.xls").Worksheets("Sheet3").Range("$A$5:$F$218") lngColIndex = 6 blnRangeLookup = False vntResult = Application.WorksheetFunction.VLookup(rngLookupValue, rngtable, lngColI ...Show All

  • SQL Server Before Insert Trigger

    Hi, I've a SMS gateway that inserts SMS message into a varchar column. However, when it receives a SMS with single quote, it fails to insert into the varchar column. E.g., It's a...How's life .... I need help to find a workaround. Is there a equivalent of Before Insert trigger Also realised that the locgical 'inserted' table cannot be updated. Advice pls. There is an instead of insert trigger, but I don't think that will help. The failure would happen before the trigger could help. For example: create table sms ( --should have a primary key msg varchar(250) ) go insert into sms select 'that's life' Msg 102, Level 15, State 1, Line 2 Incorrect syntax near 'life'. Msg 105, Level 15, State ...Show All

  • Visual Studio Team System How to automatically create workitem when Team build fails?

    Hi, How to automatically create workitem when the unit test fails/ incomplete code coverage during Team build Thanks... The workitem for build fail is only created when the compilation step fails, check this article to check when the tests are failing in a build: http://blogs.msdn.com/aaronhallberg/archive/2006/09/21/764951.aspx ...Show All

  • .NET Development multiple select

    Using .net 2.0 Is it possible to have a stored procedure with several select statements so that a dataset can be populated with all of the select statements. So the dataset will end up with several tables (One table for one select statement). At present I use the dataadapter to fill the dataset. I do this for each stored procedure which holds a select statement each. But rather than repeating this method several times (One for each select), I would like to do all this in one stored procedure and populate a dataset with the results of these tables. Is this to do with MultipleResultSet (MRS) Any suggestions please Thanks Yes, you can and it is indeed better to get all the data with one go rather than querying ...Show All

  • Windows Forms Results from a worker thread into main thread?

    I have a C# dll which provides an event of SqlDependency Notification messages to clients via a delegate. The event fires ok and I get the expected data. The problem lies when I try to get the resulting dataset into a DataGridView without having to implement a manual refresh via button click. I'd like for this to automatically update upon change. I'm thinking the reason is because the data is coming from a worker thread within the SqlDependency class and I have to create some means of marshalling it into the main (gui) thread. Below is my first whack at the event handler but for some reason it does not work. That is I still have to mash a refresh button. Can anyone offer a suggestion void ExcepNotification_NewExceptionNotification(Data ...Show All

  • SQL Server Multiple selects on PArameter drop down

    I have a parameter dropdown as USERID. I want a functionality that the user can selct multiple userid's to show more than one record as output for comparison purpose. How can i achieve this multiple select (i.e cntrl+click) within parameter dropdown. Thanks, Kiran. In the report parameters window, check the 'Multi-value' box on your UserID parameter. In the available values section, you can type the possible values, or query the database to get the list. You will also need to take the multiple values into account on your data query, you'll need to use 'IN' instead of '=' on your where clause for UserID. This will show on the report as a drop down, where the user can check which values to ...Show All

  • Windows Forms visual .net vs visual 2005

    Hi. I'm interesting in buy the lastest version of Visual Studio but I have a doubt. What is the lastest version Visual Studio .Net or Visual Studio 2005. Thanks for your answers ...Show All

  • Visual Basic need help with offsets for LayoutKind.Explicit - unravelling a returned struct from unmanaged into managed

    Mathew Gertz pointed me in the right direction I believe in an earlier post. My P/Invoke is returning valid values for 'name' below at field offset 0 and other values as I can see in QuickWatch. StructA below is passed and returned from the unmanaged C++ dll with valid values. An error is thrown however; System.ExecutionEngineException was unhandled   Message="Exception of type 'System.ExecutionEngineException' was thrown." I would like to try Mathew's idea of using LayoutKind.Explicit rather than LayoutKind.Sequential which I am currently using. If I had <FieldOffset(0)> for the first member of StructA, can anyone help me with how the rest would look I would say Offsets would increase by     1. 4 after each Integ ...Show All

  • Audio and Video Development dxva2.0 vs dxva1.0

    Hi, I am trying to figure out how to update my dxva1.0 based application to dxva2.0. In dxva1.0, things seemed to be simple enough: IAMVideoAcceleratorNotify is implemented on the output pin of the decoder, and IAMVideoAccelerator is implemented on the input pin of the renderer. However, due to lack of documentation (I couldn't find it), I don't know how to map DXVA2.0 interfaces to the the decoder output and renderer input pins: Is IDirectXVideoDecoder implemented on the renderer input pin Is IDirectXVideoProcessor implemented on the decoder output pin How does IDirectXVideoMemoryConfiguration fit in The DXVA1.0 document gave an excellent example of the call sequence of dxva1.0 IAMVideoAccelerator calls. A similar example ...Show All

  • SQL Server Accessing SSIS on servers with only Named Instances

    Here's my problem: I've entered a set of database maintenance plans in SQL 2005 and would like to export them to other servers. I've built four database servers on this Windows 2003 server, all named instances. One is SQL 2000, the others are all SQL 2005. SSIS is running on this Windows server using the server name, since it doesn't support multiple instances. The maintenance plans are all functioning properly. I want to export the maintenance plans to other servers and the research I've done directs me to go into Integration Services, open up the MSDB database and select the packages there, and select export. The problem is that when I attempt to open up MSDB I always get a connection failure. I don't know which of the SQL Servers ...Show All

  • Visual Basic VB .net tab control multi line...

    Ok, I am creating a new version of a program in vb .net. The main page has a tab control with 7 tabs on it to select your general category. However, the two word text does not always fit on these tabs. I want the text to wrap instead of just going out of view off of the tab. However, there is no wrapping option or way to get the text on multiple lines(like there was in VB 6), except for forcing it by inserting a new line character into the text. But if I do it that way the text is no longer vertically OR horizontally centered and looks very bad, and is plainly unacceptable. So, is there any way to get the text on multiple lines on the tab control I have been looking everywhere for this option and it is simply not there. Thank you. ...Show All

©2008 Software Development Network