User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 422,381 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,652 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 388
Search took 0.03 seconds.
Posts Made By: waynespangler
Forum: VB.NET 14 Days Ago
Replies: 2
Views: 150
Posted By waynespangler
Re: Can it be done?

You can't. You can delete it but not disable it.
Forum: VB.NET 15 Days Ago
Replies: 3
Views: 190
Posted By waynespangler
Re: Using Graphics

Your problem is your numbers are pixels and you need to set them to the right scale.
If each pixel is one foot then you are starting at pixel 2 and 1759 and going to pixel 103 and 1768. Depending on...
Forum: VB.NET 15 Days Ago
Replies: 5
Views: 211
Posted By waynespangler
Re: counting how many text boxes have been modified

Try something like this:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ans As Integer = CInt(InputBox("How many textboxes...
Forum: VB.NET 16 Days Ago
Replies: 4
Views: 211
Posted By waynespangler
Re: Image Library

Thanks for your input, I appreciate it but that is the way I was doing it.
After more thought i came up with an image that holds all the images (thanks to person that gave me the idea).
For anyone...
Forum: VB.NET 16 Days Ago
Replies: 4
Views: 211
Posted By waynespangler
Re: Image Library

I am using a picturebox for the image. My images are jpeg. I had thought about the imagelist but the images are pretty big. Isn't the image list limited to about 128x128 pixels.
Thanks for your quick...
Forum: VB.NET 16 Days Ago
Replies: 2
Views: 114
Posted By waynespangler
Re: Closest match

Well, heres one way. Your numbers must be in an array. Sort the array desending and pick the number above your chosen number,
Forum: VB.NET 16 Days Ago
Replies: 2
Views: 153
Posted By waynespangler
Re: One Silly Doubt!

Each tab page has a name. The default is TabPage1, TabPage2, ..., etc.
use:
TabControl1.SelectTab(TabPage2)
Forum: VB.NET 16 Days Ago
Replies: 4
Views: 211
Posted By waynespangler
Image Library

I am writing a slide show. The slide show itself is not bad.
My problem:
I can put the pictures in the resource area. This would require recompiling and sending the viewer each time I want to send...
Forum: VB.NET 17 Days Ago
Replies: 1
Views: 288
Posted By waynespangler
Re: Value of type 'String' cannot be converted to '1-dimensional array of String'?

You have to redimension your lines array:
Dim sr As StreamReader = New StreamReader("csvSTOCKS.TXT")
Dim lines() As String
Dim index As Integer = 0

Do While (sr.Peek...
Forum: VB.NET 18 Days Ago
Replies: 4
Views: 270
Posted By waynespangler
Re: I need to retrieve data from a txtbox in one form into a txtbox in another form

You are probably closing the form which will set the textbox to empty.
When you bring up your logon form copy the text you saved back to the logon form.
FrmLogIn.TxtUserName.Text = TextBox1.Text
Forum: VB.NET 20 Days Ago
Replies: 3
Views: 184
Posted By waynespangler
Re: Need help in placing icon for windows application

I thought Photoshop could create a windows icon.
However, save it as a bitmap, jpeg, etc. There are a lot of free programs to convert an image file to an icon file.

OOPS a little bit late. Sorry
Forum: VB.NET 20 Days Ago
Replies: 3
Views: 169
Posted By waynespangler
Re: How to print contents inVB.Net

Use the vb net power packs at:
http://msdn.microsoft.com/en-us/vbasic/bb735936.aspx
Then look at the video at:
http://msdn.microsoft.com/en-us/vbasic/bb643800.aspx
Forum: VB.NET 25 Days Ago
Replies: 3
Views: 205
Posted By waynespangler
Re: End of Statement Expected

The two lines have to be on the same line.
Forum: VB.NET 30 Days Ago
Replies: 2
Views: 616
Posted By waynespangler
Re: VB 2008 Countdown Timer Help

Try this:
Public Class Form1
Private CountDownTime As DateTime
Private span As Integer = 1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
Forum: VB.NET Aug 27th, 2008
Replies: 7
Views: 558
Posted By waynespangler
Forum: VB.NET Aug 26th, 2008
Replies: 7
Views: 558
Posted By waynespangler
Re: Removing First Line Of Text From multiline textbox

If you want short and simple, try this:
Dim b As String() = Split(TextBox1.Text, vbNewLine)
TextBox1.Text = String.Join(vbNewLine, b, 1, b.Length - 2)
Forum: VB.NET Aug 24th, 2008
Replies: 1
Views: 284
Posted By waynespangler
Re: VB.net 2005 & Reporting Services

Go here:
http://msdn.microsoft.com/en-us/vbasic/bb466226.aspx
Go down to:
Forms over Data Video Series
Go down to #14
Forum: VB.NET Aug 22nd, 2008
Replies: 4
Views: 321
Posted By waynespangler
Re: Help with FTP

Follow this tutorial.
http://www.example-code.com/vbdotnet/default.asp
Forum: VB.NET Aug 22nd, 2008
Replies: 4
Views: 321
Posted By waynespangler
Re: Help with FTP

Did you install Chilkat and reference ChilkatDotNet.dll?
Forum: VB.NET Aug 21st, 2008
Replies: 11
Views: 527
Posted By waynespangler
Re: word flash reader in vb.net

You have too many loops, you only need one. You also have to refresh your textbox. Try this:
Public Class Form1
Dim readcontents As String = "The quick brown fox jumps over the lazy dog"
Dim...
Forum: VB.NET Aug 19th, 2008
Replies: 11
Views: 527
Posted By waynespangler
Re: word flash reader in vb.net

What is happening is you don't have a delay in your loop. All the words are going there but is happening so fast you don't see it. After the "Label1.Text = splitout(i)" put in a Sleep(1000).
Forum: VB.NET Aug 18th, 2008
Replies: 3
Views: 325
Posted By waynespangler
Re: Vb.net 2005 and new to this forum

tryusingspacesbetweenyourwordssoweknowwhatyouaretalkingabout.explainyourprobleminmoredetail.
Forum: VB.NET Aug 13th, 2008
Replies: 7
Views: 554
Posted By waynespangler
Re: Variable declaration!!!

The first just declares a variable as the class. The second creates an instance of it.
Without seeing your code I would say you need to put in "Exit Sub" after your If statement.
If it is a...
Forum: VB.NET Aug 12th, 2008
Replies: 1
Views: 158
Posted By waynespangler
Re: How to access da MSCommunication control

Right click on the toolbar and select "Choose Items". In the popup click on the Com tab. Scroll down till you find in and check it.
Forum: VB.NET Aug 11th, 2008
Replies: 3
Views: 233
Posted By waynespangler
Re: Problem With Form

To be truthful with you I have never used TopMost before. I tried this code:
Child1.MdiParent = Me
Child1.Text = "Top Most"
Child1.TopMost = True
Child1.Show()

...
Forum: VB.NET Aug 9th, 2008
Replies: 1
Views: 247
Posted By waynespangler
Re: Time Input

Use the masked textbox using the time format.
Forum: VB.NET Aug 9th, 2008
Replies: 3
Views: 233
Posted By waynespangler
Re: Problem With Form

How did you put form2 on top?
Forum: VB.NET Aug 6th, 2008
Replies: 1
Views: 509
Posted By waynespangler
Re: picture box

Rather than a picturebox try a panel.
Create a class and call it Circ.
Imports System.Drawing.Drawing2D

Public Class Circ
Inherits UserControl

Private mLineColor As Color
Public...
Forum: VB.NET Aug 6th, 2008
Replies: 2
Views: 163
Posted By waynespangler
Re: Forms and loading

In the Solution Explorer double click on the MyProject. Under the Application tab you will see "Startup Form:". Select your form here.
Forum: VB.NET Aug 5th, 2008
Replies: 2
Views: 231
Posted By waynespangler
Forum: VB.NET Aug 4th, 2008
Replies: 5
Views: 546
Posted By waynespangler
Re: Notepad using vb.net

http://www.codeproject.com/KB/vb/NotepadNET.aspx
Forum: VB.NET Aug 4th, 2008
Replies: 2
Views: 583
Posted By waynespangler
Re: Retrieve data using string from one form to another

Try this:
form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If txtLat.Text <> String.Empty And txtLong.Text <> String.Empty...
Forum: VB.NET Aug 4th, 2008
Replies: 3
Views: 212
Posted By waynespangler
Re: Book? VB.net Book?

Mastering Visual Basic 2008 by Evangelos Petroutsos
I have been using his books since vb6. They are very good.
Forum: VB.NET Aug 2nd, 2008
Replies: 1
Views: 266
Posted By waynespangler
Re: Visual Basic 2008 Express Edition

MessageBox.Show("Request registry is not allowed ", "Error", MessageBoxButtons.OK)
Forum: VB.NET Jul 31st, 2008
Replies: 5
Views: 321
Posted By waynespangler
Re: Automatically type...?!

I don't know about your game but this works for my game of Casino Empire.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim...
Forum: VB.NET Jul 30th, 2008
Replies: 5
Views: 321
Posted By waynespangler
Re: Automatically type...?!

Well if you want a wild guess.
How about using process with RedirectStandardInput
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardinput.aspx

or maybe SendKeys.
Forum: VB.NET Jul 30th, 2008
Replies: 1
Views: 478
Posted By waynespangler
Re: Program to convert numbers into words in visual basic 2008

try this:
http://classicasp.aspfaq.com/general/how-do-i-convert-numbers-into-words.html
or
http://xl.barasch.com/cCo11432.htm
Forum: VB.NET Jul 26th, 2008
Replies: 1
Views: 151
Posted By waynespangler
Re: boot delted data

open the recycle bin, find your program, select it and then restore it.
Forum: VB.NET Jul 24th, 2008
Replies: 1
Views: 188
Posted By waynespangler
Re: cookies

I think you have to make this change in the internet options on the control panel.
Forum: VB.NET Jul 21st, 2008
Replies: 12
Views: 427
Posted By waynespangler
Re: Errorhandler vs. Msgbox for errors - preference?

You might look at Try:Catch and Throw Exception also.
Showing results 1 to 40 of 388

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