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 15

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

I need help
Posted by fbouabcha at 9/15/2004 10:42:01 PM
Hi everyone I have the problem with my event function "selecteIndexChanged" : when I selected an item in the combobox, this function(selecteIndexChanged) is executed several times, then it take long time. Please answer me fastly Thanks so much Nass ...more >>


Extract Email in VB.NET
Posted by Mam at 9/15/2004 9:42:22 PM
Hi I had developed one site,that site hides all the email addresses.Now i want to develope an application whose extract mail addresses from that site,Is there any solution to this.If u know how to extract or any related websites let me know.Because i have tried in so many ways but i did...more >>

DataTable.Select Method
Posted by harry at 9/15/2004 9:31:51 PM
Hi, Can the DataTable.Select Method use 'Distinct' to remove duplicate rows? If so how? I tried, however code triggered error 'no colmn 'Distinct' found'. Thanks Harry ...more >>

Textbox BackgroundImage property
Posted by John at 9/15/2004 9:25:43 PM
Hello all, I was wondering, does this property really exist in VB.NET 2003? Because it's listed in Intellisense, but setting it doesn't seem to have the slightest effect on the visual look of the control. I can set it for forms, checkboxes, radiobuttons, buttons, pictureboxes, and it works for...more >>

RedirectFromLoginPage
Posted by rufus at 9/15/2004 7:52:17 PM
Hi, I like using RedirectFromLoginPage because it redirects back to the originally requested page after successful login. However, if the originally requested page was the login form then it automatically redirects to default.aspx. How can I preserve this redirection behaviour but specify ...more >>

combobox fill causing SelectedIndexChanged without selecting
Posted by hra242 NO[at]SPAM hra.co.santa-cruz.ca-dot-us.no-spam.invalid at 9/15/2004 7:02:10 PM
Hi Everybody, I'm filling a combobox from a class, which works fine on it's own. But when I insert code to fill in other controls something in the combobox fill is causing the SelectedIndexChanged event to happen when the form (hence combobox) loads, not when I select something from the co...more >>

Creating and manipulating an Excel Chart in Microsoft Word using Automation from VB.NET.
Posted by Robin Tucker at 9/15/2004 5:55:37 PM
Heres and interesting problem: I have a VB.NET program that creates reports via. Word Automation. This all works fine. What I want to do as part of this report generation process is to embed a graph/chart within the report, once again from VB.NET. I have chosen to use Excel.Chart.8. S...more >>

help with FTP clients.
Posted by Guoqi Zheng at 9/15/2004 5:04:34 PM
Dear sir, I am trying to write an FTP class using system.net sockets. I am using XP. The class never works, it seems that the client always waiting for response from server. So I try to connect to Remote FTP server using telnet, then I always get an error of "425 Can't open data connection ...more >>



VB6 function STRING$(
Posted by Wally at 9/15/2004 4:47:10 PM
Is there in VB NET something like the old Vb6 STRING$() function? Thanks. VV ...more >>

Howto Get Intellisense to display <summary> attribute in VB
Posted by Paul at 9/15/2004 4:23:06 PM
Hi, Does anyone know how to get Intellisense in VB (VS2003) to display the content of the <summary> attribute as it does in C#? I have put the following in code with no luck ... ' <summary> ' Returns a String Object Containing DB ConnectionString ' </summary> Public Shared ReadOnly Pro...more >>

.NET ListView with FindItem method
Posted by Regis Daniel Oliveira via .NET 247 at 9/15/2004 4:14:10 PM
Hi! I developed a control that suport the FindItem Method, without need using loops. More information in http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2752&lngWId=10 Bye! ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>6dPs...more >>

newbie: how to get all the information (like url, title) of current opened IE windows?
Posted by Brian at 9/15/2004 4:11:39 PM
Thanks. ...more >>

ie toolbar app
Posted by RP at 9/15/2004 3:57:49 PM
Hi all, I am interested in learning how to write an application in vb.net that is part of the ie toolbar. Could someone point me to some articles or in the right direction? TIA! ...more >>

OT : Any people who have gridges against me for any reason can post away
Posted by Nak at 9/15/2004 3:54:39 PM
Hi there, A bit off topic now, *again*, which is pretty typical of me. But I appear to have attracted a troll in the guise of "me", of all people, so nice. Anyway, apparently my posts for the majority of this year have been of a flaming nature, I personally believe this to be inaccur...more >>

Is there any way to embed a DOS/Console window in my GUI program?
Posted by McDermott Miller at 9/15/2004 3:45:44 PM
Is there any way to programmatically (in VB.net) control a Command Window, e.g change its size, display font size, embed it in GUI etc? It seems that the Console class will not allow you to do that! ...more >>

OT : Getting an EULA template
Posted by Nak at 9/15/2004 1:55:07 PM
Hi all, My appologies if this is off-topic but I am after some kind of EULA template for both a demo application, and one that requires a license file (2 separate applications and the demo is not time limited). If anyone knows of any useful resources for this kind of thing I would grea...more >>

Sending non-encoded URL with HttpWebRequest
Posted by Carl Gilbert at 9/15/2004 1:43:32 PM
Hello! How can I make a web request without getting the url encoded. I want to make a request to a web server that takes "\" as part of the url but can't handle "%5C" which would be the url encoded version. I want to send the following: "http://10.0.1.1/axis-cgi/io/output.cgi?action=1:\"...more >>

Byte Conversion Problems
Posted by Tim Wagaman at 9/15/2004 1:28:35 PM
The project that I am working on currently, is a server application that communicates across TCP IP. In this application, I recieve a request in a TCP packet with a 4byte header. This 4 byte header is basically 3 null bytes followed by the byte count in Hex. I need to respond to the request...more >>

Windows directory
Posted by Wally at 9/15/2004 1:17:25 PM
Hi all. How can I retrieve the windows directory (not system!) in VB.Net? Thanks in advance. VV ...more >>

LPSTR -> String : Type Incompatibility Issue
Posted by Michael Chong at 9/15/2004 1:11:35 PM
Another same issue on "NullReferenceException" :- I have an (exe) executable program created in VB.NET 2003 that calls to a MFC DLL written in VC++.NET 2003. I always get an error msg "NullReferenceException: Object Reference Not Set to an Instance of an Object" when my exe calls the following c...more >>

AutoGenerateColumns and ViewState
Posted by Frank at 9/15/2004 1:04:01 PM
Hi all, Assuming datagrid's viewstate is enabled, then upon postback 1. its data will be populated automatically if AutoGenerateColumns is true 2. no data is populated if AutoGenerateColumns is false. Why does case 2 happen? How can we fixe it? I do not want to go to the database ...more >>

Print without the print dialog box
Posted by Mike at 9/15/2004 12:51:12 PM
Hi, Is there anyway to print from VB.NET or C# and bypass the printer dialog box? Thanks Mike ...more >>

Chart/Graph confusion is doing my head in!
Posted by Robin Tucker at 9/15/2004 12:49:35 PM
Hi, I am embedding various things into a Microsoft Word document. I want to embed and automate a chart control. I can embed an Excel.Chart.8 into my Word document manually (no problemo), but I cannot find this control on the "Add/Remove Components..." dialog in the VB.NET editor. Wha...more >>

Force single instantiation of application
Posted by James Pyrich at 9/15/2004 11:49:08 AM
Greetings: How do I make it so that a .NET application will only allow a single instantiation? I'm really not sure how else to ask the question or what objects to inspect to discover the answer. James Pyrich ...more >>

DDEClientTransaction doesn't work
Posted by valdo 77 via .NET 247 at 9/15/2004 11:46:38 AM
Hello, I'm trying to setup DDE converzation using VB=2ENET=2E I used API= finctions=2E I have initialized DDEML & got connection=2E I have= problem to send the command to the application=2E The function= always return 0=2E Can sombody give me any direction hov to solve= this, please=2E I...more >>

...confusing stuff!
Posted by Justin Richeson via .NET 247 at 9/15/2004 11:46:25 AM
(Type your message here) Ok=2E=2E=2Ewow=2E=2E=2Ethis is really confusing, but I think it's similar to= what I'm trying to do=2E I'm looking to create a program that= will search a "plugins" subdirectory (from where the =2Eexe is= located) and detect any =2Edll's and use them as add-ins to my...more >>

Using ADO to add email to a Public folder
Posted by Carl Alkema via .NET 247 at 9/15/2004 11:42:17 AM
I believe that ADO has the functionality to do this. Can anyone please cast some light as to where to begin ? Thanks -------------------------------- From: Carl Alkema ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>UcmbnuPMp0mxYw3vajgCdQ==</Id>...more >>

Ascii conversion in C#
Posted by Aparna Sinha via .NET 247 at 9/15/2004 11:41:31 AM
Dear All, How do we get ascii equivalent of any character in C#.Please give a C# example with relevant name spaces.. -------------------------------- From: Aparna Sinha ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>5BXpXnTmakCCCY2hJXG2gQ==</Id>...more >>

Making components
Posted by Aparna Sinha via .NET 247 at 9/15/2004 11:41:26 AM
Dear all, In vb.net how do you make components which has code reusable, but the entire source code is not visible to the programmers.In the sense, only one or two functions may be accesible to a programmer but not the entire source code of dll -------------------------------- From: Aparna Sinh...more >>

Comparing Objects with Option Strict On
Posted by George at 9/15/2004 11:23:44 AM
How do I compare the values of two objects when Option Strict is On? One of the objects is the Tag property from some control (declared as object but holding a value, e.g. an Integer or a String or a DateTime or ...). The other object is the Item property from a DataRow (declared as object but ...more >>

VS.NET problem or McaFee?
Posted by Gerry Viator at 9/15/2004 11:10:42 AM
Is this a VS.NET problem or McaFee? Just to make people aware of a problem that I have noticed. When creating messageboxes in Visual Studio .NET in C# or VB.net, and with "Buffer Overflow Protection" enabled on McAfee 8.0 running on that pc. The text from the messagebox or butto...more >>

LIKE operator fails with multiple occurance of string in pattern?
Posted by Ed Brown at 9/15/2004 10:45:06 AM
I'm working on a VB.Net application that needs to do quite a bit of string pattern matching, and am having problems using the "LIKE" operator to match the same string twice in the pattern. For example, in the following code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e...more >>

Crazy IDE
Posted by Nak at 9/15/2004 10:30:40 AM
Hi there, Has anyone experienced the IDE's automatic code formatting and intellisence just turning itself on and off in a seemingly random manor? I thought in the past this was down to lack of system memory, but now I think it might be my version of the IDE. Nick. ...more >>

Amber - For you or anyone else that can answer this message
Posted by CJ Taylor at 9/15/2004 10:08:25 AM
Alright, So I've been having this weird display error... which ironically I found someone withthe same problem back in february http://www.dotnet4all.com/Dot-Net-Books/2004/08/listbox-problem.html Try not to laugh when you see the reply... I find the irony in it too.. Since this perfec...more >>

usb flash disk
Posted by Nemenyi Zoltan at 9/15/2004 10:08:00 AM
hello Can somebody give me a tipp, how i can get an event on inserting a usb flash disk device? thanks Nemenyi Zoltan ...more >>

Popup program focus issue
Posted by James Pyrich at 9/15/2004 9:58:14 AM
Greetings: I am using .NET to pop up a graphical window for a legacy application (remember the IBM System/23?). In order to achieve good performance, I created a GUI Broker Server and a Client Stub. The Client just uses the Win32 API and is very fast. The Server runs in the backgroun...more >>

Use a combobox in a cell of a listview?
Posted by nate axtell at 9/15/2004 9:30:41 AM
I need something that looks like a ListView but will allow SubItems of the ListView to be ComboBoxes, or allow the contents to be a ComboBox. So for each row in the ListView one of the columns would have a ComboBox that allows the user to make some selection for that row. Does anyone know if...more >>

Add A Module Template To Project
Posted by Mythran at 9/15/2004 8:55:02 AM
I'm trying to add a module template to a project programmatically. I've tried many documented (w/o examples) ways of doing it to no avail. For example, I tried using Project.ProjectItems.AddFromTemplate("C:\Program Files\Microsoft Visual Studio .NET 2003\Vb7\VBWizards\Module\Templates\1033\Modu...more >>

Load & Save Controls
Posted by henrycortezwu NO[at]SPAM hotmail.com at 9/15/2004 8:17:51 AM
Hi, I was wondering if I could save all of the controls in a tabcontrol for example, complete with the controls' name, text, value, position, size, etc.. Then when the user opens the application again, and hits the Load Button, it would load all the controls to the tabcontrol intact, this is ...more >>

New Project & Design Environment
Posted by Matthew Hood at 9/15/2004 8:09:44 AM
My company is just starting development of a new project using VB.NET. The question I have is, since the release of VS 2005 and the 2.0 Framework comming out soon, should we start developing with the Beta version? Or should we stick to 2003 & the 1.1 framework. 2005 will be released before ...more >>

How do you make and set a environment variable?
Posted by Larry Wilson at 9/15/2004 6:55:13 AM

Problem using SQLDMO to get list of available SQL servers
Posted by zcsessions NO[at]SPAM visionair.com at 9/15/2004 5:59:44 AM
I am using VB.NET 2003. I found the following sample code here in an article: Dim oSQLServerDMOApp As New SQLDMO.Application Dim i As Integer Dim namX As SQLDMO.NameList namX = oSQLServerDMOApp.ListAvailableSQLServers For i = 1 To namX.Count cbSQLServer.Items.Add(namX.Item(i)) Next...more >>

Callback Function
Posted by Andrew Mckendrick at 9/15/2004 4:53:04 AM
Hi, I want to create a function in a VB.NET DLL that accepts the address of a VB6/VBA function and calls the VB6/VBA function when it needs to. Can anyone give me a quick snippet on how to do this? Thanks in advance, Andrew...more >>

Problem with Textbox in a UserControl
Posted by Mephisto at 9/15/2004 4:07:09 AM
I have a problem with a textbox I added to a VB 6.0 UserControl. With the KeyPress Event I want to capture the "carriage return" (KeyAscii = 13). The Problem is that this event never reaches my handler, like it does when a numeric key got pressed for example. But it does if the textbox is loca...more >>

Create a "Service"???
Posted by Mr. B at 9/15/2004 3:51:06 AM
I've an application in which I use to check out the date/time stamp of a data base... and if I find that it has been updated, my application runs and does a particular update. Currently I fire off my application hourly useing the built in XP Scheduler. What I am going to do is to have my app...more >>

Weird error
Posted by Jorge at 9/15/2004 3:00:42 AM
Hello I have been for the last 2 days for abnormal behavior when try to refresh a datagrid from another form. If Not (fenc Is Nothing) Then '' Actualiza a datagrid2 do formenc fenc.SqlDataAdapter4.SelectCommand.CommandType = Co...more >>


DevelopmentNow Blog