- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hello! I'm trying to get my program to automatically open a file when I doubleclick on it, I have set the file assosiation right but my code isn't working. I have read about the "Application.Run(new MyProgram());" but I have some problems. When I do this: [code] public static void Main(string[] … |
|
Hi! I'm going crazy about this problem. Here's the setup: On my mainform I have a menustrip from where I can open a new form (form2) with different controls like checkboxes etc. After I've modified these controls I close or hide that form and continue using the mainform. Now here's … |
|
Goodday people! This time I am trying to index all files of a kind from any subdirectory. To index all files from a selected directory and 1 sublevel I use this code: [code] arrayCount = 0; DirectoryInfo di = new DirectoryInfo(SourceString); FileInfo[] rgFiles = di.GetFiles("*.mp3"); foreach (FileInfo fi in rgFiles) … |
|
I have a heck of a situation here, and i'll try to explain it. For example I have a string containing "c:\\download\\music.mp3" and I want to make it contain only music.mp3 by "filtering" away the rest. Code might seem a bit hard to understand but heres the deal. SelectedFile contains … |
|
I'm kinda new to c++ and can only do very simple applications. Could someone explain why this code works: [code] #include <iostream> using namespace std; int main() { bool inword = 0; unsigned int numwords = 0; char *str = "this is a test string for my project"; char letter; … |