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 > september 2004 > threads for wednesday september 8

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

Serialization Question
Posted by Tiraman :-) at 9/8/2004 11:20:45 PM
Hi, i have a StreamWriter that hold a System.Net.Sockets.NetwrokStream and the StreamWriter Object Hold An ArrayList which i would like to Serialize And Send it back to the client via the StreamWriter.Flush() Dim writer As New IO.StreamWriter(System.Net.Sockets.TcpClient.GetStream) writer....more >>


If DLL is obsolete, how to manage different modules?
Posted by shinedomain at 9/8/2004 11:19:02 PM
if I have several modules, say Inventory, Order Processing and General Ledger in my system. Each module is a window applicatiion. Each becomes a project. If DLL is obsolete, how do I call them after login? How do I manage them in other words?...more >>

Share project thr the network ?
Posted by Agnes at 9/8/2004 10:22:31 PM
We got a dataserver , I built some usercontrol and class and languate.resx . I PLACED all of them in the data server, I want to let other to use the sources . HOWEVER, after i build the class library , and then add the new items in the TOOL bar. It said "the assembly 'w:\myProject\myclass.dll...more >>

add a single byte to byte()
Posted by Guoqi Zheng at 9/8/2004 10:03:54 PM
I am really do not know so much about byte/bit, etc. Question, if I defined a byte(), how can I add a single byte to it? what I want is that I have an array of bytes, I loop that array, look at the value of that individual byte, if that byte is what I want, then I insert it into the new byte...more >>

Missing file
Posted by DavidInOrlando at 9/8/2004 8:23:03 PM
If anyone has a copy of pubs.mdb I would really appreciate it if you would forward it along. I need it for an example in a tutorial. Thank you, DavidInOrlando...more >>

Strange behaviour with if statement
Posted by tborn NO[at]SPAM hlra.com.au at 9/8/2004 8:11:58 PM
Hi there, Not sure if any one has experienced this before and can tell me what's wrong with this statement: if verified = false then dataObjects.HasError = true This is all on one line and verified is defined as a boolean variable. Irrespective if verified is set to true or false in ALW...more >>

Ok this SUCKS!!!!
Posted by Brian B at 9/8/2004 7:51:03 PM
I just installed VB.net 2005 beta, now when I try to create a 2003 windows form it says C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\WindowsApplication4\WindowsApplication4\AssemblyInfo.vb(13): Import of type '' from assembly or module '<unknown>' failed. a...more >>

RichTextBox Label URL?
Posted by JZ at 9/8/2004 7:17:21 PM
Hi, I remember reading sometime ago that is possible to create a RichtextBox label. Has anyone got any source or a URL. I'm looking for improvements on just setting ReadOnly = true or Enabled = false. Something which hides the caret / selection character. Help!!!!!!!!!!!!!!!!!!! --...more >>



ComboBox Question
Posted by Nikolay Petrov at 9/8/2004 6:21:26 PM
I have a Combo box, binded to a dataset With cmbCompany .DataSource = dsSpecContact .DisplayMember = "Companies.CompanyName" .ValueMember = "Companies.CompanyID" End With What I want is to change the SelectedIndex of this...more >>

XmlTextReader constructor hangs (only on 1.1 SP1)...
Posted by Tom Shelton at 9/8/2004 4:23:58 PM
Problem: XmlTextReader Constructor hangs until underlying socket closes when passed a NetworkStream. Example: Dim reader As New XmlTextReader (New NetworkStream(s, False)) I can positively confirm by the way that this only happens AFTER installation of SP1 for framework 1.1. So, has ...more >>

datagrid validation
Posted by Tom at 9/8/2004 3:21:33 PM
I have seen articles saying that validating the data a user enters into a datagrid is difficult, because it is not the datagrid itself that does the validation, but rather textboxes that are in the cells. The article then says that it is best to validate the datatable behind the grid usin...more >>

UserForm <-> Module TextBox share
Posted by Marknanh at 9/8/2004 3:03:08 PM
Simple question. I'm a VBA programmer who has just switched to VB .net. I'm using a UserForm called Form1 with a text box called TextBox1. I'd like to reference the number in the text box in the module called Engine by using the following statement Dim num as Double num = Form1.TextBox1...more >>

Split a String
Posted by Roshawn at 9/8/2004 3:00:32 PM
Hi, I am retrieving a list of book titles from a web service. What I'd like to do is shorten the titles, if possible. For example, there is a book titled "Malicious Mobile Code: Virus Protection for Windows". It would be nice if I could trim the title down to the colon (it would just say M...more >>

Import To resource file
Posted by Agnes at 9/8/2004 2:59:53 PM
I got a excel files, Does anyone know a simple way to import it into the resource file ??? Thanks ...more >>

Confusing myself with Code
Posted by MadCrazyNewbie at 9/8/2004 2:48:18 PM
Hi All Wonder if somebody could help me, not really in a VB sense more of a stop confused myself sort of thing. On my project I find that im flicking from bit to bit then forgetting what I started. Also every day I backup my Project folder with that date, is there a way Visual Studio can au...more >>

Crystal Reports 9 and .NET on same machine
Posted by Terry Diederich at 9/8/2004 2:45:42 PM
Can Crystal Reports 9 and Crystal Reports for VS.NET coexist on the same development machine? I have several projects that I support that use the VS.NET version and now I will be supporting another application that is using CR9. Before I install CR9 on my development machine, I want to be ...more >>

Comments in Object Browser
Posted by SR at 9/8/2004 2:43:09 PM
I've been trying to find out how to get comments to appear in the 'Object Browser' for my VB.Net components. What a nightmare!! I've created the XML Code document, so when I reference the component(s) the comments appear in the object browser. However, the comment don't appear in the object...more >>

Question about calendar
Posted by at 9/8/2004 2:38:09 PM
Hi all, I am new to .net so I am still unsure how to do thing, but I have discovered a class called HebrwCalendar and I am so excited that I must ask if someone can help me. First, I assume this is the real Lunar Calendar and not just some sort of customization of the Gregorian Calendar. If t...more >>

Manipulating Outlook Express Folders (both Mail and News)
Posted by Mike Sobeiski at 9/8/2004 12:35:04 PM
Hi There! How do I manipulate folders in Outlook Express (Not Outlook)? I need to read messages in the mail folders as well as newsgroups. I've search on the net but all I found is how to send mails using Outlook Express. But what I need is to read messages :P Please provide some pointers...more >>

Shorter Declaration when using For Each
Posted by Raterus at 9/8/2004 12:29:56 PM
Hi, is there a way I can avoid having to declare my variable I use when = using a For Each loop? Dim adminuser As String 'I'd like to get rid of this line = and just declare it all on the next line For Each adminuser In adminusers If username =3D adm...more >>

Datagrid scrollbar problem
Posted by Marco at 9/8/2004 12:29:38 PM
If you disable a datagrid, fill it with data, then re-enable it the scrollbar for it still stays disabled. If you resize the window then it becomes enabled. Does anyone know how to fix this problem? Thanks. ...more >>

How to create access database
Posted by Nitin at 9/8/2004 12:12:47 PM
how can I create Ms acess database or tables thorugh VB.Net program Thanx ...more >>

MouseHover- and mouseMove-Event : What is the difference ??
Posted by Peter Stojkovic at 9/8/2004 11:52:01 AM
What is the difference between the two Events Peter ...more >>

Outlook emails
Posted by Nak at 9/8/2004 11:35:26 AM
Hi there, I'm currently using Outlook to send email in a VB.NET app but I would like more control over which email address the email is sent from. Is it possible to enumerate the available addresses for the current user and select one that is more appropriate? Thanks loads in advance....more >>

Building COM+ Object with VB.net
Posted by Anthony Biondo Jr. at 9/8/2004 11:33:28 AM
Hi I have some COM+ Objects I wrote in VB6 I have recreated them in VB.net but when I go and try to register the dll I get the error "One or more files do not contain components or type libraries. These files cannot be installed." I need to have the object usable by ASP and ASP.net Can someon...more >>

short week name and month name.
Posted by Guoqi Zheng at 9/8/2004 10:57:10 AM
I know now.dayofweek can return week name, but it is something like, monday, tuesday, I only need to return Mon to represent monday. And for month name, I only need to have jan, Feb, etc. short name but not long name, how can I do this? -- Kind regards Guoqi Zheng guoqi AT meetholland...more >>

Open Browse
Posted by ruca at 9/8/2004 10:56:33 AM
Hi, Can anyone tell me if I can open a WebForm inside a WinForm? How? Give me examples, please. I have a winform application and I want that in some items opens a browser inside. Can you help? -- Programming ASP.NET with VB.NET Thank's (if you try to help me) Hope this help you (...more >>

How to put an array into a table
Posted by Peter Afonin at 9/8/2004 10:33:14 AM
Hello, It should be a simple solution to this, I've just never done it and cannot find any information so far. I'm getting an array - the list of the files in the directory: Dim dir As DirectoryInfo = New DirectoryInfo("\\10.0.0.150\FormLib") Dim files() As FileInfo = dir.GetFiles("*.eps"...more >>

91,000 + entries from SQL and Datagrid
Posted by Paul Brun at 9/8/2004 10:08:53 AM
I am trying to load up approximately 91,000 + records into a datagrid. Using the SQL connection, I am able to do so, however, I am wondering if there is another way that will reduce memory overhead and secondly, if there is a quick way to filter through the datagrid. For instance, if I have a ...more >>

Form Resize
Posted by ash.phillips NO[at]SPAM gmail.com at 9/8/2004 9:18:05 AM
Hi, I am just starting to switch from VB6 to VB.NET. I am trying to resize controls on my form and recently found out that ScaleWidth, ScaleHeight etc is no longer supported. I have used docking with some controls and that works fine for some but not on others. When I use like Me.Widt...more >>

Windows Services
Posted by Wally at 9/8/2004 8:54:47 AM
Hi all. I need to write a windows service using VB.NET Do you know where I can retrieve documentation and examples about it? Thanks VV ...more >>

Webservice returning strings
Posted by Richard Bailey at 9/8/2004 8:48:50 AM
Hi. I've got a problem that is totally baffling me. Its also a very simple one. Basically the following code : <WebMethod()> _ Public Function HelloWorld() As String Return "Hello" & Chr(13) & Chr(10) & "World" End Function Returns "HelloWorld" when I display it in a textbox or...more >>

How to pass parameter to second form?
Posted by John Howard at 9/8/2004 8:46:00 AM
I am invoking a second form and would like to pass a parameter. My code is: Private Sub btnHelp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnHelp.Click Dim frmAdminHelp As New frmAdminHelp frmAdminHelp.Show() End Sub When the second ...more >>

RE: Reading from Keyboard
Posted by Zyrthofar Blackcloak at 9/8/2004 8:40:07 AM
That was my first attempt, but I soon found out it didn't work if I had another control in my form. My form has a picturebox, a timer, and some other stuff (like a quit button). Each timer tick, it checks on the keyboard and refreshes the picturebox. That's why I can access the modifier keys r...more >>

Changing Screen Resolution
Posted by darianbonnell NO[at]SPAM lmicorporation.com at 9/8/2004 7:18:29 AM
I am wondering how (if it is possible of course) I can change a users screen resolution to a certain size when running my application and then change it back when they exit my application. For instance, if the users screen size is 800x600, I want the resolution to change to 1260x780 when runni...more >>

Extracting Attachment from .eml file through VB.net
Posted by Vikas Gupta at 9/8/2004 5:05:08 AM
I need to extract all information from .eml file without using outlook express. I am able to extract all the information except Attachments. Can somebody please suggest some solution ??...more >>

a solution and multiple projects
Posted by dominique at 9/8/2004 4:17:22 AM
Hi, In windows app, i have a solution with multiple projects. If a project must "see" types (class, modules, structures, delegates, enum) of an other project, we must add reference to this project (in solution explorer, right clic on add reference, then third tab Add project). Now my que...more >>

Printing the contents of a ListView
Posted by jy836 at 9/8/2004 4:09:14 AM
What is the best way to print the contents of a ListView (in Details mode) to a page? Thanks in advance. ...more >>

textbox selecting text - no highlight
Posted by marfi95 NO[at]SPAM yahoo.com at 9/8/2004 4:08:28 AM
I'm very confused. I'm trying to automatically select the text when my textbox gets the focus. This is typically when the user has clicked the mouse in the field. This is the code I have in the Text1_GotFocus event: Text1.SelectionStart = 0 Text1.SelectionLength = Text1.Text.Length H...more >>

how to extract e-mail addresses from webpage in VB.NET
Posted by mamatha at 9/8/2004 3:36:23 AM
Hi I want an application to extract e-mailID's from webpage or from local harddisk.I don't have that much of knowledge in extracting emails from the webpage.If anybody knows source code or URL's of that related sites let me know. Thanks in advance Mamatha...more >>

Remove Event Handle dynamically in C#
Posted by Jensen Hoh at 9/8/2004 1:48:06 AM
How can I remove a event handle dynamically? I knew that, it is the proper way to add a event handler for a control Add Handler ----------------------------------------------- this.button1.Click += new System.EventHandler(this.button1_Click); Remove Handler ------------------------------...more >>

Sync with desktop app
Posted by John at 9/8/2004 12:40:46 AM
Hi We have an app with access db backend which is used to enter daily orders. Is it possible to upload these orders daily to a windows mobile 2003 device (we are using xda http://www.my-xda.com/), to allow each client to sign their order on delivery on the wm2003 device and then download all a...more >>

VB6 or VB.Net?
Posted by Mike at 9/8/2004 12:20:10 AM
I am sure this question has been answered many times before but I could not find the answer. VB6 or VB.NET? I have just reached a modest level of mastery of VB6 where I can utilize COM. I created an EXE application with multiple DLL classes that I call on as needed as well as reuse some of m...more >>


DevelopmentNow Blog