Software Development Network Logo
  • Windows Live
  • Visual FoxPro
  • Smart Device
  • Game Technologies
  • Architecture
  • Visual Basic
  • SQL Server
  • VS Team System
  • Visual C++
  • Visual Studio
  • Windows Forms
  • .NET Development
  • Visual C#
  • Microsoft ISV
  • Visual J#

Software Development Network >> ashimjyoti's Q&A profile

ashimjyoti

Member List

ucci
JZINK123
dipeshnepal
MattGold
Jeff Parker
Buddythunder
bradix
Mr. Bob Dobalina
zabrucewayne
JP Tocker
Stefan_MS
HSA4733
JohnFTZ
Ross B.
Paul Stubbs - MSFT
Paul732887
adarsh.mathur
ChristopherZ1
Marcel Kunz
Binayak
Only Title

ashimjyoti's Q&A profile

  • Visual Studio Express Editions An error occurred creating the form - in debug

    After making several changes, started app in debug, get following msg, with highlight on (startup) frmMain: Public Class frmMain System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: InvalidArgument=Value of '1' is not valid for 'Index'. Parameter name: Index" Source="MIF" StackTrace: at MIF.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190 at MIF.My.MyProject.MyForms.get_frmMain() at MIF.frmMain.Main() in C:\0 VB Net\Applications - Active\MIF\frmMain.vb:li ...Show All

  • Visual C# C# analog clock runs slow on some computers

    Hi all, I have a problem with the System.Threading.Timer class that I am using for my clock. The clock runs faster on an Intel box than it does on an AMD box and it has nothing to do with the CPU speed. Has anyone come across this before Any suggestions would be much appreciated. Ok, I have found that it is not a cpu problem as I have another box with an AMD Duron XP 1000MHz(5x200) which runs at the correct speed. I have tried it on another computer (an intel celeron 4A, 2400MHz(6x400) and it runs slow. ) There doesn't seem to be any link between the CPU and the slow clock problem. I thought now maybe it could be a video card problem, but ...Show All

  • Windows Forms Enforcing Windows XP Silver Theme in application

    Hi, I am currently developing an application, where I would like to enforce the Windows XP Silver Theme onto the whole application. Also if the machine where the application runs has another version of Windows installed. Is this possible, and if yes how Thanks. Torben Nielsen Hi,... Vb.net: create a public module: public Module m sub main() Application.EnableVisualStyles() end sub end&nb ...Show All

  • Visual Basic Running an external application

    Hi All: I want to program a button's click event to run a Windows batch program.  Is this "legal"    If so, could you either provide me with an example or point me to where I can find some documentation on this.  If not, please tell me how this little feat can be accomplished elegantly. Thanks. Thanks for running the code for me, David.  It turned out I did have a problem in the definition of strTextFile.  Once I sorted that out, the code worked fine. Sorry to have bothered you with something so elementary. Regards, Roraima ...Show All

  • .NET Development Question on Threading...

    (VB.NET) So I finally understand how it works, incorporated on one of my long processes and it works.  Great.  But now when I run the process (showing a progress bar) I can only do other tasks after the progressbar finishes.  The Setup: I have a subroutine that creates about 5 excel spreadsheet from records in a database.  The progressbar shows for each file creation.  As it's creating a file I can't access my Menu (File, View,etc..) until a file is done.  The menu item opens but the process stops.  After I release the menu item, the process continues. The threading code is as follows: Private Sub Excel ...Show All

  • Visual C++ How to Programetically Enforce the Password Complexity?

    Hi all, i have a problem in enforceing password complexity programmetically. iam able to set other password setting like min len, min age, max age, account lockout. please help me out, if any one new regarding this issue. thank you. This forum is for C++ language issues. There is an MSDN discussion group for security programming issues: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.platformsdk.security&lang=en&cr=US You should give a code sample so others can see your approach so far. Brian ...Show All

  • Visual Studio 2008 (Pre-release) WCF Team question

    Hi Team, The current 'WCF documents' isn't good to create real application, so I don't know if it is possible, but .... I think that WCF Team create 'unit test' for code validation. Does WCF Team can 'share' your unit test Isn't necessary a 'compiled' version. With 'unit test' we don't need many documents to understand how to use WCF. It's better than 'examples'. Without it, we have two options : 1) Wait the final release of documents; 2) Write many questions in this great forum. Thanks, Alexnaldo Santos Yes, we do have unit tests. Quite a lot of them. The problem is that ...Show All

  • Windows Forms File copying

    Hello all! I'm new to .NET development, and had a question dealing with file copying.... I need to create an object which will contain a file (document). I need this class object to pick up a file given a full file path, and copy the file from the source system to the class object. I wasn't sure if serializing this object was the best way to  ...Show All

  • Visual C# threads in c#

    I am trying to run a methode in a new thread but the methode returns a string, i have search the web for documents telling me what class i should use that would accept the return but i didn't find anything, so if any one could tell me how to do it i would appreciate it very much :), what i found in the internet was to use something like this: Thread t = new Thread ( new ThreadStart ( this .someMethode())); But again that is for methodes that don't return anything...... Your method should store the string somewhere, not return it. At least, that's how I understand things working. If you make ...Show All

  • .NET Development How to change the permissions on a LMShare

    Hello everybody, I search for a class in the .Net Framework 2.0 to change the permissions on a LMShare but I can't find one. Has anybody a code sample for this. Thanks Peter Peter, there was no support for this in the managed APIs in V1.0 or V1.1. But there's new APIs for manipulating ACLs in V2.0 that are integrated with the existing IO package. Use the new Get and Set access control APIs on the Directory class (which of course, can be used to access a share) to set and view permissions. The documentation has examples of how to use the new APIs, which include FileSecurity, and DirectorySecurity (many o ...Show All

  • Windows Forms Transfering data from one form to other

    I have a form with two textbox called city and zip code and one button next to the city textbox. If user click on that button it will open the second form with datagrid which display the all city and zipcode list and a button . If user select the city from grid and hit the button or double click i would like to transfer the selected city and zip code into form one and close the second form.   How can i do that. Thanks On the grid form, you should create public accessors for the values that you wish to get after the click: public string SelectedCity { get { return grid.SelectedRo ...Show All

  • Windows Forms DataGridView Object Data Sources

    Hi All, I have tried to use a datagridview in a windows form  to render a list of wine objects.  The wine object contains a Region Object.  I want the datagridview to to display two columns, Wine.Name and Region.Name.  I have created a BindingList of Wine objects which is then bound to a datagridview.  Using autogenerated columns, the Region.Name column renders as just its type name - not the data... What am I doing wrong Public Class Wine    Dim _name As String    Dim _origin As Region    'Wine Name    Public Property Name() As String  & ...Show All

  • .NET Development Launching a COM server from a service on WinXP 64-bit

    I have a 32-bit application that gets launched by a service. It is basically an MFC out-proc server. On a 64-bit machine, I am seeing an issue where a client is unable to communicate with this COM server. My assumption is since the application which is 32-bit is getting launched from within a service, there is some kind of a security issue. The COM error I get is 80080005. Is it possible at all to have a service launch a 32-bit out-proc COM server on a 64-bit platform and have an client communicate using COM Note that all of this works on a plain 32-bit OS i.e. I am able to launch the COM server from within a servic ...Show All

  • Visual C++ visual c++ 6.0 vs visual c++ 2005

    I am looking forward to upgrade VC++ 6.0 to Visual C++ .NET 2005. But there are things I need to know before I do... 1. What are major changes in the "object class" structure ( if there are changes). 2. Do I need to make changes for the MFC libraries that I used while coding with VC++ 6.0 when I upgrade to VC++ .NET 2005. 3. In VC++ 6.0 I can use openGL and MFC together, and I can run OpenGL in a window with the  integration of OpenGL and CDC ( class of device-context objects). Can I do the same in VC++ .NET 2005 4. In VC++ .NET 2005 , Are there any restrictions for using poin ...Show All

  • Visual Studio 2008 (Pre-release) Find Client Address Inside WCF Operation

    Hello, I'm writing a WCF application using Indigo Beta 2. I have created a service which listen on http address using wsHttpBinding and a client which create a proxy using ChannelFactory<> class. Everything works well except that I want to find the client address (client machine name) which send the message. When I was working with WSE I have assigned the ReplyTo element in the message on the client and on the service I read this value. With WCF it seems to put anonymous url in teh ReplyTo element and null on the From element of the incomming message headers. Is there a way to make WCF infrastructure to put the client ...Show All

©2008 Software Development Network