Answer Questions
Daemon5577 Retrieving contents of ListView columns? (VB.NET 2003)
I am using VB.NET 2003. I have a ListView that displys records from a Table. I want that as a user presses ENTER on any selected row, the values of the fields should get stored in a variable. In my ListView there are five fields. I want each column value in a separate variable. Dim Var1 as string = Me . ListView1 .Selected Items (0). SubItems (0). Text ... Dim Var5 as string = Me . ListView1 .Selected Items (0). SubItems (4). Text ...Show All
Adeel Arshad Cross Thread Headache
I am having a cross thread headache with my control I have created. I have a control on a form (frmUtils) when an event is raised by this control I want to update a listbox on my main form (frmMain) to show this data. I have read a lot of posts about this problem but nothing seems to give me an elegant solution. Setting CheckForIllegalCrossTheadCalls=False, causes other code sections to stop working properly. It is very frustrating when somethin ...Show All
Mich_chool searching in datagridview using textbox
I had a datagridview which contains all the last name of a certain database.the data was displaying properly .I want to accomplished two tasks,first I want it that upon loading on the datagrid, data are sorted alphabetically already even without pressing the column header.Second I want to search the datagrid using a text box. I want like an autocomplete manner, if I type a single letter, say "B", the datagridcolumn will automatic ...Show All
Nerbert How to go from VB.net to VB 6.0?
I know that this may sound like an awkward question, but how do I best migrate from using VB.Net to learn the basic coding-features of VB 6.0 I'm studying to become a teacher in computer science but at the school where I'm having my teacher's practice they only have VB 6.0 and not the .NET version. Since VB.NET was the first Visual Basic language i was taught, I'm not very familiar with VB 6... I'm grateful for any guidance. Thanks! (This ...Show All
Niranjan80 Newbie - Problem spawning a thread
Hi, I'm kind a new to this VS .net stuff. I'm building my first application in VB.net. It's a crystal report scheduler using multithread functionality. The program works fine on my machine, but when I deploy it, the part that suppose to spawn the thread doesn't work. Other part of the program works fine, but when it's time to spawn the thread, nothing happen. Any body got any idea Any help is appreciated. Thank you, Rudy No, I'm ...Show All
Emanuele DelBono vb6 activex dll in vb.net 2005
I found out that I can write ActiveX DLL's in VB.NET 2005 by creating a class library, exposing it as COM in compiler options and registering it with regasm.exe. The DLL will function as a plugin for another application. When I create the DLL in vb6 I can call it from the application by refering to <dllname>.<classname> something like mydllname.classname. In VB.NET 2005 should I also use this Name my class library mydllname and cr ...Show All
BertSirkin Webbrowser Control, use without proxy
Can anyone tell how to use a webbrowser control in VB, but it should not pick the internet explorer's proxy settings. I want to build a browser in VB with webbrowser control to run a local intranet application, but this application should not use the internet explorer's proxy settings, but on the other hand, if I run explorer, it should run as it is with its settings. Thanks casperOne wrote: TABARRY ...Show All
Eric12345 MDI form startup
Hi I last used .Net 2002 and in the MDI form used the code below. In the properties of the project you set the compiler to start the main() function first. Where in .Net 2005 do you set this property(i.e. if it's stil there...). I need the app to start my Login form first. Any ideas <System.STAThread()> _ Public Shared Sub Main() startMyApplication() End Sub Private Shared Sub startMyApplication() 'Logi ...Show All
aragon Code Help!!!!
Hi!, I am used to Visual Basic 6.0, but I am starting to look at Visual Basic 2005 Express Beta 2. I have this code from Visual Basic 6.0 that Visual Basic 2005 will not recognize. There are more of the same thing, but I need help what to do so I can fix the rest of the program. These are some of the codes: frmRegister.UserInfo.EOF frmRegister.UserInfo.Recordset What is the right code for Visual Basic 2005 Thanks ...Show All
AndyK third-party installer for choice and security
Does vb.net express offer a way for the developer or user to decide where an app would be installed or is a third-party installer necessary If so, any recommendations Hi, Rwbogosian, I want to make it clear what I mean when I said “engage the developer community,” since I probably wasn’t very clear at all (I tend to rather too much verbosity :-)) – very specifically, I mean that we got feedback on the fea ...Show All
joelC ADO.net DataAccess time SLOW
Unless I am doing something very wrong, it seems that the ADO.net dataaccess time,IE retrieving a record is extremly slow compared to Classic ADO. Now it takes between 1 and 2 seconds to retrieve the data from the Remote database (Access). Because of needing update data when I select a serial number, I presume and currently use direct access to the remote database. I load a combobox with all my serial Numbers, Currently 15,000 . Then when I c ...Show All
rzddr Return Type of function is not CLS Compliant .How can Fix this?
I have the following code and I get the above warning In another project i have something similar but I dont get the warning and cannot see the difference Any ideas how to remove it Namespace TSInterfaces Public Interface IEmployee(Of T) Function GetEmployee( ByVal EmployeeID As Integer ) As TSStructures.StructEmployee   ...Show All
VeSO Do Express editions of VS2005 have support for Addins
I have an addin that prints the source code of VS.NET projects. I am getting queries from users asking me if the Addin would work with their Express editions of VS2005. I would really appreciate if someone could tell me if the Addins can be integrated with the Express editions. It will save me a lot of time and effort downloading and installing each version. Thank you. Regards, Joginder Nahil www.starprint2000.com ...Show All
PhilippG error creating new connection string (VBexpress SQl Express)
Hi I have finished developing a serial number DB with SQLexpress and VB express, and would like to publish/deploy the application to a shared network drive so colleagues can acces the DB. Before I publish the App.I want to move the DB (.mdf) to a shared network drive. So that when publishing th db. It will have a connection string that everyone can access. In VB I am tring to connect to the DB moved from my local machine to the network share(s ...Show All
sinewave Can't Make A New WorkBook In Excel From VB2005
When I try to make a new workbook from excel it doesn't work and returning the following error: System.Runtime.InteropServices.COMException was unhandled ErrorCode=-2147319784 Message="Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))" Source="Microsoft.Office.Interop.Excel" StackTrace: at Microsoft.Office.Interop.Excel.Workbooks.Add(O ...Show All
