Search Results

Showing results 1 to 40 of 60
Search took 0.01 seconds.
Search: Posts Made By: gallian99 ; Forum: C# and child forums
Forum: C# May 18th, 2009
Replies: 1
Views: 358
Posted By gallian99
How to break or get out of foreach loop while searching folder for files or something like that
Forum: C# May 15th, 2009
Replies: 2
Views: 290
Posted By gallian99
Is there a way to read MS Office document word by word in C#.

I could read the whole stoyr like


doc.ActiveWindow.Selection.WholeStory();
...
Forum: C# May 14th, 2009
Replies: 1
Views: 1,530
Posted By gallian99
Hi,

I'm getting the error at the doc.close in the last argument; type mismatch error

using object 11 com addin; for which the doc.close takes 3 arguments.

thx
Forum: C# May 13th, 2009
Replies: 6
Views: 1,073
Posted By gallian99
Yes, I want the later case

to take my app to the background, to manipulate XP? Vista? to open a FileDialog for the folder which your app was manipulating?

so the app can sshow the user which...
Forum: C# May 13th, 2009
Replies: 6
Views: 1,073
Posted By gallian99
i'm already using that in my program. But I couldn't figure out how I can open and show the folder to the user, not in my program and not for file selecting or browsing folders;

Ok in short this...
Forum: C# May 13th, 2009
Replies: 6
Views: 1,073
Posted By gallian99
Hi,

how can i open and show a folder in windows using C#. like after complting some task i want the app to open the particular folder and present it to the user.

like we open any folder by...
Forum: C# May 13th, 2009
Replies: 2
Solved: Thread
Views: 210
Posted By gallian99
Thanks got that worked out. I had to make safe thread calls.
Forum: C# May 13th, 2009
Replies: 2
Solved: Thread
Views: 210
Posted By gallian99
Hi,

I've wrote a small application which browse a folder and rename the files within that foldrer. However if the folder more then 500 files then the app tends to take a while to process.

I...
Forum: C# May 3rd, 2009
Replies: 0
Views: 769
Posted By gallian99
Hi all,

I'm trying to display an image in C# using openCV library. I've installed the openCV 1.0 and have downloaded the opencv wrapper dll file for the c#.

I've tried the following code but...
Forum: C# Apr 15th, 2009
Replies: 1
Views: 320
Posted By gallian99
Hi,

I was just wondering if anyone could help me out with reading a movie in Csharp. and secondly what format does CSharp supports.

Regards,
A
Forum: C# Apr 6th, 2009
Replies: 1
Views: 1,302
Posted By gallian99
Even after setting the credentials, I get some sort of error for if I execute the following code/instruction for 3rd time. For the first two times, it performs well and send a http request to the...
Forum: C# Apr 6th, 2009
Replies: 1
Views: 1,302
Posted By gallian99
Hi,

How can I send http request for authentication?

My current code returns 401 unauthorized access

HttpWebRequest request =...
Forum: C# Mar 31st, 2009
Replies: 0
Views: 402
Posted By gallian99
Hi,

How can I play the webcam video (live feed) using C#.net?

Thx
A
Forum: C# Mar 25th, 2009
Replies: 1
Views: 432
Posted By gallian99
Hi,

I have setup a network dome camera on a LAN, which I can access in C# using its API's.

I can even capture the image. However I would like to know how can I capture the images and save it...
Forum: C# Jan 23rd, 2009
Replies: 5
Views: 1,011
Posted By gallian99
Thanks got that working...
Forum: C# Jan 23rd, 2009
Replies: 5
Views: 1,011
Posted By gallian99
So I need to do this

textFile = textFile + "\n\n"; ?
Forum: C# Jan 23rd, 2009
Replies: 5
Views: 1,011
Posted By gallian99
Is there any way to insert an empty line in a string type variable.

string textFile = "abc";

textFile = textFile + string.Empty;
textFile = textFile + "def";

This is what I'm trying. But...
Forum: C# Jan 21st, 2009
Replies: 9
Views: 2,297
Posted By gallian99
Forum: C# Jan 19th, 2009
Replies: 9
Views: 2,297
Posted By gallian99
Thanks Anteka,

I have tackled it using an alternate already. But I should better try ArrayList as well. Haven't work around with it yet :)
Forum: C# Jan 19th, 2009
Replies: 9
Views: 2,297
Posted By gallian99
Is there any method to find the number of elements that are filled in an array

lets say i have the following array defined

string[] text = new string[50]

and i fill the first 8...
Forum: C# Jan 19th, 2009
Replies: 4
Solved: Code Help
Views: 337
Posted By gallian99
Thanks, got that working
Forum: C# Jan 19th, 2009
Replies: 4
Solved: Code Help
Views: 337
Posted By gallian99
below is the complete code. Have been trying to bug, didn't think if it has to do something with the paraNumbers < checks...


string[] textFile1_Paras = null;

//Reading file contents...
Forum: C# Jan 19th, 2009
Replies: 4
Solved: Code Help
Views: 337
Posted By gallian99
Can anyone help me out with the code. I'm getting the Null Reference Object Exception at the following line

textFile1_Paras[paraNumber] = line;

I'm trying to separate paragraphs from a text...
Forum: C# Jan 17th, 2009
Replies: 10
Solved: Write File
Views: 1,496
Posted By gallian99
Got it. Thanks man, it solved the problem :)
thx
Forum: C# Jan 17th, 2009
Replies: 10
Solved: Write File
Views: 1,496
Posted By gallian99
Hm...strange

Can you see the difference b/w the two. The Personal Loan one is what I want and the output one is what i'm actually getting.

I hope you can notice the line spaces in the first...
Forum: C# Jan 17th, 2009
Replies: 10
Solved: Write File
Views: 1,496
Posted By gallian99
Please find the attached file to see the output text. There should be a line gap or a start of a new paragraph which is not the case. Rather the box char is being saved instead of a line feed while...
Forum: C# Jan 16th, 2009
Replies: 10
Solved: Write File
Views: 1,496
Posted By gallian99
It's the line feed i guess i've to deal with. But how? How can I have a check on the ascii and even if i get's the line feed ascii how will I be able to represent it with a line feed in text file...
Forum: C# Jan 16th, 2009
Replies: 10
Solved: Write File
Views: 1,496
Posted By gallian99
I'm using the writeAlltext method to save a text file with the contents saved in string variable namely textFile1.

File.WriteAllText(saveFileDialog1.FileName, textFile1);

However for each blank...
Forum: C# Jan 16th, 2009
Replies: 2
Solved: Help Needed
Views: 247
Posted By gallian99
thanks, just figured it out. was placing an extra char "|" after *.txt
Forum: C# Jan 16th, 2009
Replies: 2
Solved: Help Needed
Views: 247
Posted By gallian99
Is it necessary to have the "All files" option in the dialogBox. I tried removing it but it won't compile. gives some sort of error

this.saveFileDialog1.Filter =
...
Forum: C# Jan 15th, 2009
Replies: 4
Solved: Combo Box
Views: 398
Posted By gallian99
Which method can be used to set the values in combo box from within code?
Forum: C# Jan 15th, 2009
Replies: 5
Views: 1,480
Posted By gallian99
Is there a way I could run it in background. i.e. without opening the word file.

Have manage to read the contents but it one can certainly notice the opening and closing of the world doc

...
Forum: C# Jan 15th, 2009
Replies: 2
RTF
Views: 635
Posted By gallian99
RTF
Is there a way to keep the text formatting as it is while reading content form word into richtextbox control in C#?
Forum: C# Jan 15th, 2009
Replies: 6
Views: 488
Posted By gallian99
Forum: C# Jan 15th, 2009
Replies: 6
Views: 488
Posted By gallian99
Thanks, it works now :)
Forum: C# Jan 15th, 2009
Replies: 6
Views: 488
Posted By gallian99
oops! my bad :)

thanks
Forum: C# Jan 15th, 2009
Replies: 6
Views: 488
Posted By gallian99
Getting the following error Error

'System.StringSplitOptions' does not contain a definition for 'RemoveEmptyEntires'


string[] lines = File.ReadAllLines(fileName);
char[] delim...
Forum: C# Jan 14th, 2009
Replies: 5
Views: 1,480
Posted By gallian99
I have added the reference, but could you be more elaborative with the ApplicaitonClass usage?
Forum: C# Jan 14th, 2009
Replies: 5
Views: 1,480
Posted By gallian99
How can I read the contents (separate paragraphs) of a .doc /.docx file in C#
Forum: C# Jan 7th, 2009
Replies: 4
Views: 1,214
Posted By gallian99
Ok thanks, got it. I'm new at C# so having difficulties finding n locating simple things. Haven't got much time either...

Thanks again.
Showing results 1 to 40 of 60

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC