Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~18.5K People Reached
Favorite Tags
Member Avatar for shazzy99

Hi, I've the following html/javascript/css code that I'm trying to execute. But it doesn't work. What I'm trying to do is similar to this: http://jsfiddle.net/FsPSZ/16/ (i've even tried this and the problem is the same) ` <!DOCTYPE html> <html> <head> <title>test</title> <style> #preview{ position:absolute; border:1px solid #ccc; background:#333; padding:5px; display:none; …

Member Avatar for McLaren
0
288
Member Avatar for shazzy99

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 [code] Microsoft.Office.Interop.Word.ApplicationClass wordApp = new ApplicationClass(); object file = textBox1.Text; object nullobj = System.Reflection.Missing.Value; Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Open(ref file, ref nullobj, ref …

Member Avatar for vineeta.agarwal
0
271
Member Avatar for shazzy99

Hi, I've written a code to count vowels and consonants. But it hangs and doesn't do anything when a function call is made or even before that at get statement. When I try to get a string from user to pass to the function to count vowels or consonants. Here …

Member Avatar for shazzy99
0
138
Member Avatar for shazzy99

Hi, I'm doing the following code to connect to Access Db. The db1.mdb is placed in c:\db1.mdb. It giving me error "couldn't find file" [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System; using System.Data.OleDb; namespace CustomerDB { class OleDbTest{ public static void Main() { //create the database connection …

Member Avatar for shazzy99
0
233
Member Avatar for shazzy99

[COLOR="Green"]Trying to take input from user, put it in array and do the sorting[/COLOR] The code is: [CODE] #include <stdio.h> #include <conio.h> #include <stdlib.h> class Sort { static int array[5]; static int index; static int i; public: void insert(int num) { array[index] = num; index++; } int sortarr(const void *x, …

Member Avatar for Narue
0
182
Member Avatar for shazzy99

Dear guys, Can anyone help me out to open up a windows default dialog box in C# to browse folder and the folder path be displayed in the lab/edit box. Regards, Ali

Member Avatar for Joysokn
0
155
Member Avatar for shazzy99

How can I read the contents (separate paragraphs) of a .doc /.docx file in C#

Member Avatar for Geekitygeek
0
255
Member Avatar for shazzy99

I've been trying to use substring to get the last three digits as part of the extension but wasn't successful. Can anyone tell me how I can extract the extension from the file name? Rgs

Member Avatar for kia_mls
0
198
Member Avatar for shazzy99

Hi, I've been trying to capture video from webcam using openCV functions and openGL for rendering. The code is working fine and I can acquire and display both the cameras. Now I'm trying to record the captured video's and saving them to a file using openCV createvideowriter object. I can …

Member Avatar for shazzy99
0
313
Member Avatar for shazzy99

Hi, I've been trying to read the file content from the file path entered by user at run time. However i always end up in error. Help needed... char name[100]; ifstream infile; cout<<"Enter filename to open"; cin.getline(name,100); infile.open(name); if(!(infile.is_open())) { cout<<endl<<"File Not Found"; } i'm not using relative path, instead …

Member Avatar for shazzy99
0
175
Member Avatar for shazzy99

How to break or get out of foreach loop while searching folder for files or something like that

Member Avatar for ddanbe
0
116
Member Avatar for shazzy99

Is there a way to read MS Office document word by word in C#. I could read the whole stoyr like [code] doc.ActiveWindow.Selection.WholeStory(); doc.ActiveWindow.Selection.Copy(); IDataObject data = Clipboard.GetDataObject(); [/code] However then can we use any method using data object to read the ms word documents word by word?

Member Avatar for jbisono
0
111
Member Avatar for shazzy99

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 double clicking on it. I want to do it the same …

Member Avatar for ddanbe
0
174
Member Avatar for shazzy99

hi, One of my freind is asking for bpsk modulator and demodulator. It's out of my domain knowledge and i'm not sure what is it about. Can you refer to some C language example codes of the above. will appreciate your quick reply thx

Member Avatar for jephthah
0
383
Member Avatar for shazzy99

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 somehow or the other needs to show some sort of text displaying "processing..." or …

Member Avatar for shazzy99
0
115
Member Avatar for shazzy99

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 it isn't showing any image. just an empty window, can anyone help thanks [code] IplImage …

0
92
Member Avatar for shazzy99

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

Member Avatar for ddanbe
0
103
Member Avatar for shazzy99

Hi, How can I show a long value returned from a function to a textbox on a dialog box. Void CVideoDlg::OnBnClickedFrames() { m_AMC.get_FramesDrawn(); // retunrs long } I want to display the returned value in textbox as well as a messagebox. I tried MessageBox(CString(m_AMC.get_FramesDrawn())); But it didn't work out anyone …

Member Avatar for Nick Evan
0
203
Member Avatar for shazzy99

Hi, How can I send http request for authentication? My current code returns 401 unauthorized access HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://128.39.141.213/axis-cgi/com/ptz.cgi?camera=1&move=right"); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); Looking for a quick reply Regards, A

Member Avatar for shazzy99
0
113
Member Avatar for shazzy99
0
59
Member Avatar for shazzy99

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 in a folder at regular intervals. i.e. Like every …

Member Avatar for ddanbe
0
73
Member Avatar for shazzy99

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 the string.Empty has no effect. This also neither works textFile = textFile + "\n"; Any suggestions?

Member Avatar for ddanbe
0
4K
Member Avatar for shazzy99

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 elements/indexes Is there any method that could return the number of elements/indexes within an string …

Member Avatar for Rashakil Fol
0
172
Member Avatar for shazzy99

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 file into string array [code] int paraNumber = 0; string[] lines = File.ReadAllLines(filePath1); foreach (string line in lines) { while …

Member Avatar for shazzy99
0
112
Member Avatar for shazzy99

Is there a way to keep the text formatting as it is while reading content form word into richtextbox control in C#?

Member Avatar for BlackSun
0
63
Member Avatar for shazzy99

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 line i'm getting two boxes in the output text file. I need to keep the formatting as it is while saving a file. the blank …

Member Avatar for Ramy Mahrous
0
186
Member Avatar for shazzy99

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 = "Document Files - (*.txt)|*.txt|" + "All files (*.*)|*.*"; Tried removing the [+ "All file ] onwards string. this.saveFileDialog1.Filter = "Document Files - (*.txt)|*.txt|"; …

Member Avatar for shazzy99
0
97
Member Avatar for shazzy99

Which method can be used to set the values in combo box from within code?

Member Avatar for LizR
0
135
Member Avatar for shazzy99

Getting the following error Error `'System.StringSplitOptions' does not contain a definition for 'RemoveEmptyEntires'` string[] lines = File.ReadAllLines(fileName); char[] delim = new char[1]; delim[0] = ' '; foreach (string line in lines) { if (line != string.Empty) { string[] words = line.Split(delim, StringSplitOptions.RemoveEmptyEntires); // here you've got all your words in …

Member Avatar for shazzy99
0
117
Member Avatar for shazzy99
Member Avatar for ddanbe
0
118