Introduction - How Do Programmes Execute

Oct 13, 2009

how do vb.net programmes execute ?

View 1 Replies


ADVERTISEMENT

Converting VB6 Programmes To VB 2008

Mar 25, 2009

I have been converting my VB6 programmes to VB 2008. many of the problems that came up I have been able to solve; mostly by trial and error. However, I have one problem that was easy to handle in VB6, but I don�t see how to do it in VB 2008. I have checked Google, but didn�t find anything exactly similar to what I want to do.

On my form in VB6 I added two text boxes, each with it�s own name. I then copied these two and pasted them back onto the form, under the original textboxes, 5 times. Each time I was asked whether I was creating an array; I confirmed that I was.

I could then code as follows:

For x = 1 To 6
BidderName(x) = txtBidderName(x)
BidderCommunity(x) = txtBidderCommunity(x)

[Code]....

I tried to do the same thing on my VB 2008 form, but it does not ask whether I was creating an array, and in fact the array of textboxes on the form, is not an array!

how I get around this. The form has to show an array of textboxes, which are entered in order.

View 10 Replies

Run Existing Multiple Programmes In A .net Window?

May 12, 2009

I wanted to do somthing like this. I want to create a set up file using vb.net that running 5 setups.Here is the procedure that has to do

1. User install the 1 set up file

2. then all that 5 setups should be installed

3. then 1 icon should come to the desktop

4. after click on that icon user will get 1 window that seperated into 5 and above mentioned all 5 programmes should running in that window

View 6 Replies

Two Separate Programmes - Messgae Passing?

Mar 6, 2012

I am currently have two independent VB programs running. How is the easiest way of passing messes from one programme to another.

I am unsure, but I assume that you have to use some memory addressing of some kind but I am unsure if this is the correct approach ?

View 7 Replies

VS 2010 - Finishing An Assignment For Introduction To VB Class?

Nov 17, 2011

I'm trying to finish an assignment for my Introduction to Visual Basic class. I have to program an application that will determine if a word entered has consecutive letters in the alphabet as a substring of itself. Three examples are T"HI""RST"Y, AF"GH"ANI"ST"AN, and "STU""DE"NT.This is what I have so far:[code]....

However, it doesn't run properly. It says I'm trying to refer to a location that is out of bounds, although I don't see why.

View 12 Replies

Introduction To Visual Basic 2010 Express Edition?

Jun 24, 2010

I am new to Visual Basic. The only programming I have played with thus far is Perl and some Python in script writing for Paint Shop Pro. (if that is acually programming) I found a tutorial on About.com "from the ground up" with a link to download VB 2010 and when I tried to install the vb_web file I got this error:C:usersuserAppDataLocalTempSit24308reboot.ini cannot be opened. I did a computer search and found this file was not in the Temp folder. The install just hung and I could not cancel or retry. I shut down from task manager. When I looked in add emove there was not a Visual Basic listed. I couldn't tell if there were any other files that were added even though VB is not listed. There seems to be more C++ files (which came installed on my laptop) but I'm not sure if there are more of these C++ files.

I have searched for a week and cannot find a tutorial of how to install this program. I see VB 5, VB 6 and VB 2008. I also see a file for Microsoft Web Platform Installer, but it does not say if I need to download and install this file in order to download Visual Basic 2010 Express. I keep going in circles with my searches and always end up back where I started which is at the Visual Basic 2010 Express download page.

View 5 Replies

Pasting From Clipboard Into Introduction Section Of Email In MS Word 2003?

Jul 19, 2009

I have a form to email every day that compiles from a VB script I wrote in MS Word 2003. Each day I have text that I need to place in the Introduction area in the email. I usually do this manually by copying the text then pasting it into the Introduction box since the text is usually just snippets of emails and have no common pattern. I would like to have a way to be able to select my text and copy to the clipboard, then run my script and have the contents of the clipboard pasted into the Introduction by the script so the email can then be sent.

Everything works perfectly if I place static text for the Introduction. I just need a way to be able to place the contents of the clipboard into the Introduction.

View 1 Replies

Execute Scalar Vs Execute Reader?

Feb 25, 2010

[Code]...

how can i get this code to return all values instead of just the first value ?

View 30 Replies

Execute A SP From A VB App?

Sep 1, 2009

i have a stored procedure that updates TableA with data from TableB when i run it from SQL managment studio it workes, so the SP is error FREE, all i need is to execute this from a button click event.

i tryed this:

Try
Dim cnn As New SqlConnection(My.Settings.sqlCn)
Dim cmd As SqlCommand = cnn.CreateCommand

[Code]....

View 2 Replies

VS 02/03 Execute Only If The EXE Is Not In The IDE

Jan 15, 2010

I have code I want to execute only if the EXE is not in the IDE. How can I determine when I'm running outside the IDE?

View 8 Replies

Error In Execute SQL

Jun 6, 2011

i just want to ask why this error mean?InvalidOperationException was unhandled by user code//The provider could not determine the String value. For example, the row was just created, the default for the String column was not available, and the consumer had not yet set a new String value.

View 8 Replies

Error When Execute .net Exe

May 31, 2010

I've been running the exe file ok but recently I got this error. I suspected it could be because of the windows update which the IT technical had run earlier. Anyone knows what's the cause of this error? Please see the attachment for the error.

View 1 Replies

Execute A .cmd File In VB6?

Nov 24, 2010

I have a sample.cmd file that has the following code.

dir/b/p D:Satheesh > TableOfContents.txt

When I run the bathc file seperately I can able to get a text file that contains all files in the folder.

But when I execute the cmd file from VB code using Shell function, I am not getting the text file created.

View 2 Replies

Execute A Btnclick From A Sub?

Jul 7, 2009

I have a BindingNavigatorMoveNextItem_Click event and I want to execute btnSave_Click() event.. its asking for e args, what do I use as args?em.EventArgs) Handles BindingNavigatorMoveNextItem.Click

View 4 Replies

Execute One Form From Other?

Jun 6, 2011

[code]...

how Can I call privileges.vb from the btn_next_begining?

View 1 Replies

Execute Sql Query On .net?

Jan 30, 2012

ALTER DATABASE test SET ENABLE_BROKER this is the sql query i wish to execute while program is executing.because i do not want to everytime i change computer also need open sql management tool to execute this query rath

View 3 Replies

Execute Two Commands At Once?

Dec 31, 2009

catch statements - it works well just checking my disk drive for a file, if an error is thrown then I open the disk tray and ask them to put the disk in, click OK on the message box and it performs another check for the file, if this fails the button that starts all this is disabled on my main form (the code is shown below).

Okay, so my problem is I'd like to have the message box pop up and the have the drive open up (using an API which I have) either at the same time or in the order of: message box then drive open. I can see two ways to do this: Have the commands happen at the same time (Can you even do this?) OR Have the message box appear and then open the disk drive (but how I could achieve this I don't know as the message box waits for the user to click OK... I originally though of starting a timer just before and getting it to open the disk drive tray in the tick event,

Code:

Public Class Form1
'open cd-rom tray API
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal _

[Code].....

View 5 Replies

How To Execute A *.bat File

Jun 3, 2010

I created a *.bat file : osql -Usa -Paugust -SNgocThach -iMYDATABASE.SQL When it run at cmd, it ok. My database has just been setup. Now, I want to setup my database use VB.NET. How can i do

View 1 Replies

How To Execute A Jar File

Aug 31, 2010

For example I got Form1. And I want to get a jarfile inside it just like its possible for .swd and .pdf files.I thought of something like a webbrowser, going to a page with the jar file, but that Isnt really brilliant as the webbrowser might be slow, or cause problems.

View 1 Replies

How To Execute Exe Via Code

Jun 25, 2010

for example there is a file named abc.exe in c:

what would be the code for executing this file?

View 8 Replies

How To Execute Program

Mar 29, 2011

My basis of my programForm 1 has functions, which are controlled through button1 which sends an email, At the end of the send email function I have Dialog1.ShowDialog() Which opens Dialog1 to say "Email has been sent" With a button, I want this button to execute the whole program, How do I do this?

View 2 Replies

How To Execute VLC Player

Sep 21, 2010

I'm trying to play a video file by executing the player file and calling the "open" method. Although it works perfectly on GOM player, it does not work in VLC player, Windows Media Player and BS player. I tried other methods instead of "open" such as "url", "play", etc. but they are useless. Below the working code is shown:

Dim PlayerPath As String = "C:Program FilesGRETECHGomPlayerGOM.exe"
Dim process As Process = New Process
process.StartInfo.FileName = PlayerPath

[code]....

View 2 Replies

Make It Execute (.exe)?

Oct 7, 2010

about execute a program, what do I have to do in order I can make the program run on any other computer. I have a program on a floppy disk, and I have a copy on my desktop. when I run the program on my desktop it always say "File not found", when I put the floppy disk it's working fine. So, is there anything I can do, to make it run on any other desktop without saying "File not found"

View 10 Replies

Next Condition Won't Execute

Sep 15, 2011

I'm trying to read data from database.

If objReader.Read = True Then
If objReader("cell") IsNot DBNull.Value Then
Me.txtContact.Text = Trim(objReader("cell"))

[code]....

Problem is, no data displays if cell is empty.

View 8 Replies

VS 2010 How To Execute If Not

Jan 20, 2011

How do i write in If not on vb2010??

View 1 Replies

.net - C# How To Add A Code To Execute At Runtime

May 31, 2012

I know this requirement may seem weired to many of you but it is one of my project requirement.Is it possible to add code in Sp and execute in .Net exe. Like on button click i call one SP that SP returns few line of code and then program execute the code.

View 4 Replies

.net - Execute DOS Command And Get Its Output?

Mar 29, 2010

I'm wondering, in Visual Basic 2008, how to execute an external dos command and get its output without help of an intermediate file (to speed up)?

View 1 Replies

C# - Execute A Minitab Command Via .NET?

Jul 1, 2010

Its something in the syntax for the command.

They provide this example in VB:

Dim MtbApp As New mtb.Application
Dim MtbProj As mtb.Project
Dim MtbCom As mtb.Command

[Code]....

what I'm expecting should happen is Minitab should open, and the command should execute. However, whats happening is that two instances of Minitab are being opened and neither are showing user interface, I have to find them in processes.

View 1 Replies

C# - Execute ClientSide Before ServerSide In ASP.NET?

Aug 5, 2010

I am using ASP.NET 3.5. When the user click on say btnSubmit I want to first execute some JavaScript code and then execute some C#/VB.NET code.

Is this possible? If so how would one do it?

View 5 Replies

C# - Execute Photoshop Action From VB UI?

Jun 9, 2012

I am trying to run photoshop action from VB interface. can any body guide me on how should i proceed.

View 2 Replies







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