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

Software Development Network >> Manik Gupta's Q&A profile

Manik Gupta

Member List

MusicMan2006
WilderLand
Jonathan Gauthier
Courtney Goodin
Aleksey Nagoga.
marsboee
devnull444114
sbogollu
SQL New
Mikko Nylén
Scott McKeown
chawacho
jcnconnect
Rob Grunkemeyer
Hemant Hindlekar
Doghound
catiger
Ravindra Reddy Kasireddy
k.Rahul
Tarey Wolf
Only Title

Manik Gupta's Q&A profile

  • SQL Server SSB BizTalk Scenarios

    What are the specific types of scenarios where we could use SSB and BizTalk in tandem I have come across a gotdotnet sample of an SSB adapter for BizTalk. As i understand a Biztalk orchestration could be an end point for the SSB conversation. But what advantages can be obtained using this as compared to a typical SQL adapter for BizTalk which does CRUD operations on DB. any pointers in this directions would be helpful TIA Paritosh The SQL Adapter for BizTalk provides CRUD-styled data access to a SQL Server database. It can be used for storing and retrieving data from a database. An SSB Adapter for BizTalk (although I haven't used Jesus' adapter myself), would provide messaging over S ...Show All

  • Visual Studio Team System TF50309 When Subscribing To Notification Event

    We've been having a problem with the Event Notification subscription, and so far we haven't been able to solve it. We're building a small application that encapsulates the Event Notification aspect of Team System, to allow subscription and monitoring of events easily. After testing it with a couple of users, we've encountered a problem: There are users that cannot subscribe to the event notification. My user has no problems, but when another user tries to subscribe, either through the API or through BisSubscribe.exe, it gets the following error: TF50309: You do not have sufficient permissions to perform this operation. That user has no problems using Team System normally, as in through Visual Studio - checking in and out, modif ...Show All

  • Visual C# Generics inheritance problem.

    Hi, i have a bit of a problem right now with generics. I have the folowing structure: IDataObject wich is only the base interface for a DTO. IDataStore<T> where t : IDataObject class BicycleDataStore : IDataStore<BicycleData> somewhere in my code, I try to cast a valid instance of BicyleDataStore into an IDataStore<IDataObject >. It does compile as expected, but it generates a runtime invalid cast exception. It must be possible to do this! thank you for your help, You cannot use direct cast, but you can use instance of BicycleDataStore as parameter for methods like this: Code Snippet public void F<TStore, TObject>(TStore s) where TObject : IDataOb ...Show All

  • Visual Basic deleting a particular line in a File(txt)

    hi everyone , i need a solution to delete a particular line(ptr currently seeks) in a file with out disturbing other lines. plz confirm that the file is not completly read again to achieve this. all i need is just removing the line which is pointed by the streamreader/writer Thanks in advance.. my code that i have tried : ' Dim detailAdd As String ' Dim DetailTxt As String ' DetailTxt = Me.txbdetails.Text ' Dim comstr As String ' comstr = chkmsg(selitem.Item(0).Text)' getting the selected item from the list vwer ' Dim seekPtr As Long ' Try ' ' Create an instance of StreamReader to read from a file. ' Dim str As String ' Dim sr As StreamReader = New StreamReader(filename) ...Show All

  • Visual C# How to Iterate through List or IList

    i can add the values to the IList or List, if I need to get these values in the way they went it...Say I added 5 addresses to the list and I want them one by one... I can use foreach and get all, but I need a way to only get one at a time or two at the max as I need to update some textboxes... Say if I do something like this : foreach ( Phone phone in ContactPhoneNumbers) now phone has everything I need....How can I get index from there........ or How I can do this if(theList[0]) // This gives me an exception.... ...Show All

  • .NET Development COM Port in .NET

    Dear All, I am using the .NET 2.0 to connect to PBX to collect calls accounting from it. it works just fine indeed but from time to time the calls are stuck meaning there is no usage records sent out from the PBX box to the application throught COM port. There is a reset codes internally every few hours but there are still some problems with it. serialPort.PortName = pPortConfigurationInfo.ConnectPort; serialPort.BaudRate = pPortConfigurationInfo.BaudRate; serialPort.DataBits = pPortConfigurationInfo.DataBits; serialPort.Parity = GetParityBitsStatus(pPortConfigurationInfo.ParityBits); serialPort.StopBits = GetStopBitsStatus(pPortConfigurationInfo.StopBits); serialPort.Open(); serialPort.RtsEnable = true; seri ...Show All

  • Windows Forms problem updating ClickOnce application - Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    my ClickOnce application was working fine for the last couple of mounths with regular auto-updates I was posting for the users. And now suddenly users are getting an error message when trying to download and install updates: ERROR DETAILS Following errors were detected during this operation. * [9/6/2006 10:30:22 AM] System.Deployment.Application.DeploymentException (ComponentStore) - Exception occurred during store operation. - Source: System.Deployment - Stack trace: at System.Deployment.Application.ComponentStore.SubmitStoreTransaction(StoreTransactionContext storeTxn, SubscriptionState subState) at System.Deployment.Application.ComponentStore.SubmitStoreTransactionCheckQuota(StoreTransactionContext storeTxn, SubscriptionState su ...Show All

  • Software Development for Windows Vista Power icon problem

    Hello, I've just installed the Windows Vista Beta 2 (Build 5384) and so far so good, except for one thing: somehow i can't activate the option to show the power icon on the "notification are" of the "taskbar". When i go to the properties of the "taskbar", and then go to the "notification area" options, i'm allowed to select to always show the clock, volume and network icons, but not the power icon. Do you know what can i do to fix this problem Because of this problem, i never know when the battery is low. Thanks for your help!! If your machine is battery-enabled, you should see the battery icon in the tray area by default. You should also see a checkbox in ...Show All

  • Gadgets Unable to get xml file from my webserver

    Hi, I have a little problem getting a xml file from my webserver (that isn't on the localhost) with the following code: function getValue() { var url = "http://myserver.com:8080/something.xml"; //this address is just example var req = Web.Network.createRequest(             Web.Network.Type.XML,             url, {proxy:"generic"},             valueDownloadComplete); req.execute(); } function valueDownloadComplete(response) { alert(response.responseText); } With browser, I can download the xml file. And what is more, my friend can get this xml file with browser fro ...Show All

  • Visual Studio Tools for Office Word - Page Extraction

      I'm not sure if this is the right place to ask this, but perhaps you'll be able to direct me to the right spot if not... I'm trying to open a word document and determine if it contains multiple pages, which I've been able to do... However, If the document contains multiple pages, I want to save each page as it's own document - and this is where I get hung up. It sounds simple enough, but that's usually the case... Any ideas or suggestions would be greatly appreciated. Regards, J. Conklin Thank you so much, Cindy! That was exactly what I needed. I had no trouble converting the code provided to VB.NET 2K5! ...I can now put the TUMS back in the drawer! Thanks again! ...Show All

  • SQL Server Date out of range?!

    Greetings! I have a data source that gets generated based on a variable with the following SQL : "select * from result where deletion_ind = 1 and when_deleted >= '" + (dt_str, 50, 1252) @[User::Last_Run_Date] + "'" But when I run my package I get an error message saying: The conversion of CHAR to DATETIME resulted in a DATETIME value out of range The Last_Run_Date variable is set to '2006-06-25 14:35:05.450' When I run the code in a QA session it works, but in the package it complains! What am I doing wrong Thanks for your help in advance. You've already told me further up this thread that the error is getting thrown by SQL Server when you issue that query from SSIS. You have 2 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Partly opaque texture

    I'm loading image files (mainly BMP or JPG) into textures. I want to render the texture partly opaque. is it possible I just want to mention that i don't know if the image contains alpha channels, because i get the picture as an input from the user. Thanks. I'm not sure I completly understood was is "partly opaque" to you, but here are some hints that I hope will help: - You can determine if your texture as either transparency or is partly opaque by examining the texture format : Simply check the number of alpha bits in the format. - You can also iterate through all pixels and check for alpha values. Render the texture as usual (mapped on triangles) but with D3DRS_ALPHABLENDENABLE render ...Show All

  • .NET Development OleDBDataAdapter appears to be caching data

    I have a windows service application (VB.NET - VS2005) that does a OLEDBDataAdapter.fill action as part of the process. It appears to be caching the query data somewhere and pulling from the cache, though I don't have any caching in the application. When I run the query it pulls old information even though I've already updated the info in the field and validated it by testing the OleDbCommand.commandtext in the DB tool (DB2 in this case) I see the new info when I run the query on the DB using the db tool but when my app runs the query, I get the old data. Any ideas Thanks Sounds like the connection is still open or objects are retaining their allocations. Make sure to set all objects =nothing Try ...Show All

  • Visual C++ synchronization in c++

    Hi all, I was just wondering wat are different methods provided in c++ for synchronization between 2 process....i.e., if one process is writing into the buffer then how can i stop the other process from reading from that buffer n if it doesnt read the value then wat does it read kunal The simplest way for this purpose, use mutex. Create a mutex with the same name in both processes: This code is the same in both processes: HANDLE hMx = CreateMutex(NULL, false, "My mutext name"); ............................ if(WAIT_OBJECT_0 == WaitForSingleObject(hMx, INFINITE)) { . . .. . .. . ... ... . .Write or read. ReleaseMutex(hMx); } .................... ...Show All

  • .NET Development request help with DLL on database machine & thin Client application

    Hello, Here is what I'm doing: 1. SQL Server 2005 database is created on machine using Transact-SQL (this includes dropping any previous files). This is created onto the Defaul instance (MSSQLSERVER). 2. a DLL (class library) is made in VB.NET using ADO.NET connection objects. The connection string looks like this: strConnection = "Data Source=.;Initial Catalog=" & dbName & ";Integrated Security=True" where "dbName" is "SQLdatabase1" 3. the Client application adds a Reference to this DLL and will run from the development machine. Here is the problem and the question: When I install the DLL onto the database machine, and I shut off the .MDF database on my developm ...Show All

©2008 Software Development Network