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

Software Development Network >> Gaurav Sehgal's Q&A profile

Gaurav Sehgal

Member List

Visual C# Novice
wesneon
engr464495
teqmem
Gadi Sagiv
orent
Rhubarb
bhavu
osamaT
Zooz
MrJP
WinFXGuy
Jouan
hazz
John Woodiwiss
Tom D
ahmedilyas
frac
Joe Kehnast
CJW99
Only Title

Gaurav Sehgal's Q&A profile

  • Software Development for Windows Vista Windows WorkFlow: Created my project exactly as OrderApplication sample and still I get below error

    Activity 'handleExternalEventActivity1' validation failed: ExternalDataExchangeAttribute missing on interface ResWFService.IResWFSer h:\Personal\Visual Studio 2005\Projects\ResWFWin\ResWF\Workflow1.cs Yes. Problem has been Resolved by commenting below line <Import Project="$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets" /> Thanks for your help. ...Show All

  • Visual Studio Team System source control

    does visual studio team system for database professionals incude source control if yes, is the source control at the database level meaning if someone goes into Management Studio will they "see" that a stored procedure is currently checked-out and then they cannot modify that sp. Hi, I do agree with the above strongly (see one of my previous posts "VSTS4DBP could be dangerous"), but I also feel it's also a question and policy of discipline. Assuming that no one want's to intentionally damage the DB the point would be to get VS to the status that for development work it is equally good and fast to use as SSMS. With DataDude we've taken a big step and I assume t ...Show All

  • SQL Server How to deploy ASP.Net 2.0 appliction..No bin folder and dll file

    Hi I am Jaison I have developed small ASP.Net applocation in visual web developer 2005 I dont find any bin folder and dll file So how do i deploy my appliction in remote server Hi Jaison, You should post your messages at http://forums.asp.net but just to answer your question, you have an option to deploy your ASP.NET 2.0 using VWD Express. Right-click on your ASP.NET project and select Publish Web Site. Then, you can select the location on which to publish your site. If you want it simple enough, you can first deploy it in your local IIS. This will generate the bin folder and the corresponding DLLs that you need to deploy your web application. ...Show All

  • Microsoft ISV Community Center Forums Emails via Excel

    Hey Ladies and Gents, I am a bit new to the world of visual basic so please be kind. I have been set a mini-project here at work and need some assistance. What i am trying to achieve is for a user to click a command button in excel, opening up a new mail message in outlook. This new mail message will include filled areas in to, subject and main body with a hyperlink to the document in which they have just updated. I have managed to produce the following code so far: Sub Button1_Click() Dim theApp, theNameSpace, theMailItem, myAttachment, MessageBody, subject 'create a new Outlook Application Object, 'direct it to the proper NameSpace, 'create a new Mail Item and set the attachments collection Set theApp = CreateObject( ...Show All

  • SQL Server For Loop Container does not check condition first time

    Hi, It seems like For Loop Container works like do-while loop in C++. I have set its EvalExpresstion to @[User::SyncStats]==0 , I have an Execute SQL Task before this container that sets the variable to 1 but Container still executes atleast one time. Anybody else been through this Well, There is an Execute SQL Task before the container which is responsible for initializing value on the basis of the return value from Stored Procedure. For just the curiosity, Yes it works if I set the value in InitExpression. But I want it to use the value set by prior task. ...Show All

  • Software Development for Windows Vista Windows Workflow Foundation and Active Directory

    Can I connect to Active Directory within the Windows Workflow Designer so I can add / assign a user to a certain Activity Hi anderskj1, Maybe you ca advise me. I have downloaed some sample code but none are any way similar to what I want to do. I want to implement a WorkFlow in ASP.NET using Windows Workflow Foundation. I have a Web Form where user 1 fills in the form and submits it. This form and the saved data is then sent to user 1's boss who reviews the data and submits the Web Form to his boss and so on and on until it goes to the top of the Organisation where it is finally approved or rejected. Each time the form is subnitted an email is sent to the next person on the Organisation hierarchy letting them know that ...Show All

  • .NET Development Web Services - File Transfer

    Hi All,      I am using VS 2005 (BETA 2) and a Web Service to upload/download files.  I am trying to use the My.Computer.Network.UploadFile and My.Computer.Network.DownloadFile methods.  In essence, I have a file (test1.exe) that resides in the same directory as the web service, and would like to save it to a remote computer when the user calls my method.  It gives me the following error: System.Net.WebException was caught   Message="The remote server returned an error: (403) Forbidden."   Source="System"   StackTrace:    at System.Net.WebClient.DownloadFile(Uri address, String fileName)    at Microsoft.VisualBasic.MyServices.Internal.WebClientCopy.DownloadFi ...Show All

  • Visual Studio imbedded spaces in the command line

    Is there a way to get MSBuild to recognize embedded spaces in the command line For instance if I wanted to pass a directory property that might contain embeddes spaces can that be done MSBuild /property:MyDir=C:\Documents andSettings\ MyProj.proj I have tried wrapping various portions of the property above in double quotes, but when I do, MSBuild seems to think it is project file or has some other misinterpretation of what I am trying to do. Thanks, Leslie Simon, Thanks for double checking. I figured out what I was doing wrong. I was attempting to pass SolutionDir from the IDE through to an MSBuild. I was wrapping the SolutionDir with double quotes so that it looked like: MSBuild /pro ...Show All

  • SQL Server Web Synchronisation Using RMO

    hi every body please help me out on this issue , since i am at final stage in finishing up the module. Previously i had done web synchronisation using RMO it is working fine at my office where i have an 2003 server which is an domain controller , publisher i have configured on the 2003 server , and i had subscribers on xp Machines where it was well working fine, clients were not on the domain , it is an independent Machine. we had an security error which was resolve by this same forum, ie the client windows login id should exists on the server too. only then synchronisation is happening at our office, Now the problem is i have an same setup , but the server 2003 is hosted at a remote place , which is not an domain controller, n ...Show All

  • Visual Studio Express Editions problem invoking active-x control method.

    sir, I want to invoke active-x control method. The object for which is getting created on use of methods(CoGetClassObject , RequestLicKey ,CreateInstanceLic), but i couldn't able to invoke methods of Active-x control. Here is the code which explains the problem. please suggest me for further action. void CContainerView::OnRButtonDown(UINT nFlags, CPoint point) { IClassFactory* pclsf; IClassFactory2* pclsf2; IUnknown* pUnk; ICalendar* pmydll; BSTR lickey; //for mmcontour clsid static CLSID const clsid = { 0x621464c0, 0x5e90, 0x4da2, { 0x9a, 0x6b, 0x9b, 0x7f, 0xdd, 0x31, 0x91, 0x98 } }; //get the IClassFactory Interface pointer IDispatch *pDisp = NULL; HRESULT hr = CoGetClassObject(clsid,CLSCTX_INPROC_SERVER,NULL, IID_IClassFactory, ...Show All

  • Windows Forms Marquee Progress Bar

    I have a form that executes a very long process synchroniously. I would like to add an animated marquee progress bar that animates while the process is executing, how do I do it I found out what the problem is: I changed the display syle of windows to one found at crystalxp.net, but their modification of the progress bar doesn't support marquees. Sorry for the false alarm. ...Show All

  • .NET Development Access Violation when doing BeginReceive on a UdpClient

    I'm attaching some code below which demonstrate my troubles. In short, I get an Access Violation thrown when doing BeginReceive after trying to Send() data to a port thats not listening (using UDP). My observations this far: Add a Sleep() between the Send() and BeginReceive(), and you get a SocketException thrown at BeginReceive() instead of the Access Violation Send to localhost, or a host on the same lan (or close, in terms of hops), and you get a SocketException Send to a box on the internet, on a port thats not being listened on, and it'll throw an Access Violation most (90%) of the times tried The Sleep() related observation somewhat gives me the impression that this is related to a race condition. Some overlapped op ...Show All

  • SQL Server New fonts not available in report designer

    Hi, I purchased a couple of new fonts from Adobe, one is PostScript and the other is OpenType, and neither shows up in the font selection list in report designer. Any idea what might be happening there ...Show All

  • SQL Server SSRS 2005: Matrix in list causes blank pages in PDF

    I am trying to display data horizontally inside of a group footer of a table. I put a matrix inside of a list and then put that list inside of the table. Unfortunately, when the matrix grows, it causes the list to grow apparently and creates blank pages. I have to use the list to maintain the column width of the matrix. I found a MS article online talking about this problem in SSRS 2000, stating that it had been fixed with SP2. Does anyone know why this is still a problem in SSRS 2005 and how I can get around this issue This sort of problem seems to happen a lot when you place one data object inside of another one. I also encountered a problem before when I placed a table inside of another table. I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Strangest 'Bug' I've Found Yet

    Hi, I'm still trying to draw large gridmap terrains on the 360 and so far am having a lot of success. Performance seems to be a lot higher than my 6800GT, perhaps by about a factor of about 4. The issue I'm having though is really rather strange and I've been wondering for the last couple of hours quite how it could be happening. I create a huge vertex buffer (as big as XNA allows before throwing an UnauthorizedAccessException at me) for the gridmap and draw the entire world (4million polygons) in a single draw call. Except the frame rate is good under some circumstances and bad under others, and the factors that make the frame rate plummet really shouldn't affect the frame rate at all. If I create only this one VertexBuffer and try ...Show All

©2008 Software Development Network