Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Specify custom disabled text color in ToolStripProfessionalRendere
ljlevend2 - 19 Jan 2007 5:21 AM - 5 messages
I want to specify a custom color for disabled text that is used by a class that inherits from ToolStripProfessionalRenderer.  The code would look something like this: Public Class MyRenderer   Inherits Windows.Forms.ToolStripProfessionalRenderer   Protected Overrides Sub OnRenderItemText(ByVal e As ...
Score Passing value to a Forms TextBox
Terry - 16 Jan 2007 10:45 PM - 8 messages
How do I pass a value from a Public Sub in a class to a forms textbox. I get 'Name Forms is not declared' with Forms!frmName!txtBoxName. Regards ...
Score VB.NET Help - Replacement For Inet control
Rob - 15 Jan 2007 11:49 PM - 2 messages
Hi, My name is Rob I have been trying to use the System.Net.Webclient function without success. In VB6 to get the latest version I simple did this: if Inet.OpenUrl("[link]") => (My Application ...
Score Common Language Runtime Debugging Services
michele - 15 Jan 2007 9:31 PM - 2 messages
Hi, I've a problem with my .Net apllication that before runs ok. Now, when I try to run application appears a dialog box titled "Common Language Runtime Debugging Services" and reports "applications has generated and exception that could not handled". My application was develped with Visual Studio 2003 ...
Score How to get title of all "child" windows?
Joe HM - 15 Jan 2007 9:20 PM - 2 messages
Hello - I have an application with which I am trying to determine whether another application has a "child" window open.  So I used Process.MainWindowTitle() but that will only give me the main window since the "child" window does not get its own button in the Task Bar. ...
Score SQL Statements
VB .NET Rookie - 15 Jan 2007 9:09 PM - 2 messages
I am trying to extract data from a table with an SQL statements but it is not working because of my "where=..."  How do I use a decleared variable as my where, below is an example of my code... ...
Score New line character
Roshawn - 15 Jan 2007 8:38 PM - 3 messages
Hi, I'm creating some text based on certain parameters using a StringBuilder.  I was wondering, how do I specify a newline character in VB.NET? Thanks, Roshawn ...
Score Problem running query in code
John - 15 Jan 2007 8:19 PM - 7 messages
Hi I am using the below code to run a sql  on an underlying access table; insStr = "INSERT INTO [Web Site Action Queue] ( Action, [Client ID], [Operator], Request_Date ) " & _ "VALUES (""Modify Client"", 93, ""Administrator"", Now())" Dim insCmd As New OleDbCommand(insStr, dbConContacts) ...
Score setting form properties during runtime
Jim Madsen - 15 Jan 2007 8:11 PM - 2 messages
OK--Beginner question-- I have a project with one form -- Form1.  To change the text, why can't I use "Form1.Text = something"?  Instead I have to use "Form1.ActiveForm.Text = Something".  As an exercise, I rewrote a timer ...
Score Newbie Missing Something with Access DB Update Using VB .NET
pooba53 - 15 Jan 2007 5:49 PM - 2 messages
I have a VB .NET application that is communicating properly with an Access DB. I have a slew of textbox controls bound to a dataset and when the application launches, the fields are correctly populated. If someone changes a value in one of the text boxes, I need to have a ...
Score Automate file downloads
steverossiter - 15 Jan 2007 5:31 PM - 3 messages
Hi, This is pretty simple stuff but if anyone can point a novice in the right direction it would be appreciated. I have a bunch of URL's that point to files on the internet whose download I would like to automate. Normally, I would have to paste the ...
Score Console application to generate Excel file
Senthil - 15 Jan 2007 1:33 PM - 2 messages
Hi all          I created a C# console application that is called through a stored procedure using xp_cmdshell. The application generates an Excel report from the database with a macro embedded in it. The report ...
Score converting bitarray to int64
vidishasharma - 15 Jan 2007 1:07 PM - 3 messages
I have a bitarray with values as {true,false,true,true} I want to convert this bitarray to   Int64. How can I do the same, when I take byte[] testbytes = new byte[bit1.Length]; bit1.CopyTo(testbytes, 0) ...
Score System.Net.Sockets.SocketException Error
Steve Lowe - 15 Jan 2007 12:18 PM - 3 messages
Hi, I have a VB.Net 2003 program that uses Indy to check if there are any messages waiting on a POP mail server. The program has been running fine for a few months, but last week after Installing a network packet reading program called WireShark my ...
Score Regular expression time
thorgal - 15 Jan 2007 9:53 AM - 2 messages
Hello, I'm trying to create a textbox with a regular expression for time. I was wondering if it was possible to create a textbox that has a regular expression like this:  00h00m and that the "h" and "m" can't be changed or ...
Score Make the value of MyObjectA equal to the value of MyObjectB?
Bruce - 15 Jan 2007 3:12 AM - 6 messages
I am a C++ programmer so sorry for the simple VB question. If I have two instances of the same type of object, how do I make the value of one equal to the other? If I do Dim ObjA as new MyObject ...
Score How to go to the next control?
Benson - 15 Jan 2007 2:49 AM - 5 messages
I want to use code to move focus from the current control to the next control (don't know the control name). Example, there are texbox A and B, and a button. The current focus is on A. When I press the button, the focus move from A to B with code. Somthing ...
Score Page seems to be remembering HttpSessionState
Nathan Sokalski - 15 Jan 2007 1:50 AM - 2 messages
I have a page that determines some of what to display based on HttpSessionState. When I go to it the first time, it displays everything the way I would expect. Then I go to another page on my site (by clicking links, ...
Score not CLS-compliant
John - 15 Jan 2007 12:42 AM - 4 messages
Hi After importing my vs 2003 project into vs 2005 I am getting the error Name '_DateColumn' is not CLS-compliant. on the second line of below code; <System.Diagnostics.DebuggerNonUserCodeAttribute()> _ Public ReadOnly Property _DateColumn() As System.Data.DataColumn ...
Score ListView and Registry Key
Laserson - 15 Jan 2007 12:35 AM - 2 messages
Hi! How can i save all ListView items into registry key with Multistring   type and then extract them again and add to ListView? ...
Score Option Strict issue
John - 14 Jan 2007 11:40 PM - 5 messages
Hi I have a vs 2003 project which I have just imported into vs 2005. Now I am getting the "Option Strict On disallows operands of type Object for operator '='. Use the 'Is' operator to test for object identity." error on the 'Case ...
Score breaking up a String into an array of chars and adding to datatable
Paulers - 14 Jan 2007 11:38 PM - 7 messages
Hello, I have a string that I am trying to add each char to a datatable row. for example if I have a string that looks like "abcdefg", I would like to break it up into an array of characters so I can do this: ...
Score vs2003 to vs2005
John - 14 Jan 2007 8:33 PM - 2 messages
Hi I have a vb.net 2003 database winform app which uses non-bound controls and the associated plumbing is done in code. If I move it to vs 2005 would it work without any change? Thanks Regards ...
Score Copying to the clipboard
Jeff - 14 Jan 2007 7:18 PM - 15 messages
....working with visualweb.net 2005 and vb. ....trying to simply copy the contents from a textbox to the clipboard. I've looked at a large number of places on line and they give me various code, but it doesn't work. I'm apparently missing some type of declaration, ...
Score grab a web page screenshot using Browser Helper Object?
buu - 14 Jan 2007 6:54 PM - 2 messages
how to grab a screenshot of a webpage using BHO? somebody knows some example? ...
Score loading variable with AutoNumber field value after insert?
jmar - 14 Jan 2007 3:08 PM - 6 messages
I'm hoping someone out there can give me a little guidance.  I have an Access Database "Customer.MDB" with a table "CustInfo" that has the following design: Field:    DataType CustID     AutoNumber Name    Text ...
Score Passing parameter to windows service...
Hakan Örnek - 14 Jan 2007 2:00 PM - 3 messages
Hi , I want to parameter passing to my windows sevice. I call service commands like this ; '------------------------------------------------------------ Dim sc As ServiceController sc = New ServiceController("ProsetLogServices") sc.MachineName = "." If sc.Status = ServiceControllerStatus.Stopped Then sc.Start() End If sc.ExecuteCommand(129) '------------------------------------------------------------ This is working but how can I passing parameters to windows service ...
Score Network Communications
Bernie Hunt - 14 Jan 2007 6:11 AM - 7 messages
I need to learn network communications. The project will have a server and multiple clients that need to receive information from the server. The network will be the company's internal network and not the internet. I'm never programmed in a network environment before so it's time for ...
Score Windows Installer is not included in any selected prerequisite
John - 14 Jan 2007 2:48 AM - 2 messages
Hi I created a solution in vs2003 that has a set-up project included . I have now imported the solution into vs2005. The problem is that the set-up project keeps giving me the warning "Windows Installer is not included in ...
Next » 2 3 4 5 6 7 8 9 10