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

Software Development Network >> Kashif Arshad's Q&A profile

Kashif Arshad

Member List

new to .NET
Hoang Nguyen
James Leung
João Marcelino
gazalec
camilero999
Ahmed Mahdy
Jawad Munir
Andrew Hogg
Dodgeball
Adrey
jls
Moldau04
VaibhavChoubey
erichca
crhill1979
PJune
Code Captain
Elizabeth Maher - MSFT
sudeepunnikrishnan
Only Title

Kashif Arshad's Q&A profile

  • .NET Development Any way to marshal / use COM objects created in STA thread from an MTA thread?

    Hey, I have a main thread running in a Single Threaded Apartment (WinForms, but also unit tests run on STAThreads) and I have a couple of managed objects created on that thread that wrap COM objects inside. I would like to use these objects from a background thread that runs as an MTA thread in the ThreadPool (I use a BackgroundWorker in this case). Just passing the reference and calling them from the MTA thread results in lock-up or FatalExecutionException or something very ugly. Although I was expecting the .NET RCW to somehow proxy that call into the STAThread, it doesn't do it and I have found no apparent solution to call my objects f ...Show All

  • Visual Studio Express Editions Having trouble watching training videos

    Hi, I'm trying to watch the training videos on Microsoft's site ( http://msdn.microsoft.com/vstudio/express/vwd/learning/default.aspx ), yet the video will pause while the audio continues. Anyway to get these videos to run smoothly without the video pausing for a minute every once in a while I can still here the audio though. Thanks! Leo I downloaded them and I still get the same problem.  For example, on the first video at exactly 15min : 11sec the video pauses and doesn't resume until about 18min : 21sec.  I personally dislike .wmv, I wish microsoft would have giving the option of a ...Show All

  • Visual Studio Team System source control- adding empty folder

    Hi Is it possible to add empty folder to source control Thank you all I wasn't able to find out how to do this. However, if you create a dummy file and put it in the directory then you can add the  folder + file in the usual way. I found it useful to create a file called 'index.txt' for each folder and add a few lines to describe its purpose. Will     ...Show All

  • Visual Studio Express Editions Creating reports in Vb Express 2005

    Are there any type of reporting features in VB Express 2005   Tried Crystal 9.0 with no luck.  Any help appreciated. John Williams Crystal doesn't come with the Express Editions.  If you're using SQL Server, you can use Microsoft's reporting services.  I think reports can be added from the new item... menu, and report controls are available on the toolbar. If you're not using SQL Server, you'll need to get a third party reporting package.  We use Active Reports, which is pretty good (but not free).  There are some free ones as well, just look around on SourceForge or another open ...Show All

  • Software Development for Windows Vista CBaseFilter derived class plays video great, but the audio goes silent after a few seconds...

    Hi all, I have built a filter, derived from CBaseFilter, with two input and two output pins (audio and video IO). The IO pins I derived from CBaseInput and CBaseOutput pins. I have different classes for audio and video pins: i.e. I have 4 types of pin; Audio In, Audio Out, Video In, Video Out. All testing to date has been done in GraphEdit using a webcam & associated mic for input, and default sound & video renderers for output. The Video IO works fine, with the play and stop functionality working too. The Audio IO works for a few seconds before breaking up and going silent. When the Audio pins are connected, the gr ...Show All

  • Visual Studio Express Editions Username/Password dialogs

    When attempting to run or debug a page, I'm receiving a dialog ("Enter username and password for "" at http://localhost:xxxx") to enter a username and password before accessing it.  I've tried entering my ASPNET username and password, my administrative password, etc., but none of them is working and I'm receiving the following error: Server Error in '/<webpage>' Application. HTTP Error 403 - Forbidden. I've also reviewed my IIS settings and tried using impersonation in my web.config, but I haven't resolved the problem.  Could someone please provide additional insight on how to resolve this   Thank you very much! ...Show All

  • Windows Forms Teaching .Net in Colleges

    In January 2004 (possibly in September 2003), I will be teaching VB .Net at a local college. I was wondering what kind of ideas my friends over here have for me. Also, does anyone know of a school that is already teaching .Net  I'd like to find out what they are doing too! Let me know as soon as possible as the 2004 class books need ...Show All

  • SQL Server problems in creating report (parent child hierarchy)

    hello, im working with as/rs 2005 and need help in creating a report. my cube has a parent child hierarchy in "category". structur is as follows: A a 1 2 b B C f g 10 11 12 I like to have a function or something, that gives me the unique names of all children of maybe A (result should be: a,1,2,b,3,4,...) there is a function called children, but i am not able to obtain my desired result. (in fact, i dont get any result with this fuction) every little bit that shows me the right direction is highly appreciated ... ...Show All

  • Visual C# C# DirectX help

    Am trying to make a 2d and i ran in to a lil problem how to go about doing this http://img107.echo.cx/img107/9109/untitled17tu.png If you are using tiles you would basicly be able to turn them on or off each frame if you like but leave the position defined, this would simulate turning them invisible. Mykre www.ircomm.net - Managed DirectX Game Programming ...Show All

  • Visual C++ help please with returning multi-dimensional array...

    is there some way to return a mutlidimensional array from a function double *MatrixMultiply ( double m1 [][ 3 ], double m2 [][ 3 ]) { int r, c; for (r = 0 ; r < 3 ; r++) for (c = 0 ; c < 3 ; c++) m1[r][ c ] = m2[r][ 0 ] * m1[ 0 ][ c ] + m2[r][ 1 ] * m1[ 1 ][ c ] + m2[r][ 2 ] * m1[ 2 ][ c ]; return (m1); } Yes, you can return a multi-dimensional array, but in the example you post, you are passing 2 matrices to the function via pointers to arrays that have already been allocated in the calling routine, so you can just return the product the same way.  Just make the function "void ...Show All

  • Visual Studio Express Editions Unable to download Express Editions

    Is anyone else experiencing problems try to download Visual Studio C# express from: http://msdn.microsoft.com/vstudio/express/visualcsharp/download/default.aspx I have also tried downloading Visual Web Developer Express from http://msdn.microsoft.com/vstudio/express/vwd/download/default.aspx . I'm using IE6.0 and each time I click on the download button another window pops up and eventually times out with the error "The page cannot be displayed". The link that shows in the popup window is: http://go.microsoft.com/fwlink/ LinkId=51411&clcid=0x409 . Any help or alternative download sources would be appreciated.   ...Show All

  • Visual Studio installproblem with Visual Studio 2005 Beta

    By installing Visual Studio 2005 Beta, on a WindowsXP Professional OS, I get the following error: file not found: _9103_RTL_X86_enu_VCSharp_EE.cab HELP!!! Nicole Hi, If you are installing from CDs, try copying the content of all CDs onto a folder on the Hard Disk and run the Setup from Hard disk - that may help. Regards, Vikram ...Show All

  • .NET Development ISAM problem

    I have got this question to the experts ... does any one know any thing about this problem ... this is a ado.net code using c# which i have copied from a book ... but its not running ... basically producing a run time error called " unable to find installable ISAM" i dont know wht is this and wht does it means ... i m enclosing the code and the error picture ...can any one help ! using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Csharpdatabase { /// <summary> /// Summary description for Form1. /// </summary> pub ...Show All

  • Visual Basic Hiding controls on the designer

    I have a bunch of controls on my form and am wondering if I can hide some so it doesn't look so cluttered. I only wnt to hide them on the designer though and not at runtime. Any way to do this I came up with something similar to Renee's response. I have a collection of group boxes and set their size to 1 pixel by 1 pixel. I set them just outside the edge of the form. When I want to use that groupbox I move it to the right spot then resize it to the right size. At the same time I move the one I am no longer using and set it's size back to 1x1. Of course, this will only work with a fixed form. Oh yeah, and I can hide but I cannot run. ...Show All

  • Visual C# please help me udnerstand how they do it

    Hi They have 3 buttons.. Like the Control form butonss.. The X _ and maximize.. They make a image for all there buttons in pressed mode.. another image (gif) in mouse over another image in "free" .. that means that no action over the button was made.. Here is the link to those images.... 1 image is on mouse click picture 2 image is a animated mouse over picture 3 image is a map... 4 normal picture of the buttons As you see all the three buttons are in on image... then in their program some how manage to make 3 buttons.. but each button has as background image a part of the initial image(that with all there buttons) .. the Mouse ...Show All

©2008 Software Development Network