microsoft.public.dotnet.languages.vb Archive - February 2002
Post a message to this list
Messages
Page: 123456789101112131415
Web Forms: how does a linkbutton work? (5 replies)
microsoft.public.dotnet.languages.vb
Hi, folks, a simple question: i 've built a web form with a link button on it. After pressing the button, the user should see a new page in his browser. how can i realize this? i'm also glad about some msdn links to this topic, cause i ve searched there for a while... thanks alex
Change msgbox text (2 replies)
microsoft.public.dotnet.languages.vb
Hi, I have a datable witch i put the first column has unique. Then i bound a datagrid to the datatable and has expeted if introduce an already existing cod in the datagrid it shows a message box widh an error, but i wan 't to change the message to be displayed in my contry language. i dont' find an error event so i can throw out my own message neither in the datable or the datagrid. any body can h...
XML - Searching for Records (4 replies)
microsoft.public.dotnet.languages.vb
I have data stored in an XML file like that shown below. Obviously mine has many more "records" of information than shown here. I'm wanting to "search" this XML file for specific ITEM CODE values as the user requests them. How can I do this? My XML file contains the following.... ITEMS ITEM ITEM CODE '123' DESCRIPTION 'APPLE' PRICE '1.23' / ITEM ITEM CODE '456' DESCRIPTION 'ORANGE' PRICE '4.56' / ...
Stupid Question (3 replies)
microsoft.public.dotnet.languages.vb
I know this is probably incredibly easy but for some reason I cannot find out how to determine the size of a file in KB. I've looked through help for about 20 minutes. Can anyone fill me in? Jim
Folder (2 replies)
microsoft.public.dotnet.languages.vb
I am trying to write a program which scans your hard drive and list all the files in a folder and the files in subfolders etc. How do I do this?
Yag's status report - Jan. 31, 2002 (3 replies)
microsoft.public.dotnet.languages.vb
Status Report Jan. 31, 2002 Hey folks, Here's my latest status report just to let everyone know what I've been up to. I'll be posting these occasionally to let you know what's coming down the pike. 1.. I've been setting up the infrastructure so that we can standardize on having a chat around 3 weeks after some of our whitepapers. Then we'll link from the chat transcript to the whitepaper. Gives pe...
How do you handle a key event? (2 replies)
microsoft.public.dotnet.languages.vb
If I have a txtbox and want to catch a keypress, if it is the Enter button, how can I make it call the cmdSearch Click sub. the cmdSearch Click requires two arguments and I don't know what they are. Is there a better way to do this? Thanks, Rut
ftp client application in VB.Net vs VB 6 (5 replies)
microsoft.public.dotnet.languages.vb
I am going to write an ftp client application in VB.Net. Can I relay on VB 6 examples or I need only new examples for .Net ? Is there a change in Controls/Methods for FTP using between .Net and VB 6 ? Thanks ya94@hotmail.com
Usercontrol properties (3 replies)
microsoft.public.dotnet.languages.vb
I made my own usercontrol which includes a textbox. How can I make the properties from the textbox available outside of my usercontrol? Mit freundlichen Grüßen, FAUSER AG Marc Fauser ......................................................... FAUSER AG organisation@software Gutenbergstr. 5 82205 Gilching Fon: 49 (0)8105 / 26790 Fax: 49 (0)8105 / 26797 Web: http://www.fauser ag.com .....................
VB Application Setup problem.......Urgent... (3 replies)
microsoft.public.dotnet.languages.vb
Hi all, I am looking help on Package and deployment wizard with Vb application. Initially I can produce setup files for my VB application,but in this process is there any option we can keep to upgrade my application after installing this on User Machine. So that if I will make some enhancements in the future and I can upgrade the application in the User Machine without uninstalling the old applica...
How can I find the computer (brand) name (6 replies)
microsoft.public.dotnet.languages.vb
.
ISNULL Not declared (4 replies)
microsoft.public.dotnet.languages.vb
How do you test for null in vb.net? Thx TT
Smart ComboBox (4 replies)
microsoft.public.dotnet.languages.vb
Before I spend a lot of time creating a combobox that 1) moves to the item in the combobox's list as you type letters in the box 2) prevents typing an entry that doesn't exist in the list Does anyone know of an existing "Smart" ComboBox, created for .net, that I can get? A commercial product is OK Michael
Lock Columns For Editing in A Datagrid in VB.Net (2 replies)
microsoft.public.dotnet.languages.vb
I Need help to lock specific columns in a datagrid which is linked to several datasets in a .net app. i need to prevent edits to some of the columns but not all. Help.. Anyone..
Pointer problem when reading wavfiles (direct sound8) (2 replies)
microsoft.public.dotnet.languages.vb
I'm trying to read a portion of a wav file to array. In VB6 I could use samples(0) instead of p. In VB.NET that does not work, since a pointer is required. System.IntPtr does not seem to work either. Any help appreciated, | alle Public Function ReadWavFile(ByVal path As String, ByRef samples() As Integer) As Boolean ReDim samples(1024 1) Dim p As System.IntPtr p New System.IntPtr(samples(0)) ds bu...
Automating Word (3 replies)
microsoft.public.dotnet.languages.vb
I get the following error everytime running and I can not figure it out Form1.vb(150): 'Quit' is ambiguous across the inherited interfaces 'Word. Application' and 'Word.ApplicationEvents3 Event'. Here is the code: Dim appWord As New Word.Application() Dim CurRow DataGrid1.CurrentCell.RowNumber FirstName DataGrid1(CurRow, 0) LastName DataGrid1(CurRow, 1) MyDate DataGrid1(CurRow, 2) Serial DataGrid1...
How to show a form? (2 replies)
microsoft.public.dotnet.languages.vb
I Have an MDIParent form frmMain, a menu in it and an other form, frmChild. When i click on a menu item i want to show only one instance of the frmChild with frmMain as parent form. The code below works fine, but i found it a bit complex. Is it an other way to do it? Public Class frmMain Inherits System.Windows.Forms.Form Private WithEvents frmChild1 As New frmChild() . . . Private Sub MenuItem2 C...
this pointer (4 replies)
microsoft.public.dotnet.languages.vb
Hello , I am wondering if there is any function like GetHashCode for Managed C Application? In unmanaged c code this pointer value can be used as a hash code but in managed code there is no pointer value. C# and VB.NET provides a function Object.GetHashCode which can be possibly used for identifying an object. Any suggestion? Thanks Maneesh
Recursive TreeView (adding extra nodes) (5 replies)
microsoft.public.dotnet.languages.vb
Hello, I have reviewed the other posts for recursion, but haven't quite gotten enough information to help me solve my treeview problem. The code below (misc. details omitted) does in fact return the correct information. The problem is that I am adding a child node to the root node AND to the correct spot in the treeview. Your help is greatly appreciated. Root Supervisor 1 Employee a Employee b Emp...
Doevents in Console App? (2 replies)
microsoft.public.dotnet.languages.vb
Hey Everyone, Writing a console App that has to sit and wait for input from a TCP connection, but I can't seem to use Application.Doevents to give processing time back to the system and to stop the console app from exiting :) ..NET will not allow me to import System.Windows.Forms in order to get at Doevents, so does anyone have an idea how to implement Doevents() in a console app? Many thanks for ...
Serious problems with the Cookies collection (5 replies)
microsoft.public.dotnet.languages.vb
I'm really frustrated with this surely the Cookies collection is not so fragilely dependent on an actual cookie that it can blow up over this? Page won't compile all I get is 'value' is not a member of 'String' for attempting to Response.write a cookie if I were writing in C for ISAPI? OK but in RAD I shouldn't be facing this over a cookie! input type "text" name "fJobName" value " % Request.Cooki...
Confusing Loops (5 replies)
microsoft.public.dotnet.languages.vb
I am not sure if this is something new to .Net or if i have been in jupiter for the last couple of years... But, various times online, i have seen code with loops with no conditions...like While True CODE CODE CODE Loop Or! Do CODE CODE CODE Loop Until False what conditions are these checking for???? To Me, it makes no sence, because it would make for an ineffecient loop Could it have to do with s...
API to retrieve O/S version (3 replies)
microsoft.public.dotnet.languages.vb
Is there a class in VB7 to retrieve the different versions of the O/S (98, NT, XP, W2k, servers etc) in VB7. Thanks, Frank
How can I create a control from scratch? (2 replies)
microsoft.public.dotnet.languages.vb
I need to create a control (ie. TextBox) without using "new system.windows.forms.textbox()". I only have a text string that tells me I need to create a particular control and I would like to avoid a large select statement. I want to do something like; ctl createobject("textbox") How do I do something like this in .NET? Thanks David H.
Adding to byte variables (2 replies)
microsoft.public.dotnet.languages.vb
When adding two byte variables and store the result in an integer an overflow is shown: "Arithmetic operation resulted in an overflow." Example: Dim byte1 As Byte, byte2 As Byte, Result As Integer byte1 100 byte2 200 Result byte1 byte2 Debug.WriteLine(Result) Any explenation? Sven
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com