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 > january 2004 > threads for monday january 26

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

Weblinks automatically stored in address book ?
Posted by fcaspam NO[at]SPAM yahoo.fr at 1/26/2004 11:08:39 PM
I would be very curious to record automatically the presence on the net (links!) for all the contacts in my address book. I believe that can be programmed easily in VB by calling the Google API, so could easily be an add-in of Outlook. However, if another easy technology does it, I am open to...more >>

Why is Format Slow the first time?
Posted by Bob Graham at 1/26/2004 11:03:34 PM
This code: txRate.Text = Format(payRate, "C") (payRate is already succesfully set to a value such as 15D) takes about 3-4 seconds to run the first time, after that it's plenty fast. What makes it slow on the first call? Bob Graham ...more >>

Services and properties
Posted by Brian Henry at 1/26/2004 9:57:16 PM
I have a service that I need to use to monitor a folder, but I need to tell it what folder to monitor... a setting that could be changed if needed... what do you guys suggest as the best way to set a setting for a windows service? or how would you guys go about doing it? thanks! ...more >>

Access information on Microsoft Exchange
Posted by Kevin L at 1/26/2004 8:22:42 PM
Is there a way to access messages or information pertaining to emails on Microsoft Exchange? I am interested in writing an application in VB.net that searches email content and also keeps email statistics (how many messages sent or received per day etc), ...more >>

Add and remove RTF-text in a RichTextBox at runtime?
Posted by M O J O at 1/26/2004 8:07:44 PM
Hi, How do I add and remove PART of the RTF-text in a RichTextBox? If I use... MyRichTextBox.Text = "New text" & MyRichTextBox.Text .... then all my RTF (higlight, bold, underline and so on) is removed. Thanks! M O J O ...more >>

VB code runs different than C# code - Why?
Posted by Joe Fallon at 1/26/2004 7:46:14 PM
I have a C# class that works correctly. I translated it to VB and now it runs differently. The C# class evaluates the Public properties and then executes MyBase.New. So default values are set first and then MyBase.New reads in new values (if they exist.) The VB code does it in reverse. It ...more >>

OT: Hi Guys
Posted by One Handed Man at 1/26/2004 7:19:18 PM
Just popped in to say hello!, I've been working my socks off for the = last week and a half and have not had much time to post, but I'm = learning a few new things so thats good. As Arne would say. I'll be back ! :-) --=20 Best Regards - OHM O_H_M{at}BTInternet{dot}com...more >>

Best way to make a single "shared" dataset available to multiple Windows forms
Posted by John Granade at 1/26/2004 6:26:05 PM
I'm looking for the best way to make a dataset available from multiple Windows forms. The dataset is created from an XML file. I have a main form (frmMain) that loads the dataset and reads the data but then I have other forms that give the ability to add, modify, and delete rows. This of cour...more >>



OracledataAdapter
Posted by Botan Güner at 1/26/2004 5:40:01 PM
i have established the connection betweeb oracle & visual studios server explorer and placed a connection in my project, but when i tried to configure the dataadapter, while its creating the sql statements i take an error "ORA-00162: externeal dbid length 21 is greater than maximun (16)" and ask...more >>

Middle-tier equivalent to server.mappath?
Posted by Craig Buchanan at 1/26/2004 5:02:01 PM
I would like to use xml files as the datasource for a few vb.net classes that sit in the business tier. It would make sense to located this files in a subdirectory relative to the location of the DLLs. Is there a way to do this? Thanks, Craig Buchanan ...more >>

Outlook Contact item
Posted by Chen at 1/26/2004 4:32:04 PM
Are there any sample code for access Contact items in public folder of Outlook from VB.NET Thanks...more >>

calling a C dll or executable from vb.net
Posted by Paul at 1/26/2004 3:36:06 PM
Hi I have a vb.net app and am trying to call a C program from it, perhaps a dll or executable. This is unmanaged code, just wondering if someone could provide a brief example? Thanks Paul....more >>

MSAGENTS IN VB.NET
Posted by SStory at 1/26/2004 3:28:08 PM
Has anyone used MSAgents in VB.NET? What can you tell me? Good idea? Bad Idea? Do you think support for MSAgents will go away soon or MS will start charging for it? thanks, Shane ...more >>

ToolTip or Help Bubble
Posted by Rob Panosh at 1/26/2004 3:15:28 PM
Hello, I am looking for a tooltip that looks the the bubbles displayed in comic strips, circle or square that points to a desired point. Is this possible in VB.Net .... I would also like this help bubble to be able to scroll the text displayed in it. If this isn't supported in VB.NET then my...more >>

PlaySound
Posted by Ot at 1/26/2004 2:54:26 PM
I found information on PlaySound. I implemented it in my program and it works just dandy. The only little problem is that I have to package the ..wav files and send them along since PlaySound plays a sound file. One of the options I found in a nice description of PlaySound says that there ar...more >>

Problem with Parameters in Access
Posted by Giorgio Gentilil at 1/26/2004 2:53:30 PM
Hello, i'm having a very strange problem, while every person in this planet could make a parameters procedure from an access database works ......... guess, i'm not. The code lines are the next.... con.Parameters.Add("NumLocal", OleDb.OleDbType.SmallInt).Value = Application("Local") /...more >>

Sending an e-mail, how
Posted by Bob Dufour at 1/26/2004 2:52:34 PM
E-Mail address is shown in a textbox on a windows form. Can anyone point me to code that would allow the standard e-mail client of the user to pop up on double-click and have the address filled in? Is there a controol that alrerady has this behaviour built -in? Thanks for any information, ...more >>

How to call EnumDisplaySettings from VB.Net
Posted by Mark Snyder at 1/26/2004 2:40:05 PM
I want to call EnumDisplaySettings from a VB.Net project. Is there simply no way to do this? Mark ...more >>

Still can't call as400 program from VB.NET?
Posted by Scott Johnson at 1/26/2004 2:13:55 PM
Hi I have been pulling my hair out for the past week trying to call a program (or a query, or CL etc) on an iSeries (as400) from VB.NET and I just can't get it. Jay had written me back and told me to treat it like a StoredProcedure, which I will include a sample of my error-generating code b...more >>

Choosing a programming language for use in the future...
Posted by murl NO[at]SPAM cbsmemphis.com at 1/26/2004 2:06:05 PM
I currently am programming apps using the vb.net language and haven't seen to many problems with it, since migrating from vb6. I love the enviornment, and the ease of use but wonder could my apps be better in c#? I have studied vb6, vb.net, and c++, and am currently learning alot about c#, and w...more >>

Initializing .NET Control
Posted by Scott Kilbourn at 1/26/2004 1:55:23 PM
Hi, In VB6, when you wanted to set a property on an ActiveX control to a default value when the control is first created, you use the InitProperties event. What is the equivalent for this property in .NET? I need to initialize some properties to certain values only when the control is first a...more >>

Multiple Projects
Posted by Nathan at 1/26/2004 1:34:45 PM
Hello, I have nearly finished a project with multiple forms, and I would like to do another project that is similar to the first, only with a few added features and a few features taken out. The forms that are the same I would like to be able to modify only once in one project and have them b...more >>

Events or Class Overrides ?
Posted by Lee Gillie at 1/26/2004 1:26:18 PM
..NET Events and class method overrides through inheritance provide similar functionality for class consumers. Does anyone know (for sure) which performs better? How much better? Also interested in all opinions about the strategy of choosing one over the other? Perhaps general or specific situat...more >>

Remove buttons
Posted by Will at 1/26/2004 1:16:08 PM
here is the code: Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim start As Integer = 4 Dim top As Integer = 25 Dim i As Integer Dim nowdate As DateTime = DateTime.Now Dim mybutton(10) As Button ...more >>

Starting and Quitting Excel
Posted by tek1940 NO[at]SPAM hotmail.com at 1/26/2004 12:51:49 PM
I've seen questions of how to check if Excel is already running. If the user has already started Excel normally; call this Excel(User), then vb.net code runs: myXL = CreateObject("Excel.application") Does this new instance of Excel(VB) work completely separate from the Excel(User)? If yes...more >>

Handle numerous buttons with one event handler
Posted by _N_I_N_ NO[at]SPAM web-dot-de.no-spam.invalid at 1/26/2004 12:31:41 PM
Hi, I would like to create dynamic a variable count (1 to 50 - or more) of buttons on my form. Is it possible to use easily only one procedure to handle every click event of each button? Thanks nnb295 ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- ...more >>

VB.Net - Page_error doesn't fire.
Posted by jay NO[at]SPAM allardworks.com at 1/26/2004 12:26:14 PM
Hello I'm stuck. Why doesn't this work? Short ----- Protected Sub Page_Error(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Error Response.Write("An errror occurred: ") End Sub Private Sub Page_Load(ByVal sender As System.Object, ByVal e As Sys...more >>

I`ve looked everywhere
Posted by Newbie! at 1/26/2004 12:14:57 PM
Hey group, I`ve looked everywhere for this one but it dosn`t seem to be documentsed for VB.Net on C#. All is in VB.NET and Access 2002 Here goes, I have a Datagrid bound to a Tabled Called Users, the Users Table has a feild called Site, which is a lookup to a Feild in the Sites Table cal...more >>

VB.Net and Crystal Reports
Posted by Karl at 1/26/2004 12:11:06 PM
Hello Does anybody know if there is a way to dynamically have a dataset linked to a predefined crystal report? The project initially was created to deal with a few static reports but now my client has the need for much more reporting and it would be much easier to do this dynamically, if at al...more >>

Question: How get current exe dir?
Posted by VB Programmer at 1/26/2004 12:03:48 PM
I have a settings file that is in the same dir as my local VB.NET exe winform application. From my winform application how do I reference the "current directory" to access the file? NOTE: I don't want to use Environment.CurrentDirectory because this exe is launched locally from a website a...more >>

Scanning content in a log file
Posted by Brent Burkart at 1/26/2004 11:24:39 AM
I am using a streamreader to read a log file into my application. Now I want to be able to scan for error messages, such as "failed", "error", "permission denied", so I can take action such as send an email. I am not quite sure how to approach this as far as scanning the content. I currentl...more >>

Microsoft Access
Posted by Sarah at 1/26/2004 11:21:04 AM
I am trying to "front-end" an access dbase that I created. I have gone through all kinds of articles and technet information regarding connecting to my database and that sort of thing. I have successfully connected to it (with an OLEDB Connection) but I do not know how to pull data from it. The dat...more >>

Numlock Key
Posted by Stan Sainte-Rose at 1/26/2004 11:16:35 AM
Hi I saw a post about numlock but I can't not read it. I would like to check the state of the numlock key and if it's not active, set its status on active. How can I accomplish that in vb ? Stan ...more >>

VB.NET variant arrays
Posted by Rob F at 1/26/2004 10:46:05 AM
Hell I'm wondering if anyone can shed some light on this? I'm trying to enumerate the uninstall registry key (to display installed applications) with VB.NET and WMI I'm pretty stuck. When I try to collect the installed software via a call to EnumKey, I get a type mismatch (the exact erro is...more >>

ListView HotTracking problem
Posted by David Schwartz at 1/26/2004 10:30:39 AM
I am using a few ActiveX ListViews in my VB.NET Windows Forms application. I have the ListView's HotTracking property set to False, yet when I move the mouse over an item in the ListView (without clicking), the item gets selected. Is there a way can work around this problem besides changing all ...more >>

Printing using crystal
Posted by Gary at 1/26/2004 10:16:06 AM
I created a .dll in VB and a service using .NET which reads a table and prints a report When I step through my code it prints the report, however when I use the service the repor does not print. There are no errors, it just does not print. Has anyone encountered this problem?...more >>

C# vs VB.NET
Posted by Adam J. Schaff at 1/26/2004 10:15:26 AM
My boss's boss has heard a rumour that C# is faster than VB.NET and is now concerned because we are writing stuff with VB.NET. My first reaction is that this is absurd. They both compile to the same IL, right? Now I've done a little C#, but on the whole I suffer from curlybraceaphobia, so I'm ...more >>

Serial Communication
Posted by news.microsoft.com at 1/26/2004 10:14:51 AM
Hi, I don't know how to create and handle a serial communication with VB .Net. If you know somenthing, please tell me. Thank you very much, Silvia ...more >>

how to bind data to textbox from dataset?
Posted by Rich at 1/26/2004 10:07:51 AM
Hello, I have successfully created an oledbconnection (oleconn) to an Access mdb file along with an oleaDBdapter (oleda) and a dataset (ds1). If I loop through the dataset For i = 1 to 10 For Each col in ds1.Tables(0).Columns... Console.Write col....(0,i), ...(1,i)...(2,i) Next ne...more >>

Throwing an event
Posted by Ot at 1/26/2004 9:27:18 AM
Can I raise (throw) an event that is normally created by, say, a button click on a form? I would like to react to a given situation exactly as if the user had clicked that button. Is it "legal" to Throw that kind of event? ...more >>

load Buttons
Posted by Will at 1/26/2004 9:16:06 AM
hi guys how do i load buttons on load time For example, i have one button on the form, when i load the form, i want to put another button next to it, how do i do that NEED CODE PLEASE Thanx in advance...more >>

Help in VB.NET
Posted by SStory at 1/26/2004 9:11:47 AM
I would like to add training card help to my VB.NET app and/or maybe the MS agents. How can I do these? Can I add training card help to a VB.NET app? I have never done it in any version or language. Please give instructions or links if there are some or tell me if it isn't doable without hac...more >>

Setting Form's Icon at runtime from a ImageList
Posted by VJ at 1/26/2004 8:34:27 AM
I am trying to set my Form's Icon property at run time based on certain parameters. I have a imglist in the form for other purposes I would like to use the same image list to keep the Forms icon and set the icon. How do I get this done.. VJ ...more >>

Random.Next(F,T)
Posted by KS at 1/26/2004 8:25:18 AM
I can't make the Random,Next(1,13) to work ! In Dim NrForDefekteEmne As Random = New Random.Next(1, 13) Random.Next is marked as "not defined" - I have "Imports System" What is wrong here ? KS, Denmark ...more >>

Null Delegate
Posted by ken NO[at]SPAM kenkast.com at 1/26/2004 8:23:37 AM
I have declared some externally defined methods. One of them takes a pointer to function as a parameter. I created a delegate type matching the signature of the function expected, then used that delegate type in the DECLARE statement. In some instances the method expects a null pointer to be ...more >>

Inheritance and child creation
Posted by jumper_trader NO[at]SPAM yahoo.se at 1/26/2004 8:04:36 AM
Hi, How can I achieve that a childs constructor is only callable from it's parent? Must I declare the class Private within A? Thanks in Advance Public MustInherit Class A Protected Sub New() End Sub Public Shared Function CreateInstance() As A Return New B End ...more >>

Key Pressed
Posted by Will at 1/26/2004 7:56:07 AM
Hey guys, i have a quick questions how do i find out if the key pressed is the "ENTER" Key from a text box ?? NEED THE CODE PLEAS Thanx in advance...more >>

API for Cached Items
Posted by Shawn B. at 1/26/2004 7:47:39 AM
Greetings, Is there an API for getting a file from the Internet Explorer cache and information about it? For example, I want to be able to retrieve not only the file name but also the url that it derives from (as you can see when you view the directory directly in Explorer). I've seen some e...more >>

Parsing PostScript files for data
Posted by teddysnips NO[at]SPAM hotmail.com at 1/26/2004 7:36:34 AM
Ok, I know you all do six impossible things before breakfast, but I don't do breakfast, so I can't do anything much at all. Which is why I'm posting this, videlicet: ASP.NET VB.NET *My* client receives a report from *his* client in Postscript format (NOT PDF, probably LaTeX or something, ...more >>

How do I call an event from code?
Posted by Sean at 1/26/2004 7:26:05 AM
I have a PictureBox that is created as part of an object and has a Click event assigned to it whenever the object is instantiated. How can I call the that Click event from code? Basically I want to do MyObject.PictureBox.Click(). The Sub that handles the Event is private, so I can't call it directly...more >>

Create event at run time
Posted by Joachim Jen at 1/26/2004 6:36:05 AM
Hi I am new in VB .NET and would like to ask a question I've create 4 buttons at run time, let's say MyButton1, MyButton2, MyButton3 and MyButton4 Also I want to create a click event for each of them. How can I do it After the process, the 4 buttons and their events must be remove Thanks for h...more >>

Repositioning Panels at Runtime
Posted by George at 1/26/2004 6:16:51 AM
In my Webform I am building in VS.NET, I need to position and reposition a number of panels at runtime from within my Code Behind. Can someone tell me what namespaces I need to import, what the code is, and where, exactly I put that code. In addtion to the... <%@ Page Language="vb" (etc, et...more >>

New line in label.caption
Posted by abs NO[at]SPAM proc-dot-ru.no-spam.invalid at 1/26/2004 4:31:09 AM
Hi all, I know that it is a .net board & I use vb6, but... Can anyone help me? I need to have several lines in a caption of a label (like \n in php). Is there any analog in vb6? Thanks ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfe...more >>

Calling C#-Class from VB.net and Handing over Objects
Posted by Jan Schoenrock at 1/26/2004 4:06:05 AM
Hello, I have a solution with mixed Code (VB.net and C#-Projects). When I'm trying to build an instance of a C#-Class in a VB.Net-Project there will not be a problem. But if I further try to hand over another class to the instanced C#-Class (which should be done by a property) I 'll be faced wit...more >>

Dll
Posted by Marco Carneiro at 1/26/2004 3:16:05 AM
What i have to do to make an dll in VB, and than have acecess to the functions in the dll, from another aplications How i export the functions in the dl Thaks...more >>

How to display a corresponding value in Combobox?
Posted by aburayan at 1/26/2004 1:56:06 AM
Having a SQL table contains many columns. One of them contains integers of corresponding descriptions;i.e 1 for ready, 2 for done .... And i read the values and display the corresponding item list. How to do that? Thanks indeed....more >>

Single .EXE acting as Service or Application -- Possible?
Posted by Lee Schipper at 1/26/2004 1:45:16 AM
Is it possible to create a single .EXE that can be launched either as a service or as a standard application (with configuration screens, status windows, etc...)? I have an existing program that currently runs as a standard application. When the user runs the app they can monitor its progress,...more >>

Detecting network?
Posted by Martin Korsgaard at 1/26/2004 12:21:05 AM
H I need to detect when a user plugs in his network cable. I can't find any example on how to do this without constantly looping to check for a default gateway or something. Any ideas? /Martin...more >>


DevelopmentNow Blog