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 > december 2004 > threads for tuesday december 14

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

sending text via sockets.
Posted by rs at 12/14/2004 11:40:03 PM
I am having a problem when sending a text from the client to the server and verse versa. when I watch the passed string i see the value of the passed string as follows "abcd missing the second " while if I watch it before it is sent it has double quot.what am I missing? ...more >>

vb.net, MSSQL, and null dates
Posted by Lakota61 at 12/14/2004 11:35:01 PM
I have an application where a database entity that progresses through a cycle. As it completes a step along the cycle, a todays date is assign to one of the date columns in the table row. However at the beginning of the cycle many of the dates hold null values. Is there a simple way that ...more >>

reading large text files faster?
Posted by vbnewbie at 12/14/2004 11:33:02 PM
I've been testing some of the example streamreads on 40 meg text file. I notice that it take awhile to read in debug.write and textbox1.text multi line. but if i use a textpad program, example editplus, it loads a lot quicker. My question is... what is the limitation here or is there som...more >>

Form resize
Posted by john andrew at 12/14/2004 11:13:03 PM
-- hello How do you start a form maximized in VB.net and for that matter in VB6 as well? It is a simple silly question that I couldnt get the answer for. thanks...more >>

Appending a file
Posted by Kurien Baker Fenn at 12/14/2004 10:45:05 PM
How to append a file with a new file?. please help. thanks in advance....more >>

Create Control Dinamicaly
Posted by shachar at 12/14/2004 10:14:31 PM
hi all. on my form i placed a big PicturBox.(BigPic) when i add a new control to the form (a picturebox) with an image on it, and place it on the BigPic, it's hided behind the BigPic. how can i make it OnTop of the BigPic? i tried "BringToFront" and "SnedToBack", But It Wont Help. ...more >>

UpdateResource being weird
Posted by Nak at 12/14/2004 10:05:10 PM
Hi there, It's probably me being weird more than the function but I'm having problems with it doing as it should. I have a C++ application with 2 resources of custom types, RT_INIFILE @ 2000 (INI file) and IDR_MSISETUP @ 3000 (MSI file) The declaration of ...more >>

Problem being unable to delete controls in VB.NET 2003
Posted by David at 12/14/2004 9:28:25 PM
I have posted this request on several groups but not yet found anyone who has experience the problem. Hopefully this group may be more appropriate for the post. I run VB.NET in Windows 2000 Professional. The problem is that if I place a Tab Control on a Form and then Add controls to the TAB p...more >>



Determinate whether a 'Char' is null
Posted by Xero at 12/14/2004 9:05:02 PM
How do you determinate whether a varible of data type 'Char' is null or not? I used the following code, but it seemed that it didn't work: Dim ans As Char If ans = "" Then MsgBox("Ans contains no value") Else MsgBox("Ans contains a value") End If Thanks. -- Xero http://...more >>

MDI Relation ship
Posted by krishna at 12/14/2004 8:52:24 PM
Hi, I have doubt in MDI forms genarally we will set formname.MdiParent=me in the mdi form if it is child but my doubt is when i open another child in the child form of the mdi form it is comming out side when i was runnig the application. how to set mdi relation in another chil...more >>

Menu Button
Posted by S Shulman at 12/14/2004 8:39:16 PM
Hi all I am looking for some time for a comman button that tuns into a memu once you click one side of it I have seen elsewhere and I was never able to integrate it into my .NET program Thank you Shmuel Shulman ...more >>

CurrentChanged event DOESNT get fired with Framework v1.1
Posted by Newsgroups MICROSOFT at 12/14/2004 7:55:57 PM
Hi, I've search a lot over the Internet and I've found many similar problems. The CurrentChanged event of the BindingManagerBase class DOESNT get fired when the application is working with Framework v:1.1. The problem disappears when the app switches to Framework v:1.0. Is there any solutio...more >>

Q: Main in VB.net
Posted by Geoff Jones at 12/14/2004 6:00:50 PM
Hi What is the closest equivalent to Main in a VB.Net form? Geoff ...more >>

newbie question ?Syntax
Posted by Joisey at 12/14/2004 5:22:08 PM
This is part of the code I downloaded to retrive a string value from a .ini file: (I have NOT shown all the lines which declare the API functions and properties) Public Function GetString(ByVal Section As String, ByVal Key As String, ByVal [Default] As String) As String ' ...more >>

Split text into an array
Posted by Microsoft at 12/14/2004 5:15:50 PM
I have a multine list that I would like to split into an array. I paste it into a richtext box and go from there, but it just makes the first part of the array the whole list with little boxes inbetween. Here is the code Dim userdata As String Dim serverarray As String() Dim servercount...more >>

Q: Simple question???
Posted by Geoff Jones at 12/14/2004 4:12:02 PM
Hi I have two projects within a solution in Visual Studio .NET 2003. How do I access the code in one from the other? For example, there is a public member in one project. How can I call it from the other form? When I try to do this it says that the member is not declared. Geoff ...more >>

How to read multiple files from a folder?
Posted by jenniferhu46 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 12/14/2004 3:52:26 PM
Hi experts, I wrote a function which retrieves a file in the folder, the file path is : Dim sr As New StreamReader(strFilepath & ReturnFileName) What if I have more than 1 file_name in EPay_Batch_Table Where File_Status=2? How to read multiple files and 1 file at a time, through a loop? ...more >>

Could not find type error - does not make sense
Posted by nickpup at 12/14/2004 3:33:03 PM
I have a vb.net 2003 project that produces the error: Could not find type HCON.FormsLibrary.BusinessValidationErrorListView'. Please make sure that the assembly that contains this type is referenced. If this type is referenced, make sure that the project has been successfully built'. T...more >>

Sub Main
Posted by Sean at 12/14/2004 3:23:28 PM
Hi all, I am just wondering why I can't find the sub main in my application. I know that the sub main is the entry point for a program. Is it because the MS Visual Studio .Net somehow hides the sub main? Any suggestion would be appreciated. regards, Sean...more >>

FTP
Posted by Jim Edgar at 12/14/2004 2:38:24 PM
Is is possible to use WinInet in vb.net 2003 to download files from an FTP server? I've been asked to rewrite some VB6 code as a service that downloads files then parses and reformats them. The parsing and formatting was easy but the FTP stuff has me stuck. FtpFindFirstFile() doesn't return the...more >>

controls quiestion
Posted by Nikolay Petrov at 12/14/2004 2:36:53 PM
How to do something to all controls of same type in a form? Let's for all TextBox-es. ...more >>

date confusion
Posted by djc at 12/14/2004 1:52:12 PM
I am confused with all the options for date values... What should I be using when I want to compare (=, >, <) two dates, not including the time.. for example when inserting data in a database the data may have the full date and time like '12/15/2004 12:31:23 AM'. How do I convert that into just ...more >>

how to reference an object that already exists
Posted by Rich at 12/14/2004 11:54:33 AM
Hello, I am trying to reference an object that already exists, ie, I have a dll project (dllProj) which contains a simple form. Then I have a main app and a secondary app which both have references to dllProj. When I start the project, the main app starts up. I then invoke the dllPro...more >>

Reference Project or Assembly
Posted by Just Me at 12/14/2004 11:43:25 AM
I have a solution containing many usercontrol projects. When I wish to reference a usercontrol in another project I can select either the project or the assembly. Does it make a difference which one I select? Thanks ...more >>

about list view control
Posted by Yoshitha at 12/14/2004 11:22:53 AM
Hi, Can anybody tell me how to place buttons in listview control or list box control. am displaying files in listview control fro each file i've to place one button. Plz let me know if any third party controls available. Plz tell me its very urgent. Thanx in advance Yoshitha ...more >>

how to detect if a .xls is in use
Posted by Marc Miller at 12/14/2004 10:55:51 AM
Does anyone know how to dectect if an excel spreadsheet it in use before using workbooks.open(path&file) ? I can't seem to find anything in the search engines or help files for this. TIA, Marc Miller ...more >>

General Question
Posted by dcstech at 12/14/2004 10:41:01 AM
Is there any way, using a windows service, to manipulate a third party software. Here is an explanation. My company uses software, that I did not write, to keep up with materials that are being shipped from the plant. In the software there are to textboxes that are filled out. One is for t...more >>

Word Open Error
Posted by Richard Grene at 12/14/2004 10:29:58 AM
Hello, I have an app that does late binding to open WORD. wrdApp = GetObject("Word.Application") wrdApp.Visible = True wrdApp.Documents.Open(sLetterFileName) It works fine on all PC's except for one. I get the error: "Method not found: Word.Document W...more >>

How to code incremental search
Posted by rh at 12/14/2004 10:03:21 AM
Hi, I'd like to add an incremental search to my windows form DataGrid that works like the one used in Windows Explorer. In Windows Explorer, when you type a character it jumps to the first item that matches that character. If you type another letter within a given amount of time it will be ...more >>

Catch keystrokes, no focus
Posted by Matthew at 12/14/2004 9:21:55 AM
I want to create a program that runs in the system tray and watches for key combinations (Ctrl. + Shift + 1, for example) and performs an action associated with that combination. The catch is there is another program will have focus when those keys will be pressed, and needs to keep focus. ...more >>

problem using delegates with Option Strict On
Posted by Rich at 12/14/2004 9:18:50 AM
Hello, The following Delegates example works with Option Strict Off, but if I change it to Option Strict On then VB.Net complains about the line dgY = System.Delegate.Combine(dgI, dgA) Is there a way to use the Combine method of Delegates in VB.Net with Option Strict On? ------------...more >>

CVS Text File
Posted by Kou Vang at 12/14/2004 8:39:06 AM
I have a large text file seperated by commas. I was wondering how to get the values from the text file. The problem is that not all the characters are the same length, so I can't use the characters, but is I can't find how to seperate out the values by the commas. I know that reading the wh...more >>

HELP ! Populate text file from array
Posted by dibblm at 12/14/2004 8:24:26 AM
I have a text file being created and need the values from the array that gets created to populate my text file. I am new and not very good. Kinda borrowing bits and pieces from here and there, so if my code is a mess (Which it is ) don't be alarmed. Myfile is the array that gets populate...more >>

Flow control
Posted by Dennis D. at 12/14/2004 8:11:48 AM
This is a multi-part message in MIME format. ------=_NextPart_000_002A_01C4E1B4.8F382200 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello: There are a series of textboxes (x.text, y.text, z.text etc.) in which = user input is expected. A...more >>

OleDataAdapter
Posted by dcstech at 12/14/2004 7:59:02 AM
Can you have more than one table in dataset when you generate it from the oledataadapter....more >>

Winform Application Name
Posted by QuenHo at 12/14/2004 7:35:03 AM
Hi All, I've build a winform application with vb.net which accepts command-line parameters. If I tell windows to open certain files with this application all works fine, but windows does NOT show the application name in the short-cut menu or in the dialog "choose program" as it does for ot...more >>

test please ignore
Posted by Sorry Guys at 12/14/2004 7:24:51 AM

Tooltip in ListView
Posted by Amjad at 12/14/2004 6:19:07 AM
Hi, How do I display a tooltip when mouse hovers on top of an item of a ListView? I want the tooltip to contain the text of the item the mouse is pointing at. Amjad...more >>

Get a specific letter from a word
Posted by Xero at 12/14/2004 5:57:03 AM
How do you get a specific letter from a word? For example, in English, I would say: Get the fifth letter from the word "Computer" Then the letter 'u' will be returned. (C-O-M-P-U-..., 'u' is the fifth letter) How do you 'translate' this sentence into VB.net? Thanks! -- Xero http://ww...more >>

control array
Posted by shachar at 12/14/2004 3:36:50 AM
hi all. i want to add pictureBoxes dinamicly(control array) and i wrote: Dim pic as picturebox=new picturebox Pic.visible=true Pic.location=new point(100+I,200+I) 'I is a simple counter Pic.name="Pic" & I I+=1 Me.controls.add(pic) BUT - i cant see any new picture box! why? ...more >>

System.Reflection Question
Posted by Erol at 12/14/2004 3:03:01 AM
I have two code snipets, one in VB and the other in C#. Why does the visual basic example not change the structure member "x", but the C# code does? I need the visual basic code to work as I am a visual basic coder, but I don't know what is wrong. Is there a bug in visual basic.net? Please hel...more >>

DataColumn Class and AutoIncrement
Posted by Sam at 12/14/2004 2:03:46 AM
Hi all I have a simple datagrid form which has 4 columns. The first one is used just like a key and the other threes allow user to enter numbers. The problem that I am having is that when I click on a cell of a new row but decide not to enter a value and go back to any of the previous rows ...more >>

mscorlib: Access to the path is denied.
Posted by Alex Levi at 12/14/2004 1:49:03 AM
I'm tring to open a file using FileStream: dim myFile As New FileStream(myPath, FileMode.Open) It works on every file on FAT32 HDD fine. But when I try to open a several files on NTFS drive I get this message: 'Access to the path " ... " is denied.' Some files on NTFS are working fine. I c...more >>

Changing the Listview's items alignment ?
Posted by Arsalan at 12/14/2004 1:25:35 AM
How do I change the Lisview's items defaul alignment (i.e left) to some other, for eg right or center ? [in another word how do i set the alignment of ListItem?] ...more >>

ADO.NET and VB.NET question
Posted by Landley at 12/14/2004 12:54:24 AM
I have created some classes that have a datarow as a datasource and properties for reading from or writing to the datasource (see example below). I have used this solution to separate the data layer, so the 2nd hand developer does not need to know the data structure. 1. I create a dataset bas...more >>

Question on Combo Box Validation
Posted by Michael R. Pierotti at 12/14/2004 12:46:12 AM
Ok now I want to validate / auto select a value from a Combo box, 'cbInterfaceVersion Me.cbInterfaceVersion.Items.AddRange(New Object() {"v 3.3", "v 3.4"}) Me.cbInterfaceVersion.Location = New System.Drawing.Point(144, 184) Me.cbInterfaceVersion.Name = "cbInterfaceVersion" Me.cbInterfaceVersi...more >>

File in use detection
Posted by Landley at 12/14/2004 12:45:59 AM
How do detect whether a file is in use, and if it is in use, by who / what process? L. ...more >>

Generics in VB.Net?
Posted by Robby at 12/14/2004 12:03:39 AM
In C++ I can write template classes and in C# they have generic classes that are something like C++ template classes. Is there currently a why to write them in VB? MS is adding C++ type functionality like operator overloading to VB in version 2.0 of the .Net Framework. Will there be a way...more >>


DevelopmentNow Blog