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 > july 2004 > threads for monday july 5

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

How to find whether an Image is Color or B/W
Posted by Chellapandian.S at 7/5/2004 11:58:33 PM
For my ImageProcessing Application i need to find whether an Image is Color or B/W through code for GrayScale automation purpose, Iam using vb.net and photoshop for developing the application. Can any one help in this regard. Thanks, Chellapandian.S ...more >>


Bad variable type
Posted by dan NO[at]SPAM iregren.com at 7/5/2004 11:55:49 PM
Hi, I am developing a COM exposed dll in VB.NET. Everything works fine under Windows XP but when I try to compile my dll under Windows 2000 i get the following error message. COM Interop registration failed. Type library exporter encountered an error while processing '_IPCustOrder.CreateBas...more >>

Adding OCX to VB.Net?
Posted by ? at 7/5/2004 11:47:00 PM
I want to add an OCX to my toolbox and work with the control like I did in VB6. But, when I try, it says it "was not recognized as a COM server" and errors out without adding the control to the toolbox. What am I doing wrong? ...more >>

Datagrid - add row (null) question ?
Posted by Agnes at 7/5/2004 11:06:50 PM
As we add a new row in datagrid, How can we make it not display (null) in that blank new record ?? I search some newsgroup talk about .allownull = false. But I am fail to use it , Any idea ? Thanks ...more >>

How to read content of Usenet newsgroups? I need VB example.
Posted by jarosciak NO[at]SPAM gmail-dot-com.no-spam.invalid at 7/5/2004 11:02:30 PM
Is there any example or could someone please help me out? I need to be able to read the content of one particular newsgroup and save it into mysql database. Is there any source code available or could someone point me up? Please let me know. Martin Ho Posted Via Usenet.com Premium Usenet ...more >>

Visual Basic .NET Standard Edition Applications - Executability?
Posted by John at 7/5/2004 10:56:23 PM
Hello, Some of you might recognise me from the VB6 newsgroups. I just got a book, that includes VB .NET Standard Edition. I'm currently using VB6 standard / learning edition. I would like to upgrade or whatever you want to call it, by installing the VB .NET that I have now. However, the book ...more >>

Catch System.ComponentModel.Win32Exception
Posted by Lucas Tam at 7/5/2004 9:54:11 PM
Is it possible to catch a System.ComponentModel.Win32Exception? VB.NET seems to bypass System.ComponentModel.Win32Exception... I need to catch one level up at System.InvalidOperation. Is this normal? -- Lucas Tam (REMOVEnntp@rogers.com) Please delete "REMOVE" from the e-mail address when ...more >>

Email throughSMTP
Posted by Mamathasri at 7/5/2004 9:37:58 PM
Hi, How to send Email through SMTP in VB.NET,please help me if u know any URL or source code in windows application. Mamathasri...more >>



Referencing Form from a module
Posted by Ron Dahl at 7/5/2004 9:24:17 PM
I have created a project with a form called form1 and a module called module1. Form1 contains two buttons, button1 and button1. The event code for button1 is: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click DisableButton2() ...more >>

Brush and control.forecolor Question
Posted by jcrouse at 7/5/2004 9:00:54 PM
I have the following string: e.Graphics.DrawString(Label5.Text, lblP1B1.Font, Brushes.White, -y, 0) I want to use the property label.forecolor for my text color. How do I get whats in label.forecolor into the Brushes.Color parameter? Thank you, John ...more >>

VB.NET & Office Automation
Posted by Mike at 7/5/2004 8:52:19 PM
Hi, I don't know the MS Office products that well, but I once worked on a = project involving VB6 and MS Word. At that time, we were able to use the = Word Object Model in our VB6 project to do some things in Word = documents, such as working with extended properties, etc. I was wondering...more >>

True tiling of MDI forms?
Posted by Jim Hubbard at 7/5/2004 8:45:22 PM
By true tiling I don't mean the vertical or horizontal tiling that is normally though of like... 123 or 1 2 3 rather, I would like to know how to tile like 1 2 3 4 .......any ideas? ...more >>

inherit
Posted by Frank at 7/5/2004 7:37:50 PM
Hello, plse help me on the way. I know how class textboxuser inherits from textbox works. But how is this done: a button and a textbox, if I push the button the textbox is filled with 'great'. These two controls I want to pack into something and use it as a whole in other forms. Is this done ...more >>

Move DataGrid Row to Another DataGrid
Posted by jgrimsman at 7/5/2004 7:30:01 PM
I have a form with two DataGrid controls, each bound to different tables in a dataset. I would like to be able to have the user click a button, and have the currently highlighted row in datagrid1 copy over to datagrid2 as a new row. Is that possible? I have been playing around with different ...more >>

Move DataGrid Row to Another DataGrid
Posted by jgrims at 7/5/2004 7:30:01 PM
I have a form with two DataGrid controls, each bound to different tables in a dataset. I would like to be able to have the user click a button, and have the currently highlighted row in datagrid1 copy over to datagrid2 as a new row. Is that possible? I have been playing around with different ...more >>

Setting Reference to a form
Posted by Ron Dahl at 7/5/2004 6:57:00 PM
I can use either of the following two statements to draw a line: Dim MyGDISurface As Graphics = Me.FieldMap.CreateGraphics or I can use Dim MyGDISurface As Graphics = FieldMap.CreateGraphics What I'm trying (and failing) to do is have: dim MyForm as new frmMain Dim MyGDISurface As Gr...more >>

Object Reference not Set
Posted by Rachel at 7/5/2004 6:49:01 PM
Hi All: I have a problem when trying to create a data adapter using the wizard. Before I can get started the message box appears saying "Object reference not set". I do not have an opportunity of setting a data connection. I have reinstalled VS.net 2003 and still have the same problem. Help! ...more >>

XML Brain Death Has Occured at 18:19 PM GMT
Posted by One Handed Man ( OHM - Terry Burns ) at 7/5/2004 6:24:58 PM
Yes, my brain is once again dead ( this is my mind writing using a supernatural force ). I'm trying to validate an xml file against its schema, I have a very simple example where price is a float, and I put a text value in its place to test validation. "Nothing Is Reported", however, when I us...more >>

Newbie having trouble with New
Posted by Ricky W. Hunt at 7/5/2004 6:14:40 PM
I've looked and for the life of me I can't find an explanation of "New". For instance, what is the difference between: Dim a As Integer and Dim a As New Integer ? Is it just "optional" (meaningless)? The only BASIC I knew previously was, well, BASIC and when you Dim-ed something you...more >>

Help with Index out the bound of the Array issue.
Posted by Manuel Canas at 7/5/2004 5:51:33 PM
Hi There, I have been batleing with this now that I'm at the end of my rop here. What I'm doing here is this; 1 - retrieving some data from the database with a data reader (with a search criteria) 2 - Filling a listbox with the data retrieved with the data reader 3 - draging items out ...more >>

How to connect to the Fax machine..
Posted by Ather Ali Shaikh at 7/5/2004 4:57:14 PM
Hi I want to connect fax machine with the computer and want to recieve faxes by my custom application. Where to Start ? Regards Ather Ali Shaikh ...more >>

Old component usability in .NET
Posted by OpticTygre at 7/5/2004 4:51:52 PM
Hey folks, I have a component that I know was written in VC++ 6.0, and worked great within Visual Studio 6. In .NET, I'm able to use it as a reference, check out all the properties in the object browser, and even have it accessible via intellisense in my VB.NET code. All this, but I don't kn...more >>

Printer Problem
Posted by Jim at 7/5/2004 4:39:23 PM
Dear Sir/Madam, The Following Code works fine in VB6: PRINT #1, chr$(&h1b);"@"; Print #1, chr$(&h1b);"a";CHR$(1); Print #1, chr$(&h1b);"!";CHR$(0); Print #1, "January 14 2002 15:00"; Print #1, chr$(&h1b);"d";CHR$(3); PRINT #1, chr$(&h1b);"a";CHR$(0); PRINT #1, chr$(&h1b);"!";CHR$(1); ...more >>

Access Database Creation
Posted by Dennis at 7/5/2004 4:32:01 PM
I have yet to find a way to create an access database from within vb.net. I can work with a database for creating/deleting tables, columns, rows, etc. but have to create a blank database in Access first. Any help would be appreciated. It was easy in previous versions of vb but can't seem to find ...more >>

Keeping my Word App Alive
Posted by Jason James at 7/5/2004 4:18:47 PM
Hi All, I have created a class that references MS Word. The class will happily control Word, adding text, etc. However, when I have finished with the VB app I want to close the app, but not Word so that user can continue on their own. If I release my word object and set it to nothing ...more >>

Where Has the (Overrides) gone in VS 2005 beta1?
Posted by Stephan Brunner at 7/5/2004 4:15:03 PM
Hi VS 2003 used to have an (Overrides) entry in the left dropdown of the code editor. Where has this handy feature gone in VS 2005? ...more >>

Calling a method at runtime
Posted by qR1gj8msUi NO[at]SPAM spamhole.com at 7/5/2004 3:32:19 PM
I want to call a method dynamically based on a string For example When s = "A" Then method A would get called. I don't wan't to use a bunch of "If" statements. Something like: someMethod = AddressOf s 's = A someMethod(SomeSortOfString) Sub A(ByRef SomeString As String) ......more >>

Activity
Posted by One Handed Man ( OHM - Terry Burns ) at 7/5/2004 3:26:50 PM
The activity in this group has greatly reduced, methinks this might be something to do with Beta1 of VS2005, or is everyone off learning new stuff ? -- OHM ( Terry Burns ) . . . One-Handed-Man . . . Time flies when you don't know what you're doing ...more >>

Odd Problem In VB.Net, Please Help
Posted by Jason Moore at 7/5/2004 3:09:02 PM
If anything occurs (open a program, move an application window, switch between applications, click the start buttong) while my application is running, a null reference exception is thrown. The application is very simple, all it does it retrieve the contents of a local directory, delete them, retriev...more >>

ListBox DragDrop
Posted by ljlevend at 7/5/2004 3:09:01 PM
I want to be able to arrange the order of items within a ListBox using drag-and-drop and also drop an item at a specific location of a different ListBox. The following Microsoft Knowledge Base Articles describe exactly what I want to do, except that they are for pre-.NET. How To Arrange Order of...more >>

datagrid
Posted by gb at 7/5/2004 2:52:01 PM
hi, I have a problem with the datagrid. How can I intercept the change of a single cell ? I have tried with the method currentcellchanged but it doesn't work correctly. GB - Italy...more >>

Uninstalling a Windows Service
Posted by Larry Bird at 7/5/2004 1:53:01 PM
I have a windows service that want to un-install. When I run "installutil /u serivcename" I get the error that the serivce is not installed on my machine. However, when view the serivce console I still see my service there. What must be done to remove a windows service written in VB.Net from my s...more >>

Can someone explain ByRef and ByVal for me please!?
Posted by Robin Tucker at 7/5/2004 1:36:57 PM
Although I've been working on this project for 8 months now, I'm still not sure of the difference between ByVal and ByRef. As most objects in VB are reference types, passing ByVal I've discovered allows me to store a reference to the object I passed by val, to change that object and for the cha...more >>

Newbie question
Posted by Richard at 7/5/2004 1:34:05 PM
Hi, I have a status bar control on a MDI parent form and I want to change the text on the status bar from a MDI child form. Can anyone tell me how I can do this? Many thanks Richard ...more >>

running *.reg-file silently
Posted by DraguVaso at 7/5/2004 1:01:12 PM
Hi, Does anybody knows how to run a *.reg-file silently on a computer? I need this to do automatic updates of my application without user-interaction. So I don't want the user to be asked a confirmation before writing everything to the registry, and I don't want a succes-or-error-message at ...more >>

String array in a structure
Posted by OpticTygre at 7/5/2004 12:33:43 PM
I have a structure: Structure SSHConnection Public EventLogErrors As Boolean Public EventLogWarnings As Boolean Public EventLogInformation As Boolean Public Port As Integer Public ListenAddress As String Public MaxConnections As Integer Public EncAES256 As Boole...more >>

User Must Change Password At Next Logon LDAP Flag
Posted by Ram at 7/5/2004 11:51:30 AM
Hey, I'v managed to set the "User Must Change Password At Next Logon" flag on the LDAP protocol, Using the - "pwdLastSet" property - by setting it to - "0" (for on) or - "-1" (for off). The problem is, I dont know how to check what's the current status of this user - When I try and read this ...more >>

flexgrid
Posted by Xavier Valdés at 7/5/2004 11:30:56 AM
Hi all, I'm using component one's flexgrid (nonclassic) and I have a question... How could I drag and drop ROWS??? (from a component with my flexgrid and another component with flexgrid) Thanks a lot, Xavi ...more >>

Extend TreeNode class
Posted by Marco at 7/5/2004 11:04:30 AM
How can I extend the TreeNode class to add a .tag2 property? I was able to do that, the problem is: how can I tell a TreeView control to use my class (TreeNodeExt) for its nodes, instead of the default one (TreeNode)? Thanks, Marco ...more >>

Convert
Posted by One Handed Man ( OHM - Terry Burns ) at 7/5/2004 10:44:35 AM
I need a method to convert Base Metals into Gold. Does anyone have a GetRichQuick Class which I can I InheritRiches from. Or failing that know People who implement a IUCanInheritAllMyMoney Interface. I currently implement the I'DontHaveAnyMoneyFeedback Interface and my Public Property BankAc...more >>

Changing colours of certain items in a listbox
Posted by Brett Miller at 7/5/2004 10:36:59 AM
Hi, I need to change the colour of certain items in a listbox depending on criteria I receive from my dataset? How would this be accomplished? Thanks in advance... BM ...more >>

Integrated Windows Authentication
Posted by Hriday at 7/5/2004 10:00:28 AM
Hi there.. I have made a web applicatoin using ASP.NET which works in a domain based network. I have used Windows Integrated Authenicaion to authenticate users. My Case is : there are three computers, one is my Domain Controlar, second is my Web server and third is user's computer(from ...more >>

Listview columns
Posted by JotaEme at 7/5/2004 9:55:01 AM
Dear friends, is it possible to show the text of a listview column in a vertical manner. I mean, I have to create many, many columns with a large columna name and a very short column content (listsubitem) Thanks...more >>

SQL Server 2005 Express Beta messes up your SQL Server 2000, BEWARE
Posted by ik at 7/5/2004 9:06:51 AM
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your system administrator. GREAT!!! ReInstalled SQL SERVER 2000 after playing around with SQL Server 2005... Snap In Failed to Initialize, Name: Sql...more >>

Access is Denied while copying from BIN to application directory
Posted by Walter G at 7/5/2004 9:05:01 AM
I created a a VB.Net application that includes different projects. When copying the files (created when built the solution) from the BIN folder to the application folder (under IIS) I got this "Access is Deined" error on the files with a PDB extension. I'd appreciate any help. ...more >>

Checkboxes
Posted by OpticTygre at 7/5/2004 8:44:17 AM
I have 5 checkboxes on a form, and a checkbox.checkchanged event to handle all boxes: Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged, CheckBox2.CheckedChanged, CheckBox3.CheckedChanged, CheckBox4.CheckedChanged...more >>

Adding a new row to a datagrid bound to a dataset.
Posted by Geraldine Hobley at 7/5/2004 8:25:02 AM
Hello, I have a problem whereby I have a datagrid and and extra field all bound to the same dataset. I can easily edit rows in the dataset by changing the bindingposition in the MyGrid_currentcellchanged event of Mygrid, using the following function Private Function GetBindingPositi...more >>

Microsoft drops C#
Posted by Peter at 7/5/2004 7:27:09 AM
just seen this blog http://weblogs.asp.net/hpreishuber/archive/2004/07/05/17306 7.aspx ...more >>

Hooking into events raised by a latebound object
Posted by jnc at 7/5/2004 6:24:02 AM
Hi, I am trying to figure out if it is possible to hook into events of a latebound object, for instance say I had the following code: Dim objExcel as Object objExcel = createobject("Excel.Application") How could I trap the application_beforerightclick event?. Early binding is not an opti...more >>

detect if monitor is present
Posted by Jaguar at 7/5/2004 6:24:02 AM
Hi, I would like to know if it is possible in VB.NET (or another language) to detect if a monitor is attached to the PC and depending that to launch another application. Could someone please enlighten me about this?...more >>

Crystal Report
Posted by blackdevil1979 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 7/5/2004 4:02:52 AM
How to customised crystal report by passing parameter... Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** ---------------------------------------------------------- ...more >>

Convert this from VB6 to VB.Net
Posted by pignarson NO[at]SPAM hotmail.com at 7/5/2004 2:05:46 AM
Hi, I can't figure out how to convert this to VB.Net (without using a horrible loop). The code below declares a string, then sets it to "**********". Is there a method hiding somewhere to do this VB.Net? Thank you Peter Dim s As String s = String(10, "*")...more >>

How to run an exe using VB.NET
Posted by K.NagaKiranKumar at 7/5/2004 1:23:38 AM
Hi I have stucked up on a problem.... I am developing an application in VB.NET Here I have to put a button on a form and by clicking on that button, an exe should run. see the code I am using... ------------------ Private Sub btnstartgalciv_Click(ByVal sender As System.Object, ByVal...more >>

Strangest VB Quirk I've Seen
Posted by thenedman2004 NO[at]SPAM yahoo-dot-ca.no-spam.invalid at 7/5/2004 1:05:40 AM
I was looking at one of the Microsoft VB.net sample apps and I couldn't believe what I was seeing: apparently in VB you can declare an event with the name X and refer to it in code with the name XEvent. I right-clicked on the event reference in code (XEvent) and of course the IDE didn't know...more >>

How to make the text 'Bold'
Posted by Radith Silva at 7/5/2004 12:33:27 AM
I have the following code: Private Sub Bold(ByVal sender As Object, ByVal e As System.EventArgs) Handles mnuFileBold.Click If mnuFileBold.Checked = True Then mnuFileBold.Checked = False ElseIf mnuFileBold.Checked = False Then mnuFileBold.Checked = Tr...more >>


DevelopmentNow Blog