- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 3
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
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 … |
|
Re:
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++ |
|
Re:
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!~~~ |
|
Re:
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 … |
|
Re:
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: … |
|
Re:
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 … |
|
Re:
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 |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 + … |
|
Re:
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 … |
|
Re:
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. |
|
Re:
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. |
|
Re:
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 … |
|
Re:
i need code that will allow me to restart shutdown or logoof the computer (saftley) |
|
Re:
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? |
|
Re:
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 … |
|
Re:
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 |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |