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 > june 2004 > threads for friday june 4

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

Object Oriented Question
Posted by carlob NO[at]SPAM global.co.za at 6/4/2004 11:57:12 PM
Hi I am going through question in my textbook(An Introduction to programming using Visual Basic .NET by David I Schneider) and I am going around in circles on one of the simple questions in the chapter dealing with Object Oriented Programming and more specifically with the ‘array of objects'. ...more >>


Do operators work on a Point structure?
Posted by Larry Serflaten at 6/4/2004 10:13:45 PM
I am trying to add 2 points together, and I am not succeeding. It appears the docs say I need a point and a size, but even that fails in the copy of VS 2003 I have. Exactly what are they trying to say here? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSyst...more >>

vb.net amd win XP home
Posted by andrew at 6/4/2004 8:16:03 PM
I read vb.net has limitations with web applications on win XP home edition OS. what cant you do generally with vb.net and win xp home can vb.net create simple web applications like web pages or email spool programs (not spam) with win XP home. thanks...more >>

TCP/IP Connections
Posted by it.dotnet.vb at 6/4/2004 8:08:14 PM
Hi all, i'm trying to make an application that have a server component that open a socket waiting for client connection. I'm having this problem: when the execution reach the statement that put the server socket in listening (using synchronous or asyncronous communication mode), it stops and w...more >>

Resizing a label control at runtime
Posted by jcrouse at 6/4/2004 7:21:02 PM
What is the easiest way to do this? I'm creating a layout designer type application Thanks John...more >>

RowFilter?
Posted by Able at 6/4/2004 7:14:40 PM
Dear friends Do somebody see what is wrong with this?: myDataView.RowFilter = "fldDate Is Not Null And fldDate<" & System.DateTime.Today Regards Able ...more >>

Collection with composite key
Posted by Jeff Mason at 6/4/2004 6:45:31 PM
I'm trying to define a collection which inherits from DictionaryBase. This collection requires a composite key (comprised of two string values) and the value associated with the key is an integer. I thought this would be easy. I defined a "key" class (called 'AccessKey') which exposed two s...more >>

Can .NET Class Lib's be used by Non .NET Apps?
Posted by Terry Olsen at 6/4/2004 6:14:37 PM
Just wondering...If I create a class library using VB.NET, can non-.NET languages use it?...such as LCC32? ...more >>



free map ?
Posted by BS at 6/4/2004 5:39:21 PM
Hello I would like to display map just like in yahoo maps or mapquest.com into our app. Does anybody knows a free provider ? or a free web service ? Regards ...more >>

Re: very new to .Net
Posted by HankG at 6/4/2004 5:21:48 PM
HankG (that's me) wrote a lengthy missal to which Armin graciously responded. Thank you for your answers: short, sweet, and to the point. I was very happy to see my software package arrive, yesterday, but my happiness was short lived as I needed to install the package twice (I should say tha...more >>

Anchor problems with XP
Posted by Rayearth at 6/4/2004 5:18:30 PM
Hi all I'm having problems with using anchors to automatically resize controls in runtime with VB.net. In my development environment, I run Win2k and all the anchoring works fine, but once I have the application deployed on WinXP clients running in XP styles, all the controls become larger th...more >>

Will VB.NET Whidbey has a break statement?
Posted by Neo at 6/4/2004 4:59:41 PM
I am in dire need of a break statement in VB.NET language. I have several pieces of code that would have much cleaner look and much less deeper if/else/endif nests IF VB.NET HAS A BREAK STATEMENT OR SOMETHING SIMILAR. Will VB.NET has a break statement in the coming Whidbey release?...more >>

Create a window that is locking all underlying windows?
Posted by Lars Netzel at 6/4/2004 4:48:42 PM
How do I set so that a window (like a settings window) is locking all the other stuff in the application and you need to close that befor eyou can use the stuff behind? regards/ Lars Netzel ...more >>

Horizontal Gray line in menu?
Posted by Lars Netzel at 6/4/2004 4:43:48 PM
How do I add a horizontal gray line in the menu to separate differenet "logic" parts of the menu.. I for exampel want a line just over my Close option on the file menu! regards/ Lars ...more >>

learning vb.net
Posted by andrew at 6/4/2004 4:41:02 PM
hi I know VB6 but dont know about VB.net. can anyone recommend a good book on VB.net and an online resource on how to learn.? I havent bought VB.net and I read I need to buy visual studio.net to get the professional version of vb.net (it has the VB6 upgrade wizard) what is the advantage with...more >>

Calling C++ function from VB
Posted by Dan Hinsley at 6/4/2004 3:40:57 PM
I want to be able to use a C style cast in a VB app. Now I understand that you can't do that, but I also see how I can have routines written in various languages be part of the same exe. I've done this as a test with C#, but it appears to be just as restrictive as VB when it comes to what I wa...more >>

How to run this when the button is pressed?
Posted by Cor Ligthert at 6/4/2004 3:36:07 PM
Did alreayd someone said that your time was wrong today? ...more >>

Windows service timer problem
Posted by Scott H at 6/4/2004 3:31:41 PM
Hello, I'm having a go at writing my first Windows Service in VB.NET and I'm having a problem. I have it installed ok and started the service sucessfully, I can stop it, and restart it fine, the problem is it doesn't appear to be running any of my code whatsoever. I dropped a Timer Control ...more >>

.NET Application Updater Component: how to handle an OCX?
Posted by DraguVaso at 6/4/2004 3:29:36 PM
Hi, I have an VB.NET application that uses an OCX for some control. I integrated the application with the .NET Application Updater Component (http://windowsforms.net/articles/appupdater.aspx) to copy automaticly new versions of the application to the clients. The problem is: it copies the O...more >>

Build and Rebuild
Posted by mwazir at 6/4/2004 3:21:12 PM
Hi all, Needed a clarification on a simple point. What is the real difference between Build and Rebuild option in the .NET IDE and when should either of the options be used? I tried searching the MSDN website and I found this Build - Builds the specified solution or project according to t...more >>

Adding method descriptions
Posted by Max at 6/4/2004 3:20:13 PM
Searched all over google and can't seem to find how to do this. How do I go about adding comments about my own functions and sub-procedures? Like when I use them, the tool-tip tells me more then just how it was declared?...more >>

Printing a form
Posted by Wes at 6/4/2004 3:18:22 PM
I have created a form with a print button on the form so the user can click it and print out the form just as it looks on the sreen, and it has to have every thing that was typed in the textboxes. ...more >>

.cpl Access
Posted by A.A. Fussy at 6/4/2004 3:16:00 PM
How do I access individual .cpl control panel files in VB.NET 2003, using rundll32? ...more >>

DataWizard Error
Posted by Atley at 6/4/2004 3:13:42 PM
I have made a data form using the data wizard but when i run it and change the data on the form, then press the update button, I get "Update requires a valid UpdateCommand when passed Data Row Collection with modified rows." How do I get around this error? I have created a dataset from a table...more >>

Hard drive number
Posted by Will at 6/4/2004 2:46:06 PM
hey guys ... how do i get the hard drive number need code pleas thanx in advance...more >>

Checking for Domain Group membership of client
Posted by Fred at 6/4/2004 2:33:43 PM
I need to check if a web client is a member of a domain security group so I can direct them to different aspx web forms for different groups. Thanx in advance. ...more >>

How to programmatically convert Word doc to ASCII?
Posted by Dennis at 6/4/2004 2:16:08 PM
Looking for a method to programmatically convert (using vB) a Word doc to it's ASCII equivalent. I understand I'll lose all formatting, and that's okay Anyone out there have ideas Thaks Dennis...more >>

Possible to pass a struct from asp.net CodeBehind Page into a component method?
Posted by int at 6/4/2004 12:45:58 PM
I have a code behind page that uses a struct that's declared inside of it in order to pass information between the methods that are also defined inside the code behind page. However, I want to pass this struct by reference into a separate component's method. Is this possible? will I have t...more >>

How to display username of visitor to page
Posted by Fred at 6/4/2004 12:20:56 PM
I would like to display the username of the visitor top a web page. This is assuming that the visitor is coming from within a winodws2000 Domain. I have tried the following but it gives me the user ASPNET which I assume is coming from the IIS server not the web client : Imports System.Securi...more >>

Problem with VB6 Types as Marshelled Structures in VB.Net to 3rd Party DLL
Posted by johnye NO[at]SPAM hotmail.com at 6/4/2004 12:17:12 PM
Hello Folks! I have a vendor that has supplied me with a VB6 Module and DLL (and it works in VB6) that I would really like to migrate to VB.Net. I have used the Upgrade Wizard in VS.Net but it is not taking this all the way. I have made several modifications to address the Marshal...more >>

Performance problem RichtTextBox control
Posted by Reinier at 6/4/2004 12:11:05 PM
Hello Some years ago I wrote an application (a sequencer) in VB5 and then in VB6 which records and plays MIDI signals from and to an electronic organ. The MIDI information is displayed in a RichText box (named Data, say). While playing, the info about the particular MIDI signal being sent is colour...more >>

Focus on UI Design
Posted by zlst at 6/4/2004 11:46:39 AM
UI is important because it affects the feelings, the emotions, and the mood of your users. If the UI is wrong and the user feels like they can't control your software, they literally won't be happy and they'll blame it on your software. If the UI is smart and things work the way the user expected...more >>

Calling functions written in C from VB .Net
Posted by Alison at 6/4/2004 11:46:02 AM
Hi, all What is the best way to use functions written in C in VB .Net without compromsing much of the speed of computation I am desiging a new user interface in VB .Net, but the original source code was written in C. I am not sure about how to integrate the new interface with the application in a...more >>

Windows Service question
Posted by matthewayne NO[at]SPAM hotmail.com at 6/4/2004 11:43:44 AM
Can I build a Windows Service in Professional Edition of Visual Studio .NET?...more >>

Windows Service through VB.NET question.
Posted by matthewayne NO[at]SPAM hotmail.com at 6/4/2004 11:38:41 AM
Looking to build a Windows Service application (formerly NT Service) using VB.NET. What edition of Visual Studio .NET do I need??? (at least as a minimum) Can I do it usuing Visual Studio .NET Professional edition? Or can I accomplish this only using one of the Enterprise editions? I am ...more >>

byref
Posted by Frank at 6/4/2004 11:30:56 AM
Hi, in the code below, does it matter, in this case, whether I use byval or byref? I don't think so but I would like confirmation. In both case I don't change the actual value of pdgts, just the data it refers to. Thanks Frank Private Sub somesub(ByRef pdgts As DataGridTableStyle, ByVal pd...more >>

Close a MDI Child form during load?
Posted by Tom at 6/4/2004 11:21:13 AM
Is there ANY easy way to close a MDI Child form in the middle of it's load? For instance, during the Load event I find a need to close the form (for whatever reason - maybe the user isn't ready for it yet, or it displays another form and they hit cancel). In any event, I need to be able to cause ...more >>

Further Inheriting issue
Posted by YYZ at 6/4/2004 10:44:07 AM
I've got a form in a class library, form named frmPCGGen. I'm inheriting from this form (for some base functionality) in a different project. When I inherit from the form, I obviously give it a different name, frmTest for example. In the code frmPCGGen, is it possible to know the name of the ...more >>

Newbie question: Changing a form name
Posted by Andrew Thomas at 6/4/2004 10:43:51 AM
Hello, I have just started Visual Basic .net and I have purchased the book "Teach Yourself Visual Basic.net 2003 in 24 hours" by James Foxall. In the first chapter he shows me how to create a form (Form1) and then change its Name property by scrolling down to the Design section to see th...more >>

Add New Item
Posted by Guido Rooms at 6/4/2004 10:40:08 AM
Hello All, I'd like to keep some files (modules) which are to be used in many projects/solutions in a separate folder, not belonging to any project or solution, such that I can add (link) them to any project with "Add Existing Item". The problem is that when I try to create such a file with ...more >>

Vb.net Newbie Questions
Posted by Tom at 6/4/2004 10:23:09 AM
Can anyone help out with just a couple of questions? Do you need any special security access to write to the event log with a vb.net? Whats the difference between using ViewState and SessionState? Thanks, Tom ...more >>

Main Menu
Posted by Tomek at 6/4/2004 9:59:43 AM
Hi I have a simple problem but I don't know how to solve it. I want to add an icon into main menu option but I don't know how to do it. I've created menu and toolbar. I've added icons into toolbar and I would like to add same icons to appropriate options in menu. Please help me. Than...more >>

Is this an error of .NET Framework ???
Posted by asd NO[at]SPAM asd-dot-com.no-spam.invalid at 6/4/2004 9:45:19 AM
I use the function Right() to take the year of the Date in String. Dim S_Year as String Dim S_Date as String S_Date="1/7/2004" '( d/m/y) S_Year= Microsoft.VisualBasic.Right(S_Date, InStrRev(S_Date, "/", -1) - 1) it give me sometimes "004" and sometimes "2004". I dont know why. Maybe ...more >>

Inheriting problem...I think
Posted by YYZ at 6/4/2004 9:35:32 AM
I'm new to VB.net, but not new to OO in general, and I'm very strong in VB6. However, I don't know what I did in VB.net to cause this to happen. I've got 2 projects open at the same time, in the same solution. One is a Class Library project that contains 1 form and 1 class. The other project ...more >>

global dataset
Posted by billy_cormic NO[at]SPAM hotmail.com at 6/4/2004 9:30:44 AM
Hello, I would would like to declare either a global table or a dataset so that I can access it when the page reloads. How can I do this? Do I make it a session variable? Can someone please show me the code? Thanks, Billy...more >>

Winforms or Webforms
Posted by Richard at 6/4/2004 9:23:07 AM
I know there is a bit of discussion already about this subject, but I'd like to hear any thoughts about which might be a better way to go. I'm developing an app (actually converting an Access 2002 project) that has quite a few UI forms, and mostly returns and updates data from a SQL Server. ...more >>

Problem handling events with web browser control
Posted by Reid at 6/4/2004 9:12:06 AM
I have a Catch-22 type problem with the web browser control in VB Dot Net. I can have complete functionality on a web page in the control. But as soon as I add event handlers to the vb app (e.g. onclick event) , the behavior of the web page in the control changes drastically. Input boxes will...more >>

Flat File Reading
Posted by ashushujev NO[at]SPAM solidnull.com at 6/4/2004 9:02:24 AM
Hi, I have a flat file with fixed length data all in continuous form with two records shown below 01500 345202600 4939 output required in readable format with two records: Record 1: 01500 3452 Record 2: 02600 4939 Im puzzled with ReadLine() function in VB.NET in splitting above line...more >>

How to determine if in developer IDE or stand-alone?
Posted by Tom at 6/4/2004 8:31:14 AM
How can one determine if a .NET program is running in the developer IDE or running stand-alone? I am sure I saw something somewhere but I don't remember where or what. Thanks! Tom ...more >>

Spawning Another Process??
Posted by cemich NO[at]SPAM chesapeakebay.net at 6/4/2004 7:25:38 AM
I'm trying to execute a DOS program from within VB.NET. Of course, I used to simply use Shell(), but that doesn't seem to work even when I import the VisualBasic namespace. Here's the code I'm using now: Debug.WriteLine("in here") System.Diagnostics.Process.Start("c:\NetCdf\ncdump.exe", " Te...more >>

updating code
Posted by Ray at 6/4/2004 7:21:02 AM
Hi guys, I used to use this line of code in VB6 rs!name = strName what is the dotNet equivalent? ...more >>

mutex clarification and code
Posted by jcrouse at 6/4/2004 7:01:03 AM
I have searched this board for an example and also read Cor's link to the Google thread. I have an application with a startup module called mStartup. My application, after compiled is called CPViewer.exe Here is the code from the Sub Main: Dim owned As Boolea Dim mut As New System.Thre...more >>

VB Equivalent
Posted by Wayne Wengert at 6/4/2004 6:23:26 AM
I found some sample C# code that is supposed to prevent displaying the Append Row (the asterisk) in a datagrid but I can't get it to work in VB. The general syntax is not accepted by VB. Here is the code I want to adapt: //no adding of new rows thru dataview... CurrencyManager cm =...more >>

complete vb.net program without database
Posted by fokke NO[at]SPAM scherpenzelers-dot-nl.no-spam.invalid at 6/4/2004 5:44:07 AM
i have received a program. when i try to connect to database en run the program i received a error :( Public Sub DatabaseConnect() cnn.ConnectionString = ("Provider=SQLOLEDB.1;Integrated Security=SSPI;Initial Catalog=Face To Face;Data Source=(local);") cnn.Open() <-- error ...more >>

Workstations on a Network
Posted by Lee Moody at 6/4/2004 5:30:02 AM
Is there a way to find all of the workstations on a network via VB code? I want to write a utility to be able to update all workstations on the network. Thanks....more >>

Changing Word documents file properties with VB code.
Posted by Venkat Shiva Reddy at 6/4/2004 4:51:02 AM
Hi In one of my VB application, I need to change the group of MS Word 2000 documents Header and Footer contents automatically with VB code and i did it successfully but I could not change the properties like title, subject, author as a batch process. Could any one help me out Thanks in advance V...more >>

VBA XML XPath
Posted by Jesper, NKT Denmark at 6/4/2004 4:36:02 AM
Hi I'm a C#/C++ programmer and new to Visual Basic for Applications. I'm about to make some document automation where XML data are to be converted into e.g. tables in a Word document. I've tried to use xmlDoc in a visual basic program after installing the Visual Basic for application SDK, but xmlD...more >>

Extending Visual Studio's Editor!
Posted by CodeMonk at 6/4/2004 4:02:46 AM
Hi all, Is there any way to replace the default editor in Visual Studio.net or allow it intellisense and code hilite other languages like Perl, PHP etc? TIA, monk ...more >>

Graphics Redraw Problem
Posted by Bob Steuernagel at 6/4/2004 3:59:50 AM
This code is for a simple drawing program that lets the user draw lines, rectangles, and circles in different colors. When the menu is dropped down to change objects, it erases anything drawn underneath the menu drop-down area. What is wrong? Imports System.Drawing Public Class Form1 ...more >>

How to do these 2 things?
Posted by Miguel Dias Moura at 6/4/2004 12:52:34 AM
Hello, i am working in an ASP.net / VB web site. In a web page I have a form with 10 Text Boxes. I want to insert the form values in a new record of a database and i also want to send them by email when the Submit button is pressed. What i have: 1. I have a DataSet connecting to the data...more >>


DevelopmentNow Blog