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

Software Development Network >> avinash kundal's Q&A profile

avinash kundal

Member List

Benin
ti_m
SarasMax
efriese
WindsorSean
Alvin Kuiper
Rimey57
Sanjukta
Shadi Mari
Participant
TrevorW
Learning VB
airin
vishuonline
VoiceOfExperience
deviprisoner
Samer Selo
Ashish Derhgawen
Duckboy
KitWest
Only Title

avinash kundal's Q&A profile

  • Visual Basic I've run this before without a problem, but now I'm getting a warning!

    Okay, I've run this before without a problem, but now I'm getting a warning stating "InvalidArgument=Value of '1' is not valid for 'index'. Parameter name: index" . Why would it begin giving me this error now after running it in debug several times without a problem before Anyone, please help. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=507280&SiteID=1 ...Show All

  • Visual Studio Team System Processor time

    I was doing load testing of the web application When i kept a constant load of 300 users with connection pool of 50 i was getting threshold violation in the processor time.when i kept on increasing connection pool the threshold violation was also getting minimized...as soon as connection pool reached 250 the threshold violation was also removed... Now if i keep Load =200 users and connection pool = 50 i donot get this threshold violation why is it so and what does that predict.. Processor time is not typically closely correlated with connection pool size, so I think something else must have been going on. Certainly if 300 users were using up too much CPU time on the client or server, then 200 users ...Show All

  • .NET Development Encryption and Decryption in c#.net 1.1 , this may help you

    Hi, I have a basic - very basic - understanding of Cryptography but I'm having trouble with design and code. My goal is to create an encrypted string and store it in a file so other applications can read, decrypt and use the data.  I want to use the RSACryptoServiceProvider to accomplish this task.  I have written (used most of the code from msdn library ) a little utility that will encrypt the data but when I try to decrypt the data, it fails because I don't have the keys.  I understand why it fails but I can't figure out how to fix it. I've been fiddling with ToXmlString and FromXmlString.  I get the keys when I use the ToXmlString but I don't know how to use the FromXmlString to reconstruct the object. Firstly, sinc ...Show All

  • Microsoft ISV Community Center Forums Cells

    I'm really confused as to why I activate a cell: x = ActiveCell.Row Yet when I try to select that cell: Range (Cells(x, 1)).Select It comes up with an address way out of whack! What am I doing wrong It works because it is using the default property of a cell, which is .Value. And it just so happens the content of that cell is a valid cell address. The same effect with the property explicitly set. Range (Cells(x, 1).Value).Select ...Show All

  • Visual Studio Tools for Office How to unload VSTO 2005 SE Excel Add-In

    If I create an Excel Add-In for Excel 2003 using VSTO 2005 SE, it does not appear in the list of loaded add-ins under Tools/Add-Ins. How can the end user unload the add-in Since the add-in slows down Excel startup by loading the CLR, I want the end user to be able to choose whether to load/unload it. I know I can unload it by modifying the LoadBehavior value in the registry key under HKCU/Software/Microsoft/Office/Excel/AddIns, but I can't ask end users to do this. From Tools/Customize/Commands, select the Command Category. Scroll down the list on the right until you find COM Add-ins. Drag that to the Tools menu and place it just below the Add-ins entry. VSTO 2005 SE creates a managed code ...Show All

  • .NET Development C# Dereference Operator

    Hi, I have the following method in C# and have a requirement to put it into a VB.Net class but not knowing VB.Net as well I was hoping someone could help: private unsafe IntPtr MessageHookProc ( int nCode, IntPtr wparam, IntPtr lparam) { if (((nCode == 0 ) && this . isHooked ) && ((( int ) wparam) == 1 )) { NativeMethods . MSG * msgPtr1 = ( NativeMethods . MSG *) lparam; if (msgPtr1 != null ) { NativeMethods . MSG msg1 = new NativeMethods . MSG (); msg1. hwnd = msgPtr1-> hwnd ; msg1. lParam = msgPtr1-> lParam ; msg1. message = msgPtr1-> message ; msg1. pt_x = msgP ...Show All

  • .NET Development https server requesting a certificate

    i manually go to a website and login, at first it had me set up a certificate, now it just asks me for my password. i want to run my app so that it starts iexplorer goes to that page sends a certificate info to the https server and sends my password so that i dont have to manually enter it. i am not really sure how to connect to the https server and send it my certificatio info and when its accepted how to send it my password. any ideas on how this might be accomplised what objects should i be looking at under Framework 2 I take it from this that you didn't bother to read the first of those links I sent you, as that would have answered your question... *sigh* So... the first thing I'd point out is that ...Show All

  • Visual Studio Express Editions Execution Speed

    Is there some reason that VB Express runs slower than VB I get the following times when reading from one file and writing to another file in random and sequential modes: Random File: VB6 running in Excel - 2.15 seconds (using Get and Put) VB Express running in debugging mode - 122 seconds VB Express compiled - 49 seconds Sequential File: VB6 running in Excel - 1.14 seconds (using Get and Put) VB Express running in debugging mode - 19 seconds VB Express compiled - 5 seconds There were two different files used, the first a bitmap file, and the second a text file. If I recall, the VBA interpreter written for Excel is a different one than your 'standard' VBA interpreter. It was ...Show All

  • Visual C# Strings

    how can i be able to take characters off the beginning and end of a string I want to make a scrolling effect. Thanks Steve please do not duplicate post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=710109&SiteID=1 if you need code for C#: string theString = "hello my name is bob"; string theBeginningString = theString.SubString(3); string theEndingString = theString.SubString(2, theString.Length - 4); ...Show All

  • SQL Server Totals and Calculated members bug in SSAS 2005 (CTP3, SP2)

    I have created two calculated members in the Adventure Works cube: ---------------------------------------------- CREATE MEMBER CURRENTCUBE .[MEASURES].[ParallelPeriodSalesAggregate] AS Aggregate ( ParallelPeriod ([Date].[Calendar].[Calendar Year],1,[Date].[Calendar]), [Measures].[Internet Sales Amount]), FORMAT_STRING = "### ### ### ###" , NON_EMPTY_BEHAVIOR = { [Internet Sales Amount] }, VISIBLE = 1 ; CREATE MEMBER CURRENTCUBE .[MEASURES].[ParallelPeriodSalesSum] AS SUM ( ParallelPeriod ([Date].[Calendar].[Calendar Year],1,[Date].[Calendar]), [Measures].[Internet Sales Amount]), FORMAT_STRING = "### ### ### ###" , NON_EMPTY_BEHAVIOR = { [Internet Sales Amount] }, VISIBLE = 1 ...Show All

  • Visual C++ Is there any good tool which can easily get the call graph of one project of vc? Please give the steps to do that.

    Is there any good tool which can easily get the call graph of one project of vc Please give the steps to do that. I appreciate your help. There are no ones that I am aware of. You suggested some that might help. Also, try posting on http://msdn.microsoft.com/newsgroups in case others know of such tools. Thanks, Ayman Shoukry VC++ Team ...Show All

  • SQL Server dbo user / permissions error.

    I had found one or two other questions about this, but neither of them seemed to be the same as my instance, and there solutions were not valid for me. I purchased the Build a Program Now MS Visual C# 2005 Express Edition book with CD. This was installed by the auto installer on the disk. which included the SQL Express 2005 version. I have used the Visual Express C# interface, build a small program, created the database, created tables. all went well. I can even add data, and so forth. My problem came when I went to click on database Diagrams in the Database Explorer. I get a Dialog box stating " This Database does not have a valid dbo user or you do not have permissions to impersonate the dbo user, so da ...Show All

  • SQL Server SECURITY ON MULTIPLE DIMENSION MEMBER COMBINATIONS. OLAP Experts, Please Help me

    Hi, I have got 2 dimensions to enforce security . 1. Company 2. Division Data in Fact table is available as mentioned below. Company Division Amount Company 1 Division 1 100 Company 1 Division 2 200 Company 2 Division 1 300 Company 2 Division 2 400 I have got a user. So I need to create a role with following options. ([Company].[1],[Division].[1]) and ([Company].[2],[Division].[2]) He should not be able to see ([Company].[1],[Division].[2]) or ([Company].[2],[Division].[1]) In Summary, My question is, How to implement dimension security (Static/Dynamic) on multiple dimension combination (MSAS 2000 or MSAS 2005). I am to ...Show All

  • Visual Studio Team System Accessing data files in project/solution directory

    In my unit tests I want to access data files in my solution to drive my unit tests. However because VS copies the DLL to another directory in order to run it I can use a relative path. I definitely do not want to use a hard-coded path because that doesn't work with TFS version control branching (you might have that same solution in multiple different directories). Is there an environment variable or something that I could use to access the originating project dir Yes, you can do that in the .testruncofig file, just double click on it from the IDE, and configure in "Deployment" section, which files or directories you want to deploy to the same place as testing DLLs ...Show All

  • Visual Basic listbox textbox and ado

    Hi, can anyone help me with this problem.. i have a combo box, a list box and 2 text boxes the combo box contains a list of categories, which would limit the contents of the list box into the items that are contained within the selected category.. the list box calls and lists the field "Name", and when you click on an item on the list, the textboxes are supposed to contain the other fields that correspond to the item on the list box.. here is the code that i tried.. the only thing the textboxes show are "False" text.. how do i make the textboxes show the needed information.. Dim dbFood As Database Dim rsFood As Recordset Dim z As String z = List1.Text Set dbFood = OpenDatabase("C:\Program Files\Microsoft ...Show All

©2008 Software Development Network