I'm trying to run a .jar file on my centos box, but it says "java: command not found".
What's the best or easiest way to solve this? I was hoping for a yum command but not sure that that will exist for java?
I m using Microsoft Enterprise Library 3.1 for Exception Handling in asp.net, the erors are stored in Event Viewer of the system . Instead of Event Viewer I need to store these errors in a log File using Enterprise Library. Suggest some methods to implement it. Thanks in advance.
Is there anyway i can mention which CSS file should be attached to my Page automatically when running A Page with ASP.NET Themes /Skins ? I want to associate my own CSS which resides in a folder other than the APP_Themes Folder to the Page
I have developed an application in vb.net2008 and database sqlserver. Now i want to ignore the database (it has 1 table as customer(name,password,hour,minute)) as i dont want my client to install sqlserver separately or other overheads.
I am planning to do the whole using file handling in vb.net(manipulating the data in files itself eg change username, password etc). As I am new i don't actually know the proper way and of course need assistance.
I have a login form that has Username and password as inputs from user and I want to validate these login credentials from a text file. How can I do it? I know how to write data and read data..but how to read only specific data.or check whether username password combination exists or not.
Thanks a lot.
Ani
Initially I deployed packages on SQL server but since my machine is not having SSIS installed I faced issue of version while executing the packages. Then I deployed packages to file system on server which has SQL server enterprise edition with SSIS installed on it. I access the folder on server where I have deployed packages from my system and execute the package but I get error saying "cannot run on this edition of integration services, need higher version." Do I need to rmote login (RDP) to execute package?
I am trying to import a csv file to insert data into an existing table on my database. I go through the wizard and when it comes to select source tables and views for the destination, there are none to choose from. It just thinks I am trying to create a new table.
Any suggestions? Thanks!
I am working on document storage and retrieval application. In which i display the pdf document as an png image , but i have a email button on the top. On clicking that the user would be able to provide an email address to which the document needs to be sent, and I need to send this pdf as an attachment. I need to password protect the file for security reasons. I have no clue on how i can do this in asp.net mvc.
I've got a visual studio deployment project and would like to add an option to view a readme file from the final screen.
So basically there would be a link or checkbox that the user can select if they want to view the readme.
Does anyone know of an easy way to do this?
I would like to put a large variable definition in a separate file for the sake of getting it out of the way. I must be doing something wrong though, because my puts call isn't putting anything out.
my_class.rb:
class foobar
def initialize
require 'datafile.rb'
puts @fat_data
end
end
datafile.rb:
@fat_data = [1,2,3,4,5,6,7,8,9,10]
Can you use require this way?
I'm using Netbeans 6.8 and the finest-grained way to run my JUnit tests from the IDE appears to be to right-click a class under Test Packages and click Test File
In Eclipse it's possible to narrow the scope to testing an individual method in a given test harness. How do I test only one individual test out of a harness in Netbeans?
I have a application to list all music files in user machine, a "Explorer" button is using to quickly open Windows Explorer and highlight the file in Windows Explorer. I tried ShellExecute, but it doesn't work, the API will launch associate application. Any Windows API can do that? Thanks in advance.
in my project i have existing csv file and all they have up to 20 lak records.
and they all i store in my sql database.
so plz help me how can i do this.
i use sql bulk insert query but they didn't run in asp.net
we are trying to re-direct the output of the list to a file using the below cmd(java) in ubuntu,
Pls let us know if this works or not ?
Process p = Runtime.getRuntime().exec("ls -l /home/blah blah/new.txt")
Hello,
I am using VS 2008 and .Net Framework 3.5 when i compile project i m getting error
Compiler executable file csc.exe cannot be found.
I have checked that csc.exe is also exist in the .net frame work folder.
When i change compiler version 3.5 to 2.0 it starts working but My 3.5 Features are not available there like LINQ.
I have try everything, Update .Net Framework, Install latest service Pack.
Please help me out this Problem.
I have used perf4j to calulate the performance of the process. Now I want to make the graph for that file. Is it possible to make it without using google API or any other metohd that can be used
Thank You
Hi,
In the postfix main.cf I have configured service to invoke external php script.
smtp inet n - - - - smtpd -o content_filter=myservice:www-data
myservice unix - n n - 1 pipe
flags=Rq user=me null_sender=
argv=/home/me/my_script.php
so far so good, my_script.php is executed. It creates the file my_file.txt in home dir. However I can only manage
-rw------- 1 me www-data 16 2009-10-11 19:35 my_file.txt
How do I add 'r' permissions for www-data group ?
I need suggestions on how can I download attachments from my IMAP mails which have attachments and current date in subject line i.e. YYYYMMDD format and save the attachments to a local path.
I went through the Perl module Mail::IMAPClient and am able to connect to the IMAP mail server, but need help on other tasks. One more thing to note is that my IMAP sever requires SSL auth.
How i can Export a report in SSRS 2008 / 2005 in text file.
with proper allignment
if it is possible by adding some code in Reporting
then pls provide me that code . .
its very urgent . .
Hello Friends,
I have developed customized setup Installer using NSIS. But every time when I reinstall an application, I want to take backup of old database files. & backup file should be rename as 'currentdatetime'(ex: 201003101140 means 2010-03-10 at 11:40 AM).
please, Help me soon
I am waiting your reply
Thanks !
Let's say I've loaded a PDF file using iTextSharp:
PdfStamper p = GetDocument();
AcroFields af = ps.AcroFields;
How do I get a list of all field names on the document from af?