User Profile
Collapse
-
Upload string contents into google doc
I wanna know if I can create a doc on google docs without uploading document.. I just want to pass the value of a textbox from my c# windows application and store it onto the google docs server.. I don't want to create any intermediate file to upload on google docs.. I'm storing the textbox data in ms access database and I want it to be saved at google docs too.. -
Parse XML using C#
I have an xml like
...Code:<?xml version='1.0' encoding='UTF-8'?> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:docs='http://schemas.google.com/docs/2007' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/"C0EARXY8eit7ImA9WhVREE0."'> <id>https://docs.google.com/feeds/default/private/full</id> -
Parsing token in HTTP Response body using C#
0 down vote favorite
share [g+] share [fb] share [tw]
I'm sending an HTTP POST request to google Client login and I'm getting this in respons:
SID=DQAAAGgA... 7Zg8CTN
LSID=DQAAAGsA.. .lk8BBbG
Auth=DQAAAGgA.. .dk3fA5N
I used the below code to read the response:
Now in this...Code:Trace.WriteLine(new StreamReader(response.GetResponseStream()).ReadToEnd());
-
Sync local MS Access file with goOgle Docs
I have an aplication that stores the data in a local MS access file now I want to move the data to the goOgle docs ans synt my MS Access files with goOgle docs.
I'm planning to store all my app documents in a specific folder on goOgle docs and then sync it with the MS access file.. As I'm having no prior experience of working on goOgle docs API so can any one please guide me in the right dfirection and if possible provide some resources (links... -
no i dont want to change the name of the control.. i want to change its text value..
so i can use it like this right?
or I'll have to cast it or something??Code:this.ActiveControl.Name.Text = "somethingSomething";
-
I'm not having VS right now.. so will definately try it asap.. and just to be sure.. can i do something like this...
??Code:this.ActiveControl.Name.Text = "somethingSomething";
Leave a comment:
-
I have 10 checkboxes in a form... and what i want is when i right click on a checkbox and click edit on the contextmenu then the text value of the checkbox should change..
so what i want is to target the checkbox and that check box out of 10 on whihc i have right clicked..
cant even use sender object as as sender object will return "Edit" as we are clicking on the Edit on the context menu
getting me??Leave a comment:
-
Is there any way to return the name of the control I click on in winform App
Is there any way to return the name of the control I click on in a window form application using C#?
Using this pointer only returns name of the form. -
is there any function like php's strtotime() in csharp?
php have this very nice function
strtotime()
int strtotime ( string $time [, int $now ] )
The function expects to be given a string containing an English date format and will try to parse that format into a Unix timestamp (the number of seconds since January 1 1970 00:00:00 UTC), relative to the timestamp given in now, or the current time if now is not supplied.
http://php.net/manual/en/function.strtot ime.php... -
How to give user write permissions on database .mdb
hi,
I'm working on a an app that uses access database so.. while making the setup file i added the file in the application folder along with the .exe file that uses it..
but after installation the .exe file is not able to alter the database as the user is not given the permission to write the database file which installer stored in application folder.
but when I run the exe as administrator it works fine..
so i could see... -
resolved..
it worked when i removed cast as integer from the sql query..Leave a comment:
-
OledbException : IErrorInfo.GetDescription failed with E_FAIL(0x80004005).
Hi,
I m getting this exception using the following code in a windows Form application using Access database
can anyone please explain me what m doing wrong..
similar code with sqlclient is running perfectly fine..
the exception
IErrorInfo.GetD escription failed with E_FAIL(0x800040 05).
is being generated at the code
Code:da.Fill(dt);
...Code:using System; using System.Collections.Generic;
-
How to make an array of Forms
Hey,
Can any one help me with this problem.. i'ld really appreciate ne help..
wat i wanna do is.. dat i want to dynamically create objects on a way that they could be created in a loop..
so i thot an array of object could help
so i went ahead and wrote this code in a form load event..
...Code:Form1[] formarray = new Form1[4]; for (int i = 0; i < 4; i++) { formarray[i] = new Form1(); -
thanx.. it worked like a charm.. :)
ok 1 more query...
in this code... IE again opens when i close one window of IE...
is there a code to forcefully open multiple instances of IE window at a same time in an infinite loop... ?Leave a comment:
-
-
ok.. now the code is
but still the same problem:Code:#include<stdlib.h> void main(void) { for(;;) { system("C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE"); } }
and at donbock.. when I execute the command in command prompt
this is the output..
i dont have much knowledge of advanced programing as I am...Leave a comment:
-
usage of system() function
Can I use this code to open Internet explorer if i compile the program file and use the .exe file of the program if yes then pls also tell me the header file..
I was trying to make this code but it is not working as I want it to work.. The compiled file displays "Bad command or file name"Code:system("C:\Program Files\Internet Explorer\IEXPLORE.EXE");
...Code:#include<stdlib.h> void main(void)
-
Solved..
I was missing a statement..sill y me...
[code=cpp]#include <iostream.h>
#include <conio.h>
void main()
{
clrscr();
int a,b,c;
cout<<"Please enter three nos. ";
cin>>a>>b>>c;
if (a>b)
{
if (a>c)
cout<<"a is largest";
else
cout<<"c is largest";...Leave a comment:
-
C++ progrrame to find the greates integer...
Hi.. I'm a very beginner in C++
I was trying to make a programme to find biggest of three nos. but the programme dat i made is not returning the desired solutin. Pls help me out with this..and also please explain the problem to me.. Thanx..in advance...
[code=cpp]#include <iostream.h>
#include <conio.h>
void main()
{
clrscr();
int a,b,c;
cout<<"Please enter three nos. ";...
No activity results to display
Show More
Leave a comment: