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 > november 2003 > threads for thursday november 20

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

Data exchange - MDI - Child - Parent
Posted by Mart at 11/20/2003 11:41:59 PM
Hi, I need your advice for this. I would like to have an object that access the DataBase, let's name it objDB. This objDB object would be held by the MDI Parent. The MDI Child would use the objDB to execute SQL query and get recordset result. Am I right to store this objDB in the MDI P...more >>


VB.NET recommend a book
Posted by bobby at 11/20/2003 11:28:16 PM
I have several years experience in VB and VBA. I now need to get up to speed on VB.NET and need a book. I don't think I will need a beginners book but one that aims at people with people with previous programming experience, in particular perhaps VB. Can you recommend one? ...more >>

How to Setup a strong name wrapper for com interop dll.
Posted by Jason Garland (Secure Access Pty Ltd) at 11/20/2003 11:05:53 PM
Hi=20 I am trying to work out how to either create a strong name wrapper for = AxInterop.SHDocVw.dll I have researched the following : - 'Wrapper Assembly Key' but this is apparently for c# projects only - i tried tlbimp.exe but i get=20 tlbimp.exe AxInterop.SHDocVw.dll /keyfile:"C...more >>

Problem with custom class
Posted by Andrew MacLean at 11/20/2003 10:17:58 PM
Hello all, I am fairly new to .NET, though highly experienced in older versions of = VB. I am having a problem with a class I created, though. I have created a class called clsListItem based upon sample code in an = attempt to replicate the ItemData property in a ComboBox: Public Cla...more >>

How to make a RichTextBox un-editable?
Posted by Scott at 11/20/2003 10:10:06 PM
I need to have a RichTextBox that displays various text (in color), but the user cannot highlight or edit the text in anyway, With a regular textbox, I can set .Enabled=False and that does exactly what I want, but with the RichTextBox, setting .Enabled=False turns the box grey, and I need ...more >>

More Multithreading Blues...
Posted by ZorpiedoMan at 11/20/2003 9:56:47 PM
A local variable is considered threadsafe if it is declared in the prodecure that is started on the thread, but it doesn't seem to be the case if the variable is a class. Is this correct behavior? If so, why? Sub whyIsThis() dim mClass as new myClass mClass.myInteger = 3 Thre...more >>

User control - remove control at runtime
Posted by Tomas Oplt at 11/20/2003 9:22:56 PM
Visual Studio2002 Framework 1.0 I have userControl which contain some controls If user remove at runtime remove control from the userControl especially ComboBox, it is not possible to close the form ! Form does not react on clicking on the right upper corner. Is ther...more >>

I don't understand why I'm getting a casting error
Posted by Larry at 11/20/2003 9:12:36 PM
I get a "Specified cast is not valid" when excuting the following line in the subroutine below: spParm = spAddImage.Parameters("@fnameIn").Value = ckfile.Text I'm not sure what I'm doing wrong to cause this error. I'm using the following to set up this parameter: ...more >>



Inherited UserControl and Table Primary Key
Posted by Chris Godwin at 11/20/2003 8:58:38 PM
I have a usercontrol called ucBase. I have a Dataset on that control that contains serveral tables. I have serveral User Controls that inherit from ucBase. I need / want to use the dataset on the inherit control. When the user control is created it give me some error about reating a duplicate...more >>

Problem With DB
Posted by Newbie! at 11/20/2003 7:34:11 PM
Hi Ppl, Could someone Help a newbie? I keep getting: 'Convert' is not a memeber of 'string' Here is my code: Public Function IsWeb_AddressNull() As Boolean Return Me.IsNull(Me.tablePasswords.Web_AddressColumn) End Function Public Sub SetWeb_Add...more >>

V.B 6.0
Posted by Matt at 11/20/2003 5:15:34 PM
has anyone got any really cool programms created in VB 6.0 that i could have if so can you please send them to me....more >>

RegX pattern required
Posted by Glenn Wilson at 11/20/2003 5:13:59 PM
Can anyone help me with a regx to match the values 1 to 6. No these could come in several formats and we only want matches where there is a single number with no other numbers next to it in the string, We could have an alpha beside it on either side though Examples of matches 1 2 3 4 ...more >>

Crystal reports help
Posted by Bruce Wiebe at 11/20/2003 5:08:13 PM
Hi all Does anyone know how to bind a crystal report to a dataset that has been retrieved from a web service to a local machine so that it can be displayed on a windows form. any help would be very helpful ...more >>

Printing Calculate the total number of pages
Posted by martin NO[at]SPAM binarymediasystems.com at 11/20/2003 4:27:28 PM
Does anyone know how to create the total number of pages? I am using the printpreview, pagesetup, and printdocument. I am printing contents from a richtextbox. I have it already printing but I need to know the amount of pages to print to be included with the printing of the document. Any hel...more >>

Problem with DescriptionAttribute
Posted by Brad at 11/20/2003 4:20:24 PM
I've used the Description attribute throughout assembly classes; class; methods; enums, etc. My problem is that the descriptions use to show up in the object browser and now they don't. To confirm I tried a simple test assem with same problem. So why & help! Imports System.ComponentModel ...more >>

Inheritance question
Posted by Jason MacKenzie at 11/20/2003 4:10:56 PM
I have a higher level question about inheritance. We have a base class that all our intranet pages inherit that does things like our navigation menu, security etc. That works great is amazingly simple. We also have an assembly that we use in most pages that holds our commonly used functions su...more >>

string conversion, but returning a new string object
Posted by John A Grandy at 11/20/2003 3:55:58 PM
the conversion methods on the VB.NET String objects are of course very useful ... but it would seem that one of the most common needs is not properly addressed ... if I do Dim s As String s = "I acTually Want the case To BE like THis" TextBox1.Value = s.ToUpper() maybe I get what I want...more >>

Populate DataGrid With Multiple Tables
Posted by Raj at 11/20/2003 2:57:34 PM
Hi I am trying to populate datagrid with a query which has multiple tables on it. It loads data fine but when I try to apply tablestylegrid and columnstyles its not taking it. Can anybody help....? Thanks Raj...more >>

Referencing business objects from another application
Posted by spamproof2005 NO[at]SPAM yahoo.com at 11/20/2003 2:42:00 PM
I'm creating a new application that will use/need to refer to some business objects I have in another separate application. What the best way to do this? It appears that adding a reference and pointing to the INETPUB\WWWROOT\MyOldApplication\MyBusinessObject\Bin\BusinessObjects.dll of my othe...more >>

Form won't display in design mode - Object reference not set
Posted by Jeff Molby at 11/20/2003 2:27:14 PM
I'm quite experienced with ASP.Net, so I know the language pretty well, but this is my first significant windows app in VB.Net, so I haven't encountered many of the quirks yet. I'm using VB 2003. The form in question compiles perfectly and the application runs. However, I cannot view the desig...more >>

Combobox Question
Posted by Warwick Hunt at 11/20/2003 2:22:49 PM
Hiya All, Don't know if this is possible, but I need to know if after binding infomation to a combobox a selection is made and then the resulting column information is passed to numerous text fields... Hope I explained this ok ! TIA Dave ...more >>

Desktop Handle
Posted by Juan Romero at 11/20/2003 2:17:03 PM
Hi guys, Does anyone know how I can get a handle to the desktop or the screen? (of for this matter, the device context handle) I want a program to write some stuff there, but I can't seem to get a handle. I tried calling API functions, but they return me a negative handle (-99999), so altho...more >>

Creating 'regular' dll with VB. NET
Posted by Michael Howard at 11/20/2003 1:51:13 PM
I am a former Paradox/Delphi developer new to VB and .NET. I am trying to create a dll that may be called from a Paradox application. Is there any VB .NET project type that will enable me to create a 'regular DLL' (that is not a class library or COM object)? I can't instantiate a clas...more >>

Accessing controls of Windows Form
Posted by Parveen at 11/20/2003 1:01:21 PM
I have a data grid on a windows form that I want to access from another class that's outside the form but in the same project. This other class stores all methods that populate and modify the grid on my form - it basically contains all the logic behind the form. I will be calling these methods fro...more >>

After Applying KB arrticle Still Excel won't quit.
Posted by Claudio Benghi at 11/20/2003 1:01:14 PM
Hello World, I've found a problem regarding Interop on Excel 2000. Here's KB article where the problem should be discussed: http://support.microsoft.com/default.aspx?scid=kb;EN-US;317109 After Applying KB arrticle Still Excel won't quit after subroutine if. oSheet.Copy(oSheet, ) fun...more >>

Debug Mode
Posted by Dave at 11/20/2003 12:36:07 PM
Hi I am very much a newbie to .Net and VB for that matter. I have inherited a .NET program from an out-of-house developer with a lot of bugs to fix. I have the source code and can compile it in release mode but when I try to compile in debug mode, I get the message: "Error while trying to run proj...more >>

please(!) help with helpfiles
Posted by colmag at 11/20/2003 12:31:12 PM
I've just bought the VB.net2003 deluxe learning edition,=20 whicn includes vb.net2003 standard and the step by step=20 book. =20 I'm please with my choice of language and the book is=20 great, but there doesn't appear to be ANY online help=20 installed whatsoever, and i can't find any on the ...more >>

Data Extraction from MS Word
Posted by KenB at 11/20/2003 12:30:27 PM
I have data from a clinical trial, where each record has been stored on a network drive in (of all things) a MS Word document. The documents were created with a template, so the location of the data within the document should be consistent. The question is: is there a way for me to extr...more >>

Declare Statement
Posted by Simon Osborn at 11/20/2003 12:25:36 PM
Hi, Instead of adding my own custom dll's as references into my project, I want to call it via declare statement. However, I'm having a few difficulties! My dll contains a basic function : Public Class MyDLL Public shared function MyTestFunction (byval mystr as string) try ...more >>

call vbscript subs and functions form VB.NET
Posted by Günther Rühmann at 11/20/2003 12:20:14 PM
Hi together, I´d like to know if it´s possible to call vbscript subs or functions from vb.net. The vbscctipt code is in a file within the same project. If not: is it possible to convert vbsctipz code to vb.net code ? Thanks ...more >>

Windows Messenger
Posted by MrMind_15 NO[at]SPAM Hotmail.com at 11/20/2003 12:13:20 PM
Is there any possiblity to send message to any computer using VB.NET. Its udp port is 1026 (default). Any body have any idea. Any idea shall be appreciated. Thanx....more >>

VB. NET - FTP Download File
Posted by Scott Johnson at 11/20/2003 12:00:56 PM
Hi! I am trying to get Visual Basic .NET to download a file from an ftp site. I don't need a user interface, i just need to download a file that I will already know the path/filename. I remember how simple this was to do in VB6 (like 3 lines using an API), so I figured that it should be simp...more >>

Simply round corners of a form
Posted by Mike D at 11/20/2003 11:49:23 AM
I am looking for a way in vb.net to take a form with sharp corners and just round off the corners a bit so they arent so sharp. I have seen this done in other applications. ...more >>

Raise events in a class.new statement dows not fire???
Posted by Peter van der Veen at 11/20/2003 11:44:29 AM
Hi I have a class with an error event. When i initialize the class from a program the events in the class new sub does not fire. (i don't get them back) When calling anonther sub in the same class the events fires without problems. How can i get the events raised in the class new sub? ...more >>

DateTime Comparison Problems
Posted by elziko at 11/20/2003 11:30:33 AM
Hi I have two date times that I belive to be equal. However, when I do a comparison I find that date1 is less than date2... Console.WriteLine(date1.ToString("dd/MM/yyyy HH:mm:fffffff") + " - " + date2.ToString("dd/MM/yyyy HH:mm:fffffff")) .... which ouputs: 12/11/2003 14:23:4370000 - 12/...more >>

How run Client/Server app on local area network?
Posted by Woody Splawn at 11/20/2003 11:09:43 AM
I have been developing a ClientServer application on one machine at my office but the time has come to transfer it to the customer. The customer is running a Windows 2000 local area network. I will keep a copy of the applicaiton and all it's code on one of the client machines connected to the ...more >>

Logon into network
Posted by A.M at 11/20/2003 10:51:44 AM
Hi, My WinForm.EXE app tries to write a file into network and it failes because it doesn't have permission and I don't know how can I login into network from my application. How can i logon into network from my EXE file? Any help would be appreciated, Ali ...more >>

Strict and Explicit always on?
Posted by Klaus Löffelmann at 11/20/2003 10:47:53 AM
Hi, simple question, and maybe I'm just too blind finding it, but: is there a simple way to have Option Explicit and Option Strict switched to on by default with the IDE, or do I have to create new templates for VB-Applications? Thanks, Klaus ...more >>

Trigger doubleclick event in Datagrid cell (Datagridtextbox)
Posted by Rolf Falnes at 11/20/2003 10:11:35 AM
Hi. Does anyone know how to trigger the doubleclick mouse event in a datagrid cell (DatagridTextbox )? Regards, Rolf Falnes Datapartner AS ...more >>

How to detect the input box is cancelled
Posted by Alan at 11/20/2003 9:58:35 AM
How do I know the use click the cancel button on the input box ? ...more >>

Application Command Line Arguments
Posted by Daryll Shatz at 11/20/2003 9:54:01 AM
Can someone point me to some information on how to include application command line arguments with a Windows application. Can this still be done in VB .NET? Thanks ...more >>

PostMessage to VB.NET messageloop
Posted by SM at 11/20/2003 9:52:41 AM
Hello group, i'm converting a VB6 application for .NET Framework. The application depends on a DLL written in standard C. The C DLL code creates an invisible window with CreateWindow() with the WndProc function located into the VB.NET code. Until the code was VB6/C code, they was OK. Now...more >>

How to read a variable from another form
Posted by Alan at 11/20/2003 9:47:06 AM
I have a main form frmMain and second form frmMember, I declare a variable at the top of the frmMember as Dim memberStr as String In the main form, Dim MemberForm as frmMember MemberForm = new frmMember() if MemberForm.ShowDialog...... = .. then ' I want to read the variable o...more >>

DataGrid selected row
Posted by Alan at 11/20/2003 9:44:07 AM
How do I find out the selected row in a datagrid ? ...more >>

How to add table fields into list box
Posted by Alan at 11/20/2003 9:43:18 AM
I have a DataTable and would like to display all fields into the list box by using: CustomerName, CustomerPhone, CustomerAddress lstResult.datasource = dt lstResult.DisplayMember = ..... How do I assign the DisplayMember string ? ...more >>

Open Internet Explorer URL when Clicking a button
Posted by Stewart Saathoff at 11/20/2003 9:36:31 AM
Hello, Does anyone know how to open an Internet Explorer URL with a specified Path when someone clicks a URL? ...more >>

form.Showdialog VS form.show
Posted by Ivan Weiss at 11/20/2003 9:33:51 AM
I have been using form.show to display my forms yet I see a lot of people using form.Showdialog. What are the differences and when is one better than the other or are they the same...? -Ivan *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...ge...more >>

Error Trapping in a VB.NET WEB App
Posted by Fred Nelson at 11/20/2003 9:28:38 AM
I'm devloping a VB.NET web application and I'm having a problem with trapping errors and logging the cause of them. When an unexpected error occurs I want to write it to a file - or e-mail it to me. I have set up everything according to the documentation however when I get to my error page "er...more >>

Question About Data Types
Posted by Brian at 11/20/2003 9:03:31 AM
Hi! I am new to VB.net but know enough to kind of dive in. I want to make a text adventure but I am having problems in how I want to store the data for inventory items, characters and such. Right now, I have three rooms but a lot of if and then statements on how to tell if they should appear i...more >>

Method calling not working?
Posted by Tales Normando at 11/20/2003 8:54:58 AM
Hi, Elighten me what's wrong, please. I'm working on a project that uses 2 programs, a client and a server. The server must remote a message exchange class to provide communication between both. At some point on the Main sub this code is called: > Dim Tcp As TcpChan...more >>

Windows Services - Please help
Posted by mod_in_all NO[at]SPAM yahoo.com at 11/20/2003 8:32:29 AM
I have created a vb .net program as a service that is using a simple ftpclient to connect to a remote server and check the status of a file for subsequent downloading if there have been changes to it. I have been having many problems and need your help. 1. When I use a thread to start the serv...more >>

EnumWindows equivalent in VB .Net
Posted by Geoff at 11/20/2003 8:26:37 AM
I need to reproduce functionality from a VB6 application in VB .Net. In the VB6 app, I use FindWindow, EnumWindows and other related functions. Is there a .Net NameSpace that replaces these functions for more "compliance" with .Net, or should I just use the "old" approach? Thanks in adv...more >>

Nested If
Posted by Thanks2U at 11/20/2003 8:03:34 AM
I have 2 if statements that are unrelated to each other, but the outcome of the variable of each of these are. Here is my first one: If sToEMail = "" Then sTo = "DT" & CStr(lDistrictNbr)"@microsoft.com" Else sTo = sToEMail End If Then my second one: If i...more >>

Counter
Posted by Toodles at 11/20/2003 7:59:23 AM
I have a dataset coming back in my .net app, and I need to look at a particular field in that dataset, and if there are multiple instances of that field (>1) then I don't want it to send a particular email (that I have coded in). If there is not an instance, then I want the email to be se...more >>

Check lost in checked listboxes
Posted by Stan Sainte-Rose at 11/20/2003 7:31:30 AM
Hi, I have the same problem. Is there a patch for this bug ? Stan From: "touf" <toufik_i@hotmail.com> Thanks Helfried, I've found that this is a bug in 2002 version. Note that the problem occurs when we use the datasource property to fill the list, but if we fill the list by code (ls...more >>

Multiple Programs
Posted by Martin at 11/20/2003 7:01:21 AM
Just wondered if you could give me some advice! At the moment we code out systems in COBOL and we are just starting to move everything to VB.net. Just wondering how you all manage when designing system with many screens. Running of a single .exe would be unfeasible so have been lookin...more >>

How To force to stay in a tabpage
Posted by Stan Sainte-Rose at 11/20/2003 6:41:07 AM
First, I thank you Herfried. I have 3 tabpages in a tabcontrol. I would like to force the user to stay in the current tabpage until he doesn't correctly fill some textboxes. I know how to prevent bad entries but if I click onto another tabpage, I can leave the current tabpage. I try to use t...more >>

ComboBox Question
Posted by Stan Sainte-Rose at 11/20/2003 5:39:38 AM
Hi, How can I disable the text input into a combobox ? thanks Stan. ...more >>

Entry Point
Posted by Duncan at 11/20/2003 3:29:34 AM
How do i create an entry point in a class library which holds a windows form? When trying to call .dll get message saying entrypointnotfound! New to vb.net! Thanks in advance!...more >>

Call mechanism
Posted by Martin at 11/20/2003 2:18:20 AM
Hi all We are new to coding in VB after many years COBOL (yes i know!!!). Anyway esentially we are trying to have a simple .exe program that will call relevant .dll's when required. The .dll needs to have a full interface including Menu's but can't seem to ge this to work. I can crea...more >>

Application deploy error!!
Posted by smallun NO[at]SPAM sinaman.com at 11/20/2003 1:37:36 AM
I've try to deploy my application by using Setup Wizard. But after I build the setup application, it got a error said "unrecoverable error!". I don't know what's the problem. In order to the what problem is it, I open a new project and just use one form, use one text box and one button and try t...more >>

VB Net Resource Kit & ZoneAlarm
Posted by Steve House at 11/20/2003 12:59:12 AM
I just installed VB Net Resource Kit on my XP machine with ZoneAlarm 4.5 Pro, permitted cookies & private header with msdn.microsoft.com, but still can't get the solutions pages unless I disable ZoneAlarm. Things work just fine when I disable it. I can only get to http://localhost/VB.NETResour...more >>


DevelopmentNow Blog