Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

Narendra Reddy Vajrala

@Narendra Reddy Vajrala
About
Posts
90
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • merge two projects
    N Narendra Reddy Vajrala

    you can use CheckBox dailog in Setup Project. Right click on Setup Project --> View --> User Interface --> add Dailog refer this http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/161623e8-f6e4-45eb-9a61-6576caffc379[^]

    C# csharp c++ help

  • How to Disable Repair in VisualStudio2008 Setup Project?
    N Narendra Reddy Vajrala

    Hi, in my Visual Studio2008 Setup and Deployment Project am trying to disable the repair radiobutton from the installation package. for that am using ocra to edit the msi tables. in 'RadioButton' table i deleted 1. MaintenanceForm_Action 2. AdminMaintenanceForm_Action but at the time of unistallation it is giving error 'The installer has encounteres an unexpected error installing this package. This may indicate a problem with this package. The error code is 2855' what more things i need to do?? please suggest me i dont want Repair button finally in my installation package. please help me out Thanks In Advance --Naren

    C# help sysadmin tutorial question workspace

  • Error 1053: The service did not respond to the start or control request in a timely fashion
    N Narendra Reddy Vajrala

    Hi Obrix! m also facing the same short of problem to windows service did u got solution?? please share :)

    C# help csharp debugging question

  • Get Error Number in C#
    N Narendra Reddy Vajrala

    Hey Anubhava... did you got the solution to find error number in c#.net??? i have the same requirement i tried so much but i did not found solution :( please pass solution if you got tnx in advance :)

    C# csharp help question

  • Login Problem with CrystalReports
    N Narendra Reddy Vajrala

    Hi Experts, In my VisulaStudio2008 c#.net windows Apllication i have a crystalReport(Main) it have 5 subreports. i did this report in my local machine so i gave datasource, database name and other credentials i set as local only but from coding i set database login details dynamically to get data from required source my code is like this ShiftSummaryReport report = new ShiftSummaryReport(); ReportDocument crSubreportDoc; Sections crSections; ReportObjects crReportObjects; SubreportObject crSubreportObject; report.SetDataSource(shiftSummaryDataset.Tables[0]); report.SetDatabaseLogon(user, password, server, database); crSections = report.ReportDefinition.Sections; foreach (Section crsection in crSections) { crReportObjects = crsection.ReportObjects; foreach (ReportObject crreportobject in crReportObjects) { if (crreportobject.Kind == ReportObjectKind.SubreportObject) { crSubreportObject = (SubreportObject)crreportobject; crSubreportDoc = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName); crSubreportDoc.SetDatabaseLogon(user, password, server, database); } } } i kept debug and checked, values coming to those variables and executing fine. but still it is asking for database login. how can i solve this? please help me out Thanks In Advance --Naren

    C# csharp help question database sysadmin

  • how to use windows service in another project?
    N Narendra Reddy Vajrala

    my code is like this in windows services class protected override void OnStart(string[] args) { insertValues(3, "Naresh Kumar", "3658213641", "Begumpet, Hyderabad"); } public void insertValues(int custId, string custName, string custPhone, string custAdd) { string insertCommand = "Insert into CUSTOMER values ( " + custId + ",'" + custName + "','" + custPhone + "','" + custAdd + "')"; con.Open(); cmd = new SqlCommand(insertCommand, con); cmd.ExecuteNonQuery(); con.Close(); } when am trying run this service from computer Mangement is it displaying below alert "The service on local machine started and stopped. some services stopped automatically if they have no work to do for example the performance logs and alerts service." please help me out

    C# question database help tutorial

  • how to use windows service in another project?
    N Narendra Reddy Vajrala

    same error no change :( even i used try catch block.

    C# question database help tutorial

  • how to use windows service in another project?
    N Narendra Reddy Vajrala

    i cant break my PL orders :(

    C# question database help tutorial

  • how to use windows service in another project?
    N Narendra Reddy Vajrala

    ya actually but i have to do in windows services only. :(

    C# question database help tutorial

  • how to use windows service in another project?
    N Narendra Reddy Vajrala

    am giving my code sample protected override void OnStart(string[] args) { insertValues(3, "Naresh Kumar", "3658213641", "Begumpet Hyderabad"); } public void insertValues(int custId, string custName, string custPhone, string custAdd) { string insertCommand = "Insert into CUSTOMER values ( " + custId + ",'" + custName + "','" + custPhone + "','" + custAdd + "')"; con.Open(); cmd = new SqlCommand(insertCommand, con); cmd.ExecuteNonQuery(); con.Close(); } when am trying run this service from computer Mangement is it displaying below alert "The service on local machine started and stopped. some services stopped automatically if they have no work to do for example the performance logs and alerts service." please help me out.

    C# question database help tutorial

  • how to use windows service in another project?
    N Narendra Reddy Vajrala

    what am trying to do is i want to insert records into a sqlTable for that i created a method with 4 arguments in windows services class. inside that method i wrote code to insert those 4 arguments. i installed this windows service. from another project i want to call this method To insert records from a form i called that service like this WindowsService1.Service1 winService = new WindowsService1.Service1(); winService.insertValues(txtcustId.Text, txtcustName.Text, txtcustPhone.Text, txtcustAddress.Text); here insertValues is my method inside windows service, where i wrote insert statement. is this correct way? when i tried to build it is giving below error Error 2 The type 'System.ServiceProcess.ServiceBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Inetpub\wwwroot\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs 451 13 WindowsFormsApplication1

    modified on Monday, June 29, 2009 8:37 AM

    C# question database help tutorial

  • how to use windows service in another project?
    N Narendra Reddy Vajrala

    Hi Himanshu, i installed my service, it is fine am performing start, stop, restart operations. but am stuck with calling this windows service in another project. :( i tried in google but i did not find any information reagrding this to call a windows service in another project.

    C# question database help tutorial

  • how to use windows service in another project?
    N Narendra Reddy Vajrala

    Hi Experts, i created a windows service to insert data in to a sql table. now i want to call this windows service in another project how can i call this? i tried to add service reference but it is asking for url how can i give this? like webservices, is windows services also contain URL? please help me out Thanks In Advance --Naren

    C# question database help tutorial

  • How to Determine the path of .msi file?
    N Narendra Reddy Vajrala

    Hi, How can we know the path of .msi file, where it is being executed from? Thanks In Advance --Naren

    C# tutorial question

  • GEt path of msi
    N Narendra Reddy Vajrala

    Hi, did you got the solution for this? how to get the .msi path means from which location we are installing? if you got please share that code i really need that urgent Thanks In Advance --Naren

    C / C++ / MFC help

  • Launch Condition for crystal report in c#.net 3.5 Setup project.
    N Narendra Reddy Vajrala

    No dude, not yet still am researching no one providing necessary things.

    C# csharp visual-studio debugging help question

  • how to display default image in datagridview in c#.net 3.5 Win Forms?
    N Narendra Reddy Vajrala

    Hi Experts, am working with c#.net 3.5, Windows Application How can i add a default image to every row of my datagridview? please help me out. Thanks In Advance. :-O

    C# csharp question help tutorial

  • Launch Condition for crystal report in c#.net 3.5 Setup project.
    N Narendra Reddy Vajrala

    Hi all, TO my .net setup project i want to add a launch condition for crystal report installation. In my prerequisities i selected Crystal reports fro basic visual studio 2008 (x64, x86) in my debug folder i got those respective crystalreport10_5 folder after successful build. i got CRRedist2008_x64.msi,CRRedist2008_x86.msi i want to install CRRedist2008_x86.msi so in my Installurl i specified CRRedist2008_x86.msi's path. but it is not installing, in installing window a message gathering information came and after some time it is closing. so am trying to install CRRedist2005_x86.msi but when am trying to install my setup project it always going to that crystal report launch condition though i installed CRRedist2005_x86.msi. in my launch condition i gave properties as Name : CrystalReport Condition: CrystalReport InstallUrl : CrystalReports10_5\CRRedist2005_x86.msi Message: Do you want to install crystal Reports? please provide launch condition to install crystal reports. and why it is asking every time crystal report installation? so that am not able to proceed further to install my application. please help me out. Thanks In Advance

    C# csharp visual-studio debugging help question

  • Problem with appconfig while uninstalling project
    N Narendra Reddy Vajrala

    yes, you are correct. cant we delete that app.config file during uninstallation?

    C# question help

  • Problem with appconfig while uninstalling project
    N Narendra Reddy Vajrala

    Hi, am creating appconfig file dynamically to my application folder. it is working fine but while am uninstalling my application, everything unstalled but that appconfig not uninstalled why this is happening? how can i uninstall appconfig also? Thanks InAdvance

    C# question help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups