Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score GetDirectories Performance
Tom Scales - 22 Apr 2006 11:07 PM - 8 messages
I'm writing a VB.NET 2003 program that uses a Treeview to display the drive structure on the computer.  I am having a major problem with performance. The are many files on one drive (over a million) and it is killing me.  For ...
Score [DATE - newbie] change and set back
an - 22 Apr 2006 5:57 PM - 12 messages
TOTAL NEWBIE I need to change the date to 05/05/2005, display a messagebox, then set the current date back. In VB6 I use: aaa = Date Date = #05/05/2005# Msgbox "Hallo" Date = aaa In VbNet I'm in a nightmare. ...
Score A Question of form focus - VB.NET 2003
Sid Price - 22 Apr 2006 5:16 PM - 3 messages
Is there a way of stopping a form getting focus in VB.NET. The scenario I have is a main form and a form used for display only. There are no user controls on the display form and it does not ever need to have the focus. ...
Score Problem with generating file shortcut in VB
Mike - 22 Apr 2006 5:08 PM - 3 messages
I'm trying to generate a shortcut file from VB. The code below is a cutdown version of some code I found on the net that is supposed to do the job The compiler complains about "WshShell" in the 5th line below. It says ...
Score Automagically answering another program's dialog
Joseph Sheppard - 22 Apr 2006 4:17 PM - 4 messages
We have a pesky dialog box that appears on our Ascent Capture server 50 times a day, bottle-necking our release process. While we wait for a corrected .dll to prevent this dialog, I would like to write a program that automatically answers it (the dialog has one choice ...
Score SQL Server ADO.Net error - General network error. Check your network documentation
RJN - 22 Apr 2006 1:42 PM - 2 messages
Hi I'm getting the General Network error, though not consistently. Stack trace is below. Any fix for this? at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, TdsParserState state)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state) ...
Score RS232 - Recive = Send????
Henning M - 22 Apr 2006 8:58 AM - 7 messages
Hi all, Im trying to send a command to my uprocessor project, but when i try to read the answer for the uPU I get the same commed I just send to it??? It is as if the command isn't send before I close the connection? ...
Score projects in vb.net not relateted to data base
yousafjan - 22 Apr 2006 8:33 AM - 3 messages
hi     i want to work on projects in vb.net which not relateted to data base.any one agive me same idia abt same projects.thanks ...
Score Trying to execute something stored in variable
Mike TI - 22 Apr 2006 8:09 AM - 5 messages
April 22, 2006 Hi all I want to execute a command stored in a variable, eg I may store: Form1.Show() or Form2.Show() in the variable and then execute whatever is in the variable. I read about the System.CodeDom namespace in MSDN, however I am unable to ...
Score Debug.Wrile does not appear on the Output Window
Bernard_Bourée - 22 Apr 2006 7:59 AM - 8 messages
In order to trace my job I placed some Debug.Writeline in my code but they don't appear in the output window! How to solve it? Thanks Bernard ...
Score GetCurrentProcess.Id vs GetCurrentProcessId API
johnboy - 22 Apr 2006 7:39 AM - 5 messages
How is the "System.Diagnostics.Process.GetCurrentProcess.Id" different from the GetCurrentProcessId API (Kernel32.dll)? I'm trying to convert code from VB6 to VB.NET and supposedly GetCurrentProcess.Id (.NET) is the equivalent of GetCurrentProcessId API, but it doesn't work. I placed both in my .NET app to read the ...
Score Can't delete an image that is in a picture box
Tom Scales - 22 Apr 2006 1:32 AM - 6 messages
I am having a problem with an application I am writing in vb.net 2003. I display an image (JPG) on the screen using a Picturebox, loading it with image.fromfile. The user can select a key to delete the image. ...
Score Paste logo on image
Sehboo - 22 Apr 2006 1:30 AM - 4 messages
Hi, We have thousands of images and would like to watermark our logo on those images. Is it possible to put our logo on image programatically? manually it will take years. I don't even know where to begin. Thanks ...
Score Form Visibility Issue VB.NET 2003
Sid Price - 21 Apr 2006 9:10 PM - 4 messages
Hello, I am having a problem with a windows form when controlling its visibility. My application has a form that displays a timing function. Normally the timing form is hidden. An object has a timer that causes some processing to ...
Score Unused variables that really are?!?
Seigfried - 21 Apr 2006 9:00 PM - 7 messages
There was a previous thread with this title that was closed, so I'm starting a new one because I have exactly the same problem. The original poster never did get a satisfactory answer because "the problem went away as mysteriously as it arrived". ...
Score Close a msgbox
John Wright - 21 Apr 2006 8:24 PM - 3 messages
How can I close a msgbox programtically.  I have a process that can run 24/7.  If an operator is not at the station, I want to close the msgbox that appears.  How can I do this? ...
Score Web Browser in Windows App
LisaConsult - 21 Apr 2006 7:59 PM - 10 messages
I'm hoping to verify that we are on the right track.  We have a windows based application that we are developing which allows the user to fill out various loan application forms.  There are several pages for each loan application ...
Score Can't add a reference to the specified file.
Al - 21 Apr 2006 7:38 PM - 2 messages
In VB 2005 I created Windows Class Library with a single class, put a check mark at Register for COM interop, compiled it. When I'm trying to add a reference to this dll in VB6 project I get an error 'Can't add a reference ...
Score temp directory
rodchar - 21 Apr 2006 7:31 PM - 4 messages
hey all, is there a way in vb.net code to access whatever temp folder location any pc is pointing to? thanks, rodchar ...
Score Launching a Server Side Process
josh.tucholski - 21 Apr 2006 6:50 PM - 2 messages
I am unsure of how to launch a server-side executable that is usually run in a  command prompt.  The purpose of the executable when run is to fetch a web page and convert it to PDF.  Once the process has ...
Score Off topic--best place to ask a question
cj - 21 Apr 2006 6:43 PM - 3 messages
I need help writing a stored procedure in a sql server database.  Which forum would be best to ask for help in? ...
Score Dragging Borderless Forms
Liz - 21 Apr 2006 6:15 PM - 4 messages
I need to implement dragging a borderless form by clicking/dragging on the form surface.  Using the "standard" approach (setting "CanMove" flag on MouseDown, moving the form by the delta of the absolute mouse movement, unsetting the "CanMove" flag on MouseUp) I am getting a lot of "jerky" ...
Score Newbie: Examples of ExecuteNonQuery
Parasyke - 21 Apr 2006 6:04 PM - 3 messages
Does anyone have any examples of "ExecuteNonQuery"? I've tried to grap this phrase but examples may be my only way of understanding this concept. Any real-world code snipits with a brief description would be so kind. Thanks! ...
Score VB2005 structures to file
Galen Somerville - 21 Apr 2006 3:50 PM - 2 messages
And yet another VB6 to VB2005 problem. All helpful suggestions appreciated. As you can see in the code below, my structures use fixed length strings and known array sizes. Consequently I can save to files as a large byte array. ...
Score How I generate a tone programatically without resorting to playing a file such as MP3, WAV, etc.?
alcurb - 21 Apr 2006 3:47 PM - 2 messages
I would like to programatically generate a sine wave, for instance, without resorting to playing a file. My goal is to create waveforms by drawing one cycle on a control and playing it in a loop. The tone should be played through the sound card ...
Score TableAdapters and true N-Tier
CMM - 21 Apr 2006 3:38 PM - 8 messages
Unless someone has come up with a way, I still don't understand how you can use TableAdapters in a true n-tier infrastructure.... where the DataAccessLayer is in one Dll and *only* the Datasets themselves can be shared across layers. ...
Score question on dataset
Jake Smythe - 21 Apr 2006 3:17 PM - 2 messages
Hello, I was wondering if/how to do the following. I have a dataset with a column names attention. It has either a 1 or 0 as a value. How can I get the count of rows that have a vaue of 1 from the dataset? Any samples/links would be ...
Score dotnet security exception issues
Dave Cullen - 21 Apr 2006 1:07 PM - 6 messages
My version of dotnet is 7.0.9955 Studio 2002. The applications I've written refuse to run on our shared network drive, giving security exceptions. I've not been able to find a workaround for this problem and the VS 2002 MSDN stinks. ...
Score Addhandler with parameter ?
Peter Stojkovic - 21 Apr 2006 11:52 AM - 4 messages
Is it possible to add a handler , and the function to add has a parameter ? Or MUST the function have NO parameters ? Thanks Peter ...
Score NTIER Issue
Jon Vaughan - 21 Apr 2006 11:48 AM - 2 messages
Hello, I have an NTIER Model written in VB.NET, at the moment is running as a client / server. Pushing a pulling data from the client to the server is fine and is done via webservice calls. But how do I go about a call from the ...
Score Newbie Question about Value and Reference Types
Gabor Törö - 21 Apr 2006 11:22 AM - 7 messages
Hi! I'm new to vb.net (and to programming as well) and last night I tried to make my own picture of the difference of value and reference types. What I find out is that the main difference is how the CLR handles the ...
Score download
Prakash - 21 Apr 2006 8:59 AM - 2 messages
hello i want to download the file from browser(header attach met) any one help me thanks ...
Score Can't read xml to Excel (dataset.WriteXml)
Morten Snedker - 21 Apr 2006 8:57 AM - 2 messages
I'm using this code to generate an XML-file:         If File.Exists("d:\k2b.xls") Then File.Delete("d:\k2b.xls")         Dim fs As New System.IO.FileStream("d:\k2b.xml", ...
Score Problem in datagrid
Krishna - 21 Apr 2006 6:05 AM - 2 messages
Hi, all I have developed one form which will allow user to enter data through datagrid, that datagrid is bound with comboboxes, textboxes. in thise two textboxes are readonly property is true. Actually the problem is when i update or insert any record it is not ...
Score Option strict on and detecting a listview Name
James - 21 Apr 2006 3:38 AM - 3 messages
Hi. I'm probably attempting the impossible but what the hey. I'm modifying a multi-paneled form which has 8 different listviews, To allow sorting by columns I've had to add a diffrerent handler Sub for each of them eg. ...
Score ASP.NET GRID CONTROL.
Edinson - 21 Apr 2006 12:31 AM - 3 messages
Newbe in ASP.NET... :) I want to jump from a textbox to the next one, into a grid by using the enter key. Do I have to use a Java Script or there is another way. I wounld't like to use a Java Script. ...
Score DragDrop to TextBox
gordonmytuba - 20 Apr 2006 10:50 PM - 3 messages
Please forgive me (or mention the proper thread) if this is the wrong thread. Also doesn't help that i'm new to vb.net I'd like to be able to drag a file from c:\test.txt onto a text box in ...
Score backgroundworker
John Wright - 20 Apr 2006 10:19 PM - 4 messages
I have a backgroundworker thread that I need to check some data for me every 6 hours or so.  I can start the thread and do the check with great success, but I only need this thread to check every six hours.  I tried the timer ...
Score set defaultprinter
masterphilch - 20 Apr 2006 9:43 PM - 6 messages
Hi Is it possible to set a defaultprinter through vb.net? thanks for help philippe ...
Score Retrieving a list of available fonts on system.
Jonesgj - 20 Apr 2006 9:05 PM - 4 messages
Hi, How would I return a list of available fonts. I'm writing a simple word processor, and have got the font dialog working, but wanted to create a toolbar dropdown with a list of fonts in, instead. I'm not a 'hardened programmer'   ;-)    so any simple examples out there?? ...
Score ReadAllText, special characters
kenny - 20 Apr 2006 8:11 PM - 4 messages
I have a problem reading special characters in unicode files like the german ß. I use the following code: Dim enc As System.Text.Encoding = New System.Text.UnicodeEncoding(False, False)         Dim a As String = ...
Score Is there a way to see if a file is in use?
Anthony Ho - 20 Apr 2006 7:55 PM - 7 messages
Hi, I use the following: FileOpen(taskmgrfile, "C:\trend.csv", OpenMode.Random, OpenAccess.Read, OpenShare.LockRead) to open a file, but it returns err.number 75 "The process cannot access the file "C:\trend.csv" because it is being used by another process." ...
Score Maximize form problem->bottom hidden by start bar
Mrozu - 20 Apr 2006 5:46 PM - 6 messages
Hi When I maximize a form in VB.Net  2003 the bottom of the form gets hidden by the start bar (so my status bar is invisible). How can I get my app to maximize to the usable screen area above the start bar? ...
Score Datagrid binding problem
no - 20 Apr 2006 4:59 PM - 4 messages
Hi all, I have a dataset that contain 2 tables and a relationship between them (master detail). I bind this dataset to a form that include some textboxes that bind to the parent record, and a datagrid that is binded to the detailed records. ...
Score Mutable Types and Read-Only Fields
Mythran - 20 Apr 2006 4:58 PM - 4 messages
[link](VS.80).aspx * Do not assign instances of mutable types to read-only fields. I would have to disagree with this "Field Design" guidelines...to an extent. Example: public class SomeClass { ...
Score Getting Exception on Command Line Args, but works within IDE debug
David B - 20 Apr 2006 3:53 PM - 11 messages
I am writing a console App with VB 2005 where I accept a text file as input, parse it and insert the text data into an SQL table.  I have written the code correctly as well as I can tell because it works ...
Score VS2005 - Passing NumericUpDown into a class method?
Len Weltman - 20 Apr 2006 3:03 PM - 6 messages
I am trying to pass a NumericUpDown object into a class method using Visual Studio 2005, but the control type is not found in Intellisense and the type declaration is flagged as an error. Here is a code sample (which doesn't ...
Score DX9 SDK (Feb 2006) / .NET 2.0
Alex C. Barberi - 20 Apr 2006 2:32 PM - 4 messages
I just upgraded one of my projects from VB.NET 2002/DX9.0c to VB 2005/DX9 Feb 2006 and I am getting lots of errors like this one:    'Device' is ambiguous in the namespace 'Microsoft.DirectX.Direct3D' ...
Score Creating an inherited control
ben m - 20 Apr 2006 2:27 PM - 2 messages
Hi all - we've recently switched up to 2005, and I'm having trouble getting the hang of some things, among them, creating a control for the project. Currently, we use a combination of controls on a TabControl - mainly a grid on one tab, and a checkboxlist on the other, that ...
Score deploy windows service
gabe - 20 Apr 2006 2:00 PM - 3 messages
Does anyone have a resource for deploying a windows service? - creatng a setup project to deply a windows service project, getting InstallUtil.exe to execute  (and reference the correct framework path) after the service is installed.  gabe ...
Score Editing Multiple DataGridViews
jpenn44 - 20 Apr 2006 1:59 PM - 3 messages
I have multiple datagridviews on one form.  I am allowing editing in the grid, and am performing error checking. I am validating the data, if it isn't valid, I am cancelling any other events fired.  My problem is, I am validating in grid A, if they click in Grid B, I am popping up a message box informing them of the error, but if they click ok on the message box, and then click in grid B again, it goes on.  The following is a code snippet: ...
Score Multi-line comments
cj - 20 Apr 2006 1:27 PM - 9 messages
Has MS included in VB2005 any multi-line comment methods like in C? /* This is a multi-line comment in C */ It's something I'd like to have. I did read somewhere that I could use Ctrl+K, Ctrl+C and Ctrl+K, Ctrl+U ...
Score Communication between forms
Selva Chinnasamy - 20 Apr 2006 1:19 PM - 9 messages
I have multiple Mdi Child forms. Form1 is displaying all the orders list, Form2 is displaying all the product list. When I rename a Product name on Form3, I wanted to update contents in Form1 and 2. Right now the Function renaming the Product is calling ...
Score security issues with an upgraded VB6 program
garyme2 - 20 Apr 2006 1:05 PM - 3 messages
Hello, I'm not a professional developer. I have several in-house VB6 programs that I have upgraded to VB.NET. One of them runs fine while I'm in the VisualStudio.NET environment, but the .exe will not run standalone. I get ...
Score publisher file
rodchar - 20 Apr 2006 12:36 PM - 6 messages
hey all, is there a way to use a dataset for the datasource of a publisher mail merge? thanks, rodchar ...
Score Legacy Connection Object - I need a new one
thejamie - 20 Apr 2006 10:54 AM - 4 messages
My question: "What is the correct connection object to use in VS 2005 for a text connection?" will need some background.  I am placing code at the end showing how I am reading data from a text file (comma delimited) into a ...
Score Login from service
Jake - 20 Apr 2006 10:31 AM - 3 messages
Hi, I would like to make login from service that I have coded vb.net. Actually it have to log in when some hw conditions are correct.  How it is possible can service make login? jake ...
Score IE Privacy - DNS Problem - ASP.NET
rawCoder - 20 Apr 2006 10:14 AM - 3 messages
Hi, I have a case where my application built in Visual STudio .NET 2003 and ASP.NET ( VB/C# ) is installed on IIS 6.0, windows server 2003. Problem is that when I reach the site( using IE) through the public IP ...
Score Execute something stored in a variable
Mike TI - 20 Apr 2006 10:05 AM - 3 messages
April 20, 2006 Hi All Thank you every one for your help, I have now started to get the feel of VB.Net 2005. How can I execute something stored in a variable. For example, I want to store: UserControl1.Show() or ...
Score Name of Active User Control Docked in Panel
Mike TI - 20 Apr 2006 10:00 AM - 2 messages
April 20, 2006 Hi All Is there a way I can tell the name of the user control docked in a Split Container Panel. I am using VB.Net 2005. e.g. if I dock a user control using the code below: ...
Score Reading registered file types in windows
news.microsoft.com - 20 Apr 2006 7:56 AM - 2 messages
Hello, is there anyway I can get the complete list of extensions in the registered file types in vb.net? (in explorer: Folder options -> tab file types) Grtz. ...
Score Run job on a seperate thread
Mike TI - 20 Apr 2006 7:46 AM - 2 messages
April 20, 2006 Hi all I want to invoke a job on a seperate thread and then close it on completion. Can anyone point me out to a working example. Thank you. Mike TI ...
Score 77 lines code need 30MB ram ?
Boki - 20 Apr 2006 6:39 AM - 5 messages
Hi All, Only 77 lines codes, need 30MB ram....  is that large? Can I use single webbrowser control to open two page at the same time? Best regard, Boki. ...
Score Are there any tools that can generate call graph for Visual Basic .NET source codes?
Rose - 20 Apr 2006 6:06 AM - 5 messages
Hi, guys, Is there such a tool? I also hope it is free. Thanks! Rose ...
Score Form1 can't getfocus again...
Boki - 20 Apr 2006 5:58 AM - 4 messages
Hi All, After enter the textbox1 ( whatever type text in or not ), I can't make the Form1_GotFocus event again.... I use that event to change form apparel..... Best regards, Boki. ----------------------------- Public Class Form1     Private mouseOffset As Point ...
Score textbox enter or GotFocus
Boki - 20 Apr 2006 5:51 AM - 3 messages
Dear All, What is the different between Enter and GotFocus events? Best reagrds, Boki. ...
Score Finding A Record in a Dataset by index
DavidB - 20 Apr 2006 4:36 AM - 4 messages
New to .net....sorry if this seems repetitive I have a dataset ordered by date (SQLDataAdapter SelectCommand uses Order By) and want to find a record by a UniqueID(Identity Column). Then I want to change the position (BindingContext) in the dataset to ...
Score Waiting for ThreadPool
Michael D. Ober - 20 Apr 2006 2:18 AM - 4 messages
If I use standard Threading.Thread threads, I can issue a Join on the thread variable and wait for it to complete.  How can I do this on the Background Worker Threads in a threadpool without looping.  Basically, I will be ...
Score Merging data received via TCP
Winger - 20 Apr 2006 1:42 AM - 5 messages
Hi, I'm having a weird problem... Part of code first: Dim bytes(tcpClient.ReceiveBufferSize) As Byte Dim DataChunk as String Dim FullData as String Do While EOF = False     If networkStream.DataAvailable = True Then        networkStream.Read(bytes, 0, CInt(tcpClient.ReceiveBufferSize)) ...
Score Threading a form
Adam Honek - 20 Apr 2006 1:09 AM - 2 messages
In VB.Net we have nice simple threading as follows: Thread1 = New Threading.Thread(AddressOf DoSomething) The only problem so far I've come across is that the addressof must be a pointer to a sub. It won't accept a form. ...
Score Textbox data entry validation
Adam Honek - 20 Apr 2006 1:00 AM - 3 messages
I have a form. It has serveral text boxes for user data entry. I could of course write code to check if each is empty before proceeding to save this data to a file. Is there any global way to control if any of these text boxes is empty or ...
Score Instead of form_activate()
Adam Honek - 20 Apr 2006 12:03 AM - 3 messages
In VB6 and earlier we had a form_activate() event whereby it always fired every time the form gained was focussed. In VB.net I don't see it and we have a _activate() event. What event would I use for the background form to refresh once the ...
Score How to extract multiple occurrences of a substring
Tony Girgenti - 19 Apr 2006 11:02 PM - 14 messages
Hello. Using VS.NET 2003 VB.  If i have a string similar to the attached, how would i extract the "Truckname=" data from it in a loop and stay in the loop until the end of the string is reached ?  As you can see the first truckname is ...
Score Converting BSTR in VC++ to String in VB .NET
vanisathish - 19 Apr 2006 10:07 PM - 2 messages
Hi, How do i convert the VC++ BSTR to String datatype in VB .NET Thanks Vanitha ...
Score Frustration with OpenFileDialog()
Vic Joseph - 19 Apr 2006 9:33 PM - 2 messages
I want OpenFileDialog to open in Thumbnail view. At the moment it always opens in list view, so to select a graphic file by image the user has to change the view every time. It's quite frustrating because creating a ...
Score Integrate Outlook in App
Chris - 19 Apr 2006 8:45 PM - 3 messages
Is it possible to have my VB.Net 2005 program open a new outlook email window, let the user enter their email and then if the send button is hit, to have my VB program capture what was in the email? ...
Score Windows Forms Question
John Wright - 19 Apr 2006 8:09 PM - 2 messages
Is there a way I can capture the event on the form and react to it.  I have some textboxes that I want to capture which textbox is firing the textchanged event.  I can tie all the textboxes to the one event using the ...
Score SQL Server reporting services...
Brad Pears - 19 Apr 2006 7:59 PM - 3 messages
Has anyone used SQL Server Reporting Services to develop reports with using vb .net ?? We are wondering whether or not to stick with Crystal (hence purhcase the pro version of .net) or go with the SQL Server product (hence go with teh cheaper standard .net product). I have not heard anything - good ...
Score Regex.Replace
cj - 19 Apr 2006 6:50 PM - 6 messages
I just ran across this in the VB help.  Sounds perfect.  Only they don't tell me what namespace must be imported to use regex.  I guess that's the problem cause I pasted this into a test program and it tell me Regex ...
Score COM usage problem?
Dursun - 19 Apr 2006 6:24 PM - 3 messages
I have created a COM class library in VS2005 useing VB.Net. Everything seem to be OK with the creation. I created a new VB Win project, and wanted to use the component (a function, not a control). When I try to include this COM ...
Score Publishing with ClickOnce
Dustin Davis - 19 Apr 2006 5:21 PM - 3 messages
This is my first attempt at using ClickOnce. It seems it is publishing OK, but I can't run the install. If I use IE, I just see XML in the web browser. If I use Firefox, I download a setup file, run it, then see XML ...
Score Wait while processing dialog boxes (threading?)
Dustin Davis - 19 Apr 2006 5:05 PM - 4 messages
I'm doing image conversion in my application and it seems to take some time on some tasks. I'd like to show a "Converting..." type message in a dialog box or splash screen of sorts. The problem is that when I call ShowDialog() the app waits for the ...
Score Best Practices
BK - 19 Apr 2006 5:02 PM - 6 messages
We've got a fairly large scale development process under way in .NET 2003.  We are about a month away from go-live for phase 1, second phase is rather short and all work should be completed in the next 2 months. ...
Score Enumerating MDIList Menu Item at Run-Time
pa.singer - 19 Apr 2006 4:29 PM - 5 messages
I have an MDIList menu item that I want to enumerate at run-time and possibly change the text shown for some of the MDI children included in that list.  When I enumerate the collection for that menu item, none of ...
Score plugin and addin
Mr:waly - 19 Apr 2006 3:59 PM - 2 messages
hi there; how can I  build an addin or plugin for an application that allready running ! any help appreciated. tnx. ...
Score Replacement code for Threading.Thread.Sleep
Sam - 19 Apr 2006 3:52 PM - 9 messages
Hello everyone, Can anyone provide me some idea on how to replace the Sleep method. Major Disadvantage that I face with the Sleep method is that the application freezes and does not respond to any other events. I am looking for somedata on how to use Waitable Timer APIs with VB.NET ...
Score VB2005 Control Arrays
Galen Somerville - 19 Apr 2006 3:41 PM - 6 messages
Just looking for thoughts on converting VB6 Control arrays. Here's the way I did it. The control happens to be a Usercontrol, CircVol, but could be any control. I would appreciate any suggestions on a better way to do it. ...
Score Copying from Novel
Jeries Shahin - 19 Apr 2006 3:21 PM - 4 messages
Hi I am trying to copy files from a folder on a Novel machine, the folder is in the UMC format (i cannot map a network drive for some business reasons). Upon copying, it fires an IOException saying that the file does not exist. ...
Score .empty
cj - 19 Apr 2006 2:33 PM - 15 messages
What is string.empty used for? I can't say: if string.empty then I have to use:  if string = "" then which is ok, I just want to know what .empty is for. ...
Score Visual Studio 2005 Outlook 2000
jww.salt - 19 Apr 2006 2:28 PM - 6 messages
Hello, Has anyone had success deploying an add-in for Outlook 2000 written with Visual Studio 2005?  I cannot even make a msgbox "Hello World" onConnection with outlook.  I am not using Visual Tools for Office and I am compiling with the office 9.0 Object library.  Any ideas on what I ...
Score difference between cstr vs .ToString vs Ctype
c_shah - 19 Apr 2006 1:38 PM - 6 messages
Very beginner question.. What's difference between cstr vs .ToString vs Ctype for converting to String? ...
Score Rnd() vs. Long ...no joy with LSB!
bogusexception - 19 Apr 2006 1:27 PM - 12 messages
(or.. "I'm getting too much Tails and not enough Heads") I'm running into a very strange problem with random numbers and long numbers. To demonstrate the problem, I've created a simple test. Consider that a series of coins are to be "flipped" all at once. The ...
Score Timeout
Lou Civitella - 19 Apr 2006 1:11 PM - 4 messages
I am setting the source of a crystal report and sometimes get a Timeout error. How can I increase the timeout? It seems to timeout after 30 seconds. Here is a snippet of the code that I use. Using VB 2005 ...
Score FTP with SSL
Hugh Janus - 19 Apr 2006 10:10 AM - 20 messages
Hi group, Has anyone ever used the Indy project to ftp files over SSL?  I have a requirement to securely transfer files and it is proving too hard! My inital reaction was to use SSH/SFTP but this is impossible for me ...
Score making 600 dpi A3 size images
Nikhil - 19 Apr 2006 10:09 AM - 4 messages
Hi, I am trying to write a program, which will let me arrange 5 5x7 images into an A3 sheet(12x18), 600 dpi. I have a 3Ghz 512MB RAM machine. Basically, I make a 7200 by 10800 pixel (12x18) bitmap and then arrange ...
Score WebBrowser1.Navigate makes program hold
Boki - 19 Apr 2006 9:36 AM - 2 messages
Hi All, I feel that WebBrowser1.Navigate will make program hold until it complete the document, am I right? Can any way to solve it? or that is not a good feeling for users to control my app ... ><~~ ...
Score Calling Access based Modules from Vb.Net
Nikhil - 19 Apr 2006 9:31 AM - 2 messages
Hi, I have defined a module called "Utility Functions" in MS-Access. In that module, I have defined a function called NullToZero. I used this function in one of my stored Queries in Access. This works fine when I run the query in Access itself. ...
Score How to prevent "Input string was not in a correct format" in DataGridView
Pieter Coucke - 19 Apr 2006 9:29 AM - 4 messages
Hi, When a user types a non numeric-value in a numeric column in a DataGridView, and he tries to leave the cell, he gets this "Input string was not in a correct format."-exception. Is there a (nice) way to get rid of this exception? And just put a "0" in ...
Score Crystal Reports not in VB .NET 2003 Standard
Aziz - 19 Apr 2006 9:10 AM - 3 messages
I bought VB.NET 2003 Standard, in the box it says Crystal Reports is included but I can/'t see it when I try to create a new Crystal Report in Add>Add New Item or in the Toolbox>Add/Remove Items. ...
Score SQL Connection help needed
Backwards - 19 Apr 2006 9:09 AM - 7 messages
I'm using visual studio 2005 and SQL 2000, trying to connect to a sql database as a differnent user. Here is my current connection string that is using my own NT login:             Dim message As String = "Data Source=" + ...
Next » 2 3 4 5 6 7 8 9 10