cahit's Q&A profile
Visual C# my application talk to another app like Command prompt
Hy there, is there a way to talk to another application like Command prompt greetzzz, Tim You mean pass parameters as you do with the command prompt Yes, if the application supports it. If you mean while an app is running, yes, if the app supports it, or if you can figure it out by sending messages to the app window. I'm not sure how helpful that is, perhaps you need to be more specific ...Show All
Visual Studio Build Solution in IDE and Msbuild
Hi, Is building a solution using command line msbuild call different from building a solution within VS2005 IDE. If yes, is there any references/tutorials with respect to that. Our solution compiles successfully within the IDE but fails when I call msbuild Project.sln Our solution contains C# projects with web applications and website (website contains one web application as virtual). Thanks MRI When trying to build from ...Show All
Visual C++ AddPrinterConnection returns 2
Hi, My code to add remote printers, resides in a sevice which runs on the Local SYSTEM account.since the SYSTEM account does not have network access, i have impersonated the guest account. Enumeration for remote printers works fine but when i try to add the Printer using AddPrinterConnection it fails with an error code of 2. whereas if i impersonate the Admin account and then add the printer it works. what is it that i am missing her ...Show All
Smart Device Development Can not find type http://tempuri.org/:ComboBoxVO
Hello there, Our app runs on the pocket pc and connects to a web service. The web service returns a value object which looks like the following: ****************************** public class ComboBoxVO { public string id = null; public string name = null; public ComboBoxVO(){} public ComboBoxVO(string id, string name) { this.id = id; this.name = name; } &nb ...Show All
Visual Studio Team System Code Profiling for ASP.NET application
Hi: I have looked through this forum and ASP.NET forum and could not find the solution. SO I just ask my question here. I had a file system ASP.NET application, run in http://localhost:1351/MyAspApp . I wanted to use code profiling to test the performance, so I followed the MSDN Library to set the performance session through Performance wizard. However, after launching the performance session, I got the following message: Launch Error: ...Show All
Windows Forms Deploying .net Apps on a machine without .net framework
hi Can I deploy my .net application on a windows 2000 workstation without .net framework installed on it. sunil Not quite sure why W2k is a problem The framework runs on w98 as well so what does w2k have to do with it ...Show All
Visual Studio VSS-2005 access permission problem via HTTP
Hi, I'm having a problem using VSS-2005 access via HTTP when the remote developer is simply a domain user. They can connect OK and navigate through the VSS folder structure, but when they try to open a project file, the following errors are produced: "The current source control operation cannot be completed. The Visual SourceSafe Web Service returned the following error: Attempted to perform an unauthorized operation" "The curre ...Show All
SQL Server Custom Delivery Extension - SubscriptionID
I am attempting to implement a custom delivery extension for SSRS 2000. The custom delivery extension will deliver the report to a database(table). CreateSubscription WebMethod returns a SubscriptionID once a subscription is created. Is it possible to get this SubscriptionID at run-time i.e when the IDeliveryExtension.Deliver method is called If so, how I want to store the SubscriptionID with the report in the database. ...Show All
Visual Studio Tools for Office How is this code (VBA6.0 with Excel Application) to C#
Hi How is this code (VBA6.0 with Excel Application) to C# : Dim intValue01 as Integer intValue01 = sheet1.cells(1, 1) 'READ DATA FROM CELLS intValue01 = intValue01 + 2 sheet2.cells(1,1) = intValue01 ' 'WRITE DATA IN CELLS Thanx for any idea. sheet1.cells[1,1] this looks like an article you may be interested in: http://msdn.microsoft.com/library/default.asp url=/library/en- ...Show All
Windows Forms Slow painting, flickering on complex forms
Okay, I've tried double buffering (Control.SetStyles et al). I've played around with Win32 APIs such as SET_REDRAW and LockWindowUpdate, but I cannot get rid of the apallingly slow painting that is Windows Forms. Try this: Create a form with about 50 labels on it. Make the BackColor of the form the usual windows grey - and leave the labels as is. Run the app. Alt-Tab back and forth from another app (preferable one with a white background - such ...Show All
Visual Studio Team System firewall issue, Changing 8080 to 80
Hi Foundation Server is installed (single deployment) on a computer behind a firewall that only allows http 80. As SharePoint services are on port 80, TFS is automatically assigned to por 8080. Hence, I cannot connect from a client with Team Explorer. My idea was to change the ip (in IIS ) assigned to the TFS web service and then change the port to 80, still havein sharepoint and SQL on the old ip. It is possible to connect to the server in ...Show All
Windows Forms How to place a row numbers to a datagrid rowheader column?
i want my datagrid to have a row number for each row. the given solution on the Windows Forms FAQs is not good. the rowheader text is floating when i tried to resize the row.. i need a sample for this problem. thanks. Are you binding to a datatable Add a column at run time.. i.e DataTable dt = new DataTable(); dt.Columns.Add("#"); Then loop through the rows collection and set each column "#" to the row numbe ...Show All
.NET Development launch console app from remote computer
I have a small console app that needs to be launch from remote computer(s) - preferrably without a third-party tool. The app runs then quits in just a few seconds once it complete a process. ...Show All
Visual C# Help
Below is my code which i used in my web application, but when i add multiple item into the arraylist and traverse through the arraylist, the arraylist is empty. Please help, public partial class _Default : System.Web.UI. Page { Item item; ArrayList al= new ArrayList (); protected void Page_Load( object sender, EventArgs e) { } protected void btnCreate_Click( object sender, EventAr ...Show All
Visual Studio Team System Labels and Builds
Hello, I want to establish a Nightbuild and want to be able to build different Versions fom the version tree. Is it possible to configure the Build (maybe using TFSBuild) in a way that I can say: "build every Version with the Label 'XYZ' " Thanks for your support, Tobias The following blog post shows how to build a labeled version of the code. http://blogs.msdn.com/nagarajp/archive/2005/10/21/483590.aspx To go further and ...Show All
