| File or assembly name System, or one of its dependencies, was not found. (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I installed the beta2 and have been sorely disappointed. I get the error "File or assembly name System, or one of its dependencies, was not found." whenever I open a new vb.net project, or try to view the form in design mode. I can write code and run it, and a blank form will show, but I can't go into design mode on the form without this error message and two buttons, one of which says "Lame!". I ... |
|
| Grrrrrr DirListBox gone ... (21 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| And I'd be delighted to use OpenFileDialog if someone from MS would be good enough to tell me how to return just a path from it. I want the user to just select a folder and to return the path for that folder, not click on a file *inside* that folder and then extract the path from the returned filename. Can't do it with vanilla VB.NET. Nice one, MS .... |
|
| listbox blues (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| i have a listbox (multiselect) bound to a datasource and have set its displaymember and valuemember property appropriaty. but i just can;t seem to cycle thru a list of selected items. when i try and use something like listbox1.selecteditems.item(0) i get something like "System.Data.DataRowView" and not the actual text that the user selected. when i don;t bind the listbox to a datasource and instea... |
|
| ListView...ItemCheck event...make some items hidden..but how? (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| HI! was ich machen will... wenn ein user checked eine item in der ListView sollten alle andren item nicht checktbar sein oder noch besser: alle andren item nicht checktbar sein und hidden(nach dem der user nochmal auf diese checked item klickt sollen wieder alle items sichtbar sein) (das erste beispiel würde mir mir aber auch schon reichen) aber wie kann ich diesen event am besten schreiben? hat e... |
|
| Referencing a label on one form from another (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| We just got VS.net I have two forms I'm trying to do something really simple. On form1 I have button and a label the click event of the button has this code: Dim frm2 as new form2 frm2.show() now on form2 I have another button. when that button is clicked I want to write out "Hello World" to a label that is in form1. This is really easy I know. But coming from VB6 this is getting a little frustrat... |
|
| code convert (5 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi i have tried converting a bit of code from vb6 to vb7 but to no availe can anyone help? (snip vb6) Private Sub Form Load() Set dbEquip OpenDatabase(App.path & data.mdb) Set tbClient dbEquip.OpenRecordset("Client") tbClient.Index "PrimaryKey" End Sub (end snip vb6) Many thanks Dot Net Guru Jenkins |
|
| Shape Control (4 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| How do I use shape in Visual Basic.NET??? TIA |
|
| LoadResString (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Can you please provide a quick way to replace VB6.LoadResString? All we have is a table of Strings keyed on an Integer... |
|
| determine right click on treeview (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I am using a treeview. I would like to know which node was right clicked. How do I do that ? I know it is done using getNodeAt but I need an example. Thanks ya94@hotmail.com |
|
| API LPSTR Marshaling to unmanaged code (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I have a problem concerning RS232 API Calls? We use a vendor specific RS232 API which exposes a receive data command like: Recv(LPSTR buf) The underlying implementation is little bit different from standard behaviour. The function call Recv turns back and the buffer buf is filled IN BACKGROUND (async.). The incoming serial data is appended to buf and can be polled using buf in the main thread. In ... |
|
| BUG in VBU (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Is there a list of all known bugs for the upgrade wizard? In any case here are 2 that I have found. If you declare a variable and assign it on the same line somewhere in the middle of a method then the declaration is moved to the top of the method (no prob) and the assignment moves to the end of the previous line (not good if the preceding line is an If statement or comment etc). Example: ' VB6 Pu... |
|
| VB 6.0 To VB .NET (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| In what I have heard the conversion from VB 6.0 to VB .NET is or should be seemless. Does anyone have any experience in this matter? |
|
| Launch an exe file from vb.net (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| What is the command in Vb.net to launch another executable file? for example msInfo32.exe? Thanks in advance. |
|
| function that allows you to combine 2 bitmap images (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I am searching for a function that allows you to combine 2 bitmap images into one picturebox. One is the background image and one is the foreground image. In VB6 I did this through the following calls First I would assign an picture to the picturebox object. Then I would Draw the mask of the second picture Call picPicture1.PaintPicture(picMasks(1).Picture, 0, 0, opcode: vbMergePaint) The I would D... |
|
| using winsock in NET (4 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I have a application written in vb6. I want to send data from my VB6 application to a ASPX page. I was wondering can we let a winsock control in VB6 to talk to a socket object in ASPX page (say using the system.net.socket class) Any one have an example on this or have done this before? Thanks |
|
| XP Themed controls in VB .NET (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I Just upgraded to Visual Studio .NET from Visual Studio 6 Expected buttons and other controls to be of the new Windows XP Visual Style but they. I did come accross something on the net which said you have to modify some files in the solution. Can anyone explain this so that I can use the XP Themes? An aditional question: If i make an application with XP Themed controls, when run on a pre XP syste... |
|
| Upgrading the KeyPress events (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I've been messing around with upgrading portions of some older apps, just to get a feel for the process while I learn VB.Net, and one of the more common issues I'm seeing is the way that the KeyPress event is now handled (not being able to set the value of the parameter to the upper case value, for example). After much searching and reading, I gave this a try, and it seems to work to force the cha... |
|
| Show Array in DataGrid (4 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| How can I show a multidimensional array in a DataGrid ? Thanks. |
|
| picturebox mousemove event (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hello, I am having trouble with the picturebox mousemove event when I upgraded my vb6 application to vb.net. I have a picturebox with a image of a card on a form. in the mousemove event I have the following code. /*****************************************************/ Private Sub Hold MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single) Dim dx, dy If Index 0 A... |
|
| the releaseCapture API and send message (4 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi there... Made the changes but it still does not work.... below is a simple sample project Option Explicit Private Declare Function ReleaseCapture Lib "user32" () As Long Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As IntPtr, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long 'used to drag a form around that has no title bar Private Con... |
|
| Enabling a Tray Icon (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Does anyone know of a way to allow your application to use a system tray icon in Visual Basic .NET? Thanks! Regards, Christopher Bowen |
|
| TreeView (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| This is a sample from the dotnet help system. For VB, does anyone have any idea what the Customer object definition is supposed to look like so this sample will function correctly? The example assumes this exists and it does not. Example [Visual Basic, C#] The following example displays customer information in a TreeView control. The root tree nodes display customer names, and the child tree nodes... |
|
| releaseCapture API and send message API. (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hello In VB6 I created a form that could be moved by clicking anywhere on the from and dragging it. it used the releaseCapture API and send message API. I am unable to replicate this in vb.net. can anyone help me. I think it has to do with the handle returned from the form in .net. I Converted it to me.handle.ToInt32. and sent it to send message. here is a sample in VB6 Option Explicit ' *********... |
|
| Datagrid column sizing (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I am using a dataset to populate a datagrid. In the BETA version of VB.NET, I could use datagrid.PreferredColumnSize 1 to automatically size the columns to the largest/longest value in that column. However, I can no long do this since I've installed the release. Does anyone of if there is a way to do this without manually finding the size of the longest value in the column then resizing the column... |
|