Develop A Program Structure In Very Broad Terms

Jan 22, 2009

I'm trying to develop a program structure in very broad terms. At this point, the Forms used do nothing but call other Forms and allow for their closure. After startup and initialization activities, I want the user to set up options and run the program. The program can be run again (click one button) and again with the same options, or (click another), the options can be changed for the next and subsequent runs. Clicking a third button will cause shutdown activities to be performed.

Sounds pretty simple. However, I get the options form the first time, but subsequent ShowDialog calls cause the form to pop up (I detected a Load and an Activated call) for an instant, then disappear, and the program rolls on without permitting option selection, even though the key variable NewSetup is definitely True.

Code:
Public Class RunMain
<STAThread()> _
Shared Sub Main()

[code]....

View 6 Replies


ADVERTISEMENT

How Do Publish A Vb Express 2008 Program With "terms Of Use" Clause The User Must Agree To In Order To Install The Program?

May 26, 2009

I have a program in vb express 2008 which I would like to publish in a little more professional manner than provided in the standard vb express package. I would at least like to include a "Terms of Use" document the user must agree to before installing the program. I have dovnloaded and installed web developer, c# and vs 2008. Do any of these include a professional installer? If not are there any free installer packages available? I am 72 and live on a limited budget so I cannot aford an expensive package for one program.

View 3 Replies

Develop POS Program In VB?

Aug 9, 2011

Want to develop POS program in visual basic?

View 2 Replies

Develop A Program That Will Get All The Processes?

Dec 24, 2009

i am trying to develop a program that will get all the processes in the task manager and from there, i'll get a specific application so that i will restart it. the problem is this:

I can call that specific application yet before restarting it i shall manipulate it's pause button before i can actually kill it,.HOw do i "click" the pause button on the called application? Can you help me with the code that i need to use?

View 3 Replies

Develop A Stock Program VB?

Jul 13, 2011

I'm having problems with a stock program that I'm developing. It's a program that adds a quantity of products to a field called stock quantity in a table named Stocks. In the part of adding a quantity inserted by the user it's ok, it works, but it adds to all fields in the table.I need that the user may choose also the product Id of the product to add, in order to prevent the situation above.

[code]...

View 10 Replies

Develop A Translator Using Program?

Oct 3, 2009

I have no problems with the Syntax Errors.So far the only problems I'm having are with the Runtime Errors and Logistic Errors.

View 4 Replies

Develop Webpages In Program?

Jan 7, 2012

I'm starting to work through Murach's ASP.Net 4 Web programming with vb2010.

Do I leave the 2010 studio default collection of settings from Visual Basic Development to Web Development or Web Development(Code Only) in order to follow the examples and learn to develop web pages? And are there other things I should do to set up the enviornment for persuing this.

View 1 Replies

Ebook Program Develop In VB

May 3, 2011

As I need a program to develop an ebook, I wrote one. But perhaps I am re-inventing the wheel. Does such a program already exist in visual basic, that is to say is it available in the forums? If not I am willing to upload it.

View 16 Replies

Develop A Simple Program To Sendkeys To Another?

Feb 15, 2011

I'm trying to develop a simple program which will show a form with a listbox and a button. The buttom will allow a listbox entry to be selected and close the form. The entry will them be sent to the previous open application.

For example, I could select my postcode from the listbox and have it sent to the currently selected field in my internet browser. Or the current date to my text editor.[code]...

View 1 Replies

Develop Modbus RTU Master Program

Jul 11, 2010

I want to develop Modbus RTU Master program ..

I am expert in Modbus communication and I have designed the Modbus pre-programmed remote controls ,, Now I want to interface some Modbus RTU slave devices to my own developed application ...

I am much familiar with the Modbus RTU syntax and I've tried following to initiate the the master query but I am getting initial 3 bytes ok ,, rest of the bytes are changing the values on COM port so slave is not responding to my command ..

CODE:

View 8 Replies

Develop Smart Device Using Program?

Jul 21, 2009

I dont know how 2 develop PDA system... using vb.net

View 3 Replies

Communications :: Develop Modbus RTU Master Program?

Jul 11, 2010

I want to develop Modbus RTU Master program ..I am expert in Modbus communication and I have designed the Modbus pre-programmed remote controls ,, Now I want to interface some Modbus RTU slave devices to my own developed application ... and looking for kind guidance ..I am much familiar with the Modbus RTU syntax and I've tried following to initiate the the master query but I am getting initial 3 bytes ok ,, rest of them are changing the values on COM port so slave is not responding to my command ..

******************************
Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click
Dim BYTE1 As Byte = 1
Dim BYTE2 As Byte = 6

[code].....

View 1 Replies

Develop A Program Which Input A Student Details?

Jul 14, 2011

am looking to develop a simple program which inputs a students details and prints to the output,

View 3 Replies

Develop An Inventory System Using Program With Msaccess?

Jan 17, 2009

I need to know how to develop an inventory system using vb.net with msaccess

View 1 Replies

Develop A Program That Will Allow A User To Automatically Log Into A Website With A Username And Password?

Feb 21, 2011

I am trying to develop a program that will allow a user to automatically log into a website with a username and password and click login, which works fine, However after clicking login i am trying to have the pragram click another button to submit a file. This is where the program bombs. This secondclick will work in a separate event but not in the same event as the login.

View 9 Replies

Develop A Program For Finding Location Of An Object In Cctv Camera Range?

May 26, 2012

Is it possible to develop a program in vb.net which can find the location of vehicle in a cctv camera range?if possible ,what are the APIs and technologies used for it?can any one suggest any link or the steps involved in this process...?

View 5 Replies

How Is VB6 Different From .NET In Terms Of Syntax

Apr 9, 2010

How is VB6 Different from VB.NET in terms of Syntax? what is their relationship and major differences?.

View 7 Replies

Q On Fundamental Program Structure?

Jan 27, 2009

For my application, I want to have one form ("Action Form") that (1) remains visible, (2) reports progress in a scrolling text box and (3) receives user input via clicks to its command buttons and menus.While the program runs, I need to show some results in different forms in two other windows (let's call them "Graphic Form" and "Accounting Form"), updating these as we run. You might call these Read-Only windows.

That's it. Can't be all that difficult, right? I did it in VB6 with no problems.However, in my .NET attempts, once I update information on either of the other forms, my Action Form loses focus and I can't get it back. It's there and it keeps updating, but its menus and buttons don't respond any more.

Is it possible to manage three (or more) Forms in this fashion. Maybe the other windows should be Frames or something instead of Forms, but I can't see how to do that.(It may be because I'm using "Sleep" to slow the updates to readability on the other forms. Maybe I should be using a timer.)

EDIT:It seems to work so long as I take care to update the Action Form last of all, after the others, so maybe this is a "Never Mind."However, if anyone has any ideas on how best to implement Read Only Windows for auxiliary displays, I'd like to hear them

View 6 Replies

.Net Framework 2.0 Perform In Terms Of I/O?

May 13, 2010

Having read this page, I can't believe that VB.Net has such a terrible performance when it comes to I/O.Is this still true today? How does the .Net Framework 2.0 perform in terms of I/O (that's the version I'm targeting)?

View 2 Replies

C# Vs .NET In Terms Of Tool Support?

Jan 17, 2009

While for the most part you can generate the same MSIL, there are definitely differences in tooling. PEX, for example, works much easier with C#.

What Microsoft or 3rd party tools don't work equally well for both languages?

View 5 Replies

Get A Professional Setup With Terms?

May 10, 2009

When someone else install my program on another computer, how do i get a professional setup with terms and so on??

View 9 Replies

Read 6 Structure From File Into Program?

May 19, 2011

I'm trying to convert data from a vb6 application. Using get and put I saved a structure to a file in vb6. I'm now trying to read it into a vb.net class using BinaryReader.[code]...

View 5 Replies

Add Terms And Conditions Acceptance During Installation

Jun 3, 2010

I am using VS2008 and VB.NET. Can someone provide or point me to info on how to add a Terms and Conditions form to an installation? The user would have to accept in order for the installation to continue or else cancel installation.

View 2 Replies

Are The Terms 'Function' And 'Procedure' Synonomous

Feb 8, 2009

Are the terms 'Function' and 'Procedure' synonomous?

View 2 Replies

How To Convert Fraction In Lowest Terms

Nov 1, 2010

How do you convert a fraction to the lowest available fraction. If you type in 500/1000, the program will automaticly convert to 1/2. Is there any mathematical way to do this?

View 11 Replies

Define The Nesting Structure - Modify The Program ?

Apr 18, 2010

CODE:

When the program runs out to the red code, it clewed error, the error screenshot shown as Figure 1.

I want to ask the wrong place, and how to modify the program.

View 3 Replies

VS 2008 - Class Structure For Streaming Program

Mar 30, 2010

I'm trying to implement for the first time a library. With the event sub "client_TickPrice" I want to update a textbox. However nothing happens to my form when the "UpdateLast" sub is called from there.? The code was originally inside a Module (not a class like now), and set up as a console application. Probably there is a problem with the way I wrap my code, i.e. use of classes etc. This program is supposed to receive realtime stock/futures price data. Is it still a good way to start this code with the form, or should I make some type of console application?

Public Class Form1
Dim prog As New Program
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
prog.Main()
[Code] .....

View 8 Replies

Write A Short Program - Structure The Code?

Feb 2, 2009

I'm trying to write a short program to for work but I'm not quite sure how to structure the code. This is what I currently have;[v
I'm pity sure this is majority the wrong way to structure it as at crashes with the IF/ELSE field going up to around 50000, but it does work (if a little sluggishly) when set to 5000.[code].....

View 13 Replies

Distance Between Two Points On An Image In Terms Of Pixels?

Jun 1, 2012

I'm using Visual Basic 2006 and i'm a newbie so excuse me if my question is not complete. I basically have a picturebox, in which i am displaying an image from a webcam. Now the user clicks on two points on the image and i need to get the distance between the two points in terms of the number of pixels. I did think of and try the pythagorean theorem, but i'm confused as to what units the answer turns out in. Is it in terms of inches? or pixels? Do i need to set the Scale Mode propety to pixels to get it in pixels? And if so, is there a way to get the number of pixels per inch? Sorry for asking so many questions but i've been reading other forums and i'm confused!

View 12 Replies

Searching A Set Of Data With Multiple Terms Using Linq?

Mar 17, 2010

I'm in the process of moving from ADO.NET to Linq. The application is a directory search program to look people up. The users are allowed to type the search criteria into a single textbox. They can separate each term with a space, or wrap a phrase in quotes such as "park place" to indicate that it is one term.

Behind the scenes the data comes from a XML file that has about 90,000 records in it and is about 65 megs. I load the data into a DataTable and then use the .Select method with a SQL query to perform the searches. The query I pass is built from the search terms the user passed. I split the string from the textbox into an array using a regular expression that will split everything into a separate element that has a space in it. However if there are quotes around a phrase, that becomes it's own element in the array. I then end up with a single dimension array with x number of elements, which I iterate over to build a long query.

I then build the search expression below:

query = query & _
"((userid LIKE '" & tempstr & "%') OR " & _
"(nickname LIKE '" & tempstr & "%') OR " & _

[Code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved