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

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[] …

Member Avatar for PierlucSS
0
517
Member Avatar for MillStrike

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 …

Member Avatar for DdoubleD
-1
146
Member Avatar for MillStrike

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) …

Member Avatar for MillStrike
0
118
Member Avatar for MillStrike

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 …

Member Avatar for campkev
0
112
Member Avatar for MillStrike

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; …

Member Avatar for Drowzee
0
168