Groups | Blog | Home


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 > march 2004 > threads for thursday march 18

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

test
Posted by DzemoT. at 3/18/2004 10:57:24 PM


ListBox Binding and SelectedIndexChanged
Posted by afh3 at 3/18/2004 10:35:34 PM
Re: Windows Forms ListBox Binding and SelectedIndexChanged Event firings. It would appear that the process of binding a ListBox to a DataSource and setting the DisplayMember and ValueMember properties results in the SelectedIndexChanged event firing for each of the property settings. How rem...more >>

Class Inherits Question
Posted by WStoreyII at 3/18/2004 8:39:10 PM
I want to make a class that inherits datagrid but i want to make it so that only the properties and the methods that i make are available for use how is this done? WStoreyII ...more >>

BOO!
Posted by MS public at 3/18/2004 8:35:47 PM
Hi Guys how are you all ? OHM ...more >>

VB.NET: Changing object back color
Posted by Chin Fui at 3/18/2004 8:29:18 PM
Hi, all... I am writting a program that need to change the objects backcolor(such as label, textbox). I need to change the color by using coding, not directly change in the property menu. Then, how do I code that? Another problem is how to apply the object color as the If statement condition i...more >>

MP3 File playback
Posted by petdoc at 3/18/2004 7:38:09 PM
Hello, I am looking for documentation on how to play an .mp3 file from within my vb.net application. I can play .wav files via the Playsound function but searching for .mp3 samples only turns up shareware libraries. I'd prefer to code my own rather than shell out $100 but can't seem to find ...more >>

FoxPro Data Connection
Posted by Trent at 3/18/2004 7:31:07 PM
Hello I'm very new to the .NET environment and am starting to learn on my home pc. I have some foxpro tables that I want to use. How would I go about connecting to the data? I am very familar with VB 6 and all versions of Fox. This .Net stuff is quite the different animal Any suggestions or ...more >>

SQL & Using results
Posted by Trancedified NO[at]SPAM yahoo-dot-com.no-spam.invalid at 3/18/2004 6:42:01 PM
Hello, I am trying to load the results of my SQL query into a combobox called cboTemplate. That works, but is there a way to select one of the items and do something with it? I tried: Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Butt...more >>



Who can help me set up a tray icon contextmenu ??????????????
Posted by Koolvb1 at 3/18/2004 6:16:06 PM
Hello Can somebody help me creat a tray icon contextmenu, so when you right click the icon the menu appears. Also, when an item is clicked on the menu, the tray icon's form will appear or disappear I have the following code for the problem but it does not seem to do much thanks Bruc Sub...more >>

Possible software?
Posted by MadCrazyNewbie at 3/18/2004 6:10:52 PM
Hey all you Guys and Gals, Hope somebody could suggest some software to me? Basically I`ve been learning VB.NET over the past 4 months, spending approximatly 4 hours per day learing 5 days a week. I`ve figured now i know the basics (Thanks to you guys and gals) the best way to learn more is...more >>

Multiple Forms Question
Posted by bob NO[at]SPAM bob.com at 3/18/2004 5:10:08 PM
I have a program which goes across multiple forms. The first form has a listbox of current employees. On another form there is an add/delete list box for the same list of employees, which are taken out of a database (using oledb and access). What i'm trying to figure out is how to get the list o...more >>

DataSets & DataAdapters
Posted by Z D at 3/18/2004 5:03:41 PM
Hello, here's the situation: I have a query that returns 2 columns of data from a table. This data is loaded into a typed dataset (DS). I display each column's data in a text-box in ASP.NET. Now, I dont want to have to save the DS or its corresponding dataadapter in session or viewsta...more >>

VB.NET equivalent to C# "x y = z as y"
Posted by jimi_with_an_i NO[at]SPAM yahoo-dot-ca.no-spam.invalid at 3/18/2004 4:55:22 PM
I was wondering if there was a VB.NET equivalent to the following C# statement: SomeType SomeVar = SomeOtherVar as SomeType; I know that in VB.NET you could have: Dim SomeVar As SomeType = CType(SomeOtherVar, SomeType) but this throws an exception if the cast fails while the C# exam...more >>

problem : MSFLEXGRID IN VB.NET
Posted by zaro NO[at]SPAM moidabord-dot-net.no-spam.invalid at 3/18/2004 4:55:22 PM
hello, I have developped a program in VB6 which use a MSFLEXGRID I must migrate it to VB.NET I have imported the component in my form1 I don't know how to make the relation between my access database and my msflexgrid (I DONT WANT TO USE A DATAGRID OR SOMEWHATELSE : I WANT TO USE TH...more >>

Drag/Drop for RichTextBox
Posted by Amjad at 3/18/2004 4:36:10 PM
Why don't I have the Drag events (DragDrop, DragEnter, etc.) available for the RichTextBox control PS. I use MS .NET Framework 1. Amjad...more >>

ERROR_INVALID_WINDOW_HANDLE
Posted by Brent Burkart at 3/18/2004 3:39:09 PM
What does this error mean? I recieve it when trying to do a "logonuser". I don't even know where to start and I am not tracking much down on the net. any help is appreciated Thanks, Brent ...more >>

When to use DEBUG or TRACE??? difference between them plz
Posted by Mat at 3/18/2004 3:27:10 PM

Cant view form design but can edit the underlying code
Posted by foo at 3/18/2004 3:18:47 PM
Hello All, I have a form that's ingerited from another form in the same project... when I open the derived form in the IDE I can edit the underlying code but when I try to open the form design I get the error: "An Error occurred while loading the project. Fix the error and then try loading...more >>

VB6 and COMInterop and Windows Services....
Posted by spai NO[at]SPAM immunetolerance.org at 3/18/2004 3:07:35 PM
Hello there, I have a vb .dll file developed in version 6.0, I need it to run like a windows service, the vb .dll file access a mail box and intimates the user on reciving a mail and transfers the mail attachment to a predefined location, i have used COD 1.2.1. now when i use cominterop and...more >>

Newbie : Why Code Not Compile
Posted by Rafey at 3/18/2004 2:04:46 PM
Interface Problem The following code in Listing 1, compile successfully, but if we change the class "CTest" as Listing 2, then the code is not compiled. Also if we change the class "CTest" as Listing 3, then code again compiles. Can any body explain it. Listing 1 /***************...more >>

Paypal integration
Posted by MSN at 3/18/2004 1:16:52 PM
Anyone know of any examples in VB .NET to interface with Paypal. Sending information back and forth? Thanks Tony ...more >>

Font
Posted by MSN at 3/18/2004 1:08:05 PM
XP Pro, VS 7 VB Why am i having trouble with fonts. I'm createing and aligning labels in the VS IDE and then I run the program and it all overlaps and not aliegned? I changed font in both IE6 and on the control to no avail. Characters seem much larger in IE. I don't want users to have to chang...more >>

drag and drop from Explorer to TreeView in VB.net
Posted by wandali NO[at]SPAM rogers.com at 3/18/2004 12:11:09 PM
Hello, I am trying to drag a file from Explorer to the TreeView control in VB.Net, but I have no idea how this will work, could I get the lines of code on how I can accomplish this please? Thanks in advance, any help would greatly appreicate. Wanda...more >>

Help: TCP code: NullReferenceException: Object reference not set to an instance of an object.
Posted by VB Programmer at 3/18/2004 11:59:47 AM
I am trying to write a telnet emulator. I followed the example code for EndRead, but when it gets to the last line (in the code below) I get a NullReferenceException error. Any ideas? Here's the code: Private Sub myReadCallBack(ByVal ar As IAsyncResult) Try Dim myNe...more >>

Casting Syntax Error
Posted by Chris Lane at 3/18/2004 11:56:08 AM
Hi I noticed I keep running into the same types of errors when casting I have Option Strict set on too Here is the code Convert.ToInt32(e.NewGroupPath The DataTypes are defined as follows: Public Property GroupPath() As Integer( Member of: CrystalDecisions.Shared.TotallerNodeI NewG...more >>

dragdrop de controles
Posted by fernando at 3/18/2004 11:46:24 AM
Hola gracias de antemano; mi problema es el siguiente: Hago una carga de controles mediante un array en un panel, luego mediante dragrdrop los llevo hacia otro panel, El problema comienza cuando utilizo el metodo dodragdrop, anula los otros metodos y eventos del control. El control es un pictureb...more >>

FileSystemWatcher Help?
Posted by Kiran B at 3/18/2004 11:33:11 AM
I am working on filesystemwatcher and use to watch a folder to see if any new files have been created. If any new file is created then, i will open it parse it and save the parsed data into db. It works fine when the file is created for first time (Say a.x12 file is created on folder new and it ...more >>

Can ANYBODY find what's wrong with this simple code
Posted by SamSpade at 3/18/2004 11:31:48 AM
Public Property TxtTabSpacing() As Integer Get Dim lTabPos(31) As Integer 'Max allowed is 32 tabs lTabPos = RichTextBox1.SelectionTabs() TxtTabSpacing = lTabPos(0) End Get Set(ByVal TabLength As Integer) Try 'Set a tab every TabLength Dim lTabPos(31) As Integ...more >>

Ado.net basic questions
Posted by JH at 3/18/2004 10:48:57 AM
In my application which connects to a database with three tables dynamically 1. Is it necessary to have more than one connection string every time I create a dataset? 2. Is it recommended to use more than one data adapter each time I query to form a dataset? 3. when do you close a connection? ...more >>

Burrning a CD
Posted by Wayne Taylor at 3/18/2004 10:44:02 AM
Hi all Any one know how to burn a CD using VB.NET? I want to write a small console application which will copy data from the staging area onto the disk, it's so we can automate a backup? Thanks in advance. Wayne Taylor ...more >>

Inheritance question
Posted by Craig Buchanan at 3/18/2004 10:33:35 AM
I have three classes in my application, ObjectBase, Folder and Document. Folder inherits ObjectBase as does Document. I store common information in a table named 'Object' and additional information in tables named 'Folder' and 'Document' respectively. In the Object table, I have a field TypeId ...more >>

dataadapter...dataset..connection
Posted by JH at 3/18/2004 10:32:55 AM
This code failed miserably. And the error shows on the ConnectionT.open() ans say exception occured in system.oldbb. ....... any help please Dim ConnectionStringT As String = "Provider=Microsoft.Jet.OLEDB.4.0;Password='';" & _ "User ID=Admin;Data Source= C:\temp\account.mdb;" & _ ...more >>

FileStream.Open with locked files
Posted by Kai Thorsrud at 3/18/2004 10:09:19 AM
Hi! I'm working on a log reader and i access the logfile with a FileStream. If the logfile get's flooded it might be that the logfile is locked when i try to open it for reading. The Open method throws an exception. What i want to do is to check if the file is locked before i try to open it so...more >>

Toolbar control
Posted by David Schwartz at 3/18/2004 10:04:57 AM
Which toolbar control would you recommend for a VB.NET Windows Forms application and why? Thanks! ...more >>

Cloned menu
Posted by Dave Taylor at 3/18/2004 10:02:46 AM
I have two separate Windows forms, frmA and frmB, both are MDI child windows. But frmB is also a "child" of frmA...at least conceptually speaking. So I want both frmA and frmB to share the same menu, is it possible to do this? So far, I have tried setting frmB.Menu = frmA.Menu, but that didn...more >>

Detecting when another form has closed
Posted by Robert Batt at 3/18/2004 9:11:12 AM
Hello, I have a form called form1 and I load up a dialog form from it as shown below: Dim Myform As Form Myform = New frmOrderEntry() Myform.Show() I wish to run a procedure in this form called "RefreshGrid" once the frmOrderEntry form ...more >>

Validate user and password in the domain
Posted by Daniel at 3/18/2004 6:11:10 AM
I need to create a form that the user place the UserId and Password, and next I'll check if is it right in he Server Domain? How I can do this?? ...more >>

Microsoft Communications control
Posted by Steve Liebenberg at 3/18/2004 3:25:47 AM
I have used the ms comms control extensively in my vb6 prof. developments which I am in the process of converting to vb.net. However, I do not seem to find the comms control in the .net toolbar. How can I register this control in .net? ...more >>

Searching in ComboBox/ListBox
Posted by Joachim at 3/18/2004 3:21:08 AM
Hi there Can anybody teel me how to make a search function like in MSDN or the other products of Microsoft What I mean is When we type a letter 'P', everythings that begin with 'P' will show up in the first line of the box When we type a letter 'Put', everythings that begin with 'Put' will sh...more >>

addhandler problem
Posted by Benjamien De Vos at 3/18/2004 3:17:02 AM
hello, I made a usercontrol, and I add it to my form at runtime. If my mouse enters that control, a sub has to start. But for some reason, the trigger doesn't work. When I enter the usercontrol with my mouse nothing happens. Can anyone please help me? this is the code: For Each oCard In ...more >>

Loop through properties of a class in code
Posted by Chris Podmore at 3/18/2004 2:26:08 AM
I have a class that I would like to be able to loop through its properties and populate the value of the one I am searching for, in code Example The class has 1 read-only integer (A), 2 integers (B, D) and 2 strings (C, E What I need to be able to do is call a function similar to the one below ...more >>

Change in email functionality/
Posted by teddysnips NO[at]SPAM hotmail.com at 3/18/2004 1:45:23 AM
I use the function below to send email from my ASP.NET application. When I last visited it about three weeks ago, it would display the mail message on screen and require me (the user) to send it manually. The sent message would appear in my "Sent" messages folder. Now, having made no changes...more >>

GotFocuse
Posted by QuocTuan at 3/18/2004 12:26:15 AM
Hi I have some textboxs in from such as textbox1, textbox2... and one button. So I want to know when I click button, the forcuse be turn into the textbox1. Someone can help me?...more >>


DevelopmentNow Blog