| Search TreeView control by Key (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi, In VB6 each Node in Treeview has a key value. In my program I use it to search a specific node on the basis of that key, which is very simple. Given a Key, you can get the Node immediately. Treeview1.Node(MyNodeKey) But in VB.Net the key no longer exists. Although from the previous posts I know I can use Tag to store the key, It seems not useful as the key in VB6 because the above code doesn't... |
|
| UDTs to Structures and then passing to an API! (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I am a novice programmer please be gentle!! I have spent hours on this one and would welcome any pointers/solutions as I am now finding conflicting information. I am trying to use a 3rd part API that worked fine in VB6. It uses 3 UDTs that once converted to Structures needs further work. From what I have read, I need to use the MarshalAs Class. I have tried at length, but am getting nowhere. Below... |
|
| StrConv question (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I'm trying to convert an old vb6 S/MIME app which uses a COM component into VB.Net and have managed to do all of it apart from this line: SignedData.Content StrConv(strMessage, vbFromUnicode) According to the docs the vbFromUnicode option has been dropped. I've tried to use the System.Text.Encoding namespace but can't get the same behaviour. Any help or suggestions would be greatly appreciated Tha... |
|
| Okay.. what is going on here .. Security error? (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I have just put VS.Net on my system, and am attempting to upgrade some *very* basic VB programs (VB6). I have one that is working fine, as long as the code, the exe, etc, are on my local machine. If I copy the EXE to a server, which is generally how we do things here so that we don't have to update 40 machine's whenever an update occurs I get this instead: An unhandled exception of type 'System.Se... |
|
| VB.Net Usercontrol Hosted in Internet Explorer (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi, Is there a way to host a VB.Net windows UserControl in IE? This UserControl only has one button and does not reference anything unique other than the basic system.windows.forms, etc. I can only get this to work if I change the project to use COM Interop and in HTML change the CLASSID property to use a GUID like in the old ActiveX days. I have tried various syntaxes and paths for the CLASSID pr... |
|
| How do I get help to work in VB.NET? (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I can get a .HTM help file to show up when pressing the F1 button in an application, but how can I get a help file to show for a control that has the focus in a from? |
|
| how get images from VB6 ImageList to .NET ImageList (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hello, all! I try to work with VB6 ImageList control in .NET form. The main reason of it is that it stores large number of necessary images that I couldn't get them from anywhere else. The problem is that .NET Toolbar control doesn't work with ImageList from VB6. Does any possible scenario of upgrade from VB6 ImageList to .NET ImageList control exists? Or does any method of getting imaged to .ico ... |
|
| How to browse for a folder (4 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Please help!! How do I set up a function where the user clicks a button, a dialog pops up and the user can browse for a folder, select it, and load the folder name into a variable. I Know how to use the OpenFileDialog to get a file, but no luck for selecting a folder. Any help would be appreciated! |
|
| Hdc Probs (6 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| How would I convert this over? Public Terminal as Windows.Forms.PictureBox Call TextOut(Terminal.hdc, X * Character.Width, Y * Character.Height, Chr(TerminalChar(Y, X).Text).ToString, 1) |
|