C# :: How To Interact With A Website Like Freelancer
Feb 26, 2015
Any way to interact with websites such as Freelancer or fiverr. I mean when someone posts new topic i'll search in the topic if the name contains keywords like 'programming' then i'll notify the client that there is a new subject he can works on . Is there a way to do this in c#?
View 12 Replies
ADVERTISEMENT
Aug 26, 2013
I want to know that how objects of two different classes interact with each other???
View 1 Replies
View Related
Dec 4, 2014
We are tasked to create a program that will take racing times from the user from two different teams. Then determine who is the winner of the specific race. The race times are placed into an array, and I have the information being placed in the array correct but I am unsure on how to access it with an equation to determine the winner
static void Main(string[] args)
{
//Declare Variables
[Code]...
This is the code so far, and I really don't want writing ALL of the code just this hurtle I am coming to at the moment
View 11 Replies
View Related
May 6, 2013
What I'm doing is giving the user the choice to show 2 different dates. 1 in yyyy-mm-dd notation and the other in dd-mm-yyyy notation.
I'm using a second form to do this.
So from Form1 I have my data in the datagrid and in Form2 I have 2 radio buttons giving the user the choice between Date1 and Date2. So how would I be able to interact with the first form with the radio buttons?
View 10 Replies
View Related
Apr 27, 2013
I have written a MFC dll to interact with an API and it is run by the target program. the first 100 bars are drawn properly but then the program ceases to operate. I am guessing I have a memory leak but I probably just dont understand what I am doing as I am quite new to programming MFC GDI. Here is my code that causes the trouble...
The variables coming in are commented out to facilitate testing and so it would be displaying the same bars over and over because of this. it worrks for 100 bars, then crashes.
void MainDlg::SS_UpdateChart() {
// the chart plot is completely recalculated each time a new bar is shown
// 300 is plottable height
// 400 is plottable width, 39 bars
int displayChartHeight = 300;
[Code] .....
View 11 Replies
View Related
Jun 27, 2014
I am using libserial library to interact with a modem using c++. The C++ code sends an AT command:
Code:
my_serial_stream << "AT+CSQ" << '
' ;
The modem responds with a response, either ERROR or OK, The c++ code to read the response:
Code:
while( serial_port.rdbuf()->in_avail() > 0 )
{
char next_byte;
serial_port.get(next_byte);
std::cerr << std::hex << (int)next_byte << " ";
}
std::cerr << std::endl;
I would like to handle the response such that if the response is OK, the modem sends another command and if the response is ERROR, the modem resends the first command.
View 1 Replies
View Related
Jun 27, 2014
I have VRP algorithm written in C++, run with command prompt Windows. input (command line) -> VRP.exe -> output (txt file)
Now I want to built a website to run it as SaaS. How to run an exe application(compiled c++) in server used as Saas? What kind of programming do I have to use? Ruby or html5 or others? I don't know how to start.
View 3 Replies
View Related
Jan 18, 2015
how to embed website in c++?
View 1 Replies
View Related
Nov 14, 2013
I am wondering how can I read a website from a given url in windows ?
View 3 Replies
View Related
Nov 25, 2013
I was wondering if it's possible to push a button on a website programatically. Unfortunately the button link is invisible, otherwise I could simply use the URL it links to. So is there a way to do it in c++ and if so, how?
View 4 Replies
View Related
Mar 25, 2014
I'm successfully publishing an app to my website by publishing locally and then uploading the files but one of the options offered is to publish straight to the web site but I can't find anywhere to enter a user name and password for my web site. I could also do it with ftp but since the option is offered to publish directly to the web site I'd like to try that method. I'm using the Click Once method.
View 5 Replies
View Related
Apr 20, 2013
I would like to know an easy way to let my application show in a label, some stats from a website.
View 1 Replies
View Related
Mar 30, 2014
I need a line of code of retrieving data from a live website. I will look around in the mean time. libcurl?
View 1 Replies
View Related
Dec 18, 2014
Basicly I want to make a c++ program which does the following:
1- logs in to 4shared.com with username 'user_example' and password 'password_example'.
2- uploads to the 4shared account a file named 'test_upload.txt' located in 'C: est'
3- downloads a file named 'test_download.txt' from the 4sared account
I user curl 7.39.0 and curlpp 0.7.3
1- how to keep the same session between successive http requests
2- how to make an http request to upload a file
3- how to get the url of a file with specified name on a 4shared account
View 15 Replies
View Related
Nov 22, 2013
so i want to make a terminal for my website and BHXSpectre recommended cgi (which i love... c++ web design. just one more reason to not use any other language). anyways, im wondering how would i generate the html for the base of the terminal? ie just the window that i will be writing to
View 2 Replies
View Related
Apr 2, 2014
I am trying to retrieve information from a website [URL] .... and have written a C code as follows:
Code:
#include <stdlib.h>#include <stdio.h>
#include <string.h>
#include <curl/curl.h>
int main(int argc, char* argv[]) {
/* Exit status to return */
int exitStatus = 0;
[Code] .....
The output of this program should be:
From To
4504111 B0LPF3
4504111 P62993
The first print option [printf("%s", url)] gives the url output as [URL] .... which on being manually pasted in any web-browser gives the correct output but the program fails to give the output.
View 1 Replies
View Related
Aug 1, 2014
I am trying to upload custom values to specific URL and get the result that is given from the web site.
The problem that is occurring is that I don't know how to simulate "press" the input type="button".
Is the value wrong or something
Here is the link(English version)
I use the Bulgarian version but that doesn't matter.
WebClient myWebClient = new WebClient();
myWebClient.Credentials = CredentialCache.DefaultCredentials;
myWebClient.Headers.Add(HttpRequestHeader.UserAgent, "anything");
myWebClient.Proxy = null;
[Code] ....
The problem is that I don't get result, that looks like this.
View 2 Replies
View Related
Aug 28, 2012
I am trying to obtain the values of cookies from a particular website. The problem is, when I run the following code, it only loops through 4 of 10 cookie values present.
Furthermore, the values are turning up as deleted: Reference
HttpWebRequest Request = (HttpWebRequest)WebRequest.Create("http://www.mysite.com");
Request.CookieContainer = new CookieContainer();
HttpWebResponse Response = (HttpWebResponse)Request.GetResponse();
foreach (Cookie cook in Response.Cookies) {
Console.WriteLine("{0} = {1}", cook.Name, cook.Value);
}
Then I came across this code, which states it will loop through every cookie value and obtain its values: Reference
int loop1, loop2;
HttpCookieCollection MyCookieColl;
HttpCookie MyCookie;
MyCookieColl = Request.Cookies;
String[] arr1 = MyCookieColl.AllKeys;
for (loop1 = 0; loop1 < arr1.Length; loop1++) {
MyCookie = MyCookieColl[arr1[loop1]];
String[] arr2 = MyCookie.Values.AllKeys;
}
The problem with the above, I can't seem to find a reference to "Request". I am using the libraries "using System.Net and using System.Web", so I am unsure why Request is not being recognized.
My goal is to retrieve one cookie value so that when a user from my website logs in, my C# application will recognize that user.
View 7 Replies
View Related
Nov 22, 2014
I am using below code to generate mail through C # code
SmtpClient smtp = new SmtpClient("smtp.live.com", 587);
smtp.EnableSsl = true;
smtp.UseDefaultCredentials = false;
smtp.Credentials = new NetworkCredential("XYZ@live.com", "********");
[code] .....
It was working properly offline when i running on my local computer,But I uploading it on server after publishing website it is not working.
View 1 Replies
View Related
Aug 25, 2013
I am writing a program to auto login in a web site. Before making next attempt I have to wait for some time like some 10 seconds(it is configurable). But during waiting UI should not freeze. I wrote code something like this. Here event m_hEvent[1]) will be set by another thread after 10 seconds.The problem is UI still freezes some times!
while(1)
{
//m_hEvent[1] will be set by another thread after 10 seconds
dwRet = MsgWaitForMultipleObjects(1, &m_hEvent[1], FALSE, dwMilliseconds, QS_ALLINPUT);
ResetEvent(m_hEvent[1]);
[Code] ....
View 4 Replies
View Related
Jan 24, 2015
I m making calendar in server control page by taking composite control.I am also adding textbox in each cell of calendar. Now i want to access the value of each textbox of selected month and respected date in default.aspx page on button click event. Here the button is not a custom control but defined in default.aspx page..
Can't access textbox text and date or controls of server page in website(default.aspx) page.
View 2 Replies
View Related