Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #1K
~29.8K People Reached
Favorite Forums
Favorite Tags
c++ x 4
c x 3
Member Avatar for tgreer

I'm revisiting a topic previously discussed in this thread: [url="http://www.daniweb.com/techtalkforums/thread23030.html"]http://www.daniweb.com/techtalkforums/thread23030.html[/url] The basic issue is this: when using a [b]StreamReader[/b], and [b]ReadLine[/b], to process a text file, you cannot determine where you are "at" within a file. This is because [b]StreamReader[/b] doesn't actually read from a FILE, it reads from a …

Member Avatar for Cesc_1
0
9K
Member Avatar for Ghost

Hi, i'm new 2 C#, so my question may seem stupid... but, what is the code to exit an application. I know in java it is: [CODE]System.exit(0);[/CODE] Thanx in advanced, C++

Member Avatar for vasanthmc2
1
10K
Member Avatar for vienne

I'm having problem with sound file(*.wav) In a form, when i click a button, i want to call sound file and play this file. How can i do? Help me!~~~

Member Avatar for slavedogg
0
167
Member Avatar for tayspen

Ok so i want my program to read a text file to a certain point. Lets say to the line line that says fn: i then want it to read the one line only and only the the text after fn: and i want it to shoew that text in …

Member Avatar for jaiprakashv
0
614
Member Avatar for DotNetUser

I want to allow the user to tell me how many rows and columns of buttons to draw. Then draw the buttons. When a button is clicked, it displays the row # and column # of that button in a msgbox. I would create a button using the following code: …

Member Avatar for vckicks
0
890
Member Avatar for Vrb

I need a little help, i want to buy a book abou C#, so if anybody has some prepositions it would be very helpful for me. I saw C# bible, and some other books, wht do you think which one is best? I know a litle bit of programing in …

Member Avatar for pygmalion
0
339
Member Avatar for tayspen

ok, on a button click how could i have the listview selected item jump to the next. so if there was a list view with 3 items and the second was selected. On a button clickhow could i make it jump to the third? -T

Member Avatar for tayspen
0
243
Member Avatar for tayspen

I mam having problems doing somthing fairly simple. ;) . What i have is a listview with about 1000 items in it. All files paths that i have scanned from a directory. And there are 4 colums. First the name, then the size, extesion ect. the last is the path …

Member Avatar for tayspen
0
117
Member Avatar for tayspen

Does any body know how to save your contacts in outlook to the harddrive. i no how to list them. but then i tried the save as methosd. oContact.SaveAs("C:\contacts\" + list.selectedItem + ".vcf", null); and that doesnt work. Any ideas? my code... [code] Outlook._Application olApp = new Outlook.ApplicationClass(); Outlook._NameSpace olNs …

Member Avatar for tayspen
0
305
Member Avatar for tgreer

Doesn't C# support EBCDIC encoding? I'm working on a project that involves parsing Xerox Metacode print streams, encoded as variable-byte EBCDIC records. The print stream data itself is in ASCII, but the record headers and control records are in EBCDIC. I read the records in as byte arrays. I know …

Member Avatar for tgreer
0
575
Member Avatar for barry t

My app has four group boxes with four text boxes and one button in each group box what i would like to do is use the keyboard enter button to tab instead of the tab button and when it gets to my control button instead of left clicking the mouse …

Member Avatar for r0ckbaer
1
109
Member Avatar for tayspen

ok as you may know ther is a way to write to the registry and change the title of internet explorer. you add Windows Title as a sub string then set the value data to what ever you want tit to say this is my code [code] RegistryKey regkey;/* new …

Member Avatar for tayspen
0
140
Member Avatar for tayspen

ok, so i have been working on a program that i call "Sharppad" any ways it is a text editor. it has all teh basic functions. but it can also speak teh text you type. and convert text to .wav files. so you can listen to what you type. it …

Member Avatar for tayspen
0
259
Member Avatar for tayspen

Ok, so in a part of my app i need the user to be able to specify a time to cound down form then when the time is hit. it fires an event. i have all that. the problem is i want to be able to see the time ticking …

Member Avatar for tayspen
0
160
Member Avatar for tayspen

how would i coppy only specific things out of a directory. say *.mp3. I am able to copy the whold directory but i only want specific endings. this is part of the copy code [code] try { Directory.CreateDirectory(targerDirectoryName); string[] files = Directory.GetFiles(sourceDirectoryName); foreach (string fileName in files) File.Copy(fileName, targerDirectoryName + …

Member Avatar for tayspen
0
394
Member Avatar for Toulinwoek

I want my application to be able to access an external help file. I also want the user to be able to install the program is his chosen folder. The problem this creates is that I don't know how to specify the Namespace for the help provider. I want to …

Member Avatar for Toulinwoek
0
289
Member Avatar for tayspen

I am making a password manager. At the start of the program it prompts for a password. I want to give the user the option to specify this password to what ever he/she wants. Would i save it in an XML file. If so how.

Member Avatar for tayspen
0
194
Member Avatar for tayspen

Ok so i want to create a file [CODE] File.Create("..."): [/CODE] I want it to be able to detect the user that is on so it automatically creates it on there desktop. Is this possible.

Member Avatar for tayspen
0
131
Member Avatar for Toulinwoek

I have a question: How can I access a Windows system variable from within my application? For example, if I want to store my help file in the Windows folder (the variable "windir", how to I tell my program that? I could also just put the help file in the …

Member Avatar for Toulinwoek
0
76
Member Avatar for tayspen

i need code that will allow me to restart shutdown or logoof the computer (saftley)

Member Avatar for r0ckbaer
0
188
Member Avatar for tayspen

i cant belive that you have to have a .net framework on the computer to run the C# apps. because of this no my friends cant use them. there should be away around this does ne body know if there is?

Member Avatar for tayspen
0
172
Member Avatar for tayspen

ok so i have this program that i made that reconizes shortcuts and does certain thing like bring in and out of taskbar. the oonly problem is when the form loses focus the shortcuts dont work. is there any way that when the ofrm does lose focus if i press …

Member Avatar for r0ckbaer
0
121
Member Avatar for tayspen

well after searching google for bout an hour i still cant find a snippett of code that will open and close or just open the cd tray. any help would be much appreciated

Member Avatar for r0ckbaer
0
81
Member Avatar for raybristol

I can load a image file from a fold if I did like this: Bitmap myBitmap3 = new Bitmap(@"C:\HEapp\images\logo.bmp"); however, this is not convenient if I move my program, so I was try to do this: Bitmap myBitmap3 = new Bitmap(@"\images\logo.bmp"); however, it doesn't work, could anyone tell me how …

Member Avatar for r0ckbaer
0
207
Member Avatar for silkfire

Hi, I'd like to have tabs in my console app, but instead of using \t, I'd like to use an equivalent of the C++ setw() method in C#. Any ideas of what I might use? And another thing, in C++, you would declare more than one array with indexes like …

Member Avatar for r0ckbaer
0
2K
Member Avatar for Daywalker46410

I apologize up front; I'm a VB Programmer trying to pick up C++. I have a very simple program that takes a string input from the user. How can I look at a specific character in that string? VB has the Left(), Right(), and Mid() Functions. Is there something similar …

Member Avatar for Narue
0
3K
Member Avatar for crypter

Hi all! I am creating a program to encrypt files in Rijndael 64 bit encryption. I am having a problem with one of the aspects i want to include in my code. It sounds very basic maybe but i have tried many things and somehow i can't seem to figure …

Member Avatar for r0ckbaer
0
120
Member Avatar for Extreme

Hi al...I am a total c++ beginner...I need ur help plz...I am making a program which asks the user to input a binary number and displayz the binary number converted to decimal number using a function. The code which i wrote is below: #include<iostream.h> #include<math.h> int bin2dec(int n) { int …

Member Avatar for vegaseat
0
121
Member Avatar for red_evolve

Hi. Can anyone help me to distinguish the reason behind this case? Thanks a lot. I initialized the following variable: `unsigned char temp=0;` In the following statement block, I managed to get the results that I wanted to be displayed on the first go (traversing the while loop on the …

Member Avatar for infamous
0
221
Member Avatar for ISIL

Hello . . I'm trying to get my random number generator to work but i'm having a tough time here's what i've written so far I can't seem to get the number generator to give me a truly random number . . . i'm sick of tooling with it and …

Member Avatar for Bleek
0
135