15,892,298 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by vicky87 (Top 42 by date)
vicky87
16-Aug-11 11:46am
View
thanks
but i like to create on function which tick_time and process that tick_time
public void TimeCheck(string handler)
{
Timer time = new Timer();
time.Elapsed += new ElapsedEventHandler(handler);
time.Interval = (1000) * (1);
time.Enabled = true;
time.Start();
}
i pass the values and it process it other wise i have to create many time function .
vicky87
15-Aug-11 4:01am
View
@christian the this is that i am PHP developer and my bro need to make few changes in C# program and i have not worked on C# programing much ..and you are right need some beginners books for this :)..
vicky87
12-Aug-11 17:18pm
View
i have mange to upload the file but can any one tell me how i can upload file after every 5 minutes ..by using any loop or some using some time function
vicky87
12-Aug-11 16:44pm
View
yes i have change the username/password so no one can see :) and i have add my program into my windows firewall but still same error.
vicky87
12-Aug-11 16:11pm
View
hii am trying this but giving me error "unable to connect to server"
static void Main(string[] args)
{
StreamReader streamReader = new StreamReader("C:\\wamp\\www\\FTCPC\\logfile.txt");
ArrayList lines = new ArrayList();
string line;
while ((line = streamReader.ReadLine()) != null)
{
lines.Add(line);
}
streamReader.Close();
if (lines.Count > 0)
{
Console.Write(lines[lines.Count - 1].ToString());
}
// Get the object used to communicate with the server.
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://www.contoso.com/test.htm");
request.Method = WebRequestMethods.Ftp.UploadFile;
// This example assumes the FTP site uses anonymous logon.
request.Credentials = new NetworkCredential("username", "Password", "ftcpcm.site90.com");
// Copy the contents of the file to the request stream.
StreamReader sourceStream = new StreamReader("C:\\wamp\\www\\FTCPC\\logfile.txt");
byte[] fileContents = Encoding.UTF8.GetBytes(sourceStream.ReadToEnd());
sourceStream.Close();
request.ContentLength = fileContents.Length;
Stream requestStream = request.GetRequestStream();
requestStream.Write(fileContents, 0, fileContents.Length);
requestStream.Close();
FtpWebResponse response = (FtpWebResponse)request.GetResponse();
Console.WriteLine("Upload File Complete, status {0}", response.StatusDescription);
response.Close();
Console.WriteLine("\\n");
Console.ReadLine();
}
vicky87
22-May-11 15:54pm
View
Suggestion 3.
yes it works on same page ...but when i send it to other this not works...
vicky87
21-May-11 16:56pm
View
you can get values using
Request.QueryString["id"];
vicky87
18-May-11 12:32pm
View
Thank you very very much.....
vicky87
6-May-11 15:59pm
View
thx
vicky87
7-Apr-11 4:25am
View
i just know how to implement ..i just want that user connet his/her mobile and using software he/she can send sms to all his/her contacts in fone..
vicky87
7-Apr-11 4:23am
View
GSM ...and i want to send from 300+ sms per minutes
vicky87
6-Apr-11 7:32am
View
i am having error Undefined index: checkbox with this $_REQUEST['checkbox'] so thats why i use isset()...
vicky87
16-Mar-11 5:49am
View
i need validation on form and if all the fields are true then it send data to main.php by calling ajaxfunction ...i try onClick , onSubmit , calling the functions in the form but nothing working ...
iwant that first it validate the fields then call ajax function.
vicky87
16-Mar-11 5:10am
View
i dont want onSubmit but ...i just want to make it work...
vicky87
16-Mar-11 5:09am
View
thanks but i try this is not working ...
vicky87
8-Mar-11 2:53am
View
yes sorry i think i deleted it ...
vicky87
8-Mar-11 1:14am
View
there is some thing wrong in code i check the sql statement but it works fine ...
vicky87
5-Mar-11 14:58pm
View
is there any on who can help me ...
vicky87
5-Mar-11 11:41am
View
clarify your question.
vicky87
5-Mar-11 6:48am
View
any help...
vicky87
5-Mar-11 6:47am
View
also calling the function onclick='ajaxFunction();' on save button..
vicky87
5-Mar-11 6:45am
View
any one
vicky87
5-Mar-11 6:44am
View
as you as i have done it using AJAX ...but it is not sending vales to php file and not creating pdf..
AJAX code
<script>
function ajaxFunction(){
var ajaxRequest; // The variable that makes Ajax possible!
try{
// Opera 8.0+, Firefox, Safari
ajaxRequest = new XMLHttpRequest();
} catch (e){
// Internet Explorer Browsers
try{
ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try{
ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e){
// Something went wrong
alert("Your browser broke!");
return false;
}
}
}
// Create a function that will receive data sent from the server
ajaxRequest.onreadystatechange = function(){
if(ajaxRequest.readyState == 4){
document.myForm.time.value = ajaxRequest.responseText;
}
}
var Company = document.getElementById('Company');
var LastName = document.getElementById('LastName');
var Email = document.getElementById('Email');
var NoofEmployees = document.getElementById('NoofEmployees');
var queryString = "?Company=" + Company + "&Email=" + Email + "&NoofEmployees=" + NoofEmployees ;
alert(queryString);
ajaxRequest.open("GET", "main.php" + queryString, true);
ajaxRequest.send(null);
}
</script>
vicky87
1-Mar-11 15:38pm
View
i am not expert in php ...so i need few examples how to do it .. i have to do it ASAP ..this is the last thing in my project...and i am trying to do ASAP ..so i can closed this thing ...so plz need help ..
vicky87
1-Mar-11 14:54pm
View
to make things clear i have one form file ....which collect data ...and add to ZOHO right now ...
and a file name proposal which have few blanks which going to be fills by given data by user and create a PDF and email him....
vicky87
1-Mar-11 14:44pm
View
here is the link to form which i am using http://mwac87.hostzi.com/zoho.php which is just adding data to ZOHO CRM only ...
ob_start();
include(dirname(__FILE__).'/res/exemple03.php');
$content = ob_get_clean();
// conversion HTML => PDF
require_once(dirname(__FILE__).'/../html2pdf.class.php');
try
{
$html2pdf = new HTML2PDF('P','A4', 'fr', false, 'ISO-8859-15', 3);
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->writeHTML($content, isset($_GET['vuehtml']));
$html2pdf->Output('exemple03.pdf');
}
catch(HTML2PDF_exception $e) { echo $e; }
this is code which i am using to create pdf...
vicky87
1-Mar-11 14:23pm
View
is there any example ..to follow ...
vicky87
1-Mar-11 1:15am
View
ok no problem ...
vicky87
1-Mar-11 1:02am
View
i have added the screen short
vicky87
1-Mar-11 0:49am
View
yes it have i am making a leave calender so multiple dates are there ...for for single user
vicky87
27-Feb-11 16:01pm
View
user is selecting year , month and department
i want that for each employee it shows that date when he/she was on leave ... i am getting the data but it is duplicate ...i have tried different quires but none is working expect this one...i have linked the screen short about this sql...how they are linked to generate sql code.
vicky87
25-Feb-11 13:36pm
View
i have add the screen short form my sql how i have linked the table ..and fields which are marked as blue are required to display data ...is there thing wrong with it ....
vicky87
21-Feb-11 7:05am
View
Thanks for the reply i will convert this to php and try ...before i do i just want to ask one thing ...
to fill array for months i have to take an array and put 12 months in it..but
for days can i use $days = array_fill(1, $numOfDays, ''); and foreach loop the display the dates.
vicky87
20-Feb-11 9:59am
View
Thanks for pointing that out ..i will try and let you know ...
vicky87
20-Feb-11 9:19am
View
i am so much confused here...i have three tables one for record leaves , second for leaves type third for weeks ...how i can check which day it is sat, sun mon all seven days ...
vicky87
20-Feb-11 9:11am
View
thx for your reply ......i have clean the code ...now ...
vicky87
20-Feb-11 5:31am
View
thx ...i am making a leave calender for whole year it check that dates from database and if found and leave of the employee background color will change .... the first FOR loop is for months and second is for numbers of DAYS in that month ...now now i have to match the days which are coming from database ....the problem is that $userDates only have one value (example 1-1-2011) it compare with all 365 days the loop stops and i only one got one record on the calender and there are about 15 records in database ...and i also have to make weekends....
plz plz plz plz help me out here i am trying my best ..to do it ..i am try everything i know ...but still cant solve it ...
vicky87
19-Feb-11 10:32am
View
is there anyone how can help me ..here
vicky87
18-Feb-11 18:25pm
View
is there and one who can help ...
vicky87
14-Feb-11 23:36pm
View
code is right ...when i was pasting is was removed somehow
vicky87
14-Feb-11 18:01pm
View
no problem ..thx fro reply but i need some help ..here and php exp man ...i have to give this project in 2-3 days and this is my first project ..so plx help me out here...
vicky87
14-Feb-11 17:35pm
View
yes i try my best find the problem ..but ..still got problem...
and i just found the php fucation to count days in month i dont know what CAL_GREGORIAN mean ..
Show More