1,857 Posted Topics

Member Avatar for realname

Window's Moviemaker will also do basic stuff like that. Can't remember what formats it'll save in, but converting should be relatively easy once the basic video is done.

Member Avatar for tinstaafl
0
160
Member Avatar for efe.ozyer

In C# you have the Convert class which uses specific conversions to many different type of data. Here's the MSDN library article on it [Click Here](http://msdn.microsoft.com/en-us/library/system.convert(v=vs.110).aspx)

Member Avatar for tinstaafl
0
477
Member Avatar for Shailajaprasad
Re: VBA

what code are you using? Here's a [link](http://msdn.microsoft.com/en-us/library/office/ff197608.aspx) that may help.

Member Avatar for AndreRet
0
77
Member Avatar for arjun.walmiki.1

I think the best you can do is to minimize it. Here's a [link](http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/56723844-d189-4718-bca4-b7bf64d6fca6/) with a post and code which might help.

Member Avatar for efe.ozyer
0
470
Member Avatar for RT00220489

Probably want you want to do is tie all the picture boxes together handled by the same mouseover event. This post has an excellent sample code on doing just that, but with the click event. It should be easily adaptable.

Member Avatar for tinstaafl
0
717
Member Avatar for nblackburn

One thing that might help is loading the list `getStars` before you call the function and either making it public or passing it to the function. Also instead of creating all those variables in the for loop, calling the random function directly might gain some speed(i.e.` Height = random.Next(1, 10),Width …

Member Avatar for tinstaafl
0
186
Member Avatar for andrewnewspotify

Here's an [article](http://msdn.microsoft.com/en-US/library/ms235379(v=vs.100).aspx) that discusses what you want to do and includes samples. It looks like to do what you want you'll have to learn 'regular expressions', probably not everything but you should be able to decode the samples and create your own. You wanted help with the code. But …

Member Avatar for tinstaafl
0
216
Member Avatar for bluesky18

Are you doing a stand alone vb6 program with an excel control in the form, or are you using VBA in excel itself?

Member Avatar for bluesky18
0
228
Member Avatar for myfit
Member Avatar for xXghostXx

Try this [link](http://msdn.microsoft.com/en-US/library/system.io.file(v=VS.80).aspx). This one deals with working with files. Use this info to delete the files in the directory you want to keep. Use the other info you got to delete any subdirectories and their files in that directory.

Member Avatar for tinstaafl
0
2K
Member Avatar for ImZick
Member Avatar for ImZick
0
290
Member Avatar for Chin6043

It doesn't appear it can. I would suggest though that, unless there's a specific feature in a combobox you absolutley need, a listview control would work. It can display multiple columns and you can select a full row with the fullrowselect property.

Member Avatar for Reverend Jim
0
195
Member Avatar for Poody

Pass the control as a parameter when you call the function in the class, then return the control after you changed whatever properties you want to change. Something like `Ruby1=class1.Myfunction(Ruby1)`. The function would look like: `public static label MyFunction(label NewRuby1)` and `return NewRuby1;` I know that there are other ways …

Member Avatar for samsylvestertty
0
169
Member Avatar for foxwizzy

Your code is sound. If `fo1 = ""` then nothing will be written to the file, otherwise the value of fo1 will be written to the file. On a side note the `My.Computer.FileSystem.WriteAllText` will create a file that doesn't exist automatically, no need to create one explicitly.

Member Avatar for foxwizzy
0
162
Member Avatar for nezar

we'll have to see the actual code to give a definitive answer. But basically a for loop has known limits and automatic incrementation, or decrementation, until the limit is reached. A while loop relies on a condition, or conditions, to be met before ending the loop, and doesn't usually rely …

Member Avatar for deepakbshitole
0
150
Member Avatar for VIPER5646

It's because of the way `Datediff` treats week calculations there's a pretty good example and explanation [here](http://msdn.microsoft.com/en-us/library/b5xbyt6f%28v=VS.90%29.aspx).

Member Avatar for TnTinMN
0
147
Member Avatar for rectifryer

One thing you could try is using VBA, which comes with office, and the tesseract library. However, from my reading of the docs tesseract itself is a commandline program, so you'll have to either run it from the program, or find a .net wrapper which will allow you to use …

Member Avatar for tinstaafl
0
121
Member Avatar for Mike Bishop

You might want to make `TableView` global or pass it to the sub doing to the email. Since you want the information in the body of the email, I would suggest putting the information into a formatted string, or converting it to html format.

Member Avatar for tinstaafl
0
244
Member Avatar for Mikey12345

where is dt inititalized? You can easily do it. It's the same as putting it at the front of your code. But if dt can't be read then it won't work. There's a pretty good post on global variables [here](http://www.daniweb.com/software-development/vbnet/threads/275433/how-to-declare-a-global-variable-and-access-its-value-anywhere)

Member Avatar for tinstaafl
0
129
Member Avatar for tushar27

Is the time and date set right in the bios? If it keeps getting reset in the bios you could be having RTC battery problems.

Member Avatar for silvercats
0
125
Member Avatar for linky1hit
Member Avatar for Asper

Use the webbrowser control in the toolbox. In the form load event call the Navigate(String) method of ther wbbrowser control, where string is your URL.

Member Avatar for tinstaafl
0
176
Member Avatar for salford6129

In the design tab, double click the listbox. That'll start a sub routine stub for the `SelectedIndexChanged` event. When you make a selection in the listbox this event will fire and you can display your messagebox there. For instance: private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { MessageBox.Show(listBox1.Text); }

Member Avatar for salford6129
0
168
Member Avatar for chocomilk

You could also create your own type using structure, and create an array of that type

Member Avatar for chocomilk
0
193
Member Avatar for satnav_8

A good place to start is [here](http://msdn.microsoft.com/en-US/library/system.windows.forms.treeview%28v=vs.110%29.aspx). Then once you have your code started and you run into trouble let us know and we'll be happy to help you.

Member Avatar for tinstaafl
0
172
Member Avatar for candywayans

There's a fairly good example on using the timer class [here.](http://msdn.microsoft.com/en-us/library/vstudio/system.windows.forms.timer%28v=vs.110%29.aspx). Unless you need a lot of precision it might be easier to just use the elapsed time, take a datetime snapshot at the start and a datetime snapshot at the end, and compare the two.

Member Avatar for tinstaafl
0
228
Member Avatar for Its.Obi
Member Avatar for Beginerman

try this in place of line 7-16 if (fam6.Contains(textBox1)) { textBox2.Text = value1 + "\r\n" + "\r\n"; textBox2.AppendText("The system found your search phrase and has displayed it above." + "\r\n"); textBox2.AppendText("We compared your search to 6 items."); } else { if (textBox1.Text.Length == (0)) { textBox2.Text = "You did not …

Member Avatar for Beginerman
0
328
Member Avatar for rock0

One possible way, could be to have another picturebox loaded with a picture of an 'x', then just show it at the coordinates you want.

Member Avatar for tinstaafl
0
162
Member Avatar for silvercats

If the amount of your memory is marginal, and you can't add any more, try using a leaner browser, some people have had success with firefox or chrome. I would also suggest a leaner AV. Norton is notorious for being a heavy user of resources. One thing you could look …

Member Avatar for tinstaafl
0
109
Member Avatar for opticaltim

I'm assumng that you want the value of the last child, in a branch, to be added to it's parent, instead of being put in a new node. Perhaps replacing line 40 with the following will work: if (xnode(HasChildrenNodes) addTreeNode(xNode, tNode); else xmlNode.value = xmlNode.value + " " + xNode.value;

Member Avatar for tinstaafl
0
1K
Member Avatar for ayat abukhadra

basically it looks like you'll have to build one. There are several turotials around that can help you with that. Perhaps if you had a specific problem with it there might be a way around it.

Member Avatar for ayat abukhadra
0
1K
Member Avatar for melvic.gauci

I would suggest that it looks like you're modifying a new student list, then printing out the old one. Make the junior class list and the senior class list global. Try using the global lists in promotestudents instead of making local ones. Also if you promote the student to senior …

Member Avatar for Momerath
0
174
Member Avatar for roachae

Your pseudo code seem ok, but I would suggest you look at using the controls collection and event handlers to handle the changes, msdn has some good articles on that. This will simplify your code greatly and maybe expand your expertise :)

Member Avatar for tinstaafl
0
123
Member Avatar for paul.meeuwissen.106

the [msdn library](http://msdn.microsoft.com/en-us/library/aa289500(v=vs.71).aspx) even has an article that deals specifically with buttons.

Member Avatar for JOSheaIV
0
232
Member Avatar for Darth Vader

This might be an easier way: public partial class Form3 : Form { static FileStream hr = new FileStream("C:\\test.txt", FileMode.Append, FileAccess.Write, FileShare.ReadWrite); StreamWriter file1 = new StreamWriter(hr); DateTime dt; public Form3() { InitializeComponent(); file1.AutoFlush = true; } private void timer1_Tick(object sender, EventArgs e) { dt=DateTime.Now; if (dt.Millisecond == 0 & …

Member Avatar for Darth Vader
0
216
Member Avatar for Mikey12345

Also using accessing the streamreader through the file class and using .readalllines and iterating through the resulting array might be faster that reading the file one line at a time.

Member Avatar for tinstaafl
0
399
Member Avatar for Ben Ashton

I googled this,c# quad tree tutorial, and came up with this [link](http://www.codeproject.com/Articles/30535/A-Simple-QuadTree-Implementation-in-C), and that's just the first one.

Member Avatar for tinstaafl
0
129
Member Avatar for Lle26
Member Avatar for RockyBalboa

You could try something like this: change line 5 dim Flag as boolean Dim ts,ts1 As TimeSpan change line 10 ts = enddate.Subtract(startdate) ts1 = enddate1.Subtract(startdate) Flag = True change line 21 Timer1.Stop() If Flag = True Then ts=ts1 Flag = False Timer1.Start() EndIf

Member Avatar for tinstaafl
0
166
Member Avatar for imperator

I got an error trying to load the design file, however it looks like all your doing is using a series of controla to show a digit. Putting more controls on your form should be easy, however your might want to think of a naming convention for the controls(i.e. Digit1Seg1, …

Member Avatar for imperator
0
209
Member Avatar for advcha.almahyrah

try calling blinkLabel from the timer2 tick event. blinkLabel isn't returning a value so I can't see `timer2.Tick += blinkLabel;` working

Member Avatar for advcha.almahyrah
0
140
Member Avatar for Start4me

There doesn't appear to be anything very tricky or hard. Your best bet is read some tutorials and try to come up with some code. If you get stuck and can't make it work rioght, show us your code and we will be more than happy to help you.

Member Avatar for tinstaafl
0
226
Member Avatar for tinstaafl

In a recent discussion these code snippets were developed to replace Convert.ToInt32 and Convert.ToDouble. The person I was helping had a very large number of conversions to do. In our tests, using these 2 routines we were able to do over 1 million conversions in less than half the time. …

1
147
Member Avatar for vasim jada
Member Avatar for wids101

in fact something like: while (num>=20) { cout << "Invalid number. Enter another one in range." << endl; cin >> num; } Gets rid of the if statement all together. Also if I read your code right you don't need the for loop at all just the 'square' and 'cube' …

Member Avatar for tinstaafl
0
99
Member Avatar for moshea2008

some motherboards have a jumper to force the network boot. Sounds like this is what's happening, especially if the puter came from a large business.

Member Avatar for vbalag
0
266
Member Avatar for maurice91

Probably a form, maybe a dialog form, with several textboxes lablelled with the various pieces of information you'll need to make the connection string(i.e. server, login, name of the database, etc.). Of course you'll have to validate each piece of info to make sure it's in the right format.

Member Avatar for Lethugs
0
206
Member Avatar for kubiak

you could always call netstat. that'll give you the ip of every machine connected to yours, and also the stat of that connection.

Member Avatar for darkagn
0
174
Member Avatar for Darth Vader

The only method I could find was to cheat and use the VB.net 'Val(string) as double' function. The only caveat is it returns a double so I had to change getnum2 to a double. The good news, approximately 50% increase in speed. Not sure why that code is that much …

Member Avatar for tinstaafl
0
1K

The End.