Answer Questions
jenniMD Getting rid of the VB6 MAPI controls in .NET
Hi, I'm upgrading an app from VB6. I used the MAPI controls in several places. They've upgraded successfully and appear to be working. However I would like to replace them with some pure .NET solution as I'm trying to get rid of all Active X controls. What options are available Regards Michael MAPI is an obsolete technology with respect to .NET and Microsoft doesn't support it in this environment ...Show All
FactoMU Writtig a client server app
Hi can anyone help to explaim how to use the system.net.socket to write a two tie app. that is client can read and write to a sql2000 server with others at thesae time. And how to connect the two client/server application together. Any help will be appreciated thanks and God bless. Murtala Hi, I agree with Ralph. Web Services would be the easiest way to communicate between client and server. .NET Remoting is another option. For writing a ...Show All
skhan22 Delete whole registry key
Hi, I want to delete whole registry key with all keys and values included in it, for example: HKEY_LOCAL_MACHINE\SOFTWARE\Example\ and want to delete whole registry key Example but i dont know how to make it. Can someone help me I’m using VB 2005 Express Edition. Thank you in advance. http://msdn2.microsoft.com/en-us/microsoft.win32.registrykey.deletesubkeytree(VS.80).aspx Best regards, Johan Stenberg ...Show All
RPierce Accessing a DataSource. First time works, 2nd doesn't.
Hello, As you'll determine, I am new to Visual Basic, but know VBA with Excel, and I've recently started using Visual Basic 2005 Express Beta 2. I added a Microsoft Access Database as a DataSource, tested the connection, leaving a blank username/password then drug a couple of tables to a userform as text boxes to experiment, all was well. The next time I opened Visual Basic, I got a security exception: Request for the permission of typ ...Show All
Brian Newer Executing Visual Basic code from a string
How do I execute visual basic code from a string Here is kind of a sample of what I am doing... Function _Function(ByVal As ) 'This is where it is supposed to execute a function .Execute() End Function So can someone please help me Hi, You can use Reflection and do something like this: Public Sub CallMethod( ByVal strAssemblyName As String , ByVal strC ...Show All
tpath How to apply keydown handle to all controls in a form or a container?
Hi, I am creating textboxes at runtime, but I need to handle the function keys in all of them. Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim a As Integer For a = 0 To 10 Me .Controls.Add( New Windows.Forms.TextBox) Me .Controls.Item(a).Top = a * 20 Next a End Sub Private Sub Form1_KeyUp( ByVal sender As Object , ByVal e As S ...Show All
Stephen Joseph Brown list all User accounts
Does any one know how to return a list of all the users accounts. here is a link to a C# component wrapper for the windows DsObjectPicker there is a sample app written in VB that is using it. as configured in the app, it is set for picking computers. IMPORTANT!!! build the solution before you open the test form or it will error loading in the designer. if you forget and open the fo ...Show All
ancernet Listview Question
I have a listview that contains data that I'm pulling back from a database, which works great. Now I want to add a URL to the end of a description field, when certain criteria is meet, and that works. The problem that I have is that the URL is not clickable within the listview. Is there a setting I'm missing like the richtextbox detecturl's for the listview, or is there another way to recognize that text as a link so that I can do a onclic ...Show All
Sameer Seth Unable to cast object of type 'System.Diagnostics.TextWriterTraceListener' to type 'Microsoft.VisualBasic.Logging.FileLogTraceLi
Hi I am trying to access My.Application.Log.DefaultFileLogWriter.FullLogFileName and I am getting the following exception: Unable to cast object of type 'System.Diagnostics.TextWriterTraceListener' to type 'Microsoft.VisualBasic.Logging.FileLogTraceListener'. Can some please tell me why. Here is my app.config: < xml version="1.0" encoding="utf-8" > <configuration> <system.diagnostics>   ...Show All
JBoult Form Focus Issues
First of all, I am using the .NET 2.0 framework with Visual Studio 2005. I have two forms. One is a form with a TreeView control on it (used as a menu - kindof a favorites list) and the other is a form with a WebBrowser control on it. The TreeView_Click event fires up the other form with the link passed to it via the Node. If the user clicks the TreeView and the form is already open with that link in it, it is supposed to set focus to the ...Show All
Maupassant99 Unable to modify VS2005 Binding Navigator in the inherited Form
Hi! I put a BindingNavigator on a Form1 and set Modifier=Public. Then I created an inherited Form2. I put a BindingSource on Form2. But I cannot to set any value of inherited BindingNavigator because they are disabled. I need to set "BindingSource" property to the created BindingSource. Is it possible in other way than at run-time Stone For me visual inheritance is one of the most important future of any RAD. For example i better choose D ...Show All
space77443 What to use?
I have an existing project that was done in VB6 that used excel extensively for retrieving data and charting on a pre-made template. Are there existing controls in VS2005 Beta 2 to do: Load text files easily into a grid Search for and find items in a grid Get aggregates of data from columns I want to try to do all the searching and parsing of data in the grid rather than in excel itself and then dumped the data into excel for the charting. ...Show All
MikG OpenFolderDialog
I could use a reference to any code classes for enabling the selection of a folder via a dialog window. thanks, Fred Is this a question or an inadvertant reply Try this code (written for vbs-Script !) Dim comdlg,result,n set comdlg = createobject("UserAccounts.commondialog") comdlg.Flags =&H104& 'Flags comdlg.FilterIndex=2 comdlg.InitialDir="C:" comdlg.filename=& ...Show All
rdcharm AnalogTVTuningSpace and MSVidCtl
I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as desc ...Show All
Jazzbo Data Form Wizard Template
i'm working with a trial version of visual studio 2005 in which i'm currently using VB.net. I'm unable to locate the Data Form Wizard template when adding a new item to a project. I have customomized my installation and i know have all possible components installed. Can someone please help me find a solution. Thanks Danny Hi Bill, Both of the links above still worked for me. Would you please verify i ...Show All
