Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Can I somehow password-protect pre-import CSV files?
jonigr - 24 Feb 2007 11:22 PM - 13 messages
I wrote a simple VB.NET application that imports and edits CSV files. Now I’d like to “lock” the raw (pre-import) CSV files so these cannot be opened separately. It is not high-sensitive data, I just don’t want folks to ...
Score forcing a formfeed with PrintDocument
Dave Cullen - 24 Feb 2007 8:35 PM - 2 messages
How do I force a new page when printing with PrintDocument? I put a vbFormFeed in there after my footer and it gets ignored. Thanks Dave ...
Score questions about arrays and collections
Gilbert - 24 Feb 2007 6:36 PM - 13 messages
H, i'm starting with asp.net/vb.net and have some questions about arrays and collections: 1) what's the difference between: dim x() as string and dim x as array 2)  can variable 'x' in the second case contain anything (string, integer ...
Score Returning Function or Sub Name
John Simpson - 24 Feb 2007 6:24 PM - 5 messages
Like every developer, I've got tons of error trapping code that hard code the name of the function or sub name so I can error log it.  It seems from other discussions that the only way to get the function or subprocedure name ...
Score How to change code during debugging
JM - 24 Feb 2007 5:29 PM - 3 messages
Hi, I used to chage my code during debugging with Visual Studio 2003 (I just stopped the code using a break point and VS2003 allowed me to change the code, and continue debugging), but now with Visual Studio 2005 I am not able ...
Score Code for instantiated button created at runtime... huh?
Cashewz - 24 Feb 2007 5:29 PM - 2 messages
Hello, i'm trying to set this code: rtbRichTextBox.SaveFile(Me.Text & ".rtf") to the code below in a click event for "btnButton". The button was created at  runtime, so i'm not sure how to set up the click event for a ...
Score AddPortEx Trouble
Terry Olsen - 24 Feb 2007 4:43 PM - 2 messages
Trying to use AddPortEx but I'm getting an error. I modified the code I found that Randy Birch did for VB6. Public Structure PORT_INFO_1     Dim pPortName As String End Structure Public Declare Function AddPortEx Lib "winspool.drv" Alias "AddPortExA" ...
Score have a form return a value when it closes
iwdu15 - 24 Feb 2007 4:20 PM - 8 messages
hi, im attempting to create an intellisense type form and have hit a roadblock. I need the form to return (like the ShowDialog method returns the dialog result) the value that was selected when the form closes. however, i cannot just create a method that shadows ShowDialog and return it that way ...
Score Timer event
yhlove - 24 Feb 2007 3:58 PM - 2 messages
Hi I want to use a timer in my project so I would be able to set it's value and able to handle the timer event. how can I do that? (for those whi fimiliar with linux systems: I'm looking for somthing ...
Score New To Visual Basic 2005
RFleming - 24 Feb 2007 3:53 PM - 6 messages
I am not trying to come across as trying to get all my questions answered without doing any work, I am just hoping for someone(s) to suggest the best places and terminology to use when trying to get my ...
Score Handle the "X" button
yhlove - 24 Feb 2007 3:52 PM - 5 messages
Hi I would like to know how can I handle the event that the user press the red button "X" (The button which suppose to close the program) ? I tried to double click on it (in the form editor) but nothing ...
Score Easy Question
Mark Cooney - 24 Feb 2007 7:48 AM - 8 messages
Ok I have a class called Game which has an GameID value. I also have a routine that runs every 6 seconds. I need to see if the object Game exists with an GameID value = to the value of the Game that is ...
Score Sharing datasources among forms - VS2005
Steve Marshall - 24 Feb 2007 4:14 AM - 5 messages
I have come across the situation several times where a number of forms in an app use the same datasource, for example to populate a combo drop-down.  I'm sure we've all had this.  Using the IDE results in ...
Score Newbie question: Can an Interface actually IMPLEMENT another Interface?
mark_vogt - 24 Feb 2007 3:57 AM - 3 messages
Greetings all, As I dig into my new copy of Visual Studio 2005 Pro and VB.NET, I've watched a number of online videos, and read a number of postings right here in this news group that make the statement ...
Score Customize Windows.Forms.MdiClient
ljlevend2 - 23 Feb 2007 11:38 PM - 7 messages
Is there any way to change or turn off the border of an Windows.Forms.MdiClient control?  In my opinion the 3D bevel that the control uses is outdated and looks poor in my app.  The best would be a single line ...
Score Determine support for ClearType
ljlevend2 - 23 Feb 2007 11:34 PM - 6 messages
Is there any way to do the following: 1. Determine whether ClearType is enabled by the system (under Display Properties - Effects in WinXP). 2. Determine whether a font supports ClearType. Thanks for any help! Lance ...
Score Convert PDF to Tif File
Robert Dufour - 23 Feb 2007 10:12 PM - 3 messages
Anyone know how to convert a PDF file to a TIF. I gotta use TIF to send as fax on a dialogic board. They only take txt or Tif for mat. Thanks for any help Bob ...
Score Re: How to rename files with support wildcard ?
kgerritsen - 23 Feb 2007 9:11 PM - 2 messages
[link] Take a look at the VB code here, which works for service packs within 1.0 and 1.1: [link] I was easily able to extend this to seaching for framework 2.0 by ...
Score DLL distribution
vovan - 23 Feb 2007 9:00 PM - 2 messages
I need to distribute (copy one single dll file into the proper location on the workstation and register it by using Regasm.exe) the DLL created in VB 2005. I tried to add setup project to the solution. There are 6 kinds of them. I ...
Score VB.NET Desktop Application Built on Windows XP, Excel 2003
snare88 - 23 Feb 2007 7:01 PM - 3 messages
I have a question regarding a VB.NET 2003 application which was built on a Windows XP machine with Office 2002 installed.  The software does some interfacing with Microsoft Excel.  I now want to run this application on a Windows 2000 machine with Office 2003 installed. ...
Score Vb6 AscB to what in vbnet ?
Pascal - 23 Feb 2007 6:06 PM - 4 messages
Hello can someone help please ? here is the code in vb6 Dim lChar As Integer lChar =AscB(Mid(sMessage, lByteCount + 1, 1)) i tried lChar = System.Convert.ToUInt16(Asc(Mid(sMessage, lByteCount + 1, 1))) Mod 256 but somewhere i got an overflow capacity message error... ...
Score BindingList vs. List
jwilson128 - 23 Feb 2007 5:51 PM - 7 messages
I am trying to decide whether to use a system.ComponentModel.BindingList(of T) or a Sytem.Collections.Generic.List(of T) for a custom collection. In testing a simple, read-only data binding to a data grid view - they ...
Score unhandled exception error during release, but not development
Tim Zych - 23 Feb 2007 5:35 PM - 6 messages
What factor would allow an unhandled exception to occur in a compiled project, versus no error for the same action during development? In other words, I have a project that, in development when I test it, runs no problem. When I compile and release the dll, the user gets an unhandled ...
Score MySQL date format
jimmy - 23 Feb 2007 3:28 PM - 2 messages
I'm trying to insert a date into a  MySQL date column. The string i am trying to insert takes the following format: 2007-02-23 which corresponds to the date format that MySQL uses which is YYYY-MM- ...
Score How to read and write a structure to a file with Option Strict ON
active - 23 Feb 2007 3:18 PM - 6 messages
RecIn is a structure FileGet(FileNum, RecIn, mNumb) works if I have Option Strict Off File was written by FilePut(FileNum, RecIn, mNumb) So I guess there must be a Ctype that works I haven't been able to find it so that I can use ...
Score simple service to call a web page
WebBuilder451 - 23 Feb 2007 3:18 PM - 2 messages
I need to create a simple service to call a web page once a day at 4:00 AM. I know this has to be a no brainer for most of you, but for me i don't know where to start. I have vs2k5 and it will run on a 2003 server. I'd perfer not ...
Score Shared Constructors and Threads
timexsinclair2068 - 23 Feb 2007 3:09 PM - 2 messages
Hi, I'm getting some exceptions when creating new threads. That might -or might not- have to do with a probable (?) re-execution of shared constructors. Is that possible? Do shared constructors get executed when threads are created? Thanks! Paul ...
Score RegAsm.exe on Vista
vovan - 23 Feb 2007 3:05 PM - 6 messages
My VB6 application uses DLL developed in VB2005. It may be changed very often and everytime VB6 application unregisters an old version, replaces with a new one and registers a new version by using RegAsm.exe I'm doing it this way: ...
Score Checkbox and StartIndex Error
ashehu - 23 Feb 2007 2:13 PM - 3 messages
When trying to uncheck a checkbox with the following simple line of code                CheckBox8.Checked = False I get the following error                         StartIndex Cannot Be less tha Zero ...
Score New features in ADO.NET
Tony - 23 Feb 2007 10:57 AM - 2 messages
I want to know how many differences is between ADO.NET in Visual Studio 2003 and ADO.NET in Visual Studio 2005. I work with asp.net aplications. Will my applications work in VS2005? I want to know, does VS 2005 (ado.net 2.0) have only NEW features or have ...
Score Rename application
NickP - 23 Feb 2007 10:48 AM - 6 messages
Hi there,     I need to be able to change the name of my application through a pre-compile constant, is this possible?     I want to try to avoid having 2 separate code trees for an application I ...
Score How to retriving the Image files from ACCESS 2003
soma.gunasekaran - 23 Feb 2007 10:38 AM - 3 messages
Hi All ,    I've stored the Image file..... But i want to retriving the Image files from MSACCSS 2003 (JPEG,bmp,Gif and etc....) So Pls help me........ help me...............         Thanking you, ...
Score clickable email address
giannis - 23 Feb 2007 8:58 AM - 5 messages
How can I make a clickable email address in a text box ? Is possible ? Thanx ! ...
Score Creating Printer Port in VB
Terry Olsen - 23 Feb 2007 3:45 AM - 5 messages
I need to create a file printer port. I can do it using the PRNADMIN.DLL like so: Public Sub CreateFilePort(ByVal FilePath As String)     Dim PRNADMIN As New PRNADMINLib.PrintMaster     Dim port As New PRNADMINLib.Port ...
Score connection close problem
Agnes - 23 Feb 2007 2:31 AM - 2 messages
During form Load, I want to fill in the dataset and the close the connection at once. However, In SQL Server, I still find that the connection exists and the status is "AWAITING COMMAND". My client 's IT admin complaint that this ...
Score Proper Design
John - 23 Feb 2007 1:51 AM - 3 messages
Hi there, I am writing a simple program that will connect to database. Database has 2 tables, let's call them father and child. This is one to many relationship. I would like to create corresponding classes for each table. ...
Score XmlDocument.Load() crashes designer but works anyway?
DanThMan - 22 Feb 2007 11:28 PM - 5 messages
The following code works when I debug and when I install the software and run the .exe, but if I try to open the form in the designer (which causes this code to run), I get an error: Private Sub LoadTestSettings() ...
Score make checkBox ReadOnly wihtout Enabled = False? VB2005
Rich - 22 Feb 2007 11:22 PM - 4 messages
How can I make a checkbox control ReadOnly - can't check or uncheck  without having to set the Enabled Property to False?  VB2005 I looked at the property sheet for the Checkbox control but did not see any ...
Score loading FAXCOMEXLib
Rick - 22 Feb 2007 10:51 PM - 3 messages
VS.NET 2005 I am developing a fax routine in a NET program using the FAXCOMExLib.dll Everything works as planned when I run from my development machine.  When I put the program on the server and run I get the following message: ...
Score why is this code executed twice?
Bob - 22 Feb 2007 10:29 PM - 3 messages
Hi, (already posted but unsolved) this code inserts twice the same record. I thin  it is due to the "Selet Scope_Identity" in the sqlcommand. If i remove the Select part, the inserts occurs only once. If i remove the ...
Score Array Help
Playa - 22 Feb 2007 7:46 PM - 4 messages
I am getting the following error when I try to write a value to my array. An unhandled exception of type 'System.NullReferenceException' occurred in EmpPrinting.exe Additional information: Object reference not set to an instance of an object. This error only occurs when I don't include an initial size in my ...
Score Better way to load user controls into panel in Windows app?
Ronald S. Cook - 22 Feb 2007 6:34 PM - 4 messages
I lost my last post, but I'm looking for a better way to manage loading user controls (that are essentially forms)  in a Windows app. In my current design, I have a ListBar in which the user selects an item.  I ...
Score Correct syntax in treeview attributes
Nach - 22 Feb 2007 6:25 PM - 2 messages
For Each tn As TreeNode In TreeView1.SelectedNode.Nodes    ***         If tn.ForeColor = Color.Blue Then *** Does not like above line.  Can you give the correct syntax ???                 I = I + 1 ...
Score Bookmark All in entire solution gives errror - can you verify by running this simple test?
ImageAnalyst - 22 Feb 2007 4:29 PM - 3 messages
Try this: 1) In the code editor, double click some word. 2) Type control-F to bring up the search window. 3) Set the "Look in" drop down box to be "Entire Solution" 4) Click the "Bookmark All" button. 5) Get error message. ...
Score debug output / clearing window contents
Zytan - 22 Feb 2007 3:34 PM - 4 messages
The Immediate Window is filled with debugging output from previous runs.  Besides manually right clicking and clearing it, is there a programmatic way of doing this? Should I create and use a console window instead and put my debugging ...
Score In PictureBox click event and need to know which button was pressed
active - 22 Feb 2007 2:53 PM - 4 messages
I'm in the PictureBox click event and I need to know which button was pressed. I'm sure I once saw a property in Form or SystemInformation or someplace that system wide that enabled one to determine which button is down. ...
Score Re: Performance Issue
axel22 - 22 Feb 2007 1:47 PM - 6 messages
Although this guy is a little bit harsh, he speaks the truth - MS VS 2005 truly is a mediocre piece of software. Sure, it's a fully integrated environment, having intellisense for multiple languages, database support, version control, web development tools, ...
Score Add compilation time and date to project
Yaniv - 22 Feb 2007 12:29 PM - 9 messages
Hi I would like to add form with version data like version number and compilation time and date. I would like the time and date to be added automatically to my project. How can I do that? (I can't use a function ehich gives the current time and date bcause ...
Score Adding 3rd Party OCX To WinForm
Chip Pearson - 22 Feb 2007 11:56 AM - 3 messages
I'm sure that there is a simple answer but I can't find it. I need a third-part ActiveX control on a form in VB.NET 2005.  I can't find anything on the built-in Forms Toolbox to add a new control nor can I find anything ...
Score Using stored procedures to insert values into databse
Sirisha - 22 Feb 2007 11:19 AM - 4 messages
Hi,     I  am inserting values into databse using sqlserver stored procedures. i wrote stored preocedure,but in codebehind file(.vb file) i dont know how to pass the parameters, i got error message like this "System.Data.SqlClient.SqlException: Procedure or Function 'sp_insert' ...
Score Altering interface
Thomas Schoch - 22 Feb 2007 6:49 AM - 3 messages
I have written an interface IAddin for addins for my application. Now I have to add a new property to this addin. What is the best way to do this? I don't want to rewrite or recompile the existing addins because they are already installded on some client ...
Score Handling List(Of T) Events in Custom Class
Bryan - 22 Feb 2007 5:57 AM - 7 messages
I am writing a class that has a list of strings as one of its properties.  I want to be able to run some code whenever that list of strings is modified through the class property.  Here is the ...
Score Re: how to recognise unrecognised objects
anil - 22 Feb 2007 5:16 AM - 2 messages
hi, I am recording macro on Solidworks one of mechanical Software.... i need to select "Parting Lines" under "view" pulldown menu...when i record and play back...it is giving as no object found.. .......................... Anil.K.Hungund ...
Score SortedList (Dates) with Duplicate Keys
ShaneO - 22 Feb 2007 12:45 AM - 6 messages
VB.NET 2005: I need to sort an array of Customer details based on transaction dates.   If I use a SortedList the obvious problem is that it does not support duplicate keys. Does anyone have a suggestion (or routine) to achieve this type of date ...
Score Split large text file by number of lines?
ivan.perak - 21 Feb 2007 9:58 PM - 7 messages
Hello, im a beginner in VB.NET... The thing i would like to do is as it follows.... I have a text file (list of names, every name to the next line) which is about 350000 lines long. I would like to split it and create a new ...
Score .NET EVents & Threading
Spam Catcher - 21 Feb 2007 9:18 PM - 6 messages
Hi all When .NET fires and event, does the event handler execute under a new thread, or does it execute under the primary application thread? Basically if I have events firing, do the event handlers themselves need to spawn need threads, or can I safely assume the event handler is already ...
Score How to reconnect to a db automatically?
Robert Dufour - 21 Feb 2007 9:03 PM - 3 messages
My functions or subs that connect to my databases are always using the following code pattern (Vs2003) Private Mysub ()     Dim MyConn as new Odbc.connection     MyConn.ConnectionString = g_ODBCConnStr   'a global variable that was ...
Score SQL Express Warning
Miro - 21 Feb 2007 8:07 PM - 10 messages
Gonna teach myself SQL Express... Installing SQL Express I got a warning - Minimum Hardware Requirement. "The Current system does not meet the recommended hardware requirments for this SQL Server release.  For detailed hardware and sofware requirments, see the readme file or the SQL Server Books Online. ...
Score Why cannot inherit from public class that can be instantiated?
blisspikle - 21 Feb 2007 8:00 PM - 9 messages
Can any Public class be inherited from?  I installed some software on my pc and I can use it in my code, but I cannot seem to inherit from it. It was an executable that installed on my pc, I do not understand ...
Score writing text to text files in vb. need help
johnabraham101 - 21 Feb 2007 7:22 PM - 4 messages
hello all,                  I've already posted a thread with the same problem but couldn't satisfactory answer. Let's come to the point. I can write some  text to a text file with WriteAllText method. How can I ...
Score Timeout while executing stored procedure from VB.net
drolfe - 21 Feb 2007 6:33 PM - 3 messages
See below the code for details about the scenario. ------------------------------------------------------------------------------------ Public WithEvents conADS As New SqlConnection("Data Source=server;Initial Catalog=db;Persist Security Info=True;User ID=username;Password=password;Connection Timeout=0;") Public runBoardPostings As New SqlCommand("EXEC [dbo]. ...
Score vb.net creating xml
marfi95 - 21 Feb 2007 6:20 PM - 2 messages
My app is creating an entire XML document through the code.  I want the root node to look as follows: <MyService xmlns:xi="http://www.w3.org/2003/XInclude"> .... </MyService I can't seem to get the :xi to be put into the xml though, so it looks ...
Score XML and Direct Pathing to a node
Mark Cooney - 21 Feb 2007 5:59 PM - 22 messages
Good afternoon, yes i am a newby so pls keep it simple. Yesterday I started a small project where I have to make an API call and receive back from that the long xml transcript down below. Now, not knowing about XML I have experienced one or 2 issues. ...
Score Re: <Plank> boy <plank> it's unread.
Maximum Dog - 21 Feb 2007 5:59 PM - 2 messages
<Plank> that's a soft logical <plonk> ...
Score Filling a Dataset
Sid Price - 21 Feb 2007 5:36 PM - 11 messages
I have Dataset that I need to filter into another Dataset for display and I can not find out how to do this. I have found methods for copying a Dataset but I can not see how to filter the rows copied using my query. ...
Score Radio Buttons question
Vayse - 21 Feb 2007 4:49 PM - 4 messages
I have 4 radio buttons. I think I used to able to do in VB6 - assign a value to each button. So I could do something like Select Case <GroupRAdioButtons.Value>     Case 1         Run Sub1 ...
Score problem in first web form application
Rachana - 21 Feb 2007 4:46 PM - 2 messages
Hi Friends, I hv just started learning vb.net . When I was creating my 1st web forms appl., got follw. problem. 1. It doesn't allow me to type proj.name. Simply displays default one as :WebApplication1 2. Displays default location as ...
Score exit the form ?
Agnes - 21 Feb 2007 3:42 PM - 5 messages
My aim is "when user close the form , Close all the connection " But .... there is no such method call "closed"  in the form I just test it that "when user click the "close form" button. The connections still exist in the SQL server ...
Score Enlarge the screen
Agnes - 21 Feb 2007 3:38 PM - 5 messages
MY application is designed based on 800 X600 screen  size. However, some client use 1024 X768 , When they run the application, the form become smaller. I don't want to re-wrtie all the forms How can I enlarge the form to fit the 1024 X768 ?? ...
Score Share resources between projects
Penelope Dramas - 21 Feb 2007 3:26 PM - 3 messages
Hello, I'm trying to keep my application as small as possible and would like to know if there's any way to share resources (primarily images) between projects. Thank you ...
Score Authentication with WorkGroup
ruca - 21 Feb 2007 12:59 PM - 2 messages
Hi, How can I use authentication with Work Groups and not Domains. What is the configuration (in Web.config and IIS) to work with this? Basically I have a webapplication that use WindowsIdentity to login in my clients. Recently one of this clients change server and will be working with ...
Score Convert C# to VB.Adding Eventhandler.
Jim Andersen - 21 Feb 2007 12:47 PM - 3 messages
I have this piece of code I am trying to convert from c# to vb.net. It's a Windows project. This line gives me trouble ( I have tried to compress the code for readability. Hope I haven't screwed up): ...
Score convert Uint32 to System.drawing.color
Yaniv - 21 Feb 2007 10:00 AM - 12 messages
Hi How can I convert Uint32 variable to System.drawing.color ?? Thanks in advanced Yaniv ...
Score freeze cursor
Ivica Muruzovic - 21 Feb 2007 8:35 AM - 7 messages
How can i freeze cursor in vb2005? ...
Score Mulitble forms in VB
Karsten_Markmann - 21 Feb 2007 8:10 AM - 3 messages
HI. I am currently converting a VBA application to VB .Net 3003 (Com addin). I have several foms which I call from the main module. In VBA code execution stops until the form is closed but in my VB .Net ...
Score collection property and refresh control
--== Alain ==-- - 21 Feb 2007 7:23 AM - 4 messages
Hi, I have a control which has a collection property. when an item of the collection property will be added, removed, and so on, i would like to refresh the control itself. Usually for that i use eventhandler in the set method of the property. ...
Score Embed VB Script in COM DLL
keerthana_m_2003 - 21 Feb 2007 5:31 AM - 4 messages
Hello ALl: I have one COM DLL and I need to execute a VB Script from a function of this COM DLL. How can I embed the VB Script within the DLL and execute it whenever required? Thanks, Keerthana ...
Score Assigning an Character
anil - 21 Feb 2007 4:56 AM - 5 messages
Hi everybody, I have some n number of Names, the string i am declaring should take any names, for Ex: As for searching any file we use "*.*" is there any thing simillar to this that i can use in VB code to specify any string. ...
Score XML Help
Mark Cooney - 21 Feb 2007 4:25 AM - 5 messages
OK this might be long winded by want to show you everything I am doing. Down below is the result I get from an API Call to a website called Betfair. The following is some code I am trying, but I have also tried many different ...
Score deployment of clickonce applications
James Wong - 21 Feb 2007 1:20 AM - 5 messages
Hi, I want to deploy a setup file to another computer, it will publish to a web server for clickonce after run the setup file. Can I do this in VB.Net 2005? Thanks. James ...
Score Problem on running clickonce applications in Firefox
James Wong - 21 Feb 2007 1:20 AM - 7 messages
Hi, When I run the application in Firefox 2.0 using clickonce, it need to save the setup.exe and click open this file. How to skin this steps? Thanks. James ...
Score Running Shell applications from .NET Windows application
Greg - 21 Feb 2007 12:54 AM - 7 messages
I am trying to create a VB .NET 2003 Windows application to ftp files to a server and then open a telnet session on a AIX box to run a remote command based on parameters from the application form. What is the best way to do ...
Score .NET2005 byte array in VB6
Si - 20 Feb 2007 10:13 PM - 3 messages
Hi, I have a DLL written in VB.NET(2005) and it has a public event that passes a byte array, when I try and use the event in VB6 I get this message box when trying to run the app. ...
Score Problem debugging a windows service
Greg - 20 Feb 2007 10:09 PM - 4 messages
I am having a problem trying to debug my windows service. The service itself is working fine (it starts a timer, which writes a log entry every 20 seconds). However, when I set my breakpoint on the line that writes the log entry, the code never breaks - it just keeps writing ...
Score My.Computer.Network.DownloadFile
Me - 20 Feb 2007 7:17 PM - 3 messages
I'm trying to download a URL which I know returns XML, but when using My.Computer.Network.DownloadFile all I get is (binary?) gibberish. The URL isn't an absolute reference to a static XML file, but to an address ...
Score Re: Programming - Best Practice
Jay Parzych - 20 Feb 2007 6:49 PM - 2 messages
best news i heard all month, i'll warn those newsgroups to get ready for vulgarity ...
Score Collection Types
jwilson128 - 20 Feb 2007 6:31 PM - 5 messages
I am looking for some help on the best type of collection to use and/ or best way to implement the collection with the following functionality: I have defined an object to represent an interest rate: Public Class IRFcast     Public CloseDate As Date ...
Score HELP: Debugging ApplicationEvents.UnhandledException???
Spam Catcher - 20 Feb 2007 5:27 PM - 8 messages
Hi all, When I'm debugging my application in VS.NET 2005, the debugger intercepts all unhandled exceptions and does not break into  ApplicationEvents.UnhandledException. How do I debug ApplicationEvents.UnhandledException? I have some elaborate code in there which I would like to test. ...
Score Generic SortedList question
active - 20 Feb 2007 4:41 PM - 3 messages
This is where a different thread ended. The subject of this query is quite different from that of the other thread so I thought I should start a new thread. I'm using Private mItemList As SortedList(Of String, StringWithInteger) ...
Score Re: Programming - Best Practice
Brian Gideon - 20 Feb 2007 1:06 PM - 2 messages
Hi, Like Spam said, closing a connection in ADO.NET is optional.  You can keep that IDbConnection object open as long as you'd like. Brian ...
Score Access denied on NOVELL Server
Nogema - 20 Feb 2007 9:00 AM - 2 messages
Hi everybody I use VB 2005 One of our project consisting in saving data on a network disk (NOVELL Sever) This project use windows authentification for each attempt to write on the disk, the program leaves in error "ACCESS DENIED" ...
Score How to release an mp3 from DX.Audio class?
Terry Olsen - 20 Feb 2007 6:26 AM - 3 messages
I'm using DirectX to play mp3 files. Private WithEvents Player As Audio = Nothing Player = New Audio(Song, False) Player.Play() '....... Player.StopWhenReady() '....... Player = Nothing If I try to do anything to the file afterwards, I get an exception saying ...
Score MP3 in VB does not loop seamlessly
casManG - 20 Feb 2007 2:08 AM - 8 messages
I have tried using both the Windows Media Player control as well as the mciSendString method for playing an MP3 within my Visual Basic 2003 app. The problem is that when the MP3 is looping there is always a small bit of silence between when the sound ends and begins again. I ...
Score Parsing an email to find a mailing address?
Terry Olsen - 19 Feb 2007 10:43 PM - 2 messages
I have a very interesting request. A customer receives orders via email. The email contains the shipping address, shipping method, email address and phone number. This information is not all together, nor is it in the same format in each email as the emails come from different order ...
Score How to span function call params across multiple lines?
sean.gilbertson - 19 Feb 2007 9:59 PM - 10 messages
How do I do this in VB.NET? --------------------------------------------------- SomeSubOrFuncCall("param 1", "param 2", "param 3") --------------------------------------------------- Right now, this is a syntax error.  I thought by adding backslashes at the ends of the lines it would work, but alas it does not. ...
Score TCPListener - Client Disconnect
Hiwj - 19 Feb 2007 11:31 AM - 4 messages
I recently upgraded my application from VB6, and was using the Winsock control. In VB2005 I am using the TcpListener Class and have managed to get it working, except for one thing: Is there a way for the server to detect when a client disconnects (i.e. ...
Score marking method or property as depricated
lucky - 19 Feb 2007 9:37 AM - 2 messages
Hi guys, i want to mark some of my methods and properties as DEPRICATED. is it possible to do that? and if possible, then how would i do that? i would appricate any help. Lucky ...
Score zero element array creation
Zytan - 19 Feb 2007 1:14 AM - 25 messages
I want to make a zero element array.  I know that Nothing is not the same as a zero element array, since I can't get the length of, or iterate through, an array = Nothing.  I could make a zero element ...
Score Can I make a combobox that is stronly typed?
active - 18 Feb 2007 10:02 PM - 15 messages
I'm using a ComboBox to display objects of a class I've defined, say CQQ. Works great except somehow I occasionally set an Item to a String object instead of an object of type CQQ. It looks like Text replaces an item or something like that. ...
Next » 2 3 4 5 6 7 8 9 10