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

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

PastillaReturn

Member List

Andy Ho
MohsinAta
MitchellH
kevin D. white
AnthonyOstrem
OJacob
jm83
Murom
Cuzzlor
talraviv
Chrismanster
Claudeb1965
anisxahmed
Insomniac1257
like_antani
Supermatthew
Alexei Pavlov aka BlackTiger
mishazh
Dietz
Bhavitavya B
Only Title

PastillaReturn's Q&A profile

  • .NET Development The simplest way to limit webservice connections

    Hello all. I have a webservice and its Windows Forms client. I want to limit connections count to webservice having this number hardcoded in server dll. This is done to limit number of WinForms clients, that connect to WebService so (n+1)th client could not connect until n workstations are already working. I do not want to limit these connections using IIS. Is there a simple way how do it Thanks in advance Hello again. Let me explain the situation in details. I have a client application that has one instance of DataServices (this is WebService ) class. I've set limitation - 1 connection. After that I could successfully run the application on 2 neighbour computers. Computers are in one domain. Why ...Show All

  • .NET Development About SmtpMail.Send() Method

    Hi all, This is Hari, In my application I need to generate a report for different people and send it through mail as attachment, and my approach to this task is I will generate a report for single person ,And send it to his Mail ID and then I will delete the report and generates next person’s report and send it. To send the report I am using SMTP server. I am able to send the mails if all the mail ids are correct, if the mail id of a person is incorrect in between I am able to handle the exception but I am not able to delete the report of that person the error I am getting is "Internal system error. Access to the path.... "Even I am not able to delete the file manually .How can I come out of this plea ...Show All

  • Visual C# C# threading issue

    Ok, I'm having a bit of trouble with this one. Can somebody help me out and perhaps give me a better idea Problem: In a nutshell, I want to synchronize several different threads but can't. One thread, we'll call it A, produces other multiple threads, B,C, and D. These threads execute asynchronously with A. B,C, and D will synchronize with each other, but not with A. A creates these threads and moves on to do other work, but requires B,C, and D to continue. It executes a wait on a eventwaithandle that only B,C, and D can signal (this eventwaithandle is encapsulated inside of a class. There is only one object of this class used by all of these threads and the primary thread. So they signal the eventwaithandle in this object, but the signal ...Show All

  • .NET Development Remoting Examples in C# which can call Remote Objects From Different Application Domain.

    Hi, Remoting Examples which has Config Files in Both Client as well as server. Remotings sole purpose is for communicating across app domains or processes so any example of remoting will show you what you want. If the client resides in one app domain (same or different processes, it doesn't matter) and the server in another then it is cross domain calling. Refer to the following links for samples of remoting client and server config files. http://msdn.microsoft.com/webservices/remoting/default.aspx http://www.c-sharpcorner.com/Code/2004/Sept/NetRemoting.asp Michael Taylor - 12/29/06 http://p3net.mvps.org ...Show All

  • Visual Studio Express Editions Amazon-Enabled Movie collection starter kit

    I downloaded and installed the Amazon-Enabled Movie Collection starter kit (AmazonMovieCollection_1_3_vb_rtm.vsi).  When I tried to use the search online option I got the following error message: There was a problem connecting to the web service.  Please verify that you are connected to the internet.  Additional details: The request failed with HTTP status 407: Proxy Authentication Required. Is there a coding modification that can be made so I can supply the proxy server address and a user name and password Thanks, Fred Bernstein You are not using the code I suggested. Below it is repeated. Replace :8080 with the port you need to use if it is different. Uncomment the line p. ...Show All

  • SQL Server Newb question

    If I am using Ado.Net from a .Net Class library hosted outside SqlServer to do Sends and Receives do I have to use anything else other than queues The reason I am asking is because I already have an abstraction layer for a couple of our queueing systems and I was hoping to put SSB in there as well but the abstraction layers' primitive is the Queue not Conversation/Dialog/Service, etc. Thanks Costas Rushi, thanks, I am not sure what to do with the [from service]. What's the from service set to when you're called from an extarnal ADO.NET client Cheers Costas ...Show All

  • .NET Development Huge XML document

    I've got two huge relational db tables and i want to save them into the xml document. Could you be so kind and make a suggestion how to make it happen with three important things on mind: - tables are huge, final xml would be more than 100 MB in size (the problem is to fit the whole data into the memory) - i want to be able to recreate these tables using xml import - xml export & import to be automated as much as possible Thank you for your kind help. I have on my mind some technology like used to be in Delphi TClientDataSet, platform independent and with automated XML Load/Save file methods. ...Show All

  • .NET Development Kerberos Delegation issue! Web server isn't utilizing client's credentials to access remote resource

    Hi, I'm developing an Intranet application that requires the Web server to impersonate a client to access remote resources (the app accesses my company's exchange server using WebDAV) on behalf of the client (all within the same Active Directory domain). However, I'm having a problem with the authentication delegation part- I don't think the user's credentials are being passed to the exchange server). In my app, I attempt to use the DefaultCredentials of the user (which should be  the user credentials of the logged-in user, since we use Integrated Windows authentication): Request.Credentials = CredentialCache.DefaultCredentials; If I build my own CredentialCache object (complete with hard-coded username, password, and domain ...Show All

  • Windows Forms Make Cut & Paste popup menu for datagridview

    I want to make a Cut & Paste popup menu for datagridviews located in many of my MDIChilds. What is the proper way to do the the follows 1. Implement cut & paste process 2. set up a popup menu for datagridview Thanks a lot. I found the answer in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=242504&SiteID=1 and http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=166894&SiteID=1 ...Show All

  • Visual Studio Team System Wacky behavior of VersionControlServer.QueryHistory(...)

    First, the server i code against is running with the RTM version of TFS and I use the client API to write a WinForms client app to display some files' change history and labels etc. This posting gave a simple example on how to use VersionControlServer.QueryHistory(): http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=435386&SiteID=1 However, i'm getting pretty wild results with the slotmode parameter. According to the MSDN documentation ( http://msdn2.microsoft.com/en-us/library/bb138960(VS.80).aspx ): slotMode is A flag that specifies how history entries are searched. If true , the returned history entries may reflect multiple different items that have at one point occupied the requested path in the database. If ...Show All

  • Visual Basic To check the running of any process

    Hi All, i want to check the running of any process (e.g. sample.exe) in vb 6.0 and take some action depending on the result of action whether the process is running or not. how can i do it. Pls Help Thanks and Regards Munish Gupta These forums are for VB.Net questions please post vb6 questions in the vb6 newsgroups. ...Show All

  • .NET Development Custom Types with no public default constructor

    Hi, I would like to know if there is any possible way to pass a custom type to a web service that does not have a public default constructor. I have a business object and I do not want to expose the default constructor to the users as the object needs to be properly initialised before use; however I get a reflection error when trying to pass the type to a test web service. I have tried to pass both internal and protected constructors but no luck, are there any attributes or other methods that would be able to achieve this. Any ideas would be much appreciated. The workaround only works if you not using the type as an input parameter, otherwise you will get the exception while reading inp ...Show All

  • Visual Studio Express Editions Convert Byte Array to Int, Long, etc.

    Does anyone have a quick way of converting a byte array to an integer, long, etc. I have been trying different encoding types and also a Marshal.Copy but I keep getting unexpected results. I have a byte array (00 00 48 65). I know that that byte array value (as an integer) equals 11. I just can't seem to write the code to do the conversion. Any suggestions   nobugz wrote: The SDK is incorrect.  It is not a RECT, it is a structure equivalent to the .NET RectangleF structure.  The members are Single, not Integer. Grrrr.... This problems gets more and more bizarre the more I look at it! It seems the GetRegionData.Data doesn't always return the data as RectangleF ...Show All

  • .NET Development ! Possible System.NET bug? SocketException when performing Async download in Async thread

    (The following is a bit long, but it details what I think might be a bug in System.Net) Our application uses WebRequest to perform asynchronous downloads. Things work just fine on almost everyone's machine, but we are starting to get error reports back from some users in the field. We looked at their call stacks from our logs and saw this: Exception Information Details: ====================================== Exception Type: System.Net.WebException Status: ConnectFailure Response: NULL Message: Unable to connect to the remote server Data: System.Collections.ListDictionaryInternal TargetSite: System.Net.WebResponse EndGetResponse(System.IAsyncResult) HelpLink: NULL Source: System StackTrace Informa ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Adding Text to a Screen

    I've written a simple game in GSE but I'm wanting to add text to the screen to display the player's score. What would be the best way to do this Take e.g. a look here or here.... cheers ...Show All

©2008 Software Development Network