I found the solution to my problem. In case anyone is interested:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim f2 As New Form2()
f2.Create(Me)
End Sub
End Class
Public Class Form2...
No, here is a sample from the code I am using:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim form2 As New Form2()
form2.Show()
End Sub
End Class
Public Class Form2
Private Sub...
Hi everyone,
I know that there is probably a very easy way to do this, but I have yet to figure it out. Here is the basic scenario:
Form1 contains Label1
Form1 creates an instance of Form2
Form2 contains Button1
Form2.Button1.onClick needs to set Form1.Label1.Text = "something"...
Hi everyone,
I am trying to smoothly scroll a VERY large image across a form. Unfortunately, I am getting very bad flickering problems. One helpful person recommended that I blit only the screen size instead of the entire picture. Unfortunately, I followed a tutorial to get this far and do...
Hi everyone,
I am having a strange problem when drawing a bitmap to a picturebox. For some reason, when the bitmap is drawn - it is scaled larger than it's actual size. For example, if the screen resolution is set to 1024x768 and the image size is the same - the image will be rendered larger...
Hello,
I am having problems with a switch/case function. For some reason the function always returns only the default value. Yet, curiously, if I was to do an IF(Request.QueryString("page")=="home") type statement in place of the switch, the IF statement functions...
I know there is probably a very simple solution to this, but I am relatively inexperienced in VB so bear with me...
I am looking to list all of the folders (not any files) at a given location in a list box. I do not want to use any type of built-in directory controls because I wish to restrict...
File1.Pattern = "*.txt;*.doc" produces only the .doc files being populated into the box. For whatever reason it seems to ignore everything except the last filter option.
Chtrips - that's what I was afraid of. I was just hoping that there was an easier way. Thanks though.
Any...
Hi,
1. I currently have a FileListBox setup to show only one file type using the Pattern option in VB 6. Because all files are of the same type, I would like to hide the file extensions for user friendliness. Is there a simple fix to do this? If not, what are my best options to do this?
2...
Is there some other way I can go about this confirmation? Using this [onchange=""javascript:this.form.submit();"">"] instead causes the form to submit just as I need, but without the confirmation. Is there anyway to have two onchange actions (a confirm and then a...
I've tried both of your suggestion of using only an id and then only the name, as well as removing the document.Search.SUser.focus(). Still I receive the same error. Another note, the script is being reached, however after the user confirms the error occurs.
And onpnt, you are correct about...
No luck with the quotes. Here is my exact code (the relevant stuff at least):
<script language="javascript">
//-----Display Warning Before Deleting Inventory Record-----
function DeleteWarning() {
var answer = confirm("This action will completely remove any reference of this...
This function is failing to submit the form after the confirmation is accepted. If anyone can point me in the right direction I would greatly appreciate it.
Here is the called JavaScript function:
function confirmEquipAdd() {
var cnfrm = confirm("Are you sure you wish to associate this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.