Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Visual Basic 2003 won't run - get error message
Carol - 4 Nov 2006 10:53 PM - 7 messages
Hi.  When I try to run Visual Studio 2003 I get the message "MS development environment is not installed for the current user. Please run setup to install the application." Is there any way to work around this without reinstalling VS 2003? ...
Score Show a Visio Diagram on a frm
Aussie Rules - 4 Nov 2006 8:12 PM - 2 messages
Hi, Is there a control or a way to display a visio document on a winform? I have an application where I want the user to have a read only view over a visio diagram, even though they don't have visio installed..... ...
Score Dynamically changing button label from a variable
Paulers - 4 Nov 2006 7:46 PM - 4 messages
Hello, I have an arraylist that looks like this: 1,4,6 I have buttons called button1, button4, button6. I would like to change the text on the buttons that corispond to the numbers in the array. Is there a dynamic way to do this? or do I have ...
Score This mail sending code snippet does not work
Robert Dufour - 4 Nov 2006 7:32 PM - 10 messages
Dim message As New MailMessage("mym***@mydomain.com", "mym***@mydomain.com", "Test", "Test") Dim emailClient As New SmtpClient("localhost") emailClient.Send(message) The IIS server is running on the local machine. What am I missing to make this work reliably? ...
Score Do I need to reset the cursor or will that happen automatically when I leave the subroutine?
Academic - 4 Nov 2006 3:41 PM - 4 messages
If I do the following: System.Windows.Forms.Cursor.Current = Cursors.WaitCursor Do I need to reset the cursor or will that happen automatically when I leave the subroutine? Thanks ...
Score Adding Speech Recognition in VB.Net
Meena - 4 Nov 2006 10:15 AM - 2 messages
In our company we are trying to add speech recognition to our products. I downloaded the Speech Recognition engine. Now there  is a component called Microsoft Direct Speech Recognition in VB.Net It would be really helpful if someone can get me the link where the help ...
Score Accessing an arraylist from multiple forms.
Paulers - 4 Nov 2006 7:13 AM - 8 messages
Hello all, I have 2 forms, form1 and form2. I am trying to store some objects in an arraylist and have the arraylist be accessible by both forms. How would I go about doing that? I think I might have to pass the arraylist ...
Score incorrect string format
RipperT - 3 Nov 2006 11:30 PM - 12 messages
Don't know if this group covers web apps, but here goes. In VS 2005, I am trying to get variables to hold thier values during postback from the server. I convert a text box's user-keyed value to an integer and assign it ...
Score Resource File Woes
TCook - 3 Nov 2006 8:46 PM - 3 messages
Hey All, I'm trying to add a resource file to my app but it's not working. I have done the following: -- Added a .resx file -- Added some strings -- Named the file "MyStrings.en.resx" -- Add the file as a resource to the "Project" > "Properties" > "Resources" ...
Score Fundamental OOP inheritance question
RSH - 3 Nov 2006 8:40 PM - 5 messages
Hi, I have been construction a sample application to further my growth in applying OOP concepts in .Net. My code is structured like this: Person |-- Employee CatalogItems Order OrderLineItems So my instantiation looks like this: Dim i1 As CatalogItems = New CatalogItems(100, "Bottle", 19.95) ...
Score Altering a DBF File
JimmyKoolPantz - 3 Nov 2006 8:20 PM - 10 messages
IDE: Visual Studio 2005 Language: VB.NET Fox Pro Driver Version: 9.0.0.3504 Problem: I currently have a problem altering a DBF file.  I do not get any syntax errors when running the program.  However, after I alter the ...
Score Unable to remove Beep on Alt+A
Paul - 3 Nov 2006 4:42 PM - 3 messages
I created a sample Project with a basic form and one text box.  I put "e.Handled = True" on every KeyDown, KeyPress and KeyUp event for both the Form and the TextBox.  When I run the app, and press the Alt+A (or ...
Score Can reflection tell the base class of an object?
stktung - 3 Nov 2006 4:22 PM - 3 messages
Hey guys, Are there functions in reflection that gives information about the base classes of an object? Thanks in advance -Steve ...
Score [Regular Expression] (aaa AND bbb) OR (ccc AND ddd)
teo - 3 Nov 2006 1:35 PM - 6 messages
I need to implement a boolean evaluation in a Regular Expression like this: (aaa AND bbb) OR (ccc AND ddd) (see the #3 case) -    -    - 1) If I need to match a single word only, ...
Score interact with a windows service remotely
graphicsxp - 3 Nov 2006 1:06 PM - 2 messages
Hi, I have written a windows service in .net. I install it on my server and now I can start it and stop it remotely from any machine on my network using a .net application that i wrote too. However I would like to know how I can receive messages from the ...
Score don't show error windows
Vicente García - 3 Nov 2006 1:04 PM - 4 messages
Hello all, First of all sorry for my bad English... I am making up an application that can't show any error window (e.g. Can't write to memory address) if any...therefore I wish destroy or manage this ...
Score Merge/Synchronize XML Files
Meelis Lilbok - 3 Nov 2006 11:45 AM - 8 messages
Hi is for synchronizing two xml files any fast solution? Lets say i have 2 xml files 1.xml and 2.xml 1.xml contianes <test>     <t id="1">Hello</t> ...
Score Deleting Values from an XML node?
Major Aardvark - 3 Nov 2006 11:41 AM - 2 messages
Hi Why is it that when I attempt to delete all values from a node in an XML file using the code below, I end up with the values being deleted, but not the tags? The code i have is: ...
Score VB6 query format for comparing number value
prateek - 3 Nov 2006 11:15 AM - 2 messages
hi all i am using VB6 and Access i was trying to select data with a particular value in  a field as Dim str1 As String str1 = "select * from booking where psngr_id = '" & Text1.text & "'" Adobkgview.RecordSource = str1 ...
Score Prevent Date Enter before Current date
prateek - 3 Nov 2006 11:07 AM - 2 messages
Hi all using VB6 with Access how to prevent date enter before the current date. Please give me the syntax / code thanks ...
Score Problem with Calendar Control
prateek - 3 Nov 2006 11:06 AM - 2 messages
Hi all. I am working with VB6. I am using Microsoft Calendar Control 8.0 to enter date in a text box. as it is working fine . After i took it to another machine , clicking on the calendar causes VB error and VB closes down. ...
Score Printer Ink Status
up3umrmuofnz3pd - 3 Nov 2006 8:01 AM - 3 messages
Hi guys, I'm working on a small desktop publishing software project where I need to display the default printer's ink status/level in the status bar of the main form. For the past 2 days I've been trying to find a way of ...
Score An ActiveX wrapper Clasee
Woo Mun Foong - 3 Nov 2006 6:57 AM - 2 messages
Hi, How can I create an ActiveX wrapper Class. There is a 3rd party ActiveX on my Component Tray that I like to write a class to encapsulate. Users will use my class as a replacement to the ActiveX, so they should not ...
Score Disposing of Windows Forms
Henry Jones - 2 Nov 2006 10:23 PM - 4 messages
I have a project that has 5 or 6 forms. VB.NET VS 2005 In the FormClosing Event of each form I have the following code: If Not IsNothing(frmA) Or Not frmA.IsDisposed Then frmA.Close() If Not IsNothing(frmB) Or Not frmB.IsDisposed Then frmB.Close() ...
Score Subclassing
Its Me Ernest T. - 2 Nov 2006 9:05 PM - 7 messages
I am looking for any information about how I could subcass a form I don't own and resize some buttons. We run a application which is extreamly legacy and the company has long since went out of business.  This application will install on WinXP but the ...
Score Get machine user & password logon
Kleber - 2 Nov 2006 8:59 PM - 3 messages
Could anyone please help? I'm trying to MATCH the user's UserName and Password imput to the user's UserName & Password from the machine current logged on. User's Input: txtUserName="Joe" txtPwd="Password" Machine's data: strUserName = ??? ...
Score How Can I Do This?
Henry Jones - 2 Nov 2006 8:39 PM - 9 messages
Using VB.NET 2005. I have a Function that I would like to pass the form name and the textbox name to. ----------------------------------------- Function DoSomeThing(byref frmOBJ as Object, byref txtOBJ as TextBox) as integer     frmOBJ.txtOBJ.text = "Some text goes here" ...
Score Printing XML Formatted Report in Windows Application
.NETUser - 2 Nov 2006 8:34 PM - 5 messages
Hello,    I am doing research on printing in VB.NET and I would like to know how I can use XML to format  three different reports. I'm new to this, so I don't know how to include this in my .NET code. Would someone ...
Score DDE - is it available in .NET?
Spam Catcher - 2 Nov 2006 5:57 PM - 13 messages
Hi all, Is DDE still available in .NET? Is there a way to send DDE commands through VB.NET? Do I need an ActiveX component, or is there something in the .NET API or Win32 API that I can use? ...
Score GetChildRows error - what the f@&# !
Daniel - 2 Nov 2006 5:27 PM - 5 messages
What's wrong with this code? 1  Dim parentRow, childRow as DataRow 2 3  For i = 0 To mainDataTable.Rows.Count - 1 4    parentRow = mainDataTable.Rows(i) 5    childRow = parentRow.GetChildRows("DataRelation") ...
Score NewBie
Alex - 2 Nov 2006 4:18 PM - 4 messages
Hello all, I am very new to vb.net and am looking for help to resolve an issue I am having. What I am trying to do:  Install IIS by executing sysocmgr.exe Issue:  I need to wait until the execution of sysocmgr.exe is complete ...
Score math.round doesn't work
Altman - 2 Nov 2006 4:10 PM - 4 messages
OK I was having rounding problems before and I didn't realize that their was a third parameter in the round function that would tell it if it a 5 to round up.  I thought adding this would fix the problem but it ...
Score Preferred file locations
John Dann - 2 Nov 2006 3:52 PM - 5 messages
Can anyone point me to a summary of recommended folder locations for ..Net applications to use for eg config files. (Or if it's simple just spell them out please.) I'm currently saving my programs' config and template files to the ...
Score XmlDataDocument as a datasource for combobox?
Dustin Davis - 2 Nov 2006 3:36 PM - 2 messages
I have an XmlDataDocument. How do I go about converting this to something I can use as a datasource for a combobox? ...
Score Q: Viewing an excel file
G .Net - 2 Nov 2006 12:33 PM - 10 messages
Hi Can anybody tell me how I can view an Excel file from within a vb.net application? Thanks in advance G ...
Score Diagnostic Information Collation
Simon Verona - 2 Nov 2006 11:50 AM - 4 messages
I have a problem with my application crashing on-site..  (It just disappears with no errors!). I suspect that I am running out of some sort of resource during the time that the application is running. To assist in tracing what is going on, I want to trace and log the resources ...
Score Get Calling Function Info
Li Pang - 2 Nov 2006 10:24 AM - 6 messages
Hi, I built many classes to be used. One function can call one or more other functions. If any of these functions have an error I add the error description into a log file. My problem is to identify all calling functions, ...
Score Simple dataset update @ runtime not working
Bryan - 2 Nov 2006 7:44 AM - 4 messages
I have an MS Access DB with a table' Isometric' .  One of the columns is named 'Sheet'.  I am doin a test to see if I can change a value in the dataset and update the Access table with the DataAdapter.Update ...
Score How to Transfer an Excel Range to an ADO.Net DataSet or DataTable in VB.Net?
TCook - 2 Nov 2006 5:29 AM - 5 messages
Hey All, I've seen lots of stuff regarding pumping data into Excel from .Net but haven't found anything for the reverse. Does anyone have a snippet, article ID, etc. demonstrating how to take a range object and pump that data into an ADO.Net DataSet? ...
Score windows service
Nick Chan - 2 Nov 2006 3:55 AM - 2 messages
hi, i have created a windows service that executes external program, then force that program to show window. this, i have to set "Allow service to interact with desktop". this of course, works in Windows XP. but in Windows 2003, the program runs, but i can't make it show. is ...
Score How to set OpenFileDialog to "My Computer"
Steve Marshall - 2 Nov 2006 12:28 AM - 9 messages
Hi All, Is it possible to set the InitialDirectory property of an OpenFileDialog so it will open at the "My Computer" level?  I want it to open showing all the available drives.  If so, what do I put in the ...
Score How to find the window name of a process
paraidy - 1 Nov 2006 10:54 PM - 4 messages
Hi all, i need to know the windowname of a program in VB6, is there a way to get the windowname passing the process name? Thx all :) ...
Score Begginer questions
thecamisland - 1 Nov 2006 10:13 PM - 3 messages
Hello, I'm a begginer. Is this going to work? Dim fm As FirstMenu Class TransHeadInfo Public Function Validate() As Boolean   ...   fm.Show()   ... End Function End Class Class FirstMenu Inherits TransHeadInfo   Public Sub Shadows Show()    ... ...
Score Opening an Adobe Acrobat file Using VB.NET
Bill Partridge - 1 Nov 2006 9:43 PM - 4 messages
Hi, I am using VB.NET 2003 and I want to open up a pdf by pressing a command button. How do I do this, including passing a filename as a parameter? ...
Score Problems when try to launch word in server 2003
Edgardo - 1 Nov 2006 8:51 PM - 3 messages
I hope I'm in the correct forum for this, as the problem is hard to categorize. I have a VS 2005 asp.net application that invokes Word 2003 to opean and read a word document. the aplication have <identity impersonate="true"/> .  ...
Score Delete files/directories through VB Net
nospam - 1 Nov 2006 8:28 PM - 3 messages
I am writing this app in .net 2003 since all machines don't have 2.0 framework.  I am trying to delete old profiles, but I am getting access denied or file in use errors. A lot of these files I am able to delete ...
Score beginning vb
skids89 - 1 Nov 2006 7:10 PM - 3 messages
i would like to learn vb but when i downloaded the new compiler none of the instructional information i had was for the new one i would like th location of a free download of the older version and a place to start ...
Score Beginner
skids89 - 1 Nov 2006 7:07 PM - 2 messages
i would like to get a copy of the older vb and a guide to using it i am a beginning programmer but i am familiar with coding and the like primarily in HTML ...
Score DataGridView Row
Meelis - 1 Nov 2006 7:06 PM - 5 messages
Hi Has ´DataGridView  row limits? I can't add about 1150 rows from XML file to DataGridView, it just "hangs" Regards; Mex ...
Score Problems with references
larclap - 1 Nov 2006 7:04 PM - 8 messages
The following code snippet has reference errors: Imports System Imports System.Data Imports System.Data.SqlTypes Imports System.Data.SqlClient Public Class DataSourceDB    Private _Descr, _CsvFileName, _XSLTransform As SqlString    Private _dsID, _errorCode As SqlInt32    Private _mainConnection As SqlConnection ...
Score Integrating VS and Visio
Ronchese - 1 Nov 2006 6:14 PM - 2 messages
Hello. Is there any way to integrate the Microsoft Visio and Microsoft Visual Studio 2005 Professional? I read that this integration is supplied by VS Team System Architect edition, but I would like to know if there are some addins that also do that job. ...
Score tootip or microhelp for menu items
gs - 1 Nov 2006 6:11 PM - 9 messages
I was able to set tooltips on objects other than main menu. I would like to get the effect of tooltip or microhelp in the bottom status bar when the mouse is hovering over a submenu item. How do I do that? ...
Score Scoping Issues
MichaelEvans1000 - 1 Nov 2006 5:53 PM - 3 messages
Please someone tell me what i'm doing wrong here. I trying to access the "files" variable, however i'm getting an "object not set to a instance". I want to be able to move to the next record if this ...
Score DropDownList Refuses To Show New SelectedValue
Nathan Sokalski - 1 Nov 2006 5:18 PM - 2 messages
I have a webform that contains a DropDownList. When the user selects a new value and I click the submit button, the previously selected SelectedValue property is used in my code. This is obviously preventing me from updating my database, or even allowing the user to do anything that involves the ...
Score NULL dates show today's date rather than a blank or NULL on form
M Skabialka - 1 Nov 2006 4:54 PM - 6 messages
I am creating my first Visual Studio project, an inventory database.  I have created a form and used written directions to add data from a table to the form using table adapters, data sets, etc. I imported a table from an Access database which has some date fields.  Many ...
Score insert data into master detail entry form
sugumar - 1 Nov 2006 4:39 PM - 2 messages
i create two table one is bill ,another one is  billdetail . particular bill have a many book one to many relationship i want to create master detail form (ex orderform) using gridview, or datagrid for billdetail entry From [link] Posted via DevelopmentNow.com Groups [link] ...
Score Looking for online articles/tutorials or good reference books
kbutterly - 1 Nov 2006 2:52 PM - 3 messages
Good morning! I am an experienced web developer, mostly in Coldfusion and some ASP. I am working now with some ASP.net 2.0 code with visual basic and I would like to learn more.  I have learned how to do some pretty cool ...
Score line replacing ideas
rodchar - 1 Nov 2006 2:51 PM - 4 messages
hey all, i have 2 notepad files and i want to replace every 3rd line in 1 of the notepad files with the exact same line in the other notepad file. what's the easiest way to do this? thanks, ...
Score Write an XML node
Major Aardvark - 1 Nov 2006 2:34 PM - 2 messages
Hi I have read in an single node and it's list of values into a CheckedListBox so that I can select which values I actually want to have in the node. The question I now have is how can I write just this one node and its values ...
Score Trouble with a console app
John Wright - 1 Nov 2006 2:28 PM - 2 messages
I am running a console application that connects to an Access database (8 million rows) and converts it to a text file and then cleans and compacts the database.  When it runs I get the following error: The CLR has been unable to transition from COM context 0x1a2008 to COM ...
Score start a windows service remotely
graphicsxp - 1 Nov 2006 1:47 PM - 5 messages
Hi, I've written a windows service in vb.net, which works very well. The service is installed on my server, but now I would like to be able to start/stop it from any machine on the network. I know the command sc.exe  but unfortunately it does not prompt for ...
Score Auto Gen Properties from fields
Steve Long - 31 Oct 2006 11:53 PM - 2 messages
Does anyone know is there is a way to automatically generate properties from the fields in a class in VB.NET 2003? So, I type in all of my private fields and now I want to populate the class with properties to match. Is there a code gen to do this or is there a macro ...
Score Try Catch Overkill
pigeonrandle - 31 Oct 2006 11:05 PM - 5 messages
Hi, Does this bit of code represent complete overkill?! Try   'create a treenode   Dim tn as new TreeNode()   'add it to a treeview   tv.Nodes.Add(tn)   'do some other stuff Catch ee As Exception 'something weird has happened ...
Score Try Catch Overkill
pigeonrandle - 31 Oct 2006 11:05 PM - 6 messages
Hi, Does this bit of code represent complete overkill?! Try   'create a treenode   Dim tn as new TreeNode()   'add it to a treeview   tv.Nodes.Add(tn)   'do some other stuff Catch ee As Exception 'something weird has happened ...
Score Acccess to a file on desktop is denied
vvenk - 31 Oct 2006 10:52 PM - 5 messages
Hello: I have an ASP application that takes a file and parses it. I have a fileUpload control on my ASP page. Here's the code that gets file details:         Dim srFile As StreamReader ...
Score Iterate through File System
Elmo Watson - 31 Oct 2006 9:58 PM - 2 messages
Can anyone point me to an example that shows how to interate through the file system, at a given starting point, listing files, plus Subdirectories, then, all the files and subdirectories in them also? ...
Score inserting date into sql server
Paul - 31 Oct 2006 8:21 PM - 3 messages
I'm sure this isn't a difficult question, but I've been struggling trying to insert the current date into a sql server field.  I've tried numerous suggestions that I've seen in newsgroups and everything either gives an ...
Score class inside a class?
HockeyFan - 31 Oct 2006 7:59 PM - 7 messages
Class A   .   Function A1()   . Class B   Function test()      How do I reference FunctionA1 here?   End Function End Class End Class ...
Score Animations for games
Mike Stolkes - 31 Oct 2006 7:33 PM - 3 messages
I have the task to make 2 or 3 simple games, probably some shot them up game (space invaders or so) and a poker game. For this I need to move things around very quickly on the screen. So that is my question.. ...
Score How to tell .methode with one to take?
De Roeck - 31 Oct 2006 6:46 PM - 3 messages
Thanks for reading, I've got the following function: Private allFlags As BindingFlags = BindingFlags.Public Or     BindingFlags.NonPublic Or _         BindingFlags.Static Or _         BindingFlags.Instance ...
Score system.net.mail
RedMoosh - 31 Oct 2006 6:40 PM - 5 messages
we have to mass email around 3000 to 10000 emails to clients with attachments.  can i use system.net.mail to accomplish this task from the server?  all my info is in a csv format along with paths to all the ...
Score Is application running?
TClancey - 31 Oct 2006 5:56 PM - 4 messages
Hi again, hopefully the last question for the damned application! I have one application that needs to load another, this may happen everytime the first app is started, or it may happen randomly. If the second app is not open my first app needs to open it.  If the second ...
Score Change color of HideSelection from Grey (Sorry if posted twice, first choked)
Shane - 31 Oct 2006 5:50 PM - 2 messages
Is there a way to change the HideSelection color in a treeview? I'm using the treeview as a replacement of a tab control. The grey background doesn't stand out well enough, when the treeview loses focus. I could just not use the HideSeletion property and change the node ...
Score Treeview doubleclick help
John Dann - 31 Oct 2006 5:35 PM - 5 messages
I'm trying to implement a fairly simple Treeview procedure but running into problems. My Treeview has just two levels of nodes: top-level and one child level. I want a doube-click on the Treeview to do one of two things: ...
Score Help with Vb.net 2002
Warex - 31 Oct 2006 4:57 PM - 4 messages
Hello, Can someone tell me if there are any updates for .net 2002 to get up to date with 2005? Or do I need to download express 205 / buy it again? Bought 2002, just dont see why i need to buy it again..... ...
Score Update VB6 to VB.NET 2.0 Email Send
Li Pang - 31 Oct 2006 3:20 PM - 3 messages
Hi, I have following codes in VB6 for sending the email on a server installed SMTP. It works fine. Now I want to update it with VB.NET 2.0 by using ..NET.Mail object. VB6 code: Dim myMail Set myMail=CreateObject("CDO.Message") ...
Score ATTN: Seth Rowe follow up to startup path posting
Rick - 31 Oct 2006 2:53 PM - 2 messages
Hi Seth, I'm following up to my posting of  28-10-2006 where you gave me directions to use a strong name with my app and install onto client computers using the msi. It worked! Thanks a lot.  I'm sure it saved me hours of time.  I feel like I am in an ...
Score To create an instance of class in VB2005
Jordi Julià - 31 Oct 2006 2:31 PM - 3 messages
Hello, I need to create with VB2005 an instance of one of the classes of the project in run time. For example: - The Namespace root and the name of the project are he himself: "Project" - The project has including three class: Class_1.vb, Class_2.vb and ...
Score Import BLOB from XML
Daren Hawes - 31 Oct 2006 9:02 AM - 2 messages
Hi, I have been given a XML file containing Image BLOB data.  They probably did a dataset.writeXml() to get the XML fule loaded. How can I import this into my MS SQL Server? I have tried simple inserts, Stored Procedures and Command Builder ideas ...
Score How do u copy multiple files from a lsbox to somewhere else using vb.net
surimca2002 - 31 Oct 2006 4:30 AM - 2 messages
How do u copy multiple files from a lsbox to somewhere else?  Does a CopyFile method work in this case?  If so, how do I manage to copy multiple files? using vb.net pls give me solutions asap. ...
Score TCP Transfer issues
Rich - 31 Oct 2006 12:38 AM - 4 messages
I am writing two programs that are part of a Bulletin  board system. The program works right, but when information is downloaded, the server program refuses to send more than 9 Kilobytes of data to the client. How can this be fixed? ...
Score Specify mouseClick event for controls created at runtime
Bill Nguyen - 31 Oct 2006 12:04 AM - 2 messages
I added a button control at runtime to a webbrowser control (also created at runtime) How do I specify the action when user clicks on this button since it's not available in design time? Thanks a million Bill ------------------- Dim mButton1 As New Button ...
Score From VB Newbie: The editor is driving me nuts.
PC - 30 Oct 2006 11:38 PM - 4 messages
Gentlesoft, I'm a long-time programmer, new to VB.NET/Visual Studio 2005.  Sorry to complain, but the editor is driving me nuts. I don't see how one can get any programming done when the persnicketty thing is constantly ...
Score Why does activex control run 3x+ faster in vb5 than .net?
bartj1 - 30 Oct 2006 11:00 PM - 17 messages
Hi, I did a benchmark comparison of a National Instruments Active-x "Strip Chart" control in both Vb5 and vb.net(2005). The code is identical: For I = 1 to 10000      ARR(1,0) = J      AxCWGraph1.ChartY(arr) ...
Score Format string in DataGrid
Rick - 30 Oct 2006 10:27 PM - 9 messages
VB.Net 2005 I have a non-bound datagridview that I fill with a column that contains a UPC number (as a string). I want the display format to be like this: 0 12345 67890 1. I have tried setting the format at design time to "# ##### ##### #" and also ...
Score Windows Service not starting automatically
Ashley Bryant - 30 Oct 2006 10:00 PM - 5 messages
I've created a Windows Service in vb.net that is set up to run automatically, but it never starts during system startup.  I can start it manually, but I need the service to start without any user interaction.  When I originally ...
Score Multiple TcpListeners on the same IP address
Goran Djuranovic - 30 Oct 2006 9:17 PM - 3 messages
Hi All, Is it possible to have mulitple TcpListeners on listening on the same IP address and different port? Something like: Dim t1 As New TcpListener("192.168.25.25", 9000) Dim t2 As New TcpListener("192.168.25.25", 9231) ...
Score Replacing Double quotes with TWO Single Quotes
Justin Fancy - 30 Oct 2006 7:26 PM - 5 messages
Hi everyone, I need to replace all instances of a double quote(") with two single quotes('') in a text file. I already have some replacements of strings going on, but I tried this one, but the syntax is being read wrong. ...
Score Where is code snippet manager?
Robert Dufour - 30 Oct 2006 7:00 PM - 3 messages
In Vs2005 I don't see the code snippet manager item in the tools menu. How can I get it to show? Thanks for any help. Bob ...
Score How to turn off Managed Debugging Assistant in VB.NET (2005)
Rob R. Ainscough - 30 Oct 2006 6:43 PM - 7 messages
I can't seem to locate the appropriate area in VS 2005 where I can accomplish this -- is this a C# only option? Thanks, Rob. ...
Score How to change the Internal Name in Application
j_mmtz - 30 Oct 2006 6:18 PM - 2 messages
Hi, i need to change the internal name of an application VB Net in visual studio 2005, but i can't find this option if it exists, please can somebody help me?. thanks. ...
Score IsNumeric question
Paul - 30 Oct 2006 4:35 PM - 13 messages
Hi, I am trying to check a string to see if it's first 3 characters are numeric and if they are, to replace those 3 characters with something else. I've tried this but nothing happens... newname = Replace(newname, VB.Left(newname, 3) = "101-", "101. ") ...
Score Access dynamic controls by name?
Anil Gupte - 30 Oct 2006 3:51 PM - 6 messages
How does one access dynamic controls by name (or whatever other means)?  I have the following: Dim newbtnPick As New Button newbtnPick.Name = "SliceButton" & CurSliceNum newbtnPick.Location = New Point(SILoc.SIPickbtn, SILoc.SIY3) newbtnPick.Size = New Size(SILoc.btnW, SILoc.btnH) ...
Score Sum column of a DataGridVuew
Tony A. - 30 Oct 2006 3:43 PM - 3 messages
I'm trying to write a procedure that sums the values of a column in a datagridview.  If a row is empty (has no value entered) the procedure crashes.  I've added code to check to see if the column for the row is blank, ...
Score OT-develing on several machines
Jon Doe - 30 Oct 2006 2:45 PM - 6 messages
Hi Sorry for this OT post. What is the norm when you have to use 2 or more machines when you develop? I use a workstation as my main developer machines, but quite often I need to use my laptop instead for variouse reasons. How does people tend to handle ...
Score Multiple Component Classes
TClancey - 30 Oct 2006 10:09 AM - 8 messages
Hi all. I'm having some problems with a project I'm working on. I have a Class Library which contains several Component Classes, each working independantly.  It seems that I can't have two Component Classes that Inherit the same standard vb control, ie PictureBox. ...
Score Messages
unwantedspam - 30 Oct 2006 5:49 AM - 5 messages
Thank you in advance for reading this. I need to have two applications send messages over the network to each other. Basically one server application and (possibly) many client applications. I am using VS 2003. What choices do I have when it comes ...
Score Did Mabry Software Tank!
Marcus Smaby - 30 Oct 2006 3:38 AM - 6 messages
I have been a user of the Mabry FTP.NET control for a long time. When I go to their website [link] I get a page not found message. I have been doing this for 3 weeks now. I am hoping someone knows their status as I need ...
Score GET SUBNET LOCATION IN VB.NET
Morten Fagermoen - 29 Oct 2006 8:39 PM - 5 messages
Hi! I try to get the subnet location info using the code below found at [link] But it only tells me that "instance" is used before it has been assigned a ...
Score Can't override CultureInfo.ToString
Phil Jollans - 29 Oct 2006 8:29 PM - 9 messages
Hi, I am having difficulty overriding the ToString() method of CultureInfo using Visual Studio 2005. Exactly the same code works fine with Visual Studio .NET 2003. What I am doing is adding objects which are derived from CultureInfo to a ...
Next » 2 3 4 5 6 7 8 9 10