Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008


all groups > vb.net > october 2005 > threads for wednesday october 5

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Outlook not connected to server?
Posted by Lars Netzel at 10/5/2005 11:27:49 PM
I'm working with an Outlook object and I, thru VB code, execute menu option "Purge All Items" (which deletes all "marked for deletion" emails from the MAPI folder on the server and in outlook). Outlook then complain about that it can't complete that action since outlook is not connected to ...more >>

Bug in ListView?
Posted by Lars Netzel at 10/5/2005 11:16:36 PM
(Applies to Windows.Forms vs.net 2003) I populate a ListView (Details view) and for each row I change the forecolor depending on a bunch of things. This is fine right after populating the list. When clicking on an empty row in the listview (below all items) the last selected Item loose a...more >>

md5sum for vb net
Posted by Gary Townsend at 10/5/2005 10:34:34 PM
Hey all i am looking to see if anyone has created a function or knows how to create an md5sum that would match the md5sum routines found commonly in C++ and Linux. Gary Townsend ...more >>

Critical Sections of code
Posted by Sid Price at 10/5/2005 6:50:33 PM
I have a multi-threaded VB.NET application and I need to be able to access a shared set of variables from multiple threads. In CE.NET there are objects called critical section objects that a thread can acquire on entry to a section manipulating such variables and release when done. Any other t...more >>

Do Object references exist in VB????
Posted by arthernan NO[at]SPAM hotmail.com at 10/5/2005 6:29:17 PM
Say I pass an object ByRef. And I want to store a reference to that object. How do I do this? Arturo Hernandez ...more >>

Determining thread context
Posted by mike2036 at 10/5/2005 5:05:01 PM
Does anyone know how I can determine the thread context in VB.NET? I have an elapsed timer event that I tie to the application context via SynchronizingObject. But code I run in the elapsed event routine seems to be in a different context. Is there a way I can get the thread ID? Thanks. ...more >>

WndProc problems
Posted by mike2036 at 10/5/2005 4:57:01 PM
I'm having problems with the reliability of WndProc in my application. The application has a hidden form, which it instantiates in the Main() and then calls Application.Run(). There are cases where WndProc does not receive internal messages via PostMessageA(). Sometimes it works, sometimes ...more >>

VB .net
Posted by Legolas at 10/5/2005 4:09:03 PM
I have VB .net and whenever I enter some code it won't let me test it. Somtimes it does and says there are errors, even with the ones from Microsoft itself! Please help -- Legolas Greenleaf, Tree Elf...more >>



Getting COM Version Info
Posted by kpg at 10/5/2005 3:26:29 PM
Hi All, I have an asp.net project that uses an ActiveX component on the server side and I would like the login page to show the version number of this component. The ActiveX component is included as a COM Reference to the project. Any Ideas? TIA kpg...more >>

Hypothetical threading situation
Posted by TDC at 10/5/2005 1:59:38 PM
Here a classic "DON'T DO THIS" example: Public Class Test Private m_ThreadBDone As Boolean Sub LaunchThreadAndWait() '<--- called by thread A Dim theadB as New Thread(Addressof(ThreadBProc)) theadB.Start() While Not m_ThreadBDone Sleep(250) Loop 'at this point thr...more >>

chaangeable sql statements
Posted by Wendy Elizabeth at 10/5/2005 1:43:04 PM
I am going to write an visual studio.net 1.1 application where I would like to setup dynamic sql statements. Basically I am going to have a sql server 2000 control table where users can select via a web page, what columns they want to see with their own unique (personal) sql server 2000. T...more >>

VB.NET App +ADS +DirectoryEntry/Searcher +AuthenticationTypes.Secure
Posted by Chad Beckner at 10/5/2005 11:57:17 AM
Hi everyone, Sorry for cross posting, but I wanted to try and put this where it would be more visible to everyone... :-) I need to find a way to be able to search for entries in our ADS tree. I have it working, but I have to pass it my username/password in order to search it. What ...more >>

multiline text in a messagebox.show
Posted by amruta at 10/5/2005 11:50:15 AM
How can I write a multiline text in a message box.show how can i use the line feed or carriage return in this situaion. Thank you ...more >>

list boxes with vb 6.0
Posted by Michael Marosz at 10/5/2005 11:19:02 AM
is there a way to have horizontal scroll bars in regular list boxes or similar control? -- thank you in advance......more >>

Pull data from one Array based on data in first Array
Posted by kieran at 10/5/2005 10:26:20 AM
Hi, I have a string Array called Groups and this has x number of groups. Each row of the Array is divided up by ';' and has the name of the group in the second position (i.e. after the first ';') and then x number of values all divided by ';'. All these subsequent values are the IDs of the...more >>

Service wake-up each hour
Posted by A at 10/5/2005 9:52:15 AM
Hello, I try to make a Windows Service that doing some action at each begin of hour. I cannot use the task schedule. I have try to use thread, timer ... But nothing is correct. Do you have an ideas to do it ? Thanks. Seb ...more >>

Windows Service Debugging - TEARING HAIR OUT !!!
Posted by Mr Newbie at 10/5/2005 9:32:45 AM
Im going insane trying to sort this out. The following code has been tested and works fine ( without the Diagnostic.Debugger.Break() line of course, on windows forms application ). In a windows service ( Assembly has full trust ) and with the Debugger line in, if Im lucky and it doesent lock u...more >>

About graphics.
Posted by Tamer Abdalla via DotNetMonster.com at 10/5/2005 9:05:39 AM
Hello, everyone! I DO need some help in order to understand how to create graphics in VB.NET. I'm a little bit confused... I once knew a time when using Point & PSet was almost the only way to make some interesting apps which could tranform images (i.e. making saturation of colours "heavy", or...more >>

Test for windows hide
Posted by BrianDH at 10/5/2005 8:35:04 AM
Hi I have an application with 3 windows forms. One of which I load at startup but hide, then show/hide based on users click. How can I test to see if the windows is hidden, or is at the moment being shown? Thanks BrianDH...more >>

regExpression Help
Posted by jeffery.kabir NO[at]SPAM gmail.com at 10/5/2005 7:20:35 AM
I'm trying to get a regular expression that matches only 4 digits, i'm using Regex.IsMatch(userID, "^\d{4}") If the user types in more than 4 digits it still is being returned as a match. Should I be using IsMatch, or is my regular expression wrong? Thanks. ...more >>

How to get the control id
Posted by Li Pang at 10/5/2005 4:50:04 AM
Hi, I have a form containing 10 checkbox named checkbox1, ... checkbox10. I want to use one loop to scan these control. Anybody knows how? Dim i as integer for i=1 to 10 'Me.checkbox & i.text = "something" next Thanks in advance...more >>

REG_DWORD value not an integer? Help!!
Posted by DavidP at 10/5/2005 4:46:02 AM
Hello, I am trying to use VBScript to set an entry in the registry. Here is a snippet of what I am trying to do: WshShell.RegWrite "HKEY_CLASSES_ROOT\Powerpoint.Show.8\BrowserFlags", "a" ,"REG_DWORD" Problem is that this doesn't work unless I change the "a" to a number. I'm assuming tha...more >>

Register .Net Components for COM
Posted by Mihiri at 10/5/2005 2:19:01 AM
Hi, I have created a simple managed component in vb.Net with a public class exposing a public function. I successfully registered it using 'Regasm.exe' .. But when I tired to access it in vb 6.0( using late binding) it gives an error . I cannot view managed component in Ole View . Both ...more >>

Dataset into Excel
Posted by Helen Trim at 10/5/2005 12:55:04 AM
I have data in a dataset that the user wants in Excel. I can do it by writing the data in one cell at a time but it's a bit slow. Is there a quick way to do it? TIA -- Helen...more >>

Form with groupboxes is behaving diffrently randomly
Posted by Philip Wagenaar at 10/5/2005 12:55:02 AM
I have made a form with a tab that containts groupboxes and those contain checkboxes. When I run the application sometimes the outlining for some groupboxes are not shown, if I switch tabs and back sometimes all outlining is shown and sometimes are not shown. I have no idea what is going wr...more >>

Only allow numbers and backspace/delete on KeyDown?
Posted by Lars Netzel at 10/5/2005 12:00:00 AM
Hi How do I in a textbox only allow users to type in numbers and comma and dot ? they should of course be able to delete and backspace the stuff they type in too.. I figured keyDown would b a good place best regards /Lars Netzel ...more >>

Todays Date
Posted by Vayse at 10/5/2005 12:00:00 AM
In VB6, I would have used Date() That no longer works. How do I find todays date in VB.net? ...more >>

Windows Service : Timer - Should it work ???
Posted by Mr Newbie at 10/5/2005 12:00:00 AM
I have a Windows Service and I am using a Timer on it with an interval of 10 seconds. The assembly has full trust and the service is running under the localmachine permission. In the timer tick I have the following code. Dim fs As New System.IO.FileStream("C:\ticking.txt", IO.FileMode.Appe...more >>

No "(Overrides)" Section in the IDE anymore?
Posted by Jason Kendall at 10/5/2005 12:00:00 AM
Why is it that there doesn't appear to be an easy way to select what overridable method you want to override from the IDE as you could in VS2003? Used to, you could select (Overrides) for your class from the dropdown at the top of the IDE, on the left, and then pick from a list of overrides o...more >>

Find Any Character in String1 in String2
Posted by Charles Law at 10/5/2005 12:00:00 AM
I'm sure I will kick myself when you tell me, but is there a simple way to test for the existence of any character in string1 being present in string2? For example, if s1 = "abracadabra" and s2 = "synonym" the result is false, but if s2 = "pelican" the answer is true. TIA Charles ...more >>

getting pointer to proper dataAdapter from dataset or dataTable
Posted by astro at 10/5/2005 12:00:00 AM
I would like to build some generic code that is able to figure out the correct dataAdapter to apply changes to given a form with several dataAdapters. Any suggestions on the following? Thank you. ====================================== Private Sub SaveChanges(ByVal aContainer As Objec...more >>

Datagrid DateTimePicker
Posted by Vayse at 10/5/2005 12:00:00 AM
Is it possible to have a datagrid column use a DateTimePicker? How would I do this? Thanks Vayse ...more >>

Rounded borders Rectangle
Posted by Carlo, MCP at 10/5/2005 12:00:00 AM
Hello I'm having lot of problems in writing a method that returns a Path for a rounded corners rectangle for drawing a non-rectangular border. The resulting path is ok for using with FillPath method, but applied to a DrawPath method the resulting non-rectangular rectangle is wrong. Applying...more >>

TabPage and VS.NET
Posted by Maileen at 10/5/2005 12:00:00 AM
Hi, I have a TabControl which include 2 TabPages. When user click on some Treeview items, i want to show one of the TabPages (as i want). I tried show(), Select() or BringToFront() but nothing worked. Could you tell me what is the way to do this ? thanks a lot, Maileen...more >>

Tool for Detecting un-used variables
Posted by John Veldthuis at 10/5/2005 12:00:00 AM
Are there any tools for detecting un-used variables in VS VB 2003? I have been hacking my old VB6 code into VB2003 and there may be stuff left over I no longer need.used but may be still there. It is quite large so would take some time to do this manually....more >>

How can I call and pass parameter to Windows Service in VB.NET ?
Posted by SBh. via DotNetMonster.com at 10/5/2005 12:00:00 AM
I already created a windows service that receive parameter in Sub GetValue () and I can registered and started service successfully. But unfortunately, I don't know how to write program to call this windows service. Anyone can help me and give me some example code, please .... My windows ser...more >>

Need help with cursor
Posted by caitlyn via DotNetMonster.com at 10/5/2005 12:00:00 AM
My daughter somehow changed my "normal" cursor into an animated bug eyed cat cursor, and I need to find out how get rid of it and get my plain old cursor back. I hate this animated thing! I asked her to undo it, but she didn't remember how, and I've tried whatever I can think of, but to no avai...more >>

Open my app from an associated file
Posted by Doug Bell at 10/5/2005 12:00:00 AM
Hi, Recently I asked how to write code to open an App from its associated file. I got assistance from Ken show me the Process.Start command. I would now like to start the App that I have built from its associated file type. Could someone advise me on how I make my App aware of the specific ...more >>

Handheld device (2)
Posted by M. Bruil at 10/5/2005 12:00:00 AM
--> Does someone have a short code example ?? Hi, A customer requested to permanently activate the red Function key on a HHP Dolphin 9550. This key behaves like a SHIFT key for function keys. They have to make a lot of key entries: RED KEY - F1 RED KEY - F2 RED KEY - F3 .... and ...more >>

through crystal reportdirect print out to print ?
Posted by at 10/5/2005 12:00:00 AM
Hi all, I created a vb.net program which provide print report funtion. I would like to print to printer directly, that's mean no need user crystal report viewer....can ? Thanks ...more >>


DevelopmentNow Blog