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 2005 > threads for wednesday march 2

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

Create outlook mail profile using visual basic...
Posted by Oren nizri at 3/2/2005 11:31:02 PM
i need to create new microsoft outlook mail profile by using visual basic......more >>


Use of NAMESPACE
Posted by Tom Edelbrok at 3/2/2005 11:16:30 PM
I'm upgrading from VB6 to VS.Net Pro 2003, and am trying to plan a way of using NAMESPACE's. Under VB6 we had a variety of global procedures stored in a series of modules, as well as in classes. These were 'included' into a number of independant VB 6.0 projects. It seems to me that under VB...more >>

FormBorderStyle Question?
Posted by Debbie Carter at 3/2/2005 10:44:24 PM
I have a ShowDialog in the Sub New of my Main form. I want the dialog to show before the main form finishes loading. On my Windows 98 test machines when the dialog shows it is maximized when I have the FormBorderStyle set to normal. Is there any way around this besides setting the FormBorderStyle...more >>

Terminal Server Control
Posted by tim at 3/2/2005 10:14:15 PM
Anyone know how to add the terminal server control to a project in VB .NET? I have .net & vb 6 installed on the same machine. It can be easly added on vb6 but I can't seem to add it to .net. ...more >>

ComboBox links
Posted by Dennis D. at 3/2/2005 8:43:47 PM
Preface: I have viewed the combobox control video at Microsoft.at the movies. I want to simulate an HTML combobox as a windows application combobox with 5 to 10 selections in each box. In the HTML form: <option value="help.htm">More Info</option> Thing is: I want to put the URL descripti...more >>

creating an owner drawn listbox that includes a filetype icon and a filespec
Posted by Bernie Yaeger at 3/2/2005 8:11:45 PM
I now know how to gather the file type icons and I'm able to use them in a listview. But a listbox does not have a .smallimagelist or .largeimagelist member, so I don't know how to translate that so that I have the icon + the string in a listbox. Is this possible, and if so, can you give me ...more >>

Unspecified Potential Security Flaw
Posted by Jack Clift at 3/2/2005 7:59:03 PM
Dear Sirs, Sorry, have reposted from another section as have not received any responses... I am using createDocumentFromUrl to obtain data from the web, which is called several times (>100) for the application I am attempting. I receive the following IE message when making this call: ...more >>

Converting C# to VB .NET
Posted by Howard Kaikow at 3/2/2005 7:14:43 PM
I'm converting some C# to VB .NET. In an example that uses Outlook, I find the following C# statement: Outlook.AppointmentItem appointment = (Outlook.AppointmentItem)outlook.CreateItem( Outlook.OlItemType.olAppointmentItem); I do not understand how to convert the (Outlook.AppointmentIem) ...more >>



WebClient VB Post Data to Webpage
Posted by Ben at 3/2/2005 7:03:36 PM
Hi I have the two funcions below, login_web that posts data to a webpage and fcn_parseviewstate that parses the viewstate data for the post. I have a problem with the strPostData, I have been testing this using a HTTP Debugging Proxy, when I post the page manually using a browser it posts ...more >>

ConnectionString - Windows Froms vs ASP
Posted by Jeremy at 3/2/2005 6:16:17 PM
Hello, I have a question about using SQL as data source. I'm creating an ASP.net application and need to connect to a SQL database. I am recieving an error indicating that the "SQL server does not exist". Using the same exact procedure in a windows form application it connects just fine. The ...more >>

need to jump to the start of my forms code...
Posted by Scott at 3/2/2005 6:15:40 PM
I need to be able to jump to the start of my code if a particular radio = button is not pressed. How do I this??? The goto line1 does not work? Any ideas? Scott If Not RadBut4.Checked Or RadBut5.Checked Then MsgBox("Please choose Annual or Single Trip") 'GoTo Line1 goto start neede...more >>

Constraint Exception Handling with C1 DataObjects
Posted by lgbjr at 3/2/2005 6:00:51 PM
Hi All, I've posted this question on the ComponentOne news group, but I thought it couldn't hurt to post it here as well, since, I’m assuming, some others out there are using the C1 controls for VB.NET. This is what I have: VB.Net form with a c1FlexGrid and some c1Textboxes C1ExpressCon...more >>

Form: calling Close() method in Load event.
Posted by Qwert at 3/2/2005 5:17:21 PM
Hello, I try to call the Close( ) method in the Load event of a Form, but it doesn't seem to work. Any idea why not? And how do I close a Form in it's own Load event? Private Sub frmForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try ...more >>

Conditional Property!!
Posted by Ahmed at 3/2/2005 4:56:45 PM
Hello All, I am not sure if what I am trying to accomplish is doable or not. I am designing a control. What I am trying to do is remove or hide properties from the property window if a certain property is set to false and show them if that property is set to ture. Is that doable? Thanks ...more >>

There has to be an easier way to populate a Treeview
Posted by Tim Frawley at 3/2/2005 4:42:50 PM
I am working with some path strings that I pulled from Active Directory. I want to populate a TreeView with these OUs and have been beating my head agains the monitor trying to work it out. Division1,Location1,Users Division1,Location1,Workstations Division1,Location2,Users Division2,Locati...more >>

Crystalviewer lost Toolbar Images
Posted by Japie Niemand at 3/2/2005 4:12:03 PM
Hi, I have created a UserControl with the CrytalReport viewer. When I run the app and use this UC the Crystalviewer have no images in the toolbar. I have tried by instantiating the Cruysterviewer directly with the same results. When you drag and drop the componet in design time it shows the ...more >>

DIME attachments problem
Posted by Nikolay Petrov at 3/2/2005 4:05:39 PM
I have in web service which receives WSE DIME attachments as byte arrays, and stores them in files From an asp .net page i add an dime attchment to the RequestSoapContext, i check the count of attachments and it says "1" on the web service size, when I check the count of the attachments it...more >>

Date Function
Posted by Playa at 3/2/2005 4:03:08 PM
I have a label - lblDate and when my form loads I want the current date to show up in it. I have started the Form Load Event but cannot get the Date Function to work properly. Can anyone tell me how to get the current date in my label? Thanks in advance...more >>

Scrolling in a panel
Posted by Rob T at 3/2/2005 2:06:17 PM
To keep my example simple, let's say I have a windows application form with a panel in it. For this example, I want to draw a single line in the panel, which is larger than the size of the panel. Is there a way to get the scrollbars to show up? Also....If I were to put a control (like a bu...more >>

How to hook into Lotus Notes?
Posted by Brett at 3/2/2005 1:56:42 PM
I'd like any website references describing the Lotus object model and how to access it via VB.NET. Similar to accessing the Outlook object model. Thanks, Brett ...more >>

system tray icon with popup menu
Posted by Robert Smith at 3/2/2005 1:24:14 PM
Hello, I have often seen system tray icons that you click on and a popup menu appears. Is it possible to do this in Visual basic.net or are there any controls that allow this to be achieved. Thanx in advance. Robert...more >>

Using the listview itemactivate event
Posted by Bernie Yaeger at 3/2/2005 12:27:14 PM
When I double click an item (filename) in a listview, the itemactive event is fired. How can I code it such that the item selected will be launched by the default program for that file extension (eg, Word with a .doc file, Photoshop with a .jpg file, etc)? Thanks for any help. Bernie Ya...more >>

TRY..CATCH block not working as expected
Posted by ECathell at 3/2/2005 12:19:51 PM
I am having a problem with my try..catch blocks... I push a button on my form. using SQLDMO I verify the status of the server. If it is off I turn it on. I then run a query that requires a service restart.=20 I stop the SQL Agent I stop the SQL Server which throws an error.=20 even th...more >>

Run a program file in Visual Foxpro using VB.NET
Posted by Amar at 3/2/2005 12:17:03 PM
I have a abc.PRG file in visual foxpro 8.0. I can run this file using visual foxpro environment and it creates a table X.dbf in the same folder where this program file is and populates some data in the table. I want a way to run this abc.PRG file through VB.net environment. (Equivalent metho...more >>

Internet-Based Version Control Service
Posted by Mark Jerde at 3/2/2005 12:14:44 PM
I work both from home and at a client site. The client does not allow private computers to be connected to their LAN. It is getting to be a real pain trying to keep all the files synchronized between the two environments. It's embarrassing to show up at a meeting without the latest versions of ...more >>

Strange Dataset update problem.
Posted by Kevin Hodgson at 3/2/2005 9:36:15 AM
I'm experiencing a strange Dataset Update problem with my application. I have a dataset which has a table holding a set of customer information records. (address, contact, info, etc.) I have a series of ComboBoxes (Client Number for selection), and text fields to show the other data bound to thi...more >>

DataAdapter.Update works w/ datagrid but not w/ textboxes
Posted by johnb41 at 3/2/2005 9:35:10 AM
I have a very simple application where i just want to display records from a database, and be able to edit the records. Here's the code for the "update" button: Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click DA.Upd...more >>

FileSystemWatcher within Windows service
Posted by Adrian at 3/2/2005 9:33:03 AM
I am trying to use FileSystemWatcher (FSW) to monitor a folder. The only problem is this folder is on FTP server located on DMZ (outside my domain) and FSW does not allow me to pass credentials in order to authenticate on that folder. Because of this, I mapped that folder on a computer withi...more >>

pure vb.net format question
Posted by Starbuck at 3/2/2005 9:27:36 AM
Hi All Is there an pure vb.net way of doing the following. Imports Microsoft.VisualBasic Format(Now, "dd/mm/yyyy") Which will return date in string format of 11/02/2005 for example Thanks in advance ...more >>

loading all filetype images into a hashtable
Posted by Bernie Yaeger at 3/2/2005 9:23:01 AM
I would like to recreate an owner drawn listview to contain all of the file association icons that you see, say, when you attach a file in Outlook Express. In other words, I'd like to load all file association images and the corresponding extensions into a hashtable or a two dim array; I woul...more >>

Looking for an Example: reading one string value from the runtime command line
Posted by iano NO[at]SPAM iano.net at 3/2/2005 9:21:05 AM
Reading the commandline in VB6 was simple. Finding an example for VbNet has been challenging. Would someone please post one? Thanks, IanO ...more >>

How to create user control with multiple controls?
Posted by Brian at 3/2/2005 8:56:51 AM
Hi, All, I want to create a single user control (component) with multi-controls. for example, I want to use one button control and 2 listBox controls to build one single user control. so, user can directely use the user control instead of 3 controls. They can click button to move the sele...more >>

Read/Write Values at a Given Hex Address Offset
Posted by Dave at 3/2/2005 8:37:52 AM
Greetings, How do I read the hex value of a binary file at a given offset? i.e., how can I find out, via code, what the 2-digit hex code is at, say, offset 132ea. Then, how would I write over that value? Thanks, -Dave ...more >>

List View question
Posted by Darin at 3/2/2005 8:24:26 AM
I have a listview box in detail view with 100+ items. I can select the 50th item by lstdetail.items(49).selected=true. But, when I do that the item is selected, but the listview box hasn't scrolled down to where that line item is. How do I get the listview box to scroll down to the selected it...more >>

Classes communicating with other classes
Posted by PaulN at 3/2/2005 7:53:22 AM
I need to instantiate a class (Class1) in the startup form (Form1), set some of Class1's properties then open another form (Form2) and have it read Class1's properties and set the remainder of Class1's properties and finally to have Form1 examine Class1 and send changes to a database. I've tri...more >>

exchange server
Posted by rodchar at 3/2/2005 7:43:13 AM
hey all, with a lot help from here i finish creating a vb.net app that handles the incoming mail event in my outlook client. that works good. now, is there a way to do this same thing in Exchange without the outlook client installed. and would it be using Exchange OLE DB Provider (ExOLEDB)...more >>

DataRowChangeEvents
Posted by jdb at 3/2/2005 7:35:08 AM
I have a question about these events that I hope someone could help me with. I have a DataGrid bound to a DataSet. The grid's datasource is a DataView and deletes are allowed. I have added a Event Handler for OnRowDeleting. What I want to do, is to only allow deletes to occur for newly...more >>

An unhandled exception of type 'System.ArithmeticException' occurred in system.d
Posted by chintu rana via DotNetMonster.com at 3/2/2005 6:45:22 AM
An unhandled exception of type 'System.ArithmeticException' occurred in system.drawing.dll Additional information: Overflow or underflow in the arithmetic operation. if i run vb.net application with only form no any controls at that time there is no error . But if i put first control (comm...more >>

How do I get the name of a folder's parent folder
Posted by moondaddy at 3/2/2005 3:26:19 AM
How do you get the name of a folder's parent folder? Here's how I get the folder name who I want to get it's parent's name: Dim ClientPath As String = Directory.GetCurrentDirectory thanks. -- moondaddy@nospam.com ...more >>

Planning to do MCSD, need MCSD's suggestion
Posted by Arsalan at 3/2/2005 2:20:34 AM
I dont know but I'm planning to do MCSD on one of three language VB C# or VC Which one should i do, and which is best? Performance and functionality wise ? ...more >>

i want to set the arabic language as a default language
Posted by haitham at 3/2/2005 12:57:05 AM
hi suppot team can any one tell me how i set arabic language as a default language when i start the project thx...more >>

.Net 1.1 Framework development under VB Express 2005 beta
Posted by koorb at 3/2/2005 12:41:20 AM
How can I develop 1.1 apps under VB Express 2005 beta? And if not, why?...more >>

WebMethod is not responding
Posted by Franck at 3/2/2005 12:05:45 AM
Hi, Got a webmethod which call a complex stored procedure on my Sybase Database. Running the proc=E9dure from a Query Tool last for 1'30 minute. However, calling the stored proc=E9dure from my webmethod fails. In fact, I get no response, or response does not come... I just got a blank page...more >>


DevelopmentNow Blog