473,554 Members | 2,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

7
3,840
thread by: Newbie | last post Nov 10 '06 by: Herfried K. Wagner [MVP]
How do I clear the clipboard in VB.NET 2003? TIA Newbie
6
21,293
thread by: Manuel | last post Nov 11 '06 by: Tony Gravagno
Hi, Using the PIA "Microsoft Outlook 11 Object Library". I've noticed that the Logon method of the NameSpace Object is simply ignored. My Outlook 2003 is full updated. For example if I write: Dim oApp As New Outlook.Application
3
1,095
thread by: Fred | last post Nov 11 '06 by: Fred
I have a String of bits -- "101011". I want to extract each bit in the string as a char and then use each extracted char in multiplication. The extraction part is easy (I think). How can I convert each char to an int so that I can use it for multiplication? Thanks.
7
3,287
thread by: Nettan | last post Nov 11 '06 by: Cor Ligthert [MVP]
Hi everyone I want to now how long the computer is idle. Is there any easy way to do this in vb.net 2005. Before (in VB6) I checked if the mousepointer hade been moved. Thanks /Nettan
5
2,461
thread by: tshad | last post Nov 11 '06 by: Cor Ligthert [MVP]
How do you easily make a copy of an arraylist? If you do: arrayList2 = arrayList1 You get a pointer so that if you clear arrayList2 (arrayList2.Clear) - arrayList1 is also cleared. I want to create a copy of the arrayList, which I can do looping through the
2
1,421
thread by: Kevin | last post Nov 11 '06 by: Cor Ligthert [MVP]
I'm trying to create a function that will return the length of a text string in inches. e.Graphics.MeasureString(mString, mFont) Seems to be what I'm looking for, but I don't know how to pass PaintEventArgs (e). I don't want to use it in a paint event, I just want it to return a number when I pass it a string and a font. How do I do...
2
1,048
thread by: Jaye | last post Nov 11 '06 by: Jaye
I have facing a difficult problem about windows service I have created a windows Service and I have add some set/get method to return the value that caluate in background. And i have another window form application, in this, i would like to get back the value in the method that added in my windows service. Is it possible, if yes, how...
0
1,447
thread by: Simon | last post Nov 11 '06 by: Simon
I have a problem with an application which randomly hangs on site. The symptoms are that the user will click a button - which normally would open a new form (which inevitably will create a socket connection back to a server using remoting) - but just hangs. Sometimes the application will close itself (ie disappear without any errors), other...
2
899
thread by: reidarT | last post Nov 11 '06 by: reidarT
I have a dataset with one field called Betaling. How can I get this field assigned to the variable Enhetpris? The Buttons code is: Sub Beregn_OnClick(ByVal s As Object, ByVal e As System.EventArgs) Dim Enhetspris As Integer = dsStevneAvgift.FieldValue("Betaling") End Sub reidarT
4
5,366
thread by: Jason | last post Nov 11 '06 by: Mattias Sjögren
I have a string that looks like this? ihelloworld_zzz_yyy In a single vb.net line, I want to remove the frist character and anything after and including the first "_" resulting in : helloworld
6
1,534
thread by: Antonio Paglia | last post Nov 11 '06 by: Jay B. Harlow
Hello. I have tried to insert this items into a SortedList. dic = New SortedList dic.Add("<<", "<<") dic.Add("==", "==") dic.Add(">>", ">>") dic.Add("@@", "@@") dic.Add("??", "??") Debugging this peace of code I have notice that '??' appears as first item,
0
3,005
thread by: krausssj | last post Nov 11 '06 by: krausssj
Hi all, I'm new to VB and need to read the msExchMailboxGuid field from the user's object in Active Directory and make that into a GUID in the format of {DCF88AF9-3BD7-4A04-B00E-A4FB00B9F125}. When I get the value, it comes decimal byte array. Does anyone know of an easy VB method to make this array into a GUID as shown above. Thanks...
5
1,098
thread by: Paul | last post Nov 11 '06 by: Pascal
Hi, What would be the best way to remove the following from the start of a string... "A1", "A2, "A3", "A4", "A5", "B1, "B2", "B3", "B4", "B5", "C1", "C2", "C3", "C4", "C5", "D1","D2","D3","D4","D5". I hope I explained that right. A string will have one of the above strings as its first two characters and I need them removing from the...
0
1,555
thread by: Lionel | last post Nov 11 '06 by: Lionel
Hi, I'm having problems clearing the contents of the History folder in VB2005, I have tried moving through the folder and deleting files and folders, which works for all history except the current day, is there a way to delete the current day history in VB? I am sure this must be possible since I have seen programs do it. I have looked...
3
947
thread by: Elton Cohen | last post Nov 11 '06 by: Spam Catcher
Sorry for asking again. I know it's now a specific VB topic, but since this ng is my home, I dare to ask again: Can anyone please tell me the most simple way to enable 2 or more pcs to share one folder which is located on one of these pcs? I have once been able to just put the pcs in the same workgroup on a local network, give them an ip,...
2
1,125
thread by: steve | last post Nov 11 '06 by: steve
Hi All I have some application which I install to clients computers using a vb.net setup and deployment project For some .net assemblies (not part of the GAC) I want to install them to a subfolder under my program folder to make the main folder less cluttered I install them to \DLLs folder as part of the windows installer setup
2
3,253
thread by: doug | last post Nov 11 '06 by: doug
G'day all, I'm a newbie to .net (7 years or so as a vb/asp programmer) and I'm trying to create a GUID using the GUID type in vb.net Here's the code I'm using to create it : Public Function CreateGUID() As String Dim objGUID As Object objGUID = New Guid
3
1,493
thread by: GS | last post Nov 12 '06 by: GS
how can one quickly comment out a block of selected code in visual studio express 2005 the insert comment is only good for a block of comment before sub, function right now I would have to cut and do transform with another C editor before copying and pasting back
0
715
thread by: rdufour | last post Nov 12 '06 by: rdufour
When using System.net.mail namespace to send out an smtp message I would like to be able to send all the smtp commands and their responses into a multi line enabled textbox to display the conversation between the smtp client and the smtp server to the user so that he can use it to troubleshoot any problems. Part of my app is sending out emails...
2
1,591
thread by: Dean Slindee | last post Nov 12 '06 by: Tom Shelton
I have one control DoubleClick event that handles the DoubleClick events for multiple controls. The .Tag property contains a different string value in each control that I would like to examine. How can I get the .Tag property value no matter which control was double clicked? Reflection? Thanks, Dean S
6
3,407
thread by: BurntWithTime | last post Nov 12 '06 by: Cor Ligthert [MVP]
Hello everyone, Please can anyone tell me if it is possible for a VB.NET application to check a database and then create textboxes on a form that correspond to those records on the database? For example, say I had a table in a DB that contained movie subjects: Horror, Sci-Fi, Comedy etc. Would it be possile for the VB app to look at these...
4
4,832
thread by: Jason | last post Nov 12 '06 by: Cor Ligthert [MVP]
How can I loop through in reverse order .. Not looking to sort or anyting. Dim fr As FormViewRow = (CType(whichformview.Controls(0).Controls(1), FormViewRow)) Dim tc As TableCell = fr.Cells(0) For Each c As Control In tc.Controls
1
802
thread by: Cannoball | last post Nov 12 '06 by: Cor Ligthert [MVP]
Hallo. I searching a good course on-line in Visual Basic .NET for beginner. Of it you know someone? Thanks to all. Cannonball
5
1,251
thread by: Lou | last post Nov 12 '06 by: Michel Posseth [MCP]
I created a comclass from VB .NET 2005 but it fails when I try to load it (.dll) into VB6. I followed these instructions To create a COM object using the COM class template 1.. Open a new Windows Application project from the File menu by clicking New Project. 2.. In the New Project dialog box under the Project Types field, check that...
1
1,953
thread by: Dean Slindee | last post Nov 12 '06 by: Michel Posseth [MCP]
I have a control which handles the DoubleClick event for itself and many other controls like it. I would like to examine the .Tag property value of the control that fired the DoubleClick event. Is there a way to examine the ..Tag property value no matter which control fired the event? Reflection? Thanks, Dean S

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.