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

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

yabansu

Member List

aashta
Shahzad Godil
dseifert
widd
winterxu416
Peter Peng
AndyL
liujj_xujj
Dark Dominion
Uma Lakshmi
Level255
Hans1982
GRAILS
prashant mulay
morgan32
dominick.baier
eddy05
manunews
KSuresh
Eric H.
Only Title

yabansu's Q&A profile

  • Visual Basic .NET Events in COM VB.NET

    Does any one know why .NET events are not firing in COM I have got a .NET class which is accessed by VB6 COM.dll. The Events in .NET doesn't seems to fire in COM. Any clues There are a couple of things that you need to check to make sure that events fire: Make sure they are markes as public and comvisible(true) Make sure that the assemlies are markes as comvisible(true) Make sure that all the parameters are correctly decorated and can be marshaled correctly I would suggest to start testing with events with no parameters, then one that passes an integer, and so forth, to make sure you know where things go wrong. Hope this helps, ...Show All

  • SQL Server Invalid Descriptor Index error

    I'm testing db to db transactional replication on a box ( all on the same box ) and the distribution agent fails with the above error. I know it's something to do with the physical server as this test works on other servers fine. SQL2k Ent sp4 on w2k3 ent sp1. ( clustered ) Server and Agent accounts are in local admins, tried push and pull, named and anonymous. Replication also fails if I use the default snapshot location. I suspect policy restrictions ( maybe on the sql service accounts ) Any pointers would be helpful - there are no errors other than above, sadly. I am having the same issue and wondered if you had found out what was causing the problem. In my case it is a brand new publication bu ...Show All

  • Windows Forms DataGridView DataError argument is wrong

    I'd like to report a DataGridView bug (or at least something that is misleading).  One of my DataGridViews was thorwing an error.  It's DataError event's DataGridViewDataErrorEventArgs parameter (e) said the event occured for column "A" (e.ColumnIndex). However, the parameter's exception message (e.Exception.Message) said the problem (which was a NoNullAllowedException) was with column "B". The exception message had it right. The argument's ColumnIndex was directing me to the wrong column.   See code below.  The two handlers do not point me to the same column. private void dataGridView1_DataError(object sender, DataGridViewDataErrorEventArgs e) {     string sErrorMsg;      ...Show All

  • Windows Search Technologies How to open an outlook item from the searched result (mapi url)

    Hi Everyone !!! I am totally new to WDS development. I have downloaded WDS SDK and sample application. Using that sample application i learnt a lot but have problem in opening outlook item from the search result's mapi url. Mapi url is like mapi://LocalHost/Default/Mailbox – Some User ($484efb89)/0/Inbox/ /at= :somefile.txt Some part of this mapi url is encoded i.e. store entry id (Hashnumber) and EntryID (encoded as Unicode string). For detail please check http://blogs.msdn.com/stephen_griffin/archive/2006/05/10/594641.aspx . In this article i found the decoding algorithms to calculate store hash and to calculate encoded entry id. These algorithms are in c++ but i wanted it in c#.net, can anyone please do for me ...Show All

  • .NET Development LocalIntranet permissions on whole network

    Good afternoon, My company has been developing this application that uses .NET Framework 1.1, and we are attempting to set up the users with the ability to execute it. Instead of distributing the executables to each desktop locally, we have put them on the network and supplied links to the software. However, going down this route requires permissions for LocalIntranet to be set to Full Trust (quick way) or adding each DLL and EXE to the known files in the .NET Framework Configuration manager. Once these settings are put in place, the software is able to run. My question is, is there a way to automate this to avoid going through all the user machines and setting this option by hand We are going to be pushing out the netfx.msi though the net ...Show All

  • Commerce Server Failed to perform the specified catalog operation

    I have just completed an install and configuration of CS2007. I can load the catalog web service in a browser but when I invoke a method I get, "Failed to perform the specified catalog operation because the current user is not authorized to perform it." I have created the CatalogWebSvc account, given it write permissions on the store xml file, set the CatalogAppPool identity to it, added it to the IIS_WPG, added it to the CatalogAdministrator role in the Catalog Store, and made it db_owner of all the DBs in SQL. When I run a SQL trace and invoke the method, I get: EventClass: RPC Completed ApplicationName: .NET SQLClient Data Provider LoginName: CatalogWebSvc Reads:2 The entire 500 error is: System.Web ...Show All

  • Windows Forms Can Someone Show Me An Example of How Can I Use Listview to Show contents of a directory

    Hi In my application i have to show the contents of a directory which contains pictures But i can't make the listview work. Can someone show me a way how to make the listview show thumbnails of a certain directory see: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=598536&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=39803&SiteID=1 ...Show All

  • Visual Studio 2008 (Pre-release) Is there any preemption between jobs queued to a dispatcher?

    I suppose no, otherwise we would need a synchronization between jobs queued on the same thread. So, when a generic method queued throug Invoke or BeginInvoke is scheduled, is it executed until completion without preemption in favor of other queued jobs Preemption should happen only between different threads, there yes i need to synchronize as well. Is that right Thank you. DispatcherPriority is the only thing I'm aware of that you can use to cause your activity to execute at a higher priority than other scheduled activities. Once the activity is executing it will execute to completion consuming the UI thread. Multiple threads act according to normal .NET and Win32 threading rules with regards to preempti ...Show All

  • Visual C# Accessing Resource Strings

    Hello All, Is there a way to parse the resx file I want to create a text file that contains all the values of the .text entries in the resx file. Then I can give that to a multi-linguistic expert and ask him to convert those strings to some other language. Any pointers on this would be appreciated !! Here is a new problem. I emailed the strings to the customer services guy and he sent me the translated strings back. Now I got to insert those strings in the appropriate places. I went through the IResourceWriter interface in MSDN and I believe that can only be used to created NEW resources not to modify existing ones. Is there a workaround to edit the resource files through code ...Show All

  • Visual Basic Replace text(string) w/ TextBox

    Hi. I have bunch of text in a database and I need to replace part of text (strings from db) with textbox. For example, if I have " How are ____ ", I need ____ part of the string apear with TextBox so that user can fill it in. I was thinking of using displaying the text with Label control, and "___" part with TextBox. Not every sentence is going to have ____ at the end, so the program needs to know where to put the TextBox properly. Is there easy way to acheieve this programatically Thank you. Hi, If you typed Textbox1 then a dot you will see all the options. X and Y i think are two of them but that makes it complicated as you are not going to know the screen posi ...Show All

  • Visual Studio Express Editions data validation of numeric fields

    I'm new to c#, testing it out on a program I was developing years ago in vb for dos!!. Currently stuck on the best way of parsing/validating a form with a dozen or so textboxes. Each box is to contain a floating point number. Do I have to repeat the try/catch validation routine for each textbox - or is there a general purpose string to number conversion that does not throw exceptions on bad data entry I do not seem able to arrive at a solution that does not require me to write more or less the same 5 or six lines of validation code for each box. Is that enough info. to get the idea of my problem Best wishes, and thanks, Ray I did try marking it as answered, two or three times looking ba ...Show All

  • Visual Studio Team System Multiple Solutions for one Team Project

    Hi all, I setup a new Team Project and now I want to add 4 different solutions into this project. The first 2 worked fine and are now checked in, but when I want to check-in the 3rd i get this error message / warning: (Imageshack) Hello, My guess is that Solution3 includes project (or file) which is not located under it (it's so called multi-rooted solution). It can look like this |_Solution1 |_Solution2 |_Solution3 |_Project_X where Solution3 includes Project_X. To avoid this warning you would need to move this project_x under Solution3. ...Show All

  • Software Development for Windows Vista OS Detection

    I need to write a small application that will create a wireless profile for a client in both Vista and XP. I'm wondering how difficult this will be. I plan to use the NativeWifi API, which is not available in XP without a hotfix. So my program would have to detect if XP is installed, and subsequently install the hotfix before continuing. Is this feasable On codeproject.com there is a nice article by Agus Kurniawan. Have a look at it... that might help you. http://www.codeproject.com/win32/osdetect.asp ...Show All

  • Visual C# Events

    I know how events/delegates works. its when implementing them that seems to be the problem with me. now... I have: a Form several classes the form knows nothing, it only knows about 1 class, which it instantiates. this class instantiates other classes. The form, nor do the other classes, need to know about each other. now, I have successfully created events which when raised from the main form, one of the classes acts upon it - thats all good. what I want now, is the complete opposite. I want to make an event where, in one of these classes (not the class the main form creates) I can raise so that the main form picks it up and acts upon it. Since I am mostly confused at times when events are involv ...Show All

  • Visual Basic Clipboard Question

    I wish to be able to assign the current clipboard contents to a string variable but am running into type problems. Dim a as string=clipboard.getdataobject What is the correct format to assign the clipboard contents to a string Thanks ...Show All

©2008 Software Development Network