Answer Questions
SherryZ. getting text from one form to another
i know similar posts have been made based on this topic but i havent grasped this concept yet. i need to get text from my form2 to my form1. my program is my own version of a calendar and this is what i need to get my events put in the correct dates. The Date object is a numeric up down that selects the date of the event that is entered in a TextBox and I need the data in this box to go to the label Jan1 in form1, which is my problem, when an "O ...Show All
JeffBoneHead Can I access VB's symbol tables?
The company where I work makes some hardware that has to be customised for each customer. We're now simulating it in VB2005. The idea being that we can customise and test the simulation in VB before customising the real machine. In fact we've writtin a cross-compiler that converts our VB code to the native code of the hardware. The simulation shows a form with buttons in the same layout as the real hardware. Part of the customisation p ...Show All
bircantuba Visual Basic Templates disappeared from create project?
Hi, I am running Visual Studio 2005 Beta 2 and suddenly today I go to create a new project but the Visual Basics templates were gone (there was everything else but, i.e. C#,C++, Web forms). I can still open up a old Visual Basic Project and when I look at the "About" page it still shows its installed. I even went into the setting on the Start page and reset to Visual Basic initial setting but it didn't work What happened here ...Show All
Dr Cube I wan't a sample code
I am already used dao to add/update delete on simple supplier form,indentor form and buyer form. I wan't a simple souiltion as I have give above how rows are added deleted. Then how on the bases of added rows I could enter values in database. How to check new product selected in the combo box is not aready selected like all these stuff.If there is somebody knows simililar example stuff then please give me a link I REALLY, RE ...Show All
AVNIP PASSING PARAMETERS BETWEEN CLASSES
CAN YOU PASS PARAMETERS BETWEEN CLASSES IN VISUAL BASIC EXPRESS 2005 I HAV EN'T HAD ANY LUCK TRYING TO USE PUBLIC AND SHARED STATEMENTS. WHAT AM I DOING WRONG This is code for 1st form in VB express Public Class Form1 Public ANUMBER As Integer = 0 ' declare number as public Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Butt ...Show All
Joeb454 Visual Basic 2005 Epress
Maybe you can't teach an old dog new tricks but I'm trying hard to prove this wrong. I'm very new to Visual basic of any version and have started a small project in VB 2005 Express. I want to be able to have two way control of a piece of switching equipment. The task is quite simple and I have been able to communicate in one direction. I have created a "button" on the GUI which when clicked sends a command to the switching equipm ...Show All
silly1 Creating an External Resource DLL
Hello, I am new to these forums and somewhat new to Visual Basic .NET. Here's basically what I want to do: I have a lot of graphic images for my application, including icons and png files. I want to store these files in an external DLL so my application can load faster. As it is, I just have these resource files in the same project as the main EXE file. How do I put these images into an external DLL project and then reference them in my ...Show All
berndS XML
My friend has a program that reads an xml plugin, and then displays it, the xml tells it the button height etc, I really need this for something im making, i understand hat ad_handlers are used, but im at a loss for where 2 start, any helpful replies would be appreciated thx for that, although my friend decided to tell me what he did, im gonn a go with his code cause he explained it all to me so i know whats what, although i am ...Show All
Waleedead Please help with Process close and saving, also timer.sleep use
Hi, I want to be able to control a program through a vb.net window app (start, manipulate, close, and save) that has a form with a button to intiate it. As a first step I am experimenting with notepad to get the code down. I can easily create a window app that can start notepad, write a few sentences and then close notepad but focus is then immediately returned to my windows form and my subsequent sendkeys (tab & enter) that were meant for t ...Show All
Bill Calkins What is causing this error Unhandled exception
An unhandled exception of type 'System.NullReferenceException' occurred in Beam Calculations.exe Additional information: Object reference not set to an instance of an object. These are the type of lines causing the problems. I dont know how to attach the file and it is too big to post. cbxMaterial.Text is a combox on a windows form. myBeam(i, j).Material is a Structure (BEAM) I have created to simplify things a little. The stru ...Show All
PaddyK Passing data into vb
Hi all, I`m trying to code something to populate an outlook message with data from another application but i'm having problems passing the data into something which could be executed. I'm basically using the script Sub SendMailOutlook( ByVal Recipient , ByVal Subject , ByVal TextBody , ByVal From ) Dim olApp As Outlook.Application olApp = CreateObject( "Outlook.Application" ) Dim olMail As Outlook.MailItem olMail = o ...Show All
mark4asp Calling a sub while reading an array?
I'm not the most sophisticated programmer, so you'll have to forgive me as I may be approaching this totally incorrectly. One of the programs I'm working on now deals with Morse Code and different methods to output data to the user in Morse Code...example, PC beeps or with wav files. The concept is this: User selects output method, user selects demonstration and clicks play. The demonstration directly corresponds to a specific file. ...Show All
C#2.0 Combobox and printers
How to fill a combobox with all the printers avaible Here's one way: Call LoadPrinters(ComboBox1) Public Sub LoadPrinters( byRef Combo As ComboBox) Dim psPrinters As String Combo.Items.Clear ' Find all printers installed For Each psPrinters In System.Drawing.Printing.PrinterSettings.Inst ...Show All
Jayden CHan How to update a row(s) content in a datagrid
Hi everyone, I am using vs 2005 vb/asp .net and I have a datagrid that I need to allow the users the ability to update rows. I have the grid at the point where you click edit on a row and it gives you the text boxes. Once they click update I don't know how to get that value and save it to the DB. Any help would be greatly appreciated... thanks rich Hi, To understand the concepts, here is&n ...Show All
Ron Pihlgren Radio Button Data Binding
Hi All, I am a vb beginner and I was wondering how you bind a radio button to a field in a database that has choice of 2 values. For example the field in my db is CoverType and the user should be able to select Hardcover or Paperback. Don't seem to be able to do get radio buttons to represent this on my form. Thanks very much Hi Colin, RadioButton class only has a DefaultBinding to Checked propert ...Show All
