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

Software Development Network >> Vivek Natani's Q&A profile

Vivek Natani

Member List

Fabio Reynoso
gudel
Abbbbbs
dotnetsr
Brian_Tucker
hdp203
Beginer user
Adam Machanic
Sumit_Agrawal
Ri-Karou
Zen210
madenci
daxu
Andy Goodwin
Tom McAnnally
dchurch24
Hamish_Crerar
Davids Learning
ahmedilyas
Peter van der Veen NL
Only Title

Vivek Natani's Q&A profile

  • Software Development for Windows Vista How to pass parameter in ManualWorkflowSchedulerService

    when using WorkflowRuntime.CreateWorkflow, there's a overload, so that we can pass some parameter to workflow but, in statemachine workflow, if an instance already exists we use ManualWorkflowSchedulerService to RunWorkflow how to pass the paramter 1. The other to just pass the information needed to do the query so your activities can do the query while executing. so, how and where to pass by ExternalDataEventArgs or sender, when handling external event and then query and update the object in the Invoked method but, it's not what i want. if a CustomActivity(let's say it is in an InitializationActiviy) in the first state, I can just pass the parameter to workflow when by calling teh overload meth ...Show All

  • Software Development for Windows Vista Question on ActivityValidator

    Hi, I have a workflow which is derived rom SequentialWorkflowActivity. I have written a validator for this workflow. This validator is derived from CompositeActivityValidator. [ ActivityValidator ( typeof ( SimpleValidator ))] public partial class SampleWorkflow : SequentialWorkflowActivity { } This workflow contains two custom activities. First activity contains a property named 'Number' and second activity contains a property named 'Records'. In the validator of workflow, i have to check 'Number' property should be greater than 'Records' property. If this conditiion is not satisifed, then I have to show a 'Red Exclamation' symbole either on workflow or on both custom activities. Can anybody help me out. ...Show All

  • Visual Studio Express Editions Getting Error C3767.

    Getting Error C3767. It is really painful! I still can not access a method of Form1 from Form2 (MDI). (Visual C++ 2005 EE.) 1>Form2.cpp 1>.\Form2.cpp(14) : error C3767: 'SP_Analyzer_8::Form1::TestThis': candidate function(s) not accessible 1>AssemblyInfo.cpp 1>Generating Code... I have an example from Mr. Graus that compiles and runs error free. When I try that approach in my experiment program I got error C3767! "Relevant" code: In Form1.h: ... void TestThis(){ MessageBox::Show("Got here"); }; ... In Form2.h: ... private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e); ... In Form2.cpp: ... #include "StdAfx.h" #include "Form2.h" #include "Form1.h&q ...Show All

  • Windows Forms adding multiple controls in DataGridViewColumn

    Hi All, Ive trying to create a custom datagridview where one customized column could contain checkBox, textBox, or even listboxes. I know I would have to override the dataGridViewCell class, but how to I add a control to the cell i.e. If i want to create a customized DataGridviewCell where the cells contain checkboxes My code below show display checkboxes, but it doesnt.... Any help would be appreciated, Thanks Here's the paint method in my class: public class DataGridViewCustoomizedCell : DataGridViewCell{ protected override void Paint( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, ...Show All

  • Visual C++ Program runs slower when compiled with Visual Studio 2005 (in Release with optimization)

    Hey, I have a performance problem with the new Visual Studio 2005. My code (which is a genetic algorithm) is 3 times slower when compiled under Visual Studio 2005 compared to when I was compiling it under Visual Studio 2003. With Visual Studio 2003, it used to run in 3.0639 seconds, and now it runs in 9.0031 seconds. I run both code in Release. I tried every optimization option, and adding the /D_SECURE_SCL=0 compiler command to the project options with only minor differences. Is there any other way to get back to the speed Visual Studio 2003 It is a bit absurd to upgrade to a new compiler and get lesser performances. Thanks a lot!!! Antoine Atallah Hello. > If you look at the code of malloc, it is act ...Show All

  • Visual Studio Team System TFS MSSCCI asking for Team Foundation Login Information?

    Why does the TFS MSSCCI provider have a prompt for Team Foundation Login information I am using VS.NET 2003 with the TFS MSSCCI provider and when it comes up the first time on a PC it asks for the login information. Shouldn't it be using the credentials of the logged-in user I usually just entered my password without understanding why, but now that we use client certificates instead of username/password I need to know how to get around this issue. It also seems that it stored this information somewhere because if you are able to successfully authenticate, it won't ask you again. Any help on this issue would be most appreciated. With Msscci you can be authenticated as other identity than the logged-in user. This is the value that yo ...Show All

  • Windows Live Developer Forums Spanish operating system.. XP Pro, need stuff in english...

    I bought my computer in Panama. It came with Windows XP PRO installed in spanish! (no english available). I speak spanish but have worked since 1968 in english. Does anyone know where is the "key to default" that makes everything come in spanish For example, I downloaded messenger in english, but when it came up it was in spanish... I have been able to individually change some programs, but not messenger... Help I wish I could change the language of the op sys to english WITHOUT re-installing (having to buy the operating system in english and start from scratch) everything.. anyone Appreciate any help! The purpose of this forum is to discuss MSN and Windows Live application development using ...Show All

  • SQL Server replication "Invalid syntax error": Table has computed primary key

    Hi, I have set up a publisher using transactional replication. ( all seems ok). The initial snapshot has been generated. The replication share on the distributor has all the generated DDL in it. I add a subscriber. The tables are generated up to tblCountry then I get an incorrect syntax near ')' error The Replication Monitor shows the following code as the cause. ( bold indicates incorrect sql) Is this a bug in Replication (as this is an autogenerated sp)or have I configured something incorrectly The ddl for the table index is as follows ( from the replication folder) /---- CREATE TABLE [APP].[tblCountry]( [CountryId] AS ([ISO 3166-1 NUMERIC-3]) PERSISTED NOT NULL, [CountryCode] AS ([ISO 3166-1 ALPHA-2]) PE ...Show All

  • Windows Forms how to avoid multiple task icons in the taskbar.

    Hi, I have multiple forms in my application. When I open a form from another form, two form icons are displayed on the Taskbar.But I want only form2 icon to displayed and form1 icon should not be seen.However Form1 will be in inactive state. I should not hide Form1 and at the same time only present form icon should be displayed in the Taskbar. In Visual Basic 6.0 we do this by: Form2.Show 1 Now I want a similar thing in VS2005 C# also. Thanks in advance, sukanya. Hi Sukanya, You can control wether a taskbar icon appears by setting or resetting a forms "ShowInTaskbar" property. You have to do it manually, there is no mechanism for having it done automatically. Tonn ...Show All

  • Visual Basic Threading in VB.NET is complex--any alternatives?

    [Background and rant first; question below.] In VB5, I wrote a simulation model with 2-D animation on the form. I could start, pause, continue, and stop the simulation. While the simulation subroutine was running, the form controls still processed user's clicks, and the simulation could query the controls' state and pause or stop as requested. It was all in one thread; I didn't even know what a "thread" was. Now, I'm writing in VB.NET another simulation with 2-D animation. I want a "control center" form with start, pause, continue, and stop buttons, a small progress bar form, and an animation form. These have to communicate using shared data and event firing. I am spending a ridiculous amount of time learning a ...Show All

  • Visual Studio Team System Ability to incorporate relational data within TFS fields?

    I would like to add role information to a customised work item. When a user is chosen from a dropdown, I would like the role dropdown to default to the chosen user's role. Currently both users and roles are defined in Global Lists, but I wondered if there was anyway that I could move to a relational model. Can this be done Yes, moving the data to a database and doing databinding is what I'd like to do. You say that SP1 will allow the creation of custom controls - is there a URL that I can follow to get some more information on this Installing a custom control on all the relevant users' machines would would be a viable option for my work situation. ...Show All

  • Visual Studio Express Editions one image add another image

    one image add another logo image in .net hi friends any one tell me, using vb.net or asp.net or c#.net any language use my question is one picture box open a picture. iam save a picture.ok is general. one picture box open a picture.now i am add another image leftside or rightside or top or bottom. iam save a single image. ============================================================ example i am image upload sample: same i ask http://img526.imageshack.us/my.php image=iamgeoverlaybq0.png ============================================================= please try and anyone give code to me. my mail id is viswa.vp@gmail.com i am waiting for ur message. please urgent. thanks hi friends any one tell me, using vb.net or asp.net or c#.ne ...Show All

  • Smart Device Development whether the applications developed on Visual Studio 2005 supports on Windows Mobile 2003?

    Can any one plz tell whether the applications developed on Visual Studio 2005 supports on Windows Mobile 2003 (OS). Yes, but only if it's developed specifically for Windows Mobile. VS 2005 SE or above required for device development. ...Show All

  • Visual Studio Team System TSQL Debugger is not working after installing "VSTS - Database professionals"

    Hi, After I have installed VSTS - Database professionals CTP5 I have found that TSQL debugger is not working any more. When I put breakpoint into the stored procedure and do "Step into Stored Procedure" the break point became disabled and the message is "The breakpoint will not currently be hit. Unable to bind SQL breakpoint at this time. Object containing the breakpoint not loaded." I'm absolutely sure that this was working normally before the installation of the CTP5. I'm guessing that something was done to the security settings by the installation package. I hope it is fixable. I'm running VS2005 and SQL Server 2005 Developer eddition and now SQL 2005 Express edition as second instance. CLR Stored p ...Show All

  • Windows Forms DataGridView - filter without implimenting IBindingListView

    I dont really want to impliment all the IBindingListView functions myself but i have an list of objects and would like to display them with filtering. Priority 1. I would like to do filtering of my data "ListId='Foo'" Priority 2. I would like to do Or filtering "ListID='Foo' or ListID='Bar'" Priority 3. I would like to do multi column filtering "ListID='Foo' and Editor='Sam'" Priority 4. I would like to do multi column filtering with Ors "(ListID='Foo' or ListID='Bar') and (Editor='Sam' or Editor='Jen)'" Is this possible (Is there a class in .net 2.0 that already impliments IBindingListView ) Or is this the solution I want and just write ...Show All

©2008 Software Development Network