Answer Questions
Seth Veale Need Rapid help
I am currently Porting an Application from Access 2003 to VS 6 I am having issues with certain listbox properties missing out of VS 6 mainly Listbox.RowSource = "field1;field2;field3;" <-- delimited string rowsoruce AND last but not least ListBox.Recordset = objADODBRecordset Does anyone have any solutions to my predicament If I do not find equivalent controls I will wind up doing a massive rewrite of the logic & display layers : ...Show All
blogster 'MainViewer' is a type in 'FileHider' and cannot be used as an expression.
Hi, I created a new windows application, with 2 forms: a login form, and a main form called MainViewer. When I've tried to Run the app, it said the error: 'MainViewer' is a type in 'FileHider' and cannot be used as an expression. The error points on line 0 in the .designer.vb file. I tried to create another form and to open it, and it showed the same error. What can I do Thanks, Ofir. ...Show All
appferreira How to use unmanaged com dll in VB.NET
How can I use an unmanaged com dll in VB.NET. I used Add Reference to use it in my project but can't seem to get it to work properly: Public Sub AccessDll( ByRef objMyDll As MyDll.IMyDll) Trying the above I get a curly green line under objMyDll with a message that Type of parameter 'objMyDll' is not CLS-Compliant. When I get to the MyDll. the Intellisense shows the Interfaces available. I've tried numerous unclear ...Show All
ssPhilip Jeffery ToolStripMenuItem - Checked/CheckState differences
All is in the title ! I understand that Checked is a boolean, which is not the case of CheckState. I understand that CheckState also have a undeterminate possible value. But I don't understand why we have them both. I think that CheckState would be sufficient. What is the need for Checked Thanks for your help Patrick Well, the undeterminate CheckState property state would tell me that the user skipped the que ...Show All
A K Retrive mail from pop3 server vb.net
Hi , I want to download mails from pop3 server to my local system ...... ie.. something like what other mail clients do ....... ; i can send mail successfully through system.net.mail.message & by creating a smtp client through system.net.mail.smtpclient how can i do that thanks in advance Yes i saw that , i have also implemented the same through sockets ..... ...Show All
Kavi Can't select folder of new project
Can't select folder of new project If I select new project, the default is WindowsApplication1. I rename it. However, there doesn't seem any way I can choose where to locate the project. I created a number of projects in my folder VS2005Projects, so there must be a way. I must have done something that took the choice away. I searched the forums for new project folders, location of new projects and a number of other variations, ...Show All
David McC Newbie: VB 2005 Express & Form Inheritance
Beg pardon, but I'm 5 days into a long journey to learn .NET. ;-) I downloaded VB 2005 and bought a few books on VS 2003 to get started. On a chapter concerning form inheritance, and on the Help documentation of VB.NET Express, it looks like I ought to be able to inherit a form by clicking Project, Add Inherited Form. From reading this forum, it looks like in the Express edition, that menu navigation may have been removed from ...Show All
anam AxWebBrowser inside tab page...
Maybe I put this question in the wrong forum or something...anyway - I have a 10 tab tabcontrol on my form. I have used the AxWebBrowser control successfully (and flawlessly) on other forms that didn't have tabs, but I am having the hardest time getting the browser to render inside a tab control. No empty white field, no nothing. I don't even get a redraw when I switch from another tab. There's not much code involved...jus ...Show All
msdn13 PC Clock
Whats the best way to call and display the system clock as a string e.g. "Twenty Past Four" I basically want to take the variable from the system clock, and use that in my application to display the time, but in alpha-numeric characters which would be everyday phrases like: "Five minutes past six" "Half past three" etc... So if someone could show me how to call the system clock into my application, and then convert that into the a ...Show All
Karthik Mani Add text to a text box from a module
I'm upgrading a program I wrote in VB6 to VB2005 and am having a problem with updating a text box. I have a module that manages serial port communications. When data is received in the serial port buffer, it should update a text box (txtSerialIn) on a form (frmSerialInOut). Here's the code: Public Sub Handler( ByVal strInMessage As String ) frmSerialInOut.txtSerialIn.Text = strRXData & vbCrLf & frmSerialInOut.txtSerialIn. ...Show All
ThomasJaeger VB Stored Procedure Alter Database command fails with Sql err code 5011
Running: Visual Basic 2005 express edition. Sql Server 2005 Express edition. I have created a stored procedure which executes tsql statement to alter the database. Everything works great, except for the actual tsql statement that alters the database. I get back the following sql error message: HariCari SQL Error/s 5011 - User does not have permission to alter database 'HariCariDB' or the database does not exist.5069 - ....... The ...Show All
Peter Gummer Drawing an image as background in a TreeView
Hi All, I want to use a image as background in my custom control that inherits from System.Windows.Forms.Treeview. However, it seems as the BackgroundImage property is not implemented. Is there a way to get around this issue There are no paint events as far as I can see! I'm using Visual Studio 2005. ...Show All
aliali [vb 2005 expr] Synchronizing folder's content
Hi guys! I must do something really "simple" using Visual Basic 2005 express (on a windows 2000 or xp system): I have 2 folders: hansel (remote folder connected as a net unit) and gretel (local folder) I want, when user clicks on a button, to synchronize gretel folder's content to that of hansel folder (NOT viceversa: I want to add or delete NOTHING in hansel folder). In other words: gretel must be an exact backup copy of hansel. ( ...Show All
Mike Schultz Error opening design view in vs2005
Hi people. I've just upgraded to vs2005 (pro downloaded from msdn) and after converting my solution with 4 vb projects in I'm unable to view any of the forms in the designer. The projects and solution compiles and run just fine but no luck in design view. The error message I'm getting is: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may ...Show All
Martinro73 Conversion of an array to generic.list
We are currently converting a larger legacy application from .Net1.1 to .Net2.0, both VB. Our new standard is Generic List, instead of arrays. We are recoding component by component. And while not everything is yet stored in generic.list we end up with compile time errors. Converting from generic.list to array is supported with myGenList.ToArray(). But from array to generic list isnt that easy. "Value of type '1-dimensional array of something' c ...Show All
