User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 423,162 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,458 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 55
Search took 0.02 seconds.
Posts Made By: r0ckbaer
Forum: C# Nov 28th, 2005
Replies: 7
Views: 2,136
Posted By r0ckbaer
Re: Help with a book?

http://www.amazon.com/gp/product/0735616485/103-7891102-8341404?v=glance&n=283155&v=glance
Forum: C# Nov 27th, 2005
Replies: 2
Views: 9,266
Posted By r0ckbaer
Re: Listview Scroll

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 =...
Forum: C# Nov 25th, 2005
Replies: 4
Views: 1,632
Posted By r0ckbaer
Re: Basic Question

lvi.SubItems[3].Text
Forum: C# Nov 25th, 2005
Replies: 4
Views: 1,632
Posted By r0ckbaer
Re: Basic Question

foreach (ListViewItem lvi in this.listViewFiles.CheckedItems)
{
// do whatever here
string s = lvi.SubItems[3];
}
Forum: C# Nov 23rd, 2005
Replies: 2
Views: 4,980
Posted By r0ckbaer
Re: Where is System.Text.Encoding.EBCDIC?

What about having a look here: http://www.yoda.arachsys.com/csharp/ebcdic/ ?
Forum: C# Nov 17th, 2005
Replies: 1
Views: 8,725
Posted By r0ckbaer
Re: Tab Control

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: 15
Views: 8,961
Posted By r0ckbaer
Re: StreamReader and Position

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 MyStream(string...
Forum: C# Oct 31st, 2005
Replies: 9
Views: 4,949
Posted By r0ckbaer
Re: Outlook

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: 6,709
Posted By r0ckbaer
Re: Registry Writing....Help

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 to...
Forum: C# Sep 27th, 2005
Replies: 26
Views: 5,843
Posted By r0ckbaer
Re: Text printing is giving me trouble

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: 5,843
Posted By r0ckbaer
Re: Text printing is giving me trouble

Does it copy only the first 5 ?
Forum: C# Sep 27th, 2005
Replies: 4
Views: 14,387
Posted By r0ckbaer
Re: Create buttons at runtime

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: 4
Views: 6,778
Posted By r0ckbaer
Re: Read text file to a certain point

StreamReader sr = new StreamReader("yourFileNameGoesHere", System.Text.Encoding.Default);
string s = null;

while ((s = sr.ReadLine()) != null)
{
if (s.IndexOf("fn:") !=...
Forum: C# Sep 24th, 2005
Replies: 3
Views: 3,969
Posted By r0ckbaer
Re: Help with timer..

also be sure that your timer has an interval of 1000
Forum: C# Sep 24th, 2005
Replies: 3
Views: 3,969
Posted By r0ckbaer
Re: Help with timer..

Hi
in your timertick

Invalidate();
if (StartTime == 0)
{
timer1.Stop();
Invalidate();
// Beep
...
Forum: C# Sep 22nd, 2005
Replies: 26
Views: 5,843
Posted By r0ckbaer
Re: Text printing is giving me trouble

did you debug successfully now?;)
Forum: C# Sep 21st, 2005
Replies: 26
Views: 5,843
Posted By r0ckbaer
Re: Text printing is giving me trouble

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: 5,843
Posted By r0ckbaer
Re: Text printing is giving me trouble

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: 5,843
Posted By r0ckbaer
Re: Text printing is giving me trouble

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: 5,843
Posted By r0ckbaer
Re: Text printing is giving me trouble

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: 5,843
Posted By r0ckbaer
Re: Text printing is giving me trouble

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: 5,843
Posted By r0ckbaer
Re: Text printing is giving me trouble

dude, did you finish the mp3 copier? :P
Forum: C# Sep 15th, 2005
Replies: 20
Views: 4,810
Posted By r0ckbaer
Re: Quick directory question

remove line : this.filename = blabla... from the Read() func
Forum: C# Sep 14th, 2005
Replies: 20
Views: 4,810
Posted By r0ckbaer
Re: Quick directory question

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: 4,810
Posted By r0ckbaer
Re: Quick directory question

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: 4,810
Posted By r0ckbaer
Re: Quick directory question

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: 4,810
Posted By r0ckbaer
Re: Quick directory question

What's the value of textBox1.Text when you call that function?
Forum: C# Sep 13th, 2005
Replies: 20
Views: 4,810
Posted By r0ckbaer
Re: Quick directory question

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: 4,810
Posted By r0ckbaer
Re: Quick directory question

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: 4,810
Posted By r0ckbaer
Re: Quick directory question

string[] files = Directory.GetFiles(sourceDirectoryName, "*.mp3");
Forum: C# Sep 8th, 2005
Replies: 7
Views: 5,028
Posted By r0ckbaer
Re: HelpProvider Namespace Problem

yes, didn't notice your previous post ;)
Forum: C# Sep 8th, 2005
Replies: 7
Views: 5,028
Posted By r0ckbaer
Re: HelpProvider Namespace Problem

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: 5,028
Posted By r0ckbaer
Re: HelpProvider Namespace Problem

shouldn't that be:

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

?
Forum: C# Sep 5th, 2005
Replies: 7
Views: 5,581
Posted By r0ckbaer
Re: XML save settings

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: 5,581
Posted By r0ckbaer
Re: XML save settings

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: 7,599
Posted By r0ckbaer
Re: File.Create Question

// 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 want...
Forum: C# Sep 4th, 2005
Replies: 2
Views: 1,956
Posted By r0ckbaer
Re: Help With Variables

String s = Environment.GetEnvironmentVariable("windir");
Forum: C# Aug 15th, 2005
Replies: 4
Views: 1,408
Posted By r0ckbaer
Re: Im Stumped Once More!!

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,408
Posted By r0ckbaer
Re: Im Stumped Once More!!

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,368
Posted By r0ckbaer
Re: Problem :?:

u need a global systemwide hotkey

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

 
All times are GMT -4. The time now is 7:56 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC