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

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

Nirupama

Member List

peterdarvas
Sumeet
Hernán Gatta
stupidimg
jooolaaab
ian266
AnaD
1modris2
Sergei Almazov
Claudio Cannatella
zaidm
glenna
Harry Kraak
alexjstubbs
braden2
dejann
anarbek
ANeelima
Mark J.
jr78
Only Title

Nirupama's Q&A profile

  • Smart Device Development Connecting to web service from 2003 Smart Device Application

    I am trying to connect to a web server running on my local machine with a c# 2003 smart device application. I get a build error on the pda application: c:\Webservice\WebServiceTesting\bin\Debug\WebService1.dll Referenced class 'WebService1.Service1' has base class or interface 'System.Web.Services.WebService' defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Services'. I have added the reference to System.Web.Services. I have also added a reference to WebService1 (my web service) Here is my code for the web service - very simple using System; using System.Collections; usi ...Show All

  • Visual Studio Express Editions What is the alternative of ActiveDocumentHost control in .NET 2005 Express Edition ?

    Hi All   This is very urgent. Is anybody have idea, what microsoft is providing alternative for ActiveDocumentHost control I need to show Word/Excel inside Windows form with all toolbar options. Regards Swati Here is a forum note that should help. http://forums.microsoft.com/msdn/showpost.aspx postid=4976&siteid=1 ...Show All

  • Software Development for Windows Vista Retrieving current state

    I am running an ASP.NET site using WWF, I've chosen to implement a StateMachineWorkflow. In several samples I've seen, navigation between pages is done by Repsonse.Redirect(). In stead of using this mechanism (which seems to me hard to maintain), I would like to ask my current workflow its current state and then navigate to the corresponding page. How can I get a reference to the instance of the workflow I started an is currently running I tried the following (which doesn't work, CurrentStateId remains null as mentioned earlier in this forum, however the solution doesn't seem to work for a web app, since the StateMachineTracking service h ...Show All

  • Windows Forms how to view an event log in a datagrid.?

    anyone know how or if it would be possible to bind a datagrid to an event log. Yes and no... The events collection on the event log does not serve as an IList or IList source...  Now you could enumerate through the event collection and add the info you want to an array and then bind to the array. So you can't bind dire ...Show All

  • .NET Development UserID and PWD sent to Webservice

    I have this code in my client app "windows forms": CredentialCache cc = new CredentialCache (); WebService ws = new testApp. WebService (); cc.Add( new Uri (ws.Url), "Basic" , new NetworkCredential ( "userName" , "MyPwd" )); ws.PreAuthenticate = true ; ws.Credentials = cc; MessageBox .Show(s.HelloWorld()); Now, in the server side "web service", how do i retreive the user id and the pwd i added to the credentialcache.. i tried User.Identity.Name but it showed me the name of the current windows user that uses the Client app.... Thanks If u r using IIS ...Show All

  • .NET Development Porting C++ pointer code to C#

    Hi, I have a piece of C++ code that does a lot with pointer arithmetic in order to parse a char[] array into many different fields. The data is a block from a tape, so for example the first block of data contains such information as tape id, number of files on the tape etc. Most, but not all, of the individual fields in the data are null terminated. I'm looking for the best way to accomplish the same thing in C#. I'm used to pointer arithmetic in C++, but I'm not that familiar with C#. The C# code that I have (in an unsafe method) looks like: char[] tapeHeader = new char[1024 * 256]; UInt32 count = (uint) tapeHeader.L ...Show All

  • SQL Server Looping over files not available in my ssis

    I'm downloading zip'd files and would like to loop through each file that was downloaded. I'd also like to unizip each file and append all of them to one file. I have a dos batch that is fairly simple and would like to emulate it using ssis. Here is what the dos batch file looks like. DATE /T >%TEMP%\D.txt FOR /F "usebackq tokens=2,3,4 delims=/, " %%i IN ("%TEMP%\D.txt") DO SET fname=TAMF_162%%i%%j%%k-%%k.zip ECHO xxx>zzzzz ECHO xxxxx>>zzzzz ECHO BINARY>>zzzzz ECHO GET %fname%>>zzzzzz ECHO QUIT>>zzzzz FTP -s:zzzzzzz ftp.aaaaa.com PKUNZIP -o -xxxxxxx downloadedfile_1~1.ZIP ...Show All

  • SQL Server reportviewer control

    How do i Refresh a reportviewer control to have it reflect the changed RDL file in SQL Reporting services Do you need to refresh the view inside VS or external after the report was created After changing a remote report RDL inside VS2005 I have the updated (changed) RDL rendered in the preview tab by default without any problems. If I fill out the parameter values in the preview pane and click "View Report" the first time the report is also shown with the correct RDL layout. If I change one or more parameter values in the preview pane after the first view the report is NOT refreshed angain. ...Show All

  • Visual C# from Video Capture Device to Image/Bitmap

    Thank you for the link, I'll check it out :) I currently have code that can get images, but still needs some visible handle to create the video in. A solution to the problem would be an invisible handle that does draw everything while being invisible. Does anyone know if this exists ...Show All

  • .NET Development Client information available to server

    Hi, I have an remoted object served by IIS.  I'm looking to find out what information I can get about the client that has connected or is making a particular method call. I saw an MSDN article saying that I could use System.Web.HttpContext.* to get some information about the client, but I'm unable to use .HttpContext for some reason.  All I get available to me under the System.Web namespace is ASPNetHostingPermission, ASPNetHostingPermissionAttribute, and ASPNetHostingPermissionLevel. Can anyone steer me in the direction of being able to find out information about the client making the connection to my remote object Thanks, M ...Show All

  • Windows Forms DataGrid headers

    How can I get the TEXT of the DataGrid HEADERS If you mean the data grid column headers, then the DataGridColumnStyle::HeaderText property contains the column headers. you would need to create a data grid table style, add data grid column styles and then, from the collection of data grid column styles you can get the HeaderText property. Daniel. ...Show All

  • SQL Server Cannot create a connection to data source !!!! SSRS 2005

    I cannot get this error resolve either for myself or any users, and I'm actually part of the Admin group! Furthermore, a user with whom I'm tring allow to view this report keeps getting prompted for their windows username and password. I thought that since this datasource was set to Windows Authentification that it would just pass it through I'm pulling my hair out at this point: Screen Shots: http://www.webfound.net/datasource_connection.jpg http://www.webfound.net/datasource_connection2.jpg http://www.webfound.net/datasource_connection3.jpg Also As far as I know, I've ...Show All

  • Smart Device Development Can't change Label BackColor in designer (VS2005 Final)

    Hello, The environment Visual Studio 2005 Final, Smart Device Application for Windows Mobile 2003, using .NET Compact Framework 2.0. The problem I have uninstalled VS2005 Beta 2 (using the automatic uninstall tool) and then installed VS2005 Final. When I add a Label control to a blank form in the designer, I can't set the Label BackColor to a Web or Custom Color. It seems that when the underlying Form has the System BackColor "Window", it affects the Label controls. If the underlying Form has a Web or Custom color - the BackColor of the Label can be changed - however the BackColor in the list of Properties  ...Show All

  • .NET Development FtpWebRequest re-sending USER and PASS commands half way through download loop

    Well, the title says it all really: I'm using FtpWebRequest to download multiple files as follows: private string GetFile(Uri uri) { string un = Misc.ReadRegKey("ParserFtpUsername"); string pwd = Misc.ReadRegKey("ParserFtpPwd"); string file; NetworkCredential cred = new NetworkCredential(un, pwd); WebProxy pxy = new WebProxy(); pxy.UseDefaultCredentials = true; FtpWebRequest wr = (FtpWebRequest)WebRequest.Create(uri); wr.Credentials = cred; wr.Proxy = pxy; wr.UseBinary = false; wr.Method = WebRequestMethods.Ftp.DownloadFile; FtpWebResponse resp = (FtpWebResponse)wr.GetResponse(); ...Show All

  • Visual Studio $ Dollar Sign in File Name

    Hello, Will the final release of VSS 2005 support dollar signs within file names.  I understand that VSS uses the $ as a special character, especially when it is the first character.  However, why can't a file named "CRCS$$01.DAT" be added to SourceSafe I have read newsgroup archives that indicate files such as this were supported in earlier versions of VSS, although not in 6.0d. Thanks. Hi David, There were some problems having files or folders with '$' character part of the name. The decision was that $ will not be allowed anymore as part of a filename. Same thing applies for '%' as part of ...Show All

©2008 Software Development Network