|
|
|
what are the object oriented system concept used in c#....??
|
|
|
|
|
|
Get a book on OOPS concepts and read.
|
|
|
|
|
C++, Java, C# - All good Oops based programming languages. Are looking for something specific on C#? You will get only funny replies when you post such a generic questions...
|
|
|
|
|
Hi,
I have created a project with a third party control which has a distributable license.When I create a set up to this project and when I implement in other place it works fine.
At the same time when I add the dll files to another existing project and try to integrate both the project I get license issue. The message I receive is control expired error.
Though the license file is embedded with the dll.
Regards,
N.ShanthaKumar.
|
|
|
|
|
You need to go back to the people who provide the third party control.
Use the best guess
|
|
|
|
|
Hi,
I have installed a windows service in any of the work station in my network.
It sends emails periodically.
I want to remove the service, But I forgot the Node where i installed it.
Now every morning I m getting emails as result of that windows service.
Can you tell me how to trace, where this service is installed, so that I can remove it.
Thanks
By:
Hemant Thaker
|
|
|
|
|
I have no idea what type of mail server you are using, but looking into the log files and mail storage you should be able to work out where from the email was sent.
Regards,
— Manfred
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
Short the Installed program in Add/Remove section of Control panel with date.
|
|
|
|
|
I am developing a project(ASP.NET & C#) containing Digital Signature. I can sign a document using PFX file. Is it possible to digitally sign a PDF file using USB token through C# program? If yes, please give me sample code ..
Thanks in advance
Shiny
|
|
|
|
|
dsshiny wrote: Is it possible to digitally sign a PDF file using USB token through C# program? It's possible to sign a PDF using a certificate, and yes, that can be built with C#. What USB-token? If that's what contains the certificate, then you'd be writing some additional code to read from it.
dsshiny wrote: If yes, please give me sample code .. There's quite some examples on digitally signing a PDF. I suggest you start there
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
hi Eddy Vluggen,
thank u for your quick reply..
In my question, i mentioned 'USB Token' for the USB device/Smart card in which the certificate contains..
i tried many sample code . But i didnt get the output..
please help me to find the solution
|
|
|
|
|
Hello again Code Project!
Here is the deal, I have two separate functions called InputData and DisplayPlayerData. Each of these functions have loops inside of them. The loop in InputData is supposed to get player's name and player's score, breaking the loop with a sentinel and not to exceed 100 players. No problem.
The other function, DisplayPlayerData, has a loop to display the name and score of each player.
I am thinking that I could use a state controlled while loop. What I really need to know is how to bring the input data from the first function into the second function. Would this function look like public static void DisplayPlayerData(){} or do I need to declare a few variable in the ()?
|
|
|
|
|
Are you working in WinForms, or WPF here, or ... ?
Is there a strong organic reason you want to separate out the entry process for players' names and score from the task of displaying them (in a list ? a grid ? a textbox ?) ?
A little more detail about your goals here, please.
~
“This isn't right; this isn't even wrong." Wolfgang Pauli, commenting on a physics paper submitted for a journal
|
|
|
|
|
Do it using Lambda expressions. You dont have to create two separate functions for that.
Everything you want will be done in just two or three lines of code.
Even you can do it without any "for" or "while" loop
Regards,
CodeBlack
|
|
|
|
|
Hi ,
when page load I am downloading the report pdf from ssrs and storing it in my local successfully , question is when I load the page I need to attach the same file into the textbox.text.
ex : same like it shows in the outlook attachment. Please help me , it should be in C#/Jquery/Ajax .
Note : we are not using the upload control
please reply answer to this or send to my mail id rpaulvincent@gmail.com
thanks
R.V.Paul
|
|
|
|
|
when page load I am downloading the report pdf from ssrs and storing it in my local successfully , question is when I load the page I need to attach the same file into the textbox.text.
You want to attach file or you want to display path of the file in textbox ?
Get the path of the file when you create report. and set it as a textbox's text.
simple.
when you need to upload it or attach it with email use the same path.
Hope this will help.
Regards,
CodeBlack
|
|
|
|
|
Does Application.Run((new Form1()); in Program.cs load on the Stack or Heap? I am asking to see if all methods inside the Form1 code are methods that go on the Stack or Heap.
Also, if I create a new Form object from Form1 - does it load on the Stack or Heap?
What about methods processed inside of new objects. Example:
public partial class Form1 : Form
{
public Form1()
{
Doofus d = new Doofus();
}
}
public class Doofus
{
Doofus()
{
createsomething();
}
void createsomething()
{
string a = "whiskey";
}
}
In this, does d's createsomething() method go on the stack or the heap?
I have read several articles on this, and I have "googled it myself". I'd just like a straightforward answer if anyone knows.
Thank you
modified 13-Aug-13 11:06am.
|
|
|
|
|
Methods do neither, they are loaded into the code section of the application's memory on startup. Objects are generally created on the heap and values and temporary variables on the stack. Form1 will be created on the heap, as will (generally) all its components.
Use the best guess
|
|
|
|
|
Looking at some of your other questions, I would strongly recommend .NET Book Zero[^].
Use the best guess
|
|
|
|
|
|
Objects are created on heap; and Application.Run is creating the object Form1 as new Form1(); so it will be created on heap. As, per my understanding, createsomething() will also go on heap as it is part of an object. But better look for memory allocation in .Net and you will have a clear idea about what goes on stack and what goes on heap.
|
|
|
|
|
I have a windows service starting and running fine on Windows 7, but when I try to start it on Windows Server 2003 after 30 seconds a message pops up, saying "windows service did not respond to the start or control request in a timely fashion". Tried to start it as local service, local system or local admin to no avail.
Don't know if it is important, but it is c# code an uses enterprise library 5.
The OnStart()-Methode only logs through entlib and starts a timer, should only take milliseconds and it work on win7.
Any idea??
|
|
|
|