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 monday march 29

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

Loading a music file
Posted by Tom W at 3/29/2004 11:46:09 PM
Hay everyon Ive got 2 question A) What is keypress and how do I use it (in this case for multiplying and dividing B) I'm making a program to play music (kind of like windows media player). I've got the load button working but sso that when I debug and I press "open" (the name of the button that o...more >>

GC: Further Discussion
Posted by Sueffel at 3/29/2004 11:33:04 PM
Okay, I saw the post below about GarbageCollector, and have done some research myself, and still have a concern/issue I'd like to address and maybe solve. In VB6, you set an object - Nothing, that sucker was gone. From what I understand, it's no real difference than using malloc() in C+...more >>

drop down list in datagrid
Posted by WStoreyII at 3/29/2004 11:30:21 PM
how can i get a drop down list in a datagrid like the sub datasheet in ms access? WStoreyII ...more >>

Infragistics UltraWinTree control
Posted by GG at 3/29/2004 11:22:31 PM
Hi, Is anyone out there experienced with the Infragistics UltraWinTree control? I'm trying to get checkboxes to display on the nodes and just can't get it working. I am able to add images but the checkbox eludes me. Thanks ...more >>

Background Compile Issues
Posted by William Ryan eMVP at 3/29/2004 10:47:04 PM
We currently have a fairly large project (roughly 80,000 lines of code) and on some of our slower development machines, the developers are noticing that hitting the enter key two or three times causes the IDE to hang for about 3 seconds. All in all it's slowing down. I have a really fast mach...more >>

Problem with Xml & XSL Transformation in VB.NET, Please HELP
Posted by Tiraman at 3/29/2004 10:35:46 PM
Hi, I m working in VB.NET in front of ASP.Net and I would like to Transform Xml with XSL and I would like to get the Html results as string into one of my string params. How can I do that? 10x in advance ...more >>

Save Table From Memory
Posted by WStoreyII at 3/29/2004 10:19:33 PM
I have created a datatable from memory my question is how is this saved do i save it to a database file or does vb have a default way of saving a homemade datatable? WStoreyII ...more >>

Modal form from a thread
Posted by Peter at 3/29/2004 10:01:07 PM
I was wondering if anybody had any suggestions on the following requirement I have an MDI parent form with a child form. A seperate thread is created by the child form to run a computation. The progress of the computation should be reported to the user, and also allow the user to cancel at any t...more >>



Adding Events To Custom Class's
Posted by WStoreyII at 3/29/2004 9:21:40 PM
I am making a custom tree control I want to make a sub that will react to the nodeclick and add the text of the node to a status bar in the treecontrol how do i do this inside of the class code? WStoreyII ...more >>

Detecting PropertyChanged events
Posted by Lance at 3/29/2004 9:11:07 PM
I have two classes (lets call them A and B). A and B will always be classes of identical types, although the class type is unknown at design time. What I need to do is update a property of B whenever the same property of A changes (but not update A when B changes). In other words, I need to be ab...more >>

How to start a NT service
Posted by yxq at 3/29/2004 9:02:35 PM
Hi, I want to start a system service with vb.net, how to do? Thanks ...more >>

Timer Function in VB .Net App
Posted by fripper at 3/29/2004 8:59:37 PM
I have a VB .Net application in which I want to put up a 10 second timer that counts down to zero and then goes off to another page. I want to display the count as it goes down in a textbox. I'm not sure how to do this .... specifically should I use a VB timer control and do the countdown on ...more >>

Using a String value as a RadioButton object reference
Posted by mike_bazoo NO[at]SPAM hotmail.com at 3/29/2004 8:20:39 PM
I am a novice vb.net programmer and hope someone can help me. For a questionnaire, I have several (100+) radio buttons whose names follow this standard: radAlways1, radAlways2, 3.. 10 radUsually1, radUsually2, 3...10 radSometimes1, radSometimes2, 3...10 etc My ultimate goal is to loop th...more >>

Using HTTP Request and Response
Posted by Alfred Sahayam at 3/29/2004 7:23:55 PM
Can anybody tell me as how should I use the HTTP resuest and response in the VB .Net. I need it urgently. If possible, please explain with sample. Thanks in advance,, Alfred ...more >>

Re: Preventing Multiple Instances of a Component
Posted by JackRazz at 3/29/2004 6:57:20 PM
I forgot to mention that I need to do this in DesignMode. JackRazz "JackRazz" <JackRazz@NotValid.com> wrote in message news:... | I'm writing a component (NOT A CONTROL) that need's to determine if an instance of | the component is already placed on a form and, if so, kill the new instance...more >>

Preventing Multiple Instances of a Component
Posted by JackRazz at 3/29/2004 6:55:49 PM
I'm writing a component (NOT A CONTROL) that need's to determine if an instance of the component is already placed on a form and, if so, kill the new instance. Anotherwords I only want one instance of a component on a form. Does any have any ideas on how I could do this? If its possible to wal...more >>

Installation of dotnetfx.exe - .net framework
Posted by tek1940 NO[at]SPAM hotmail.com at 3/29/2004 6:53:01 PM
I have VB.Net Standard 2003 on Windows XP Home Edition. Ready to deploy first application. I downloaded dotnetfx.exe today; it's File version 1.1.4322.573. When the client manually starts dotnetfx.exe, what happens? The first message is "Would you like to install Microsft.NET Framework 1.1 Pa...more >>

passing enumeration parameter to generic (all enumeration) sub
Posted by JackRazz at 3/29/2004 6:44:31 PM
Hi everyone, I'm trying to figure out how to pass enumerations to subroutines by reference so that I can return a changed enumerated value. For example, I have a UpdateProperty function that could take all integer enumerations, set it, and return it's updated value. When I do something lik...more >>

Make your own toolbar in Windows Taskbar?
Posted by Jarod_24 at 3/29/2004 5:53:50 PM
Anyone know of how to make a Toolbar that i can add to the Taskbar (like Quicklaunch). btw: I'm not talking about a toolbar in Internet Explorer. ...more >>

DateTime issues with a.m./p.m.
Posted by Doug Swanson at 3/29/2004 5:49:06 PM
We have as ASP.NET application that hits a SQL Server database. When I change the culture info from 'en-US' to 'es-MX' my code that queries the database fails....I've set my dateform to dmy on the sqlserver side....my sql code that goes up to the db looks like this... select... from x where...more >>

Run Dos Command
Posted by MadCrazyNewbie at 3/29/2004 5:41:19 PM
Hey Group, Hows would I run a DOS command with Parameters in VB.Net Via a command button? The command I need to run is: C:\Program Files\SOLO\AwSolo32.exe C:\TDR\1209\Solo32rt.SOL Many Thanks MCN ...more >>

Word 10 / Word 11
Posted by Urs Vogel at 3/29/2004 5:37:54 PM
Hi I'm aware that this is the wrong newsgroup, but someone may give me a hint where to find an answer to this problem. My .Net app is using the Word (Office 2003) object, but some of my customers are still using Office XP or even earlier versions. I can determine the installed version, but ...more >>

UserControl in Internet Explorer
Posted by Stephajn Craig at 3/29/2004 4:35:22 PM
I've been trying and trying to get a WinForms User Control to activate in Internet Explorer, and just cannot seem to succeed at it. I created a simple user control with a textbox on it that shows a message box when it loads. Nothing too fancy right? I followed the instructions in the Window...more >>

C to VB. Can you please help me in solving this?
Posted by Miguel Dias Moura at 3/29/2004 4:27:00 PM
Hello, i am working in an ASP.net / VB web site and i need to create a calendar which displays events from an Access database. I found exactly what i want in a simple article with a small code in Macromedia's web site: http://www.macromedia.com/devnet/mx/dreamweaver/articles/aspnet_calendar...more >>

CType question
Posted by Jeff Bunting at 3/29/2004 3:36:30 PM
Given the following: Dim t As Type = Me.GetType Dim ClassProperties As PropertyInfo() = t.GetProperties Dim ClassProperty As PropertyInfo Dim ClassType As System.Type ClassProperty = t.GetProperty(PropertyName) ClassType = ClassProper...more >>

HTTP webclient or webrequest File post with variables
Posted by Matthew S at 3/29/2004 3:36:12 PM
Hello, I'm looking to use the WebClient or HTTPWebRequest classes to post a data file to an ASP.NET page. While I know I could use the WebClient.UploadFile method, I am looking to send 2 form variables along with the file data, unfortunately I don't see an obvious way to do so. Does any...more >>

Garbage Collection - I already took it out!
Posted by Mythran at 3/29/2004 3:32:29 PM
Group, Got a quick question that I have asked in the past but still, no answer that I think is sufficient for the question. The question I have pertains to the following snippets: Public Function Fetch() As DataTable Dim bllObject As BLL.MyObject = New BLL.MyObject Dim row As S...more >>

Control Panel Application
Posted by Eddie at 3/29/2004 3:00:16 PM
Hi all How may I add my own Icon in the control panel ? The the user double-click my icon in the control panel, I want to start my config application... Thx for your help :o) Eddie ...more >>

Email Attachments are corrupted
Posted by Russell Stevens at 3/29/2004 2:10:11 PM
What needs to be done to get SmtpMail.Send to work with an attachment - ex. Imports System.Web.Mail Dim ms as New MailMessage Dim mattach As New MailAttachment("FullPathToPDFFile",MailEncoding.UUEncode) ms.To = "someone@microsoft.com" ms.From = "me@somewhere.com" ms.BodyFormat = MailFormat...more >>

HOW TO: Avoid *ComboBox DropDownStyle = DropDown* change the text in the textbox?
Posted by John Smith at 3/29/2004 1:57:41 PM
HOW TO: Avoid *ComboBox DropDownStyle = DropDown* change the text in the textbox? I am using a ComboBox to suggest and not to impose a list of words DropDownStyle = DropDown when setting the ComboBox.Text to a non capitalized word that exists capitalized in the ComboBox list, the text sho...more >>

TextBox
Posted by Bill English at 3/29/2004 1:36:46 PM
How do I access textbox1 which is in Form1 from Form2?...more >>

Please Help with Datatable within Dataset
Posted by Merlin at 3/29/2004 1:19:24 PM
Why does the following only work once? If I put the grid code in a button and click once the grid is populated, if I click the button a further times the grid has no data! What I'm attempting to do below is put a Datatable within a Dataset and show the results in the grid, then clear the Datatabl...more >>

How to check for event listeners?
Posted by Max at 3/29/2004 1:01:54 PM
I know that in VB.Net I don't need to check if an events has some listeners, because raiseevent do that for me... but I WANT know if the event has some listeners, because IF it has someone, I do some cpu intensive works. Public Event CarRead(ByVal sender As Object, ByVal MyData As MyLittl...more >>

Crystal Report Viewer in Visual Basic
Posted by Alexander Hoffmann at 3/29/2004 12:04:05 PM
Hello newsgroup, it's the firsttime that I work with the Crystal Report Viewer, so I have some questions. I have a old report with a own datasource. The report connect database about a ODBC-driver. Now, I want to use this report in my new programm. I insert in my programm a crystal report vi...more >>

Trouble creating object by name
Posted by Troy at 3/29/2004 12:01:11 PM
I have some code below that is trying to instantiate a form via a string containing the class name of the form The assembly by 'partial name' seems to be ok, it returns an object The GetType(string) is returning Nothing. I can type in the string as is in the Command Window or Code Window and int...more >>

variables and controls across forms
Posted by Sameh Ahmed at 3/29/2004 11:52:44 AM
Hello there I need to know how can I deal with a variable or control on a form different than the one I am currently working on. Ie. I want to change a lable on a form from a button on another, i also want to be able to read and write vaules to public variables on the other form. How can i do t...more >>

DB Table Structure for Building Menu Dynamically
Posted by Chris Lane at 3/29/2004 11:21:06 AM
Hi I am having a harder time then I thought trying to come up with a table structure that allows for menus deeper then 2 levels. I am sure somebody out there has used a db to build menu's in VB dynamically If anybody wants to chime in with a decent table design let me know or a URL to a decent ...more >>

empty vs null
Posted by juzan at 3/29/2004 11:18:20 AM
hi what is the difference between an empty string and a null string? thanx ...more >>

EnableRaisingEvents
Posted by Niclas Lindblom at 3/29/2004 11:06:59 AM
Hi, According to MSDN, it is only possible to catch one event every 5 seconds with the EntryWritten event and therefore events could be missed if they arrive near each other in time. I was planning to write a service that would monitor the security log and react to certain messages, but obviou...more >>

'Sub Main" was not found in 'MyProj.Form1'
Posted by Jin at 3/29/2004 11:06:10 AM
After changed the form's name from Form1 to myForm, the compiler sent this message 'Sub Main" was not found in 'MyProj.Form1'. Please help. Thanks (I am learning to create a windows app using VB .NET)...more >>

compiling crystal reports files into app?
Posted by Brian Henry at 3/29/2004 10:41:11 AM
is it possible to compile a crystal reports report into an app then use it as an embedded resource or something to run the report? ...more >>

vb.net winform apps fail on WindowsNT
Posted by Elliot M. Rodriguez at 3/29/2004 10:19:33 AM
I've been struggling with this for a bit now and I hope someone can offer some help. Any winform app I assemble that I run on WinNT SP6a with 1.1 framework installed completely crashes. Whether its by simply running a built EXE or creating a VS installation project, the result is the same. A m...more >>

Delegate question.
Posted by Noor at 3/29/2004 10:07:21 AM
Hi when i declare a delegate like "Private Delegate Function operation(ByVal x As Integer, ByVal y As Integer) As Integer" and I also have method that matches this delegate signature like. "Private Function add(ByVal x As Integer, ByVal y As Integer) As Integer Return x + y End Fu...more >>

Limit to TextBox.AppentText
Posted by CJ Taylor at 3/29/2004 9:57:53 AM
Is there a limit to how much can be added by using AppendText Method of a text box. Not the size to be added, but a limit from the textbox itself. I added about 400k of text to a text field, and after that, every time appendtext was called, stuff just stopped showing up. Any help would be a...more >>

Getting the type of a class property?
Posted by Jeff Bunting at 3/29/2004 9:56:13 AM
I'm trying to create a datatable based on the properties of a class. I've got this Dim DT As New DataTable Dim t As Type = Me.GetType Dim ObjectMembers As MemberInfo() = t.GetProperties Dim Iterator As MemberInfo For Each Iterator In ObjectMembers ...more >>

Get My IP Address
Posted by Eddie at 3/29/2004 9:48:38 AM
Hi all ! How may I get my IP Address with vb.net ? Thx for your help :o) ...more >>

RASDIALPARAMS - diff size expected between GetRasEntryDialParams and RasDial ??
Posted by Ken Hughes at 3/29/2004 9:11:05 AM
Hi I have a app which needs to make an internet connection - I'm using the RAS API to do this.. I have the RasEnumEntries working ok - finds the entry I need and also the RasGetEntryDialParams - retrieve the data for the entry I want to dial - BUT when I pass this structure to RasDial I get a 63...more >>

VB.NET Certificates
Posted by peter NO[at]SPAM mclinn.com at 3/29/2004 9:04:14 AM
I want to digitally sign my exe files. Is there an easy way of doing this, and is there something cheaper than $400?...more >>

MFC and VB .NET
Posted by Chen at 3/29/2004 8:51:05 AM
Can I use MFC classes (like CDialogBar) in my VB .NET project? If yes, How Thanks....more >>

disable tabstop in datagrid
Posted by Randy Fraser at 3/29/2004 8:40:45 AM
Does anyone have a code example on how to disable the tabstop in a data grid. Cor sent me some links early on but I still have no luck doing this or finding a property or class to do this. Regards Randy ...more >>

Re: Media Player 9 Control Help
Posted by Overburn at 3/29/2004 7:41:46 AM
I think I have been misunderstood or I am just really dense... The purpose of this program is so that I can put the "screensaver" on my computers at work (I work in retail) so that kids and other trouble makers dont start getting on to the computers and start messing with all the built in game...more >>

Error at Form Level when resizing PictureBox
Posted by tony NO[at]SPAM lugg.com at 3/29/2004 7:35:08 AM
I have a UserControl with AutoScroll and a PictureBox that I load images into. The PictureBox is set to stretch the image, and in order to achieve a zoom effect, the PictureBox is made bigger (or smaller if zooming out). This works fine, except that with a large image I eventually get an excep...more >>

Free ODB.Net
Posted by feng at 3/29/2004 7:28:27 AM
ODB.Net is an Object/Relational mapping framework that allows persistence ..Net Objects against relational databases. It completely based on ADO.NET technology and also can be used in the same way as .Net build-in Data Provider. With ODB, you can build applications that work with multiple databa...more >>

Web Forms Controls wont appear in the browser.
Posted by Learning .NET at 3/29/2004 7:16:13 AM
I have just started to learn VB.NET I am creating an ASP.NET Web Application At the minute I am working through the tutorials The problem is when I Build and Browse the form only the HTML Controls are displayed, Any Web Forms Controls that are there don't appear in the browser window. And this i...more >>

DataRows & other objects
Posted by David Morris at 3/29/2004 7:16:12 AM
Hi All, First off, please forgive me for posting to this group. My question is about ADO .NET, and I couldn't find another group that focused on ADO .NET. I did see one for classic ADO, but wasn't sure if this was the best group for my question. I've been playing around with ADO .NET for abo...more >>

Differences between VS.NET and VB.NET standard
Posted by JJ at 3/29/2004 6:06:05 AM
I currently have VS.NET Pro at work and I am looking to buy VB.NET Standard for personal home use. After looking at the documentation at MSDN, I'm still not sure what are the things missing in VB.NET standard that are available in VS.NET Pro. I know that the following things are missing - Canno...more >>

uninstall conditions
Posted by jonsie at 3/29/2004 3:56:05 AM
Hey all I am deploying a .dll file with a folder of sample code (1 project) When I uninstall the package, the 'sample' folder is left behind, containin a copy of the dll. I think it's because the uninstaller won't delete folder (such as bin and obj) which have been created after the installatio...more >>

Can't insert Time into ACCESS MDB with VB.NET
Posted by Bob at 3/29/2004 3:46:06 AM
Used everything: Now(); TimeValue(); Now.TimeOfDay() - nothing works! MDB stores default time 12:00:00 AM !! Format() function didn't help too BTW, Today() works fine and stores current date What to do? ...more >>

Install a .NET Windows Application..
Posted by Bernardo at 3/29/2004 3:06:08 AM
Hi I have to put my Program EXE in a server share, but when I try to open the program a "System.Security.SecurityException" occures If I open my program in my computer no error occures.. Any clue Thanks for your help ...more >>

RasEnumEntries - incorrect struct size ??
Posted by Ken Hughes at 3/29/2004 2:41:06 AM
Hi I'm trying to enum all the RAS entries but continually get error 632 (invalid structure size). I know there are different sizes of the structure depending on version and I've tried with and without the Win2000 additional struct members... The sizes should be either 264 or 532 depending on versi...more >>

How to scan items of combo box
Posted by Li Pang at 3/29/2004 1:21:05 AM
Hi I want simply to scan the items of a combo box control. Anyone give a help Thank ...more >>


DevelopmentNow Blog