Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Member Avatar for OldQBasicer

I'm re-posting this because I forgot to put code tags around the code. I'm trying to make a form with a thermometer painted on it. I want the thermometer to go up each second. I tried the code below and it sorta works, but not really. It does the For... …

Member Avatar for Mariandi
0
189
Member Avatar for OldQBasicer

I'm trying to make a form with a thermometer painted on it. I want the thermometer to go up each second. I tried the code below and it sorta works, but not really. It does the For... Next loop okay and shows the message box, but then does NOT Exit …

0
62
Member Avatar for OldQBasicer

I thought you couldn't run an EXE from a web page, you had to download it. How can it be that ClickOnce lets you choose online-only? Does it temporarily install the EXE on the users computer? If I want my application to run online only and I use the publishing …

Member Avatar for kvprajapati
0
93
Member Avatar for OldQBasicer

If I use the Publishing Wizard to try to publish my app to my website, it asks for the URL, but of course, my web host requires a password to access my site, so the wizard can't publish there. How do I publish to my site that requires a password …

Member Avatar for kvprajapati
0
61
Member Avatar for OldQBasicer

I'm new at this. How come this doesn't work... [CODE] Private Sub ColorKeyForm_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint 'Draws diagonal line of dot and dash on form Dim objGraphics As Graphics = Me.CreateGraphics Dim objPen As Pen objPen = New Pen(Drawing.Color.DarkBlue, 3) objPen.DashStyle = Drawing2D.DashStyle.DashDot objGraphics.DrawLine(objPen, …

Member Avatar for OldQBasicer
0
2K
Member Avatar for OldQBasicer

Is there a way to wrap the text on the list box items, i.e. go to the next line, when they're too long for the box. A few of my items are too long to fit, so they are truncated.

Member Avatar for OldQBasicer
0
152
Member Avatar for OldQBasicer

I'm a novice at VB.NET and I'm having a problem with the compiled versions of my applications. If I take the .exe file (it's real small, like 40KB) from the BIN/DEBUG directory, it runs fine on most computers (I've tried it on 5), including Windows 7, Vista and XP. When …

Member Avatar for OldQBasicer
0
185
Member Avatar for OldQBasicer

I'm really a novice and I'm trying to draw a thermometer that moves up or down with temp change. I created a second form on my project for the thermometer and access it using Thermometer.Showdialog((). Then on the thermometer form, I'm using this code: [CODE] Private Sub ThermometerForm_Paint(ByVal sender As …

Member Avatar for OldQBasicer
0
184
Member Avatar for OldQBasicer

In old QBasic I could use the LOG function to get the base-10 log of a number. So I would have something like this... [CODE]sglFormula = 150 - (LOG(intTemp + 10) * 30)[/CODE] ... the LOG function would give me the log base-10 of a variable (intTemp) plus 10. How …

Member Avatar for OldQBasicer
0
116
Member Avatar for OldQBasicer

If I'm running a Do... Until or a For... Next loop in a button click event, is there a way I can allow the user to click the same button while the loop is running and escape the loop?

Member Avatar for Progr4mmer
0
150
Member Avatar for OldQBasicer

I'm trying to use the timer (not a Timer object) in a Do... Until loop. I want the loop to put a single variable into a label. When I do this it works and puts the value into the label (lblOxygenReading): [CODE] If btnGetOxygen.Text = "Get Oxygen Reading" Then Select …

Member Avatar for selvaganapathy
0
218
Member Avatar for OldQBasicer

I have a project with more than one form and I move between them with a button click that hides the current form and shows the one I want. But what is I want to perform some procedure each time the form is shown? I tried this code on my …

Member Avatar for OldQBasicer
0
94
Member Avatar for OldQBasicer

I put some variable declarations in the module of my project. Of the six variables, two of them remained unavailable to the code on the form... I got an error message. Those two, which are within a FOR...NEXT loop have to be declared in the form code for the thing …

Member Avatar for OldQBasicer
0
192
Member Avatar for OldQBasicer

I want to use more than one form in my project and be able to code a button or something that will do that. I tried this on Form1 and it worked. [CODE]Public Class Form1 Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click 'Goes from this …

Member Avatar for OldQBasicer
0
242
Member Avatar for OldQBasicer

I want tu use more than one form in my project and be able to code a button or something that will do that. I tried this on Form1 and it worked. [CODE]Public Class Form1 Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click 'Goes from this …

Member Avatar for vb5prgrmr
0
122
Member Avatar for OldQBasicer

New to VB and using Visual Studio 2008. Trying to declare variables and arrays that can be used outside a specific procedure. I want to make the variable universally available within the program. I think I know how to do the declaration, I just can't find where in the code …

Member Avatar for SCBWV
0
87
Member Avatar for OldQBasicer

In the mid-'90s I wrote in Quick Basic some lab simulations for science classes I was teaching. I want to rewrite them in VB and thought that I could just paste old QB code into VB... not so, of course. I want to know how to read data from within …

Member Avatar for OldQBasicer
0
957