Visual Basic Orcas - Visual Studio Orcas
Recent update: 2008-3-21

DataGridView Column Header Backcolor change not working

688 byte By Craigton at 2008-3-7
Hi, I've tried to change the backcolour of the Column Headers in a DataGridview but making the change in the properties or in code has no effect e.g. the following code statement doesn't cause any change With dgv .ColumnHeadersDefaultCellStyle.BackColor = Color.Beige end with What am I ...

Custom Tool generates C# code for a VB strongly typed dataset - bug or feature?

486 byte By ChrisN at 2008-3-6
Using VS Web Developer 2008 Express Edition I create a strongly typed dataset (.xsd) in the \AppCode directory, setting the language as VB at creation time.The generated code, viewable in Class View, comes out in C#, making it impossible to add partial classes (since I'm a VB developer).Could ...

MethodAccessException with Activator.CreateInstance

1403 byte By INVENTBroadcast at 2008-3-5
Hi I have a simple windows application project (MyProject) with one Form (MyForm) and one user control (MyControl) I'm trying to create a new instance of MyControl by using the Activator.CreateInstance method, this failed with the inner exception: System.MethodAccessException ...

VS 2008 Beta 2 can install with VS 2005 SP1 with WPF extensions?

376 byte By RobAinscough at 2008-3-3
Just wondering if I will run into any problems running both VS 2005 SP1 + WPF extensions and VS 2008 Beta 2? Also, do I need to migrate VS 2005 .NET 2.0 based classes for VS 2008 or can I keep reference my existing .NET 2.0 projects from within VS 2008 with cause them to crash and burn when ...

VB.NET 2008 - changing framework version?

524 byte By Alex-MyRpg at 2008-3-1
Hi,I've downloaded VB.NET/VC#/VWD 2008 (Express editions), and hearing that they allow you to change between .NET FX version 2.0, 3.0, 3.5, I found that this was easily possibile with VC# 2008 but not VB.NET (or VWD), since they did not have a drop down box in the Project window like VC# did. ...

Non- exisisting help files

373 byte By stargate1 at 2008-2-28
I have downloaded the new 2008 version of visual basic. When I drill down into the help files and click on a subject I am thrown only to the online version and the page displayed is the generic " The page cannot be displayed" error page. Do I have a currupt help files, or have these ...

Handle event from another class.

1010 byte By Aybe81 at 2008-2-27
Hello,I'm trying to do this simple thing but it doesn't work,Public Class Window1 Protected Friend Overridable Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click End SubEnd ClassPublic Class UIL Inherits Window1 Protected Friend ...

VB.NET 2008 - changing framework version?

524 byte By Alex-MyRpg at 2008-2-26
Hi,I've downloaded VB.NET/VC#/VWD 2008 (Express editions), and hearing that they allow you to change between .NET FX version 2.0, 3.0, 3.5, I found that this was easily possibile with VC# 2008 but not VB.NET (or VWD), since they did not have a drop down box in the Project window like VC# did. ...

Lambda does not support no return value in variables

1897 byte By JoshBernard at 2008-2-25
I am beginning to play with Lambdas and I came across something that I cannot figure out. I am iterating through my list and printing them to the screen using a lambda but I then tried to assign my lambda to a variable and I get an error. Code Works: Code Snippet Dim people As New ...

ReportViewer image is not showing.

348 byte By imtiyazalam at 2008-2-24
I have embedded image in my report and using reportviewer in .ascx page but image is not showing in page though all data are showing properly. When I export the report in PDF/XLS images are showing properly. I am using visual studio 2003 for reporting and Visual studio 2005 for web ...

MethodAccessException with Activator.CreateInstance

1403 byte By INVENTBroadcast at 2008-2-23
Hi I have a simple windows application project (MyProject) with one Form (MyForm) and one user control (MyControl) I'm trying to create a new instance of MyControl by using the Activator.CreateInstance method, this failed with the inner exception: System.MethodAccessException ...

VS 2008 Beta 2 can install with VS 2005 SP1 with WPF extensions?

416 byte By RobAinscough at 2008-2-22
Just wondering if I will run into any problems running both VS 2005 SP1 + WPF extensions and VS 2008 Beta 2? Also, do I need to migrate VS 2005 .NET 2.0 based classes for VS 2008 or can I keep reference my existing .NET 2.0 projects from within VS 2008 with cause them to crash and burn when ...

WHICH ASSEMBLY OR REFERENCE NEED OF FOR ORCAS VB 2008 PROJECTS ?

229 byte By Mür?itHakan??L at 2008-2-22
<font face=Arial size=2></font> My programs can not install into another machine,if it has not got VB Program.How can I realise it ? Which assembly or reference must be included ? Mür?it Hakan ??L

Report Viewer Componenet

387 byte By MartinHooper at 2008-2-21
I've watched Beth Massi's video on reporting in Visual Basic using the ReportViewer component and I can't find it in Beta2 of VB Express on Vista. Can I download a copy of the Viewer from somewhere and if not will it be in the finished version? ...

Intellisense issue with CodeSnippets

332 byte By BenjaminGopp at 2008-2-20
The new intellisense features in Orcas are great! But, it's kind of desturbing that codesnippets won't get executed when pressing the TAB key. For example: - CodeSnippet shortcut: p - writing p - pressing TAB - keyword "Partial" is written on the screen Benjamin ...

xaml form fails to run after installation

6419 byte By kurtjm at 2008-2-19
I have a Windows Forms application. Created in VS2005 w/Orcas, using .NET 2.0/3.0. The application consists of 3 forms, all of which are displayed when the application starts. One of the forms is a xaml form. The application runs just fine in debug mode. Today I finally published the ...

Wrong IntelliSense Member List for Some Lambda Functions in LINQ Queries

625 byte By RogerJennings at 2008-2-18
Orcas June 2007 CTP: When using the method call syntax for LINQ queries, the wrong IntelliSense member list appears for lambda functions between the Where and Select method calls (e.g., OrderBy and ThenBy). The problem occurs only for VB, not C#. Full details are in the Orcas and Entity ...

integer into textbox but...

558 byte By CAxeMan at 2008-2-17
i thought this was the proper way to do it, but gives me error... how should this look? Dim Date1 As Integer = 1 Dim Date2 As Integer = 0 Dim Datestart As Integer = 0 Private Sub Druggy_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Datestart = 0 Then ...

Project Settings "My Extensions"

128 byte By BenjaminGopp at 2008-2-16
Hello VBTeam can you tell me what I can/will do with the new "My Extensions" feature? Benjamin

Change IntelliSense Display Duration

398 byte By minx at 2008-2-15
Is there any way to increase the duration of tooltips that popup in intellisense? For e.g., the yellow tooltip that pops up when one types MessageBox.Show or Date.Today. They disappear too fast, especially for more complex tooltip descriptions. I looked in the Visual Studio options, but did not ...

Partial Method Syntax is Wierd...

538 byte By KlausEvenEnevoldsenDK at 2008-2-15
I have been looking at the June 2007 CTP and saw the Partial Methods in action for the first time (in the autogenerated code for the DataContext in "LINQ To SQL".Why do you have to write "End Sub" when there cannot be any implementation between "Sub "and "End ...

VBA Macro for Word Mail merge

17495 byte By Seawolf68 at 2008-2-15
I have created an Excel Macro to manipulate data in an excel spreadsheet save it then open a Word template in order to do a data merge. I do both a letter and then envelopes. Here is my problem. Sometime it runs great all the way through. Other times I get the following: Run-time error ...

Partial Method Syntax is Wierd...

538 byte By KlausEvenEnevoldsenDK at 2008-2-15
I have been looking at the June 2007 CTP and saw the Partial Methods in action for the first time (in the autogenerated code for the DataContext in "LINQ To SQL".Why do you have to write "End Sub" when there cannot be any implementation between "Sub "and "End ...

Project Settings "My Extensions"

128 byte By BenjaminGopp at 2008-2-15
Hello VBTeam can you tell me what I can/will do with the new "My Extensions" feature? Benjamin

The underlying connection was closed: The connection was closed unexpectedly.

152 byte By PAPutzback at 2008-2-14
I added the 2.0 code from a visual studio 2005 project and I get this error when I tried to get a list(of String) of the directory contents. Any ideas?

Has FTP been improved since the 2.0 version using WebRequests

58 byte By PAPutzback at 2008-2-14
Is there a better way to handle FTP in the 3.5 framework.

Project upgrade from VS 2003 .NET 1.1 to VS Orcas .NET 3.5

874 byte By digioz at 2008-2-13
Hello All, I have an Enterprise type software which was initially written in Visual Studio 2003 and currently uses .NET Framework 1.1. What I am trying to do is to upgrade this project to a Visual Studio Orcas (VS 9.0) and have it converted to use .NET Framework 3.0 or 3.5. Does anyone have ...

Int128 and Uint128 question.

548 byte By Spidermans_DarkSide-MSP,VSIP at 2008-2-13
Hi, If a 32 bit PC can work up to Int64 and UInt64, then does "Orcas", (now officially "Visual Studio 2008"), automatically detect a 64 bit processor and support Int128 and UInt128 ? If not why not? Surely a 64bit processor can handle 2 lots of 64bit registers? I've ...

VBA Macro for Word Mail merge

17495 byte By Seawolf68 at 2008-2-12
I have created an Excel Macro to manipulate data in an excel spreadsheet save it then open a Word template in order to do a data merge. I do both a letter and then envelopes. Here is my problem. Sometime it runs great all the way through. Other times I get the following: Run-time error ...

Bad Example of VB Method Call Syntax for LINQ Queries in Online Help

2241 byte By RogerJennings at 2008-2-11
Orcas June 2007 CTP: Online help's "Lambda Expressions [VB]" topic provides the following as a code example in the "Lambda Expressions in Queries" subtopic for method call query syntax: Dim londonCusts As IQueryable(Of Customer) = _ db.Customers.Where(Function(c) c.City = ...

Wrong IntelliSense Member List for Some Lambda Functions in LINQ Queries

625 byte By RogerJennings at 2008-2-10
Orcas June 2007 CTP: When using the method call syntax for LINQ queries, the wrong IntelliSense member list appears for lambda functions between the Where and Select method calls (e.g., OrderBy and ThenBy). The problem occurs only for VB, not C#. Full details are in the Orcas and Entity ...

New, Improved (and Dropped) VB Lanuage Features in Orcas June 2007 CTP

619 byte By RogerJennings at 2008-2-10
How about posting a list of the new, updated, and deleted features and bug fixes in Orcas June 2007 CTP? I assume that most of the features and fixes promised for Beta 2 will be in this drop, but confirmation would be appreciated. Thanks in advance, --rj P.S. You can get more info on the ...

VB Intellisense Missing in ASP.NET File System (Web Site) Projects

524 byte By RogerJennings at 2008-2-8
Intellisense (Auto list members and Parameter completion) for ASP.NET file-system (Web Site) projects are missing for VB in Orcas Beta 1 as well as Visual Web Developer Express June 2007 CTP running under Vista Ultimate. I've been working with ASP.NET Web Applications so far in Orcas Beta 1, ...

TabControl Anomaly

565 byte By Craigton at 2008-2-8
Hi, I created a simple TabControl with 2 tabpages and, using the Collections mechanism, set the backcolor to Desktop; it seemed to work OK but when I went back to the IDE the colour had not been implemented. I can do a code behind and set each TabPage backcolor. On a related point, when I do ...

advanced databinding in orcas?

901 byte By BenjaminGopp at 2008-2-7
To whom it may concern, will orcas support advanced databinding? Or will the datasource dialog be the same as in VS2005? I'd like to see more declaritive databinding support. For instance my busines layer is fully equipped with TypeConverter, TypeEditor etc. If I bind my object to the ...

How to chage the cursor of a form to a costum cursor in the app folder?

179 byte By frxstrem at 2008-2-7
Hi. I want to change the default cursor of a form to a costum cursor in the project's folder. Is there any code for doing this? Thanks, Fredrik ?.

Check if a file exists on internet

411 byte By frxstrem at 2008-2-7
Hello. I'm creating a text-based download application (in Visual Basic Codename "Orcas" and .NET Framwork 3.5). Is there any way to check if there exists a file on the fromloc filepath on the internet? (I use fromloc as the internet file location and toloc as the output file ...

THE SETUP PROJECT TYPE IN ORCAS - HOW TO CREATE A UNINSTALLER SHORTCUT

233 byte By frxstrem at 2008-2-7
Hi. I've created a little application, and now I'm creating a setup for it, but is there a way to create a shortcut to the uninstaller in the start menu (or any other place)? Thanks, Fredrik ?.

Help!

962 byte By Mani.kandan at 2008-2-6
HiI have small problem when i execute my EXE file. I have developed windows based application using C#.Net.i have build my package and installed my new box sucessfully. The problem is when i execute my exe like Noodle.exe its getting firewall protection alert message. Its saying Noodle.Exe has ...

Status of Collection Intializers in VB 9.0?

1060 byte By RogerJennings at 2008-2-6
All mention of collection initializers for VB 9.0 has disappeared. The topic was covered briefly in the September 2005 "Overview of Visual Basic 9.0" doc file, but the current HTML Overview of Visual Basic 9.0 version discusses only object initializers and array initializers.Will ...

Collection Initializer

176 byte By JeffB. at 2008-2-5
I've been trying to find the correct syntax to use for collection initializers within VB.NET (in the March CTP). Can someone give me an example of how to do this in VB?

ClickOnce

359 byte By ALAN456 at 2008-2-5
In the final Express version will the following be addressed please:An option to show a Licence dialog without having to edit the XML.A better looking Licence dialog - the one in 2005 is primitive to say the least!An option to run any obfuscator on released programs, again without having to ...

TabControl Anomaly

559 byte By Craigton at 2008-2-4
Hi,I created a simple TabControl with 2 tabpages and, using the Collections mechanism, set the backcolor to Desktop; it seemed to work OK but when I went back to the IDE the colour had not been implemented. I can do a code behind and set each TabPage backcolor.On a related point, when I do the ...

VBA Macro for Word Mail merge

17487 byte By Seawolf68 at 2008-2-4
I have created an Excel Macro to manipulate data in an excel spreadsheet save it then open a Word template in order to do a data merge. I do both a letter and then envelopes.Here is my problem. Sometime it runs great all the way through. Other times I get the following: Run-time error '464'; ...

Unable to use drag and drop to create datagridview for any child/parent table

503 byte By Craigton at 2008-2-4
Hi,I can use code to create a table adapter to insert records into either a master or child table but when I try to use drag and drop to createa datagrid I get the following error.Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key ...

Check if a file exists on internet

402 byte By frxstrem at 2008-2-4
Hello.I'm creating a text-based download application (in Visual Basic Codename "Orcas" and .NET Framwork 3.5). Is there any way to check if there exists a file on the fromloc filepath on the internet?(I use fromloc as the internet file location and toloc as the output file location, ...

WPF supported in beta?

779 byte By TallDude at 2008-2-3
(First time to this forum!)I just downloaded VB Orcas beta the other day.Tried out the Windows Forms Application and itseemed to work well and looked quite like my VB Express.I just tried to open a new project, WPF application, andget this message:Microsoft Visual Basic Codename Orcas Express ...

Congrats

477 byte By Kccc at 2008-2-3
congratulations to the visual basic team i love your new product Visual Basic Codename Orcas, it's a wonderful program i have finaly finished my First Program in VBCO its just a simple Web Browser to see how the program flows and to see if there were any bugs. there were no bugs as i could see ...

splash Screens?

187 byte By garaa at 2008-2-2
are there going to be splash screens in VBO or not because witn i want the the applacation thing under splashscreen it has (none) and i cant choose anny........ help would be apreated....

system.speech.synthesis question

496 byte By gregu33701 at 2008-2-2
i need help,i am fairly new vb programmer, love the express versions, working on a simple app that is using speech synthesis, was able to get app to speak text from textbox using speak async, running into problems getting speech rate to change, need to slow it down, i know it is accoplished ...

Visual Studio Orcas

Site Classified