Search Results

Showing results 1 to 40 of 55
Search took 0.01 seconds.
Search: Posts Made By: r0ckbaer
Forum: C# Nov 28th, 2005
Replies: 7
Views: 2,563
Posted By r0ckbaer
http://www.amazon.com/gp/product/0735616485/103-7891102-8341404?v=glance&n=283155&v=glance
Forum: C# Nov 27th, 2005
Replies: 2
Solved: Listview Scroll
Views: 13,390
Posted By r0ckbaer
int current = this.listView1.SelectedIndices[0];
int next = current == this.listView1.Items.Count - 1 ? 0 : current + 1;
this.listView1.Focus();
this.listView1.Items[next].Selected = true;...
Forum: C# Nov 25th, 2005
Replies: 4
Solved: Basic Question
Views: 2,030
Posted By r0ckbaer
lvi.SubItems[3].Text
Forum: C# Nov 25th, 2005
Replies: 4
Solved: Basic Question
Views: 2,030
Posted By r0ckbaer
foreach (ListViewItem lvi in this.listViewFiles.CheckedItems)
{
// do whatever here
string s = lvi.SubItems[3];
}
Forum: C# Nov 23rd, 2005
Replies: 2
Views: 7,752
Posted By r0ckbaer
What about having a look here: http://www.yoda.arachsys.com/csharp/ebcdic/ ?
Forum: C# Nov 17th, 2005
Replies: 1
Views: 13,593
Posted By r0ckbaer
Don't know if i understood exactly what you mean, but i guess you want to simulate the TAB button behaviour with the ENTER button, to do this you can do the following (might be buggy and inefficient...
Forum: C# Nov 11th, 2005
Replies: 16
Views: 12,106
Posted By r0ckbaer
Hi, what about a derived class like this one (it's very basic, but it might be what you are searching for):

public class MyStream : StreamReader
{
private uint _pos;

public...
Forum: C# Oct 31st, 2005
Replies: 9
Solved: Outlook
Views: 6,195
Posted By r0ckbaer
Hello, you should check out the value of list.SelectedItem in the debugger (yes, that simple :D), and see what it contains (i think i already told you that way to proceed in another thread ;))
Forum: C# Oct 31st, 2005
Replies: 6
Views: 9,101
Posted By r0ckbaer
Hello,
you cannot store unsigned integers in the registry, it only works for signed int's for the moment, this is a know .NET bug, however there's a workaround, see this link for more info and how...
Forum: C# Sep 27th, 2005
Replies: 26
Views: 7,113
Posted By r0ckbaer
Well, the 6th one probably generated an exception and then quit the routine, what about that code in a try catch clause and look which exception is generated..because apparently you didn't debug it.
Forum: C# Sep 27th, 2005
Replies: 26
Views: 7,113
Posted By r0ckbaer
Does it copy only the first 5 ?
Forum: C# Sep 27th, 2005
Replies: 4
Views: 30,570
Posted By r0ckbaer
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Text.RegularExpressions;

namespace...
Forum: C# Sep 26th, 2005
Replies: 5
Views: 9,247
Posted By r0ckbaer
StreamReader sr = new StreamReader("yourFileNameGoesHere", System.Text.Encoding.Default);
string s = null;

while ((s = sr.ReadLine()) != null)
{
if (s.IndexOf("fn:") != -1)
{...
Forum: C# Sep 24th, 2005
Replies: 3
Views: 5,458
Posted By r0ckbaer
also be sure that your timer has an interval of 1000
Forum: C# Sep 24th, 2005
Replies: 3
Views: 5,458
Posted By r0ckbaer
Hi
in your timertick

Invalidate();
if (StartTime == 0)
{
timer1.Stop();
Invalidate();
// Beep
...
Forum: C# Sep 22nd, 2005
Replies: 26
Views: 7,113
Posted By r0ckbaer
did you debug successfully now?;)
Forum: C# Sep 21st, 2005
Replies: 26
Views: 7,113
Posted By r0ckbaer
dude, i will not lead you thru the way of debugging your own prog, there are numerous articles on debugging, just have a look at the msdn...could it be that you're a bit lazy? :(
Forum: C# Sep 19th, 2005
Replies: 26
Views: 7,113
Posted By r0ckbaer
well, then set a breakpoint on that line in the debugger and look what the values are...
Forum: C# Sep 19th, 2005
Replies: 26
Views: 7,113
Posted By r0ckbaer
foreach (string f in Directory.GetFiles(d, fileType))
{
MessageBox.Show("Please be patient process may take a while", "Please wait");//Notify the user
label2.Visible = true;//label2 now visible...
Forum: C# Sep 19th, 2005
Replies: 26
Views: 7,113
Posted By r0ckbaer
Hi, i think yo didn't get the point of the Read() function ...Read is in fact a member function of a class called ID3v1.

I gave a you a link to a this complete class in another thread, so what you...
Forum: C# Sep 18th, 2005
Replies: 26
Views: 7,113
Posted By r0ckbaer
what about some radiobuttons which display the choice ? yes, you can post the code , so we can try to work it out
Forum: C# Sep 18th, 2005
Replies: 26
Views: 7,113
Posted By r0ckbaer
dude, did you finish the mp3 copier? :P
Forum: C# Sep 15th, 2005
Replies: 20
Views: 6,052
Posted By r0ckbaer
remove line : this.filename = blabla... from the Read() func
Forum: C# Sep 14th, 2005
Replies: 20
Views: 6,052
Posted By r0ckbaer
uh?

do this.

listBox1.Items.Add(Convert.ToString(f));
this.filename = f;
Read();


and in the Read() function remove the line : this.filename = H\ipoed\etc... ans also the concat thinggy
Forum: C# Sep 14th, 2005
Replies: 20
Views: 6,052
Posted By r0ckbaer
lol, of course it gives you an exception:

this.filename = @"H:\ipod_control\music";
// Read the 128 byte ID3 tag into a byte array
FileStream oFileStream;
...
Forum: C# Sep 14th, 2005
Replies: 20
Views: 6,052
Posted By r0ckbaer
well if textbox1.text is H:\ipod_contol\music and then you cocatenate again \ipod_contol\music to it gives : H:\ipod_contol\music\ipod_contol\music, so it's normal that te folder access is denied,...
Forum: C# Sep 13th, 2005
Replies: 20
Views: 6,052
Posted By r0ckbaer
What's the value of textBox1.Text when you call that function?
Forum: C# Sep 13th, 2005
Replies: 20
Views: 6,052
Posted By r0ckbaer
You should remove the sentence "google is there for you" in your sig, because you do anything but googlin' :rolleyes:

http://csharp-home.com/index/tiki-read_article.php?articleId=149
Forum: C# Sep 11th, 2005
Replies: 20
Views: 6,052
Posted By r0ckbaer
ok, this is a function which scans a sourcedir recursively and copies the found files to the target dir:

/// <summary>
///
///
/// </summary>
/// <param name="sourceDir">source...
Forum: C# Sep 11th, 2005
Replies: 20
Views: 6,052
Posted By r0ckbaer
string[] files = Directory.GetFiles(sourceDirectoryName, "*.mp3");
Forum: C# Sep 8th, 2005
Replies: 7
Views: 7,202
Posted By r0ckbaer
yes, didn't notice your previous post ;)
Forum: C# Sep 8th, 2005
Replies: 7
Views: 7,202
Posted By r0ckbaer
your second parameter for ShowHelp is wrong (it has to be the path to your help file)

try this:

/ get environment variable representing the Windows folder
String s =...
Forum: C# Sep 8th, 2005
Replies: 7
Views: 7,202
Posted By r0ckbaer
shouldn't that be:

String h = s + @"\Help\MyHelpFile.chm";

?
Forum: C# Sep 5th, 2005
Replies: 7
Views: 8,712
Posted By r0ckbaer
Just as plazmo suggested you rename your controls properly and also post the complete source of your app (so that we're actually able to compile it), then we can help you further.
Forum: C# Sep 5th, 2005
Replies: 7
Views: 8,712
Posted By r0ckbaer
You can store it in the registry:


// Save data
RegistryKey regKey = Registry.CurrentUser.CreateSubKey(
"Software\\tayspen");
regKey.SetValue("Name", "Tayspen");
regKey.SetValue("Pass",...
Forum: C# Sep 5th, 2005
Replies: 2
Views: 13,757
Posted By r0ckbaer
// Creates a file called "test.txt" on the currently logged-in
// user's desktop
File.Create(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\testfile.txt");

// Or if you only...
Forum: C# Sep 4th, 2005
Replies: 2
Views: 2,578
Posted By r0ckbaer
String s = Environment.GetEnvironmentVariable("windir");
Forum: C# Aug 15th, 2005
Replies: 4
Views: 1,697
Posted By r0ckbaer
There is indeed some spanish in the first guy's post.
But the answers are in PERFECTLY UNDERSTANDABLE english.
Forum: C# Aug 14th, 2005
Replies: 4
Views: 1,697
Posted By r0ckbaer
http://www.dotnet247.com/247reference/msgs/9/49583.aspx

See the 2 answers in that thread
Forum: C# Aug 11th, 2005
Replies: 2
Views: 1,678
Posted By r0ckbaer
u need a global systemwide hotkey

http://www.webtropy.com/articles/art9-1.asp?f=RegisterHotKey
Showing results 1 to 40 of 55

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC