Use VB6 And VB Express 2008 Simultaneously?

Feb 26, 2010

i'm from Turkey. i have a question. can i use vb6 and vb express 2008 simultaneously? my os is win 7 and runs intel q6600 core2 quad, 4 GB ram. i asked becasue i have no idea what will happen when i do this.

View 1 Replies


ADVERTISEMENT

VS 2008 Opening Multiple Web Pages Simultaneously?

Nov 6, 2009

I'm writing a program which gets the time and date from forums which only show "x hours ago" on the main thread list.What I do is get a list of threads, open their print version and fetch the info.I'm currently using a single webbrowser, because there's no control array anymore. This makes the proccess very slow.Is there a way to open all the threads' print versions simultaneously?(BTW, I'm using DOM functions like GetElementsByTag, so I'll need to get the page's "Document" object.)

View 8 Replies

VS 2008 Scroll Multiple Listboxes Simultaneously?

Apr 16, 2009

I have three listboxes with vertical scroll bars. I'd like it so that when one is scrolled, so are the others. However, I can't seem to find a "scroll" event. I tried this:

vb.net
Public Scrolling As Boolean
Private Sub ListBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListBox1.MouseDown
If e.Button = MouseButtons.Left Then

[code]....

It works when you click and drag on the listbox area where the items are, but not when you click on the scroll bar!

View 4 Replies

VS 2008 Vertical Scrolling Of Two Textboxes Simultaneously?

Feb 18, 2010

I have a text box with the names of student and another text box with their grades side by side in the same order..

I want to synchronize the Vertical scrollbar of both the text box to a single scroll bar such that when i move it the contents in both the textbox moves simultaneously.

I want the code to synchronize both the textbox with a single scroll bar...

View 5 Replies

VS 2008 - Split Files Into Several Parts And Download Simultaneously

Apr 27, 2011

I want to download a file using httpwebrequest and I want that file will be Split into several parts and download them simultaneously. Is it possible with httpwebrequest ?

View 12 Replies

Implement Calendar With .net Express 2008 And MSSQL 2008 Express?

Sep 21, 2009

how I can implement my calendar with VB .net express 2008 and MSSQL 2008 Express. How do I get it to work with datasets, binding source etc.If I go to Properties>settings my connection string is:

Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|CalendarDatabase.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True

and I have a table with fields:-

CalendarID
Subject
Location
Purpose

[code]....

I can Add the event to the calendar I have the necessary items on my form linked to my table and I can save them to my table:

Me.Validate()
Me.CalendarTableBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.CalendarDatabaseDataSet)

But I cant keep the event displayed on my calendar when I close it and open it again.

View 1 Replies

Proper Update And Delete Code For SQL Express In 2008 Express Edition?

Oct 3, 2011

I'm just using the default SQL Server Express in my vb 2008 express edition as my database server for my database operation. When I tried to update the records on my table I got a runtime error which indicates the error on this line 'myCommand.ExecuteNonQuery()'and it highlights a yellow background on it. The runtime error says "SqlException was unhandled: An expression of non-boolean type specified in a context where a condition is expected, near 'Number'. ".

Imports System.Data.SqlClient
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim myConnection As New SqlConnection
Dim myCommand As New SqlCommand

[code]....

View 3 Replies

Unhandled SqlException In VB 2010 Express Thta Does Not Occur In VB 2008 Express?

Oct 16, 2010

I tried to start using VB 2010 Express with a program I originally developed with VB 2005 Express that I moved to VB 2008 Express successfully a couple years ago. It uses a database file (*.mdf) that is on the computer ( not out on a server). When attempt to run the program in debug mode, I get the following error "An attempt to attach an auto-named database for file C:Documents and SettingsTomMy DocumentsQuizzing StuffQuestion Database 2010QuizQuest ionGameQuizQuestionGameinReleaseQuizQuestionDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share."

I first made a copy of the entire project folder that was working in VB 2008 Express and gave it a different name. In VB2010 I opened the project in the copied folder and it said it successfully converted the project. I am able to open the Data Source inthe Designer and see the database structure as I expect. I think the project is still using SQL Server 2005 Express (because it is what is checked in the list of prerequisites on the Publish tab).

Note, I have programmed off and on for many years, but fairly new to using databases and SQL Server.

View 3 Replies

Connecting VB 2010 Express To SQL Server 2008 Express Database Via IP

Feb 29, 2012

Here is the scoop: I am trying to make a user account SQL database work with Visual Basic 2008 Express for login purposes, i.e. usernames & passwords. Plan is to host this server so people can login to use the the application and verify they have a valid account. I would like to host all the account information in SQL due to the possiblity of hundreds of users at any given time. I also need the ability to add data to the database for users registering for the first time. The SQL server will need to be able to access the SQL Server databases remote via WAN.

View 1 Replies

INSERT Or Update In SQL Server 2008 R2 Express In VB 2010 Express

Jan 21, 2011

I am trying to re write a VB6 program using MS Access, many years ago, using VB 2010 express and SQL server 2008 R2 Express. I have a database with several tables, which I created using the designer. I am able to connect to the database and select data and display it in textboxes etc in vb code. What I have not been able to in code is to INSERT rows DELETE rows or UPDATE any data in the tables. I can do any of these operations using the Query Designer, but I want to do it in code. I can post some code if necessiary, but I thought it might just be some property that I had not set in the designer.

[Code]...

View 13 Replies

Connecting VB 2010 Express To SQL Server 2008 Express Via IP

Feb 29, 2012

there Dream in Code Community! Im an okay programmer as far as skill right now I am still learning as we all are I need some help from some experienced VB.NET programmers in the community, Here is the scoop: I am trying to make a user account SQL database work with Visual Basic 2008 Express for login purposes, i.e. usernames & passwords.

[Code]...

View 2 Replies

Converting A VB 2005 Express Program To VB 2008 Express

Feb 24, 2010

The program I am trying to modify was initially written using VB 2005 Express. I have subsequently downloaded the 2008 version. The program creates a monthly spreadsheet from a template. The old code that will no longer (highlighted and underlined) compile is as follows:

[Code]...

View 4 Replies

Connecting To SQL Server 2008 Express From VB 2008 Express?

Mar 5, 2010

I'm using VB 2008 Express for our College Project. I'm also running SQL Server 2008 Express and have installed SQL Server Management Studio and used it to create my database. Both software have been installed and running locally. I'm trying to connect to the database from VB 2008 Express. Database connection wizard have 3 options:

connecting to Access db
connecting to SQL Server 3.5 compact db and
connecting to SQL Server db file.

[code].....

View 1 Replies

Connecting VB 2008 Express To SQL Server 2008 Express

Jan 7, 2010

I have SQL 2008 Express and Visual Basic 2008 Express runing on XP Professional SP2. When I select add new data source from VB I don't have the option to connect to SQL Server 2008 express to get at the to SQL Server Database. I also notice that the OLE DB connector is not availble as a data connector. Can somebody please confirm that VB 2008 Express can connect directly to SQL Server 2008 Express and how I can achieve it.

View 5 Replies

Use VB 2008 Express And Connect To A DB Of SQL Server 2008 Express?

Jan 7, 2009

'm trying to use Visual Basic 2008 Express and connect to a DB of SQL Server 2008 Express but ... you can tell me why in the Database Explorer and the Data menu of VB only have the following options for data source? Microsoft Access Database File Microsoft SQL Server Compact 3.5 Microsoft SQL Server Database File does not have the options Microsoft ODBC Data Source Microsoft SQL Server obs.: I have the Visual Web Express 2008 installed, and there are the options available.

View 10 Replies

VS 2010 Connecting VB 2010 Express To SQL Server 2008 Express Database Via IP

Feb 29, 2012

I am trying to make a user account SQL database work with Visual Basic 2008 Express for login purposes, i.e. usernames & passwords. Plan is to host this server so people can login to use the the application and verify they have a valid account. I would like to host all the account information in SQL due to the possiblity of hundreds of users at any given time. I also need the ability to add data to the database for users registering for the first time. The SQL server will need to be able to access the SQL Server databases remote via WAN.

View 3 Replies

C# - Run The Same Task Simultaneously?

Apr 20, 2009

I have a MDI WinForms application that can perform several tasks. Each task is running as a backgroundWorker.What is the good approach to control the running threads:check whether the specific thread is running stop specific thread ?For example it shouldn't be possible to run the same task simultaneously.May be I need a separate class where I can store isTaskRunning variable?

View 1 Replies

Asp.net - Logging In Simultaneously In Two Websites?

Aug 17, 2011

I have two websites "WEBSITE 1" and "WEBSITE 2"...now i want that when someone logs in to "WEBSITE 1" he does not have to log in to "WEBSITE 2" and vice versa...ie when he/she logs in to any one of he websites and opens the other one simultaneously he/she does not have to login to the other one.For eg :- when you are logged in in gmail...you do not have to log in in youtube or orkut or google+

View 1 Replies

How Many Buttons Are Pressed Simultaneously

Sep 16, 2009

[code] 'The description for the state.getbuttons() is:'Public Function GetButtons() as Byte (is a array of buttons).'The high-order bit of the Byte is set if the corresponding button is down, 'and clear if the button is up or does not exist.This code is used to show if certain buttons of a GamePad/joystick are pressed using the DirectInput method (DirectX SDK).This code shows how many buttons are pressed simultaneously. So 00 for zero and 00 01 if two buttons are pressed. I would like to know what button exactly is pressed (some kind of unique code for each button). But I can't get it done.

1. Is there a way so show all the bits inside the state.getbuttons()? (maybe there is a unique combination for each button).

2. What does &H80 mean?

View 8 Replies

How To Loop Through Two Lists Simultaneously

Apr 12, 2011

I have referred to the following question at: Using foreach loop to iterate through two lists. My question is this, with regards to the chosen answer: Can the o.DoSomething be a comparison? As in:

For Each a in ListA.Concat(ListB)
If(a from ListA=a from ListB) Then
Do Something here
End If
Next

I'm using VB.Net and would like to know how I can do what I have shown here. That would basically be to iterate through a joined list separately/independently.

View 4 Replies

Login And Popup Simultaneously?

Jan 18, 2010

ok im reposting this question cause i got some off track answers last time.I have 3 aspx pages - page1, login and page3. Now when i goto login page from page1, after i login and goto page3 i should be able to open a popup on that submit and the login should change to page3. but if i goto login page directly, the popup should not open and the login will goto page3 as normal design. how can i achieve this?

View 1 Replies

Way To Load Form Simultaneously

Mar 11, 2010

I have two form the parent form with the menu list and the child form. I want to show the two form simultaneously or the main menu first and then the child form.

View 13 Replies

.net - Two Timers Running Simultaneously And Independently?

Oct 27, 2011

I want to expand it a little bit and add a second timer that runs parallel to the first timer, but is not affected in any way shape or form by the first timer.

Ive tried nesting the second loop in the first loop but the second loop takes 3 seconds to complete (I use thread.sleep(3000)), so I found that it froze the first loop till the second loop finishes. I was reading about system threading (System.Timers.Timer) and it seems like that is the route I want to go.

I wrote this quick as an example:

[Code]...

I cant use the timer1 to set off the second round of events because of the thread.sleep. I was hoping that the code above puts the second thread to sleep while the windows.form.timer continues on ticking every 1000 ms

View 3 Replies

Can't Simultaneously Instantiate Multiple Forms?

May 5, 2010

I used different backgroundworkers to instantiate some 'heavy' forms thinking that it will reduce the time to instantiate them if I did them at once but it looks like I am wrong since it is still taking about 43 seconds to load all of them. Am I missing something or do you have a tip on how I can speed up their instantiation?

View 15 Replies

Extracting And Updating SQL Database Simultaneously?

Nov 22, 2011

I wrote a function that returns the number in a particular field, my issue at the moment is how to update that field before i return the previous value i collected from the field. i am seeking any guidance available. Enclosed is the function i wrote.

Function GetTransactionNumber() As Int64
Try
GConn.ConnectionString = GConnstr

[Code].....

View 3 Replies

LINQ Query 2 Arrays Simultaneously?

May 12, 2011

how can i query 2 arrays simultaneously?for example:

dim string1() as string = {"a","b","c"}
dim string2() as string = {"d","e","f"}
dim string3() as string = ? 'linq query that selects all elements in string1 + all elements in string2

View 7 Replies

Move Multiple Sprites Simultaneously?

Jun 18, 2011

Not wanting to hijack 45minutes thread, I thought I might spawn a thread of my own based on his question.

PlausiblyDamp was kind enough to provide some generic code, which I have modified and attached.

I have made a few alterations mostly around removing random objects, as the game in question (Space Invaders) has a set amount of aliens and set starting positions.

As a start I have limited the UpdatedPostion to horizontal movement as the aliens only go side to side unless they hit an edge.[code]...

View 15 Replies

Multiple Shell And Wait Simultaneously?

Feb 18, 2010

I am creating a GUI that monitors the entered application and if the application crashes the GUI starts the application back up. Problem is to run this application (WoW Private Server) I need 3 running applications. Is there a way to shell and wait 3 applications all at once. OR if i was to create a separate console application who's only job was to start the three applications at once how would I pass the application variable?
Here is my program thus far: [URL]

View 8 Replies

Run The Same Task 5000 Times Simultaneously

Sep 28, 2011

I have an app that I query a database for IP information, then Ping the IP's and log the results to a database. This takes a long time (testing with 200 takes about 5 minutes as they are all sites across public internet) due to waiting for response from 1 ping before sending the next ping for the next site.

[Code]...

View 5 Replies

Using Two Rows Simultaneously In Datagrid View

Feb 12, 2012

I have a datagrid structure made below.

[Code]...

how can i use two rows at same time to calculate the date diff ? so that date diff is calculated automatically and inserted in the cell.

View 2 Replies







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