338 Posted Topics

Member Avatar for Wreef

Single step thru the load. Most of the time you are referencing something that hasn't been loaded. Such as setting a check box but it hasn't been created yet.

Member Avatar for arjunsasidharan
0
348
Member Avatar for gracie7725
Member Avatar for bilgees
Member Avatar for lukis

I am not a database person but I have heard that if you run your program in the IDE then a new database is created each time the program is run. Try compiling and running the bin/release/ exe.

Member Avatar for manal
0
102
Member Avatar for lukis
Member Avatar for em_moon1981
Member Avatar for waynespangler
0
91
Member Avatar for leoimperial

Go here and watch all the videos. Lots to learn. [url]http://msdn.microsoft.com/vstudio/ex...b/easytolearn/[/url]

Member Avatar for waynespangler
0
432
Member Avatar for Duki

It depends on the course. If it is a course on programing concepts rather than the language then the language is secondary. Don't let that stop you from taking the course. I see a lot of people trying to program with out a knowledge of programing concepts. There is, in …

Member Avatar for jamello
0
353
Member Avatar for caesarmx

Try this: [QUOTE] Dim x As Integer = System.Text.RegularExpressions.Regex.Matches(TextBox1.Text, "\w+").Count() [/QUOTE]

Member Avatar for waynespangler
-1
291
Member Avatar for milonix
Member Avatar for waynespangler
0
65
Member Avatar for ttorkey

It looks like homework to me. What code do you have so far? We don't do homework but help with code you already have.

Member Avatar for matale
0
112
Member Avatar for suedasszyy

I don't know what you are trying to do but you are trying to use a button_click inside a structure. I don't think you can do that.

Member Avatar for waynespangler
0
113
Member Avatar for iskivgs

The question is, Why are they global? Are they only used in one place? Are they used in several modules, forms, etc? If you have to maintain a value to be used in several places then it needs to be a public variable. If used in one place then where …

Member Avatar for waynespangler
0
98
Member Avatar for praveendesilva

[CODE] Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress Dim x As String = e.KeyChar.ToString Select Case x Case "a" To "z", " ", "0" To "9", "A" To "Z" ' 'allows these keystrokes thru disallows all others Case Else e.Handled = True End Select End …

Member Avatar for waynespangler
0
101
Member Avatar for yaya_star

The simple way is to declare the variable in a module and declare it public. Set or read the variable from any form. If however you are worried about security then do as jabijohn says.

Member Avatar for waynespangler
0
132
Member Avatar for sachincool

I don't know exactally what you want. Your main menu is showing unless you have the visible property set to false. If that is true then use the mouse down event, check for right mouse button and set the visible property to true. If you want to turn it off …

Member Avatar for waynespangler
0
97
Member Avatar for hoosier23

Try this: [CODE] Dim input As String = "abc" Dim output As String = "" Dim CharStr As New Char For Each CharStr In input output = CharStr & output Next MessageBox.Show(output)[/CODE]

Member Avatar for mhovidz
0
209
Member Avatar for mhovidz
Member Avatar for shaebie

try: [QUOTE]Label.Text = [COLOR="Red"]CSng[/COLOR](Val(txtbox.Text) + Val(txtbox2.Text))[/QUOTE]

Member Avatar for hollystyles
0
94
Member Avatar for karan_21584
Member Avatar for wavalker

I haven't used AutoCad and Visual Basic since Acad2000 and VB6. I used mostly Lisp. Try these three sites to see if they help. [url]http://www.autocode.com/lisp/prog1.htm[/url] [url]http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=3377116[/url] [url]http://www.contractcaddgroup.com/download/[/url]

Member Avatar for wavalker
0
115
Member Avatar for Hellodear

start here: [url]http://msdn.microsoft.com/vstudio/express/beginner/windows/tier1/[/url] This is for vb 2003 but can be used in 2005 [url]http://msdn2.microsoft.com/en-us/vbasic/ms789057.aspx[/url]

Member Avatar for jbennet
0
140
Member Avatar for GaryP

In your main() you have to call Application.Run(Form1) otherwise the program thinks you are finished. To pass array pass them without dimension [CODE]Private Sub Calculate(ByVal myArray(,) as Integer)[/CODE] Hope this helps And as stated earlier don't count on conversion. Learn net and do the conversion yourself, you'll be better off.

Member Avatar for GaryP
0
119
Member Avatar for Geek-Master

Double click on the project in the explorer and go down to the settings tab. [URL="http://www.codeproject.com/vb/net/appsettings2005.asp"]http://www.codeproject.com/vb/net/appsettings2005.asp[/URL]

Member Avatar for waynespangler
0
38
Member Avatar for nottoshabi

What do you mean UI - User Interface. That is what vb does. Adding controls to a form makes it a user interface. If you are talking about design of the user interface then I have seen no documentation on that. It is something you just work on until it …

Member Avatar for nottoshabi
0
88
Member Avatar for waynespangler

I am doing my third first time database. In the attached picture I am showing my tables. My problem is I can't input any data because of a circular reference and I don't know how to handle it. Bowling Center is no problem. League info I can't enter because I …

0
53
Member Avatar for lukis

Instead of creating a new label just draw around the label. Such as place an ellipse around the label use: [CODE] Dim rect As New Rectangle(Label1.Left - 5, Label1.Top - 5, Label1.Width + 10, Label1.Height + 10) Using g As Graphics = Me.CreateGraphics g.DrawEllipse(Pens.Black, rect) End Using [/CODE]

Member Avatar for waynespangler
0
96
Member Avatar for JBI_UK
Member Avatar for waynespangler
0
116
Member Avatar for jigry

It use to be you designed your forms for 800x600. Now I think it is 1024x768 now. The higher resolutions are harder to read.

Member Avatar for waynespangler
-1
81
Member Avatar for kahaj

Because you havn't calculated it yet. And would always be zero(0). Leave it as it is if you want a correct answer.

Member Avatar for kahaj
0
125
Member Avatar for Siebe

You can use DoEvents in loops or run you calcuclations in a seperate thread (see BackgroundWorker in ToolBar).

Member Avatar for Siebe
0
117
Member Avatar for molze

You are still referencing the file thru the objXMLdoc. Try this [CODE] objXMLdoc.Load(Filename) objXMLdoc.async = False root = objXMLdoc.documentElement.firstChild.firstChild GetXMLData() 'USES XPATH... TO RETRIEVE DATA OutPutRecord() 'outputs retrieved data to an SQL Database [COLOR="Red"] objXMLdoc = Nothing[/COLOR] MoveFile(Filename)[/CODE]

Member Avatar for molze
0
129
Member Avatar for yaya_star

Add an OpenFileDialog to your project and in your button click add this: [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then PictureBox1.Load(OpenFileDialog1.FileName) End If End Sub[/CODE]

Member Avatar for yaya_star
0
95
Member Avatar for Achilleas

Here is a link that should help. [url]http://www.geometryalgorithms.com/Archive/algorithm_0103/algorithm_0103.htm[/url]

Member Avatar for waynespangler
0
144
Member Avatar for Marks256

most likely you will have to go to your sound card manufacture to find out how to do it. Then see how vb net can do the job.

Member Avatar for Marks256
0
85
Member Avatar for Marks256

arjunsasidharan is right. On your form properties set the KeyPreview to true. Then use code simular to this: [CODE] Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress Select Case e.KeyChar Case "k", "K" MessageBox.Show("k was pressed") Case "x", "X" Me.Close() End Select End Sub [/CODE]

Member Avatar for Marks256
0
129
Member Avatar for arjunsasidharan

No opacity but can change all colors to transparent. 0 complete transparent to 255 complete opacity.

Member Avatar for arjunsasidharan
0
121
Member Avatar for Moshntsane

Here is a book from Microsoft you can download. [url]http://msdn2.microsoft.com/en-us/vbasic/ms789094.aspx[/url] Some tutorials: [url]http://searchvb.techtarget.com/generic/0,295582,sid8_gci1133500,00.html[/url] [url]http://www.vbcodesource.com/exampleNet.html[/url] [url]http://abstractvb.com/code.asp?P=1&F=26[/url] [url]http://www.functionx.com/vbnet/index.htm[/url] Videos: [url]http://msdn.microsoft.com/vstudio/express/vb/easytolearn/[/url]

Member Avatar for jbennet
0
121
Member Avatar for sri_Chennai

I would just recalculate the total. Not an easy task to track numbers to be deleted. What if they changed one of the textboxes? It would have to be recalculated anyway.

Member Avatar for iamthwee
0
95
Member Avatar for Mirasol

[QUOTE=Mirasol;316838]What does .15D stand for?:sad:[/QUOTE] D is decimal F is float S is short L is long etc.

Member Avatar for Dukane
0
88
Member Avatar for aj_daria

I tried your code and it works for me unless you are looking for something different. I get this: First Click: [INDENT]btnInRe visible[/INDENT] Second Click: [INDENT]btnInRe not visible btnGR and btnGl are visible[/INDENT] Third Click: [INDENT]btnInRe visible btnGR and btnGl are not visible[/INDENT] Did you want something different?

Member Avatar for aj_daria
0
557
Member Avatar for extofer

I open the code in vb6 and go form by form, module by module, class by class transfering code from vb6 to vb net. Slow but effective. Don't like the conversion in vb net. Almost as much work as redoing it (500 errors).

Member Avatar for waynespangler
0
75
Member Avatar for marcusbris

Try using a boolean to indicate the decimal point has been used already and ignore it if true. [CODE] Dim DecUsed As Boolean = False Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown If e.KeyCode = 190 Then If DecUsed Then e.Handled = True e.SuppressKeyPress = …

Member Avatar for waynespangler
0
106
Member Avatar for happy8899

You can get free e-book "Introducing Microsoft Visual Basic 2005 for Developers" here: [url]http://msdn2.microsoft.com/en-us/vbasic/ms789094.aspx[/url] And video tutorials here: [url]http://msdn.microsoft.com/vstudio/express/vb/learning/[/url]

Member Avatar for waynespangler
0
92
Member Avatar for Elfshadow

You can get free e-book "Introducing Microsoft Visual Basic 2005 for Developers" here: [url]http://msdn2.microsoft.com/en-us/vbasic/ms789094.aspx[/url] And video tutorials here: [url]http://msdn.microsoft.com/vstudio/express/vb/learning/[/url]

Member Avatar for waynespangler
0
104
Member Avatar for **UM HASSAN**

Add the windows media player control to your form. Set the visible property to false so you can't see the control. In the button click add the following code. [CODE] Me.AxWindowsMediaPlayer1.URL = "C:\Documents and Settings\wayne1\My Documents\My Music\The Beatles\Abbey Road\03 Maxwell's Silver Hammer.wma"[/CODE] Change the file name to one of yours.

Member Avatar for waynespangler
0
91
Member Avatar for Minimum

Not to take anything away from kristinaswan but I like short code. :cheesy: Here I combined what she wrote into a more compact code. [CODE]Public Class Form1 ' combine all the textboxes in one TextChanged Event Private Sub txtScience_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles txtScience.TextChanged, txtEnglish.TextChanged, …

Member Avatar for Minimum
0
114
Member Avatar for aqeelmoosa

I am assuming it is like vb express. You declare a variable like: [CODE]Private MyObject As Class1 = New Class1[/CODE] Then you call your function: [CODE]Dim MyMessage As String = MyObject.dismsg[/CODE]

Member Avatar for waynespangler
0
120
Member Avatar for jbennet

Some software (AutoCad for one) will not let you resell the software, it is in the license. Don't know about vb but I think you can resell it.

Member Avatar for jbennet
0
85
Member Avatar for Izzah

Look at this. ctor is the last reply. Try replacing the "ctor.dll" [url]http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=99940&SiteID=1[/url]

Member Avatar for waynespangler
0
101

The End.