473,612 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

0
233
thread by: Chris Dunaway | last post Nov 20 '05 by: Chris Dunaway
I am using the following code in a macro to attach to a process: Dim sFilename As String = "progname.exe" Dim proc As EnvDTE.Process For Each proc In DTE.Debugger.LocalProcesses If (Right(proc.Name, sFilename.Length) = sFilename) Then proc.Attach() attached = True Exit For End If
0
233
thread by: Piedro | last post Nov 20 '05 by: Piedro
Hi I've allready found the solution: select distinct(substring(beginx,2,2)) as beginx , count(distinct(substring(beginx,2,3))) as records from tc201 where lijn is null and isnumeric(substring(vak,1,1)) = 1 or lijn = 'nieuw' and isnumeric(substring(vak,1,1)) = 1 group by substring(beginx,2,2)
0
233
thread by: Graham Blandford | last post Nov 20 '05 by: Graham Blandford
Hi all, Can anyone assist me? VB6er trying to delve into the world of .NET... I have inherited a poorly designed database (access).. that uses multi-column keys to determine parent-child relationships. Could anyone suggest how I can handle this using a relation in VB.NET. E.g.
1
233
thread by: EMW | last post Nov 21 '05 by: Daniel Moth
I use the following code in the POPUP event of a contextmenu: mnuItem = New MenuItem mnuItem.Text = "Shelter" cmThs.MenuItems.Add(mnuItem) AddHandler mnuItem.Click, AddressOf MenuItemClicked mnuItem = New MenuItem mnuItem.Text = "Building" cmThs.MenuItems.Add(mnuItem) AddHandler mnuItem.Click, AddressOf MenuItemClicked
0
233
thread by: Joăo Santa Bárbara | last post Nov 21 '05 by: Joăo Santa Bárbara
Hi all i have a class that i have made and i made an Typeconverter as well, and my problem is the code genereated in my form is Dim ClassTest1 As TestApplication.ClassTest = New TestApplication.ClassTest Me.MyClassTest = ClassTest1 Wich is quite good, but my problem is in my property browser i cannot change any of my properties
0
233
thread by: Cor Ligthert | last post Nov 21 '05 by: Cor Ligthert
Cor you have to correct your time and date :-)) Sorry Sorry Sorry Cor
0
233
thread by: rawCoder | last post Nov 21 '05 by: rawCoder
Hi, Just wanted to know if there is any speed difference between VB conversion Keywords like CInt, Clng, CStr, CDbl, CBool etc. ..NETs Convert.To<...> methods. And which is better to be used and why ? Thanx
0
233
thread by: Hardik Shah | last post Nov 21 '05 by: Hardik Shah
Hi, I have an application in VB.Net, I use two different dataset for a Data Form. One for Vendor table and other for state table. But it display error. What is wrong ? Here are code :- -------------------------------------------------------------------------------- txtName.DataBindings.Add("Text", ds1, "Vendors.VendorName")
1
233
thread by: Tull Clancey | last post Jan 9 '06 by: TrtnJohn
Hi, I'm currently trying to write an app to send data to an RF portable, 102.11b. I've found some samples, I think they came from Microsoft some time ago. I have a simple server and client application, I've modified the client app to run on the portable, which it does, but the portable hangs for around 12 seconds before any TCP connection...
0
233
thread by: Seok Bee | last post Feb 21 '06 by: Seok Bee
Dear Experts, In my web application, I am having a button to open a file located in the server. When I click on the button to view the file, I received the following error message: ---------------------------------------------------------- Exception from HRESULT: 0xC004800A Description: An unhandled exception occurred during the execution...
0
233
thread by: Cor Ligthert [MVP] | last post Jun 30 '06 by: Cor Ligthert [MVP]
Reidar, Will you please adjust your time, date or country setting to the correct on, Thanks in advance Cor
0
233
thread by: kimiraikkonen | last post Oct 19 '07 by: kimiraikkonen
Hello, I'm trying to create a basic SMTP mail sender using that code, i'm using VB.NET 2005 "express" but this namespace wasn't recognized... (system.web.MAIL) I'm only allowed to declare under that namespaces with "system.web": System.Wb.AspNetHostingPermission System.Web.AspNetHostingPermissionAttribute...
0
233
thread by: Omar Abid | last post Jun 27 '08 by: Omar Abid
Reason of this project: The Microsoft.VisualBasic.Interaction class exposes many useful commands and methods that were available in Visual Basic like AppActivate, Beep, Callbyname... This tutorial shows how to work with some of them. Project details: 1- From VB 6.0 to VB .net 2.0 2- Useful interaction commands 3- Samples of interaction...
2
234
thread by: Vishruth Ranjit | last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Would anyone of you could please help me in solving this problem.Please. Public Class Form1 Inherits System.Windows.Forms.Form Dim CN As New ADODB.Connection Dim RS As New ADODB.Recordset
1
234
thread by: Kyle Rosenkrans | last post Nov 20 '05 by: coleenholley
Does anyone know how to set a color on a specific row or column on the datagrid. Thanks
1
234
thread by: Lance | last post Nov 20 '05 by: Cor
Is there any way to determine that the size of a form is changing due to the user grabing the edge of the form vs. the size being changed in code (e.g., via Form.Size property)? Also, I need to know the desired size before the actual size changes Thanks Lance
0
234
thread by: yxq | last post Nov 20 '05 by: yxq
Hi, My form will execute lots of codes when loaded, result in the form shown slowly, how to execute the codes after the form already shown? Thanks
0
234
thread by: Derek Martin | last post Nov 20 '05 by: Derek Martin
I have an object which I set up like this: Public Class Person .... Protected m_timelists as ArrayList .... Property timelists() as ArrayList Get timelists = m_timelists End Get Set (ByVal Value as ArrayList)
0
234
thread by: Kenneth Dion | last post Nov 20 '05 by: Kenneth Dion
Hello, I am very new to .NET Interop functionality. It is working great on my machine but not on others. What is involved in distributing Interop DLL's? Thanks, Kenny.
0
234
thread by: Derrick | last post Nov 20 '05 by: Derrick
Hi I am new to using regular expressions in VB.NET, and need a bit of help. I am trying to parse a string that looks like this: ~datastart some variable numbers, characters and spaces of unknown length~ to get this ~datastart~ I tried this:
0
234
thread by: Joe | last post Nov 20 '05 by: Joe
I am using a 3rd party app that is constantly writing to a text log file. I would like to monitor that file with another app, but I keep getting the dreaded "in use" error when I try to read the file. I have tried using the "FileMode.Open, FileAccess.Read, FileShare.ReadWrite" parameters of the FileStream Object, but still no luck. ...
0
234
thread by: yom | last post Nov 20 '05 by: yom
Hi all. I have to write a Windows Application presenting a textbox to the user. Each time the user press a button on the main form I need to print the text of the textbox. I try using the printDocument object but if I call its print method a page is printed by my printer. I need to print just one line each time filling the same page until...
0
234
thread by: Charles Law | last post Nov 20 '05 by: Charles Law
I have a user control which can be dragged and dropped onto a form in my application when it is running. I draw a selection border around my control, and allow it to be dragged to a new location on the form. However, the user control has a check box on it, and if the user clicks over the checkbox to drag the control, the check box changes...
2
234
thread by: Agnes | last post Nov 20 '05 by: Cor Ligthert
I would like to design the following control. There are one main form & search form, the search form got one textbox and one datagrid. 1) when user input the keyword in the textbox, datagrid will show the record based on the keyword 2) as the user click any one of the row . the search form should return that recordset/dataset to the main...
4
234
thread by: Niels | last post Nov 20 '05 by: Cor
Hello, I have a lisbox placed on a form, in the listbox i want to get the filenames of a specific directory. So if i have 3 files in directory "c:\Test", i want to be able to select them in the listbox. I think I have to count the number of files in the directory, and then per file adding them as item...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.