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

Software Development Network >> Arpit Arora's Q&A profile

Arpit Arora

Member List

Robert Barnes
alonix
Lee Brimelow
c699976
Sql4088
zerocle
espana
imranabdulaziz
Anuj164
Tryin2Bgood
Steve Whitley
Jedrzej
bxchan
Bill Reiss
GregMaxey
ckoest
Chris Du
Steve Eichert
tchen777
Hrishikesh
Only Title

Arpit Arora's Q&A profile

  • .NET Development Exposing .NET classes to a Scripting Host

    Currently I am transfering an application from C++ to C# (i.e. rewriting) that creates an instance of the Microsoft Scripting Host, like in the sample " MfcAxscrVb ". (You know, such stuff like the IActiveScriptSite interface, etc.) An issue that arrises is when exposing C#-objects to the scripting host that are derived from generic classes (e.g. a class derived from List<T> ). When trying to access an instance of such a class from my VB script, the methods I try to call seem to be unavailable ("method not found"). Question: Is this a known "issue" that objects derived from generic classes cannot be exposed to and consumed from a script inside the Microsoft Scripting host Thanks Uwe If it is a g ...Show All

  • Windows Forms Partial underline within a rich text box

    The code noted below allows me to underline all the text in a rich text box. Can someone suggest code that will allow me to highlight part of the content of the rich text box and underline only that text Thanks Private Sub BtnFont_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnFOnt.Click 'Set the font dialog control properties FontDialog1.ShowColor = True 'Show the font dialog If FontDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then 'If the OK button was clicked set the font 'in the text box on the form RichTextBox1.Font = FontDialog1.Font 'Set the olor of the font in the text box on the form End If End Sub ...Show All

  • Windows Live Developer Forums msn

    my problen is simular but the prob is i cant sing in my account it tells me to click troubleshoot and troubleshoot it but it does not work and to check the error coad i can use my mums we share a computer the onlydifference is we have differnt user accounts i have now usin an an older veisin but i would like to get 8.0 back plz because the olda versions rare not as gd thanx plz help shannon The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support i ...Show All

  • Visual C++ Reading Certificate received with WinInet with CryptoAPI

    Hello, I am using WinInet https to communicate with a server and receive files through a SSL connection. For this a certificate is send to a client from the server. I would like to analyze this certificate at the client side. I read something about CryptoAPI and I was wandering if it would be possible to read certificates send from server using CryptoAPI. thx For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups OTP Thanks, Ayman Shoukry VC++ Team ...Show All

  • Windows Forms how can i know which field only has changed?

    Private Sub dt1_RowChanging( ByVal sender As Object , ByVal e As System.Data.DataRowChangeEventArgs) Handles dt1.RowChanging If e.Action = DataRowAction.Change Then E nd If End Sub Private Sub dt1_PropertyChanging( ByVal sender As Object , ByVal e As System.ComponentModel.PropertyChangedEventArgs) Handles dt1.PropertyChanging End Sub is getting me an error is that a bug Error 2 Method 'Private Sub dt1_PropertyChanging(sender As Object, e As System.ComponentModel.PropertyChangedEventArgs)' does not have the same signature as delegate 'Delegate Sub EventHandler(sender As Object, e As System.EventArgs)'. D:\Docu\Information Technology\Jungleh\Programs\ . .. the ...Show All

  • SQL Server Problems Deleting / Renaming Dimensions

    I had a problem with a dimension and so decided to re-created it. Once I was happy with the new dimension I deleted the old and renamed the new to what the old one was called previously. When I try and build my cube I get the following error: Error 18 Errors in the metadata manager. The dimension with the name of 'dim_product' already exists in the 'Sales_AS' database. Not sure why this is happening as I thought I'd got rid of all trace of the old dimension. If I rename the new dimension I have no problem. Is anyone able to explain what's going on here Thanks. If you deploy with the default settings the old dimension still exists on the server and if you want too deploay a second one with t ...Show All

  • Software Development for Windows Vista WPD Api Sample failing to return Device Count

    Hi Experts, I am having an issue with the WPD Api sample provided with Windows Vista SDK and I am running the application in Windows XP. I am trying to identify a WIA device via the IPortableDeviceManager interface. I tried with IWIADeviceManager interface earlier but switched to the former since thumbnail full path method calls were not returning proper results. I could compile the WPD Api Sample workspace and could successfully register the Interface, IPortableDeviceManager interface, but the same returns 0 devices when i call: hr = pPortableDeviceManager->GetDevices(NULL, &cPnPDeviceIDs); I have connected the camera in PTP mode and not in USB mode. Any ideas or hints on why this is happening Or is there a ...Show All

  • Windows Forms Read a value of Datgrid cell...

    Hi, How i can read a value of a cell in DataGridView... I have 2 different types of columns in my application . If user selects values of all the 2 columns of 1st row & then he presses a button...so on that button click event i have to display value on my form using 3 lables. My columns are of textbox(1st column) & combobox(2nd column) type. So how i can read these user selected values & display it on form with lable on button click event... Thanks in advance, Vinay Thanks for your immediate reply... Can i select 1st value of each cell in my comboxcolumn on loading of form... I want user to see the 1st value of each cell in my ComboBoxColumn when he loads that form... ...Show All

  • SQL Server Security setup for distributed queries

    I am executing a select * inner join where three of the source tables are placed on a linked server. The tables contain 7 million records or more. When I setup the linked server with server securityadministrator privileges on the source the query runs fine but when I reduce the privileges to database db_reader access the queries never returns any result. What is the problem here and how do I limit the privileges on the linked server so that it is "read only" on the source tables Rgds Bertrand ...Show All

  • SQL Server SSIS Higher Level Edition error when run in a Sql Job

    Hi, I am receiving the following error in Sql Job agent when I try to run an SSIS package : The task "Create Excel File" cannot run on this edition of Integration Services. It requires a higher level edition. It then goes on to tell me : The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. I have tried reseting the error count to allow for the "errors" , but it stills fails. The job suceeds in Visual Studio, but not when scheduled in Sql Management Studio. Any suggestions Thanks, J. Sql 2005 Enterprise Edition. The version of SQL ...Show All

  • SQL Server Transactions - Back to Basics

    Hi all, I am having no end of trouble with transactions in the package which i am building. I now just want to go back to basics and see if someone can tell me where i should set specific transaction options. Firstly, my package runs a for each loop which loops through a directory of directories. In each of the sub directories there are 2 files. The first steps in the loop are to check if a folder has been processed previously, if so then it moves it to a specified directory. The reason that this is done first is that i cannot move the directory whilst it is being read in the foreach loop, so i pass the path to the next iteration of the loop. There is another file system move directory task outwith the foreach loop to deal with the last di ...Show All

  • Visual Studio 2008 (Pre-release) Why strongly DataTable can't retrieve data in client in WCF?

    Hi, I have a method which will return a strongly DataTable in service, in service side it will retrieve 10 records from DB but there is no any data from service to client. Anyone know the issue and how to resolve it Thanks, Zhihao is your data table parameter a required parameter of the message contract if not then you may have a boolean property on the message contract called "<PropertyName>Provided", if this is not set to true it will not send the parameter. ...Show All

  • Windows Forms How to focus other control after press the enter key in the last row of a DataGridVied control?

    Hi, I have a program, after press the enter key in the last row of DataGridView control, i want one TextBox control get forcused in the same Form. How can i do that Everyone with advice Thanks Private Sub DataGridView1_KeyUp ( ByVal sender As Object , ByVal e As System . Windows . Forms . KeyEventArgs ) Handles DataGridView1 . KeyUp If e . KeyCode = Keys . Enter Then If Me . DataGridView1 . CurrentRow . Index = Me . DataGridView1 . RowCount Then Me . TextBox1 .Select() End If End If End Sub ...Show All

  • Visual Basic Issue- .Net-Vb6.0 activeX

    HI, In my .Net application i am using a vb6 ocx control. The vb6 control internally refers one public method from my .net application. My problem is while the vb6 activex control trying to refer this variable then getting an exception "Object does not support this property or method". I have replaced the .net public method to readonly property, after that it is working fine. Can anyone tell me the reason Thanks Could you please post the code for the method and the ReadOnly Property Could you also post the VB6 code where you're trying to call the property/method Thanks, Jonathan ...Show All

  • Visual C++ VS2005 runs vsvars32.bat automatically?

    To use some VS2005 tools, you have to set paths, which can be done with vsvars32.bat. How can you set up VS2005 to run this batch file automatically every time VS2005 is started It is inconvenient to have to remember to go to a command prompt and run vsvars32. VoiceOfExperience wrote: 1) How can one get tools such as DumpBin and nMake to be startable from the tools menu, as opposed to a command prompt Add them through the Tools > External Tools dialog. VoiceOfExperience wrote: 2) How can one get vsvars32 to be run automatically when a shell is started, so you don't have to invoke it every time you get a command prompt window You can either add the lines from vs ...Show All

©2008 Software Development Network