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

Software Development Network >> Nitesh Ambastha's Q&A profile

Nitesh Ambastha

Member List

Socrates Kapetaneas
ejamashu
Kartit
Ashley M
Ecrofirt
fatquack
Joe Duanel
Jamie Thomson
Gidjett
ceebee
mshvw
LPlate
dlcollison
JMnet
goku_simon
GoodMorningSky
John Padilla
Sachin Saxena
DPotages
Constructor
Only Title

Nitesh Ambastha's Q&A profile

  • Visual Studio Express Editions Must be non-negative and less than the size of the collection

    I keep getting the same error message when i start debugging. This recently started and I don't know why because i didn't change anything yet today. I could attempt to fix the problem myself but I the error message I get does not tell me where in the code the error is Does it It builds fine but freezes on the splash screen. - Thanks System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index" ya even i am facing the same problem for Enterprise Search in MOSS 2007 in search scope, all crawling h ...Show All

  • Visual Studio Team System Do I understand VSTestHost and devenv correctly?

    Hi, I have a question about the different processes under process counters in load tests (for example, Process -> Virtual Bytes). Do I understand correctly that devenv process reflects resources used by Visual Studio and that VSTestHost process reflects resources used by the application being tested Thank you. Hi, Thank you for your response. Do I also correctly understand that # Bytes in All Heaps performance counter (.Net CLR Memory) is the actual amount of memory in bytes being used by the application being tested I am not sure if I correctly understand this.   Thank you. ...Show All

  • Visual Studio Express Editions Generating all possible character combinations

    Hi everyone, I just wanted to know if you have better ideas on generating all possible 4-character string combinations in C#. Something like: aaaa aaab aaac ... zzzz What i have in mind right now are nested for loops. I wonder if there is a .Net function for automatically incrementing characters/string. Thanks a lot. -Ver hi, you are welcome, actualy the idea is simple , do you know briefcase lock it has a bassword to open, few days ago my friend played in the lock so i had to open it, so i set down and tried numbers from 000 to 999 till i opend it again this is the same idea, get the number and try you keep add 1 each time till you reach 009 then you move 2 wheels one back to 0 the one beside it ...Show All

  • Visual Studio TableAdapter and Crystal Report

    I have just upgraded from vb6 to vb8 and have never used the TableAdapter before. I have mastered the TableAdapter and the TableAdapter Query but i am looking to connect a TableAdapter to a Crystal Report, can someone help with this Regards Darren. If you set the "ReportSource" for Crystal report viewer object instance to the Typed Dataset you have filled, your report will be displayed. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Strange shader optimization bug.

    I have a shader that gives me incorrect output when I compile the shader with optimizations but when I use the flag D3DXSHADER_SKIPOPTIMIZATION the shader operates as expected. The shader is extremely simple and I can't work out what could possibly going wrong. Are there any known issues with shader optimization This is using the August 2006 DirectX SDK but also happens with previous SDKs.. Yes, from time to time the shader compiler goes crazy. Could you post the shader that makes trouble Without this information no one could fix it in future SDK releases. ...Show All

  • .NET Development How do I ensure a malicious user is not calling my web service

    I am accessing my webservice through an ajax json call by using the following javascript code: Function DeleteTask(task_key) { TaskWebService.wsDeleteTask(task_key, onComplete, onTimeout, onError); } My question is: how as the developer can I prevent a malicious person from calling the TaskWebService.wsDeleteTask method with any number of task_key values. What type of authentication on every web service call do i need to perform (username, password...etc ) Thanks and let me know if you need more info/code, Greg Hi Greg, Basically, web services can be protected by applying the same authentication type you use for you web site, and specifying which users you're willing to allow access to your servic ...Show All

  • Visual Studio Express Editions Removing labels (scriptwise) doesn't want to work.

    I use the following code in my program to add some labels: Dim l As Label For i As Integer = 0 To 10 l = New Label l.Name = "LabelDay" & i.ToString l.Text = "Day" + i.ToString l.Top = 88 + (i * 20) l.Left = 5 l.AutoSize = True l.Visible = True Me.Controls.Add(l) Next i Now I want to remove them with: For Each c As Control In Me.Controls If TypeOf c Is Label Then Me.Controls.Remove(c) End If Next For some reason I have to run the remove function several times. Why doesn't my script remove all labels at once If tried the script/code yoy suggested before, but as I have a lot of labels, a see the different lines ...Show All

  • Smart Device Development SendMessage - button click

    Hi, I am trying to make a programatic call to a PictureBox.Click event. I have searched these forums with many different combinations of search terms, I even found an article that said this topic had been discussed several times - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=961689&SiteID=1 . However I cannot find anything! As said above I am trying to programatically call a PictureBox's Click event, what I've read so far seems to point to using SendMessage() which best I can tell is com interop with the compact framework but thats as far as i've got. Any help you can give would be great. Hi, It's my bad for not giving you full context on what it is I'm trying to do. I have ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Exporting Animations from Maya 7.0

    I have the Maya plugin installed correctly and can export animations which use transformation, scale and rotation on the objects directly but when I animate them using deformers or skeletons I get no animation in either the Maya directx viewer or the standalone directx viewer (once I have exported them). If someone could point me in the direction of some tutorials for the directx plugin I would be most obliged or at least let me know where I can find more information on supported deformers etc and how one should set them up in maya. Realistically all I want to do is create some blendshapes and export them so any pointers on what may be going wrong would be nice. ...Show All

  • Visual C# IndexOf for

    Hi! There's probably a simple answer but I'm afraid I can't see it: I have a table with two columns, the first being indexed. I'm trying to use IndexOf on the table's binding source to get the index number of an entry in the first column but no indexnumber is found... what am I overlooking int indexNo = this .diagnosisListBindingSource.IndexOf( "ARDS " ); ( I know the entry "ARDS " does exist as an entry in the indexed column and the following function gives the correnct number of rows in the table, so I know I'm 'hooked up' correctly....) int count = this .diagnosisListBindingSource.Count; Thank you. JohnF. Try removing the spaces: int indexNo = t ...Show All

  • Windows Forms How to get the Hardware Acceleration Status??

    Hi, I need to know, how can i get the current hardware acceleration status Is there any DLL in windows, which can provide me the current status of Hardware Acceleration Its at: Display Properties > Settings > Advanced > Troubleshoot If anybody can help me with this, i will really appreciate it. Also, its my first post in this forum. Hope for the good luck :) Regards, Amir I read a the following help files: Win32SDK Knowledge Base, and there i found the following info: http://support.microsoft.com/kb/q127066/ There they are talking about the same thing i wanted, but thats for Windows 95. For XP where do i look for Which DLL or which INF I really need help gu ...Show All

  • Visual C# change regional (language)

    i want change current windows regional in my system in fact i want change digits shape into my country digits shape (Farsi) windows default regional is English(United states) and i want change it in my application to Farsi in english regional digits are 1234567890 but in farsi regional digits are i just want do it :( please help me thank you for reply i did it but show digits 123456789 :( when i set region language from settings->control panel->regional and language to Farsi it show digits how can i do it in my application or how can i set nativdigirts for current inputlanguages info ...Show All

  • Windows Forms Catch all Exceptions

    Hi I have a program with several Forms. What I need is to log all exceptions (save them into a database). Is this possible without having to write a "try{ ... } catch(...) {...}" everywhere (and call a static log-method within the catch-body). Kind Regards Well, the best way to be able to catch every exception in your application is by running it in debug mode via Visual Studio. When it runs into a(n) exception, it will display the error, and the type of exception it is. Then you can just implement the code for that particular exception. So if you select a value of -1 and it presents you with an exception, run it in debug mode and find out what exception it is, then implement the catch statemen ...Show All

  • Smart Device Development Capture devices initialisation and status before each use.

    Hi, is there any way to capture device status to see for example if sound card and the mic are fine sorry I did not mean sound card just sound and mic are working fine. The reason behind this is to prepare the device for a VoIP application. ...Show All

  • Windows Forms How to kill horizontal scrollbar of treeview control.

    Now, I have treeview with Scrollbar properties is true, it mean that I will have two scroll (vertical scrollbar and horizontal scrollbar) . So, I don't want to use horizontal scrollbar, I want to kill this scroll. Please give some idea or solution for this problem. Many thank, Thank you so much, This is my scenario: I build mini-messenger the same as MSN messenger, and I use treeview to show all my contact list. In this treeview, I put Scrollbar is true, So I don't want to show horizontal scrollbar or resizing my treeview, such as the MSN messenger never show horizontal scrollbar or resizing its form. Please help me, Many thanks, ...Show All

©2008 Software Development Network