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

Software Development Network >> Furqan Farooqui's Q&A profile

Furqan Farooqui

Member List

Trainwreck
Bertrand Caillet
jackinthegreen
Dvlnblk
centexbi
Fox Me Up
OhDuck
RobZeilinga
Shazen
Seah Chen Khoon
Furious P
buladbanaw
giftgirls
jdunlap
Cyberpro60
nglow
TarPista
Jakein2006
dreameR.78
ashk1860
Only Title

Furqan Farooqui's Q&A profile

  • Smart Device Development FTP NLST From WM5 to UNIX

    I use th FTP example from Microsoft (kbms-help://MS.VSCC.v80/MS.MSDN.v80/MS.KB.v10.en/enu_kbvbnetkb/vbnetkb/832679.htm)and it connect but in the GetFileList function when reach to line: bytes = cSocket.Receive(m_aBuffer, m_aBuffer.Length, 0) it doesn’t return. It works fine with PPC30 and with WM5 when I connected to my Windows XP with ActiveSync. But when I connected via modem with UNIX it only works with PPC30 and I need the application for the news WM5 PDAs and for the PPC30 also. Can somebody help me with this issue. Ok, well my 5 minute review of the code for that KB article gives me this code (inside the GetFileList method): Do While (True) m_aBuffer.Clear(m_aBuffer, 0, m ...Show All

  • Visual Studio Team System Incorrect results view due to COPY rule

    I have defined an additional field "MyState" with possible values "Open" and "Closed". The System.State field has many more states. The value of MyState is defined using the COPY rule <WHEN field="System.State" value="Documented"> <COPY from="value" value="Open" /> </WHEN> However some work items have a combination that is in fact no longer valid because they were imported using OM from the previous tracking system. (E.g.: Documented with System.State set to "Closed") When i look at these items in a result view then the System.State column shows the state "Open", which is not the actual state, but the state generated by ...Show All

  • Visual Studio Trapping the F5 menu command

    I'm having some difficulty in trapping the F5/Start Debugging command. I've tried adding the command like this: id = new CommandID(VsMenus.guidStandardCommandSet97, 295); command = new OleMenuCommand(new EventHandler(ShowConsole), id); mcs.AddCommand(command); but no luck. I've also added a section in the commands table like this: CMDUSED_SECTION guidVSStd97:295; CMDUSED_END My other user defined commands work ok - I can trap and handle them fine. Is there anything else I need to do Thanks Dermot I've figured out how to do this by overridding the ExecCommandOnNode method of the ProjectNode class. Works fine. But the question still remains as to why ...Show All

  • Visual C# obtain windows username information

    hi is it possible to obtain the windows logged on user information (username, name,...) programmatically Yes, it is: http://msdn2.microsoft.com/en-gb/library/system.windows.forms.systeminformation.username.aspx ...Show All

  • Software Development for Windows Vista WF lab4: event cannot be delivered

    Hello, Beginner question: i'm in the WF labs, for "Creating the state machine workflow".  I've been following the directions to the T.  However, on the red line below, when i run the Order application and hit "Create", it throws the exception noted below.  Has anyone seen this in lab4 private void btnOrderCreated_Click( object sender, EventArgs e) { // Get the OrderId that was entered by the user string strOrderId = this .txtOrderID.Text; // Start the Order Workflow System. Guid WorkflowInstanceId = this .StartOrderWorkflow(strOrderId); // Raise an OrderCreated event using the Order Local Service _OrderService.RaiseOrderCreatedEvent(strOrderId, WorkflowInstanceId); Even ...Show All

  • Windows Forms Keeping an MDI child window on top always

    I am creating a simple painting application. My application has an MDI form with two forms within it. One is frmCanvas, where the user can paint images etc... and the other is frmTools, from where the user can choose the tools to paint with. I want frmTools to always stay above frmCanvas (especially when they overlap). I tried using the 'TopMost' property. It worked when frmTools was not an MDIChild. It is not working when I set the main MDI form as frmTools' parent (i.e. when frmTools is an MDI child window). Is it suppose to work that way or am I missing something here How can I make frmTools stay above frmCanvas when both of them are MDIChild forms Thanks. Thanks a lot to nobugz and briansh. I set the frmToo ...Show All

  • Windows Forms Performance comparison of listview and datagridview

    HI! I require simple three column text view with about 200- 500 records. i want to know which control would be better in performance either listview or datagridview. Of course datagridview is better choice than listview control. datagridview is very much powerful as compared to listview, as it supports lot of features which listview cann't e.g. binding, easy to create/update/delete/retrieve records, easy to manage etc. but if u require to show only basic stuff to user, then u can use listview. ...Show All

  • Software Development for Windows Vista Event cannot be delivered - State dependency

    Hi together, I am currently using the workflow foundation for creating a state machine based workflow. Now I have defined several states (with multiple events and transitions). My problem is, how can I avoid the problem if an event occurs which doesn't belong to the current state of the workflow -> Then I always get the "Event.... cannot be delivered". How can I handle such events Thanks in advance, Franz No this is not the problem, I am looking for a way to handle event calls while the workflow instance is in a state where these events cannot be handled. (e.g. state "A" doesn't accept event "Test" but state "B" - and the workflow is still in state "A") ...Show All

  • Software Development for Windows Vista Problem with Configuration File Remote with Workflow

    I create workflow for vacation. Dim vacation As New VacationServicesLibrary.VacationReport vacation.EmployeeId = "20071045" vacation.VacationReportID = System.Guid.NewGuid vacation.SubmittedBy = txtSubmittedBy.Text vacation.Status= VacationServicesLibrary.StatusEnum.Approved vacation.SubmittedTime = CDate (DateTime.Now) Dim strVacationRemoteServiceUrl As String = ConfigurationManager.AppSettings.Item(ConfigurationManager.AppSettings.Keys(0)) Dim svcVacationService As VacationServicesLibrary.VacationRemoteService = CType (Activator.GetObject( GetType (VacationServicesLibrary.VacationRemoteService), strVacationRemoteServiceUrl), VacationServicesLi ...Show All

  • Visual Basic Creating a "grapical editor" for the end-user

    Hey, I've just started to use VB and I want to create a graphical editor box for the user to be able to interact with. Just a blank page where they can point to drop nodes and connect them with edges. This is to be acyclic and fairly complicated (a tree won't work) and user has to be able to edit each of the nodes (name, give them properties, etc), I'm thinking visually just a bubble or circle with arrows pointing will do the job. I'm sure there's something out there that'll do the job for me but I just can't find it, or I'm looking under the wrong name (is there something in the toolbox for this ) Cheers for your help, Gaff Um, it's called Visio. There may be something out there, but didn't you say you wanted to create ...Show All

  • Visual C# How do I programmatically shutdown the computer?

    How do I programmatically shutdown the computer after waiting for 3 seconds and use a timer to countdown I think, second condition was true, while working on Windows Server 2000 I missed shutdown.exe in System32 directory but again I would say I may be wrong because it was a long time ago and I dont remember what stopped me doing it! Thank you and Best Regards, Rizwan ...Show All

  • Visual Studio 2008 (Pre-release) WCF and MSMQ 3.5 Not working together?

    Hi I've installed the november versions of .net3, the sdk, and orcas. The MSMQ samples worked fine with this setup and MSMQ 3. I then installed KB897171 (Vista MSMQ beta - May this year), and recreated all the queues. Since then, none of the MSMQ samples are reading the queue (although writing works). The samples worked again once i uninstalled KB897171. Are there any known issues with running WCF with the Vista beta version of MSMQ Thanks Simon Simon, the MSMQ build referred in this KB was meant specifically for WCF Beta 1. It is not needed for WCF to work and is not supported anymore. MSMQ version coming with the operating system is what is needed for WCF, on both Vista ...Show All

  • Smart Device Development Attach Windows CE 5.0 emulator to Visual Studio 2005

    Hi, I would like if someone could help me out on this. I installed the Windows CE 5.0 emulator on my machine. But It is not recognised by the device emulator manager. So i cannot directly debug or run from Visual Studio. Is there a way to add this emulator to the Device emulator manager so that i can directly run my applications from Visual Studio 2005. Michael my question was to connect wince emulator to vs2005 not device what is basic difference between developing environs of wince emulator and pocketpc emulator 2003 as there is no default wince emulator in vs2005 thanks arvind       ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DrawIndexedPrimitives bugged?

    Hi everybody! Does anyone know if DrawIndexedPrimitives is bugged I read about people having freezing problems or getting blank screens. I have something completely different: I am trying to draw two triangles with just one shared vertex and the DX function displays just the first triangles!!! Here is the code for the VertexBuffer: private void VertexDeclaration() { vb = new VertexBuffer ( typeof ( CustomVertex . PositionColored ), 5, device, Usage .Dynamic | Usage .WriteOnly, CustomVertex . PositionColored .Format, Pool .Default); vertices = new CustomVertex . PositionColored [5]; vertices[0].Position = new Vector3 (0f, 0f, 0f); vertices[0].Color = Color .White.ToArgb(); vertices[1].Position = ...Show All

  • Visual Studio Express Editions Button KeyDown - No response

    This is a dumb question but why does the keypress and keydown not work on the button The properties are there and you get no error when compiling and running it. It just does not respond to the events. I have only one button on form1. In the keydown event I have: Private Sub Button1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button1.KeyDown MessageBox.Show(e.KeyCode.ToString) End Sub The messagebox never shows. Maybe I will have to reinstall VB Express.   ...Show All

©2008 Software Development Network