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

Software Development Network >> Thara Riaz's Q&A profile

Thara Riaz

Member List

davidmvp
LouisPeter
Mr.Siddhardhaa
Marek Istvanek
Nefer-Ra
mukilan91
Gaëtan POUPENEY
wms103006
Devi48354
Elliot Rodriguez
Leather
super_bly
GSReddy
-D-
Rick Strahl
Ryan F
slein
p.hansen
satya31237
kevin delafield
Only Title

Thara Riaz's Q&A profile

  • Software Development for Windows Vista stop printing from a filter

    is it possible to stop the printing from an xps filter would a call to RequestShutdown be the proper way to cancel the printing RequestShutdown(HRESULT_FROM_WIN32(ERROR_PRINT_CANCELLED)) works, too ...Show All

  • Visual Studio Express Editions Whats the code for Shutting down logging off and othe similer functions

    Whats the code for Shutting down logging off and othe similer functions To shutdown the machine - the following should work Shell ("shutdown -s -t 00") To restart windows use the following : Shell("shutdown -r -t 00" ) You can use process.start instead of shell. ...Show All

  • Visual Basic open a file with is default program

    Hello, When you open a .txt–file, Windows will use Notepad for viewing the file. I have created a program, such as Notepad and I have declared that the .txt–files must be opened with my program. But when I want to open a .txt–file, my program opens, but the text doesn't appear in the Rich Text Box. When I write in code: RichTextBox.LoadFile(...), I must have a path, but I don't know how to use the path of the file I want to open. Does somebody knows a solution Thx! OK, your correct in changing the association of the program so that for txt files they are pointing to you application but you also need to take in a command line parameter which will be used to load the contents into you textbox The fo ...Show All

  • Visual C# Windows Service OnStart Event

    Hello Everybody I wanted to know how to work with Windows services In the Service it is said that we should not write looping code in the OnStart Event So where should i write my code of looping event as such i wrote in the start event it works fine Is it good to write the code in onstart as my code will take a time may be more than 30min to 1 hr And one more thing how to stop the service i.e after my code has done the work Thank you in advance The ServiceController class in the System.ServiceProcess namespace provides functionality to Start/Stop services. Try calling ServiceControler.Stop as in: ServiceController cs = new ServiceController("MyService"); cs.Stop(); ...Show All

  • Customer Care Framework Unable to configure a phone in Agent Desktop

    I get this error in the Agent desktop Application. Phone Settings are configured through Admin Console, Softphone is installed and also all the required steps in Deployment doc. are properly executed. The error originates from PhoneMenu.cs, in InitCTI() function inwhich CtiHostedControl.InitializeLine(agentNumber) returns a NULL. The Example soft phone requires TAPI to be installed on the machine hosting the agent desktop if your not using the CTI / TAPI bits then you can ignore this error... can you disable it in the Admin console by disabling the CTI Hosted application. Matt B. ...Show All

  • SQL Server Sorting Values in Colum Matrix in a logical order in RS2005?

    Hello, I am curios if someonse has accountered issue when you have to sort values in a column matrix in a logical order as opposed to alphabetical order. In my case I would like to have a matrix column sort like in th example below as opposed to 'Graduate', 'Law', 'Total','Undergraduate'. I have a column called OrderKey which forces the sort I want in T-SQL but this sort seems to be ignored by a RS Any ideas how I can fix it Thanks Undergraduate Graduate Law Total Score 230 560 880 1670 It is like using nested IIF statements. Here is more info on the Switch VB function. ...Show All

  • Visual Studio 2008 (Pre-release) Error in markup file+loading the usercontrol's dll with reflection.assembly

    Hi all, I have developed an customcontrollibrary project in which i have one canvas and inside it, one button.Now i have one class called 'Clinkwidth' which implements IValueConverter.In the xaml file, i am using the class for binding the width as shown below: <UserControl x:Class="CustomControlLibrary1.UserControl1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Height="203" Width="248" xmlns:local="clr-namespace:CustomControlLibrary1" Name="ctltemp"> <UserControl.Resources> <local:CtxtLinkWidth x:Key="otxtLinkWidth" /> </UserControl.Resource ...Show All

  • Visual Studio Express Editions I'm so screwed! Please help me!

    Ok, so I'm still at college and I have to do this hangman program in VB 2005 and I don't know how to show the string of letters that have been typed in! I alseo don't know how I will be able to show the little hangman diagram. will someone PLEASE help me! This has to be handed in tomorrow and I have no idea what to do and I really need a good grade! Thank you Mandy I missed the spelling as I was in the programming class doing the work myself. We all reuse snippets of code in the real world but in most school classes, unless your doing advanced stuff the assignments are designed so that they are fairly straightforward - then number of times I have seen the same question pop up on these foru ...Show All

  • SQL Server Running Cognos 7 series with SQL 2005 Enterprise

    I know this question is more suited for Cognos but the problem that I'm faced with is simply that I have a Microsoft SQL 2005 Enterprise server which has cubes written in Analysis Server 2005 (AS2005) and in the frontend, I have Cognos 7 series retreiving those cubes. Now here is the problem. Cognos series 7 does not support AS2005 and now I have to somehow figure out how I can get this working. Any suggestions I recently had some discussions with some Cognos employees around support for SQL Server 2005 cube support. They "supposedly" have a release of Cognos 8 BI coming out end of this year or early 2007 that will enable support for SQL 2k5 cubes. Thanks, Greg H ...Show All

  • Software Development for Windows Vista Error when attached to AppVerifier (Test Case 31)

    Hi, I have attached my application to the AppVerifier to run test 31. I run WinDbg and then choose to open my executable (File -> Open Executable) I am getting the following error in WinDbg: ModLoad: 6ba30000 6ba4a000 ApplicationUpdate.dll ModLoad: 068c0000 068da000 ApplicationUpdate.dll ModLoad: 6ba30000 6ba4a000 C:\Program Files\Fascia\ApplicationUpdate.dll ModLoad: 0bb50000 0bc98000 image0bb50000 ModLoad: 0bca0000 0bde8000 image0bca0000 ModLoad: 0bb50000 0bc98000 C:\Program Files\Fascia\SharpLibrary.dll ModLoad: 0bff0000 0c640000 image0bff0000 ModLoad: 0c640000 0cc90000 image0c640000 ModLoad: 0cc90000 0d2e0000 C:\Program Files\Fascia\KeSignature.dll ModLoad: 74510000 746ba000 C:\Windows\WinSxS\x86_microsoft.windows.gd ...Show All

  • SQL Server T-SQL Badly needed

    To one of our sql server database Table A , we need to migrate data from another sql server database Table B . Assume there are two columns in a table namely OrderID and Comments . Here OrderID is a foreign key. And therefore, I can have any number of comments for a Particular OrderID. Thru a TSQL query, I wish to have all the Comments data beside the OrderID seperated by comma like Ord1 Comm1, Comm2, Comm3 Ord2 Comm5, Comm6. Comm7, Comm8, etc., This is just the thing we used to do for numeric columns using GROUP BY statement as SELECT ORDERID, SUM(ORDER_TOTAL) AS AMT FROM B GROUP BY ORDERID Want to know how to achieve similar effect with Varchar type of data. I'm currently using Cursor to concat, but it is taking long l ...Show All

  • Windows Forms Scroll the datagrid to a particular row

    Hi, I have a problem with the vertical scrollbar. I would select a row in datagrid and update it.When I reload the datagrid with data, the selection would be to the first row.I could clear this problem with the 'NavigateTo' property, but , the vertical scroll bar is still at the same position as initially. How can i program the vertical scroll bar to move to row thats required. A code sample is more than appreciated. Thanks I used it but of no use. The pointer is pointing to the set row but the Vertical scroll bar is not moving to the required row.Here, i need to move the vertical scroll bar. Please help on it ...Show All

  • Windows Forms ClickOnce compatibility Question

    At our place of business we no longer use the Novell Services but rather Microsoft Active Directories. Since changing to Active Directories I have been unable to deploy any projects using ClickOnce Technology. Is there a compatibility issue between ClickOnce and Active Directories Ken nope... I use clickonce at my work with full AD without a problem... it's just a call to a webpage. maybe verify the web server is accessible from client machines good luck. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Path to becoming a professional game programmer

    I'm sure a lot of aspiring game programmers out there are looking for a road map on how to become a pro. (I know I am!).  Based on all the great products coming out, and the ones that already exist, it's probably very confusing for someone new to this.  I put together a quick "road map" based on my (limited) knowledge to help those rookies get to the finish line.  Please feel free to add to, change or comment...especially if you're already in the busniess! Update(11/22/06) - moved some items around and added new categories based on suggestions Beginner - Torque X Create some simple games with TorqueX Game Builder ...can't comment much more on this since I've never used it Begi ...Show All

  • Software Development for Windows Vista In July CTP, using StateMachineWorkflowInstance to obtain CurrentState freezes workflows in that State

    Dear all, I have a working StateMachineWorkflow hosted under asp.net 2.0. I have written a simple routine (shown below) to interrogate the current state of a workflowinstance: public string WfCurrentStateDescription(string WorkflowInstanceId) { // Get the workflowRuntime which was started in global.asax WorkflowRuntime wfRuntime = (WorkflowRuntime)Application[WorkflowRuntimeKey]; StateMachineWorkflowInstance wfInst = new StateMachineWorkflowInstance(wfRuntime, new Guid(WorkflowInstanceId)); return wfInst.CurrentState.Description; } I find that, once I have called this on a workflowinstance, that instance gets "stuck" in the current state and never transitions to the next state, even though code appears to get c ...Show All

©2008 Software Development Network