Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Problem saving txt box with enter key
Marc - 25 Nov 2006 10:32 PM - 4 messages
Guys, I have a text box. I simply want to save the text from the text box (and popluate a buttons text) and remove the text box when a user hits the enter button. Can someone help? Private Sub RenameToolStripMenuItem_Click(ByVal sender As ...
Score Problems with web project
Rob - 25 Nov 2006 8:28 PM - 2 messages
Using VS 2003... VS is having a hard time opening up web projects (times out most of the time)... when and if it does finally ope them, it is adding a strange file to the project... with a name like vs9847666665566665_tmp.htm. ...
Score Opening...Closing Forms
Arne Beruldsen - 25 Nov 2006 8:19 PM - 4 messages
The migration from VB6 is anything but easy. Ok...I have an introductory form (start-up is via sub main) and then several succeeding forms which gather some info.  As soon as the info is gathered they can be closed for good,  Based on the info...I refer to a module which ...
Score round function not working
Marc - 25 Nov 2006 7:48 PM - 6 messages
Hi, I cannot get the round function to work on vb.net. I get the message that round is not declared? Has round function changed or something? MsgBox(round(3, 3)) ...
Score Snap Control to grid
Marc - 25 Nov 2006 7:33 PM - 2 messages
Hi, Anyone know how I can have my drag and drop form controls 'snap' to a grid like in windows desktop? ...
Score Allow user to rename a button control on the form
Marc - 25 Nov 2006 6:33 PM - 3 messages
Hi, I want to allow the user to rename a button control. When they click rename from the menu I want the button text to become editable on the actaul button...and then perhaps save the new text when enter is hit or ...
Score WIALib error
Franky - 25 Nov 2006 5:07 PM - 4 messages
I have a project containing a class and it works OK. However, when I copy the class and paste it into my library I get and error. Do you know what might cause that? THANKS Something = New Collection() produces: Error 4 'WIALib.CollectionClass.Private Sub New()' is not accessible in this ...
Score Can someone please translate this to VB.Net
Mike - 25 Nov 2006 4:56 PM - 4 messages
public class Broadcaster: MarshalByRefObject, IBroadcaster     {         public event General.MessageArrivedHandler MessageArrived;         public void BroadcastMessage(string msg) {             Console.WriteLine("Will broadcast message: {0}", msg); ...
Score Dynamically add user controls to a listview
HDI - 25 Nov 2006 4:44 PM - 3 messages
Hi, I used this a long time ago in VB6 How can I dynamically add user controls to a listview ? Thx ...
Score calling math functions at run time
Franky - 25 Nov 2006 4:07 PM - 19 messages
I don't know how to ask this so that someone will not misread it but here goes. At run time I want to be able to evaluate functions  from the Math library, but at design time I do not know what functions will be needed. ...
Score License Key Generator
Arne Beruldsen - 25 Nov 2006 4:00 PM - 2 messages
I have an app where I need to generate a 16 character license key based on info supplied on the installed machine.  Does anyone know of any code, freeware or fairly inexpensive product? I don't need this to be super-hack proof...just something that generates a ...
Score Good book for an absolute beginner on VB.net or 2005 with databases
weight gain 2000 - 25 Nov 2006 2:09 PM - 5 messages
Hello all! I'm looking for a very good book for an absolute beginner on VB.net or VB 2005 with emphasis on databases. What would you reccommend? Thanks! ...
Score Very simple Delete Button help!!!!!
Marc - 25 Nov 2006 11:40 AM - 3 messages
I have a context menu on a button. I just need some code that will delete the button when the context menu is clicked. Any ideas? ...
Score need help with 1 line of code now!
Marc - 25 Nov 2006 10:28 AM - 4 messages
OK i think im nealry there....the only error I am getting is with this piece of code Dim btnList As List = New List(Of AttributeContainer) It cannot find 'List', not sure what to replace it with? ...
Score Help populating control.location with string value
Marc - 25 Nov 2006 9:49 AM - 2 messages
I have the below code which works fine. However I need a way for the test.location line to read the string in form my text file? the line firm myfilecontents looks like this {X=425,Y=310}. how can I do this? i.e test.location = myfilecontents ...
Score FileUpload
reidarT - 25 Nov 2006 9:38 AM - 2 messages
In a Windows form I use My.Computer.Network.UploadFile( _                 "File to upload", _                 "ftp://ftp-address" & _ ...
Score regarding .net help
Dhananjay - 25 Nov 2006 8:54 AM - 11 messages
hello everyone Do  you have any information how to generate a tool using .net which is used to translate the web page contents to html format. Plz reply me asap Thanks in advance Dhananjay ...
Score newbie: foundfile attributes? (filesize, saved date, etc.)
Keith R - 25 Nov 2006 2:38 AM - 3 messages
I'm a newbie using vb.net express 2005. I've been working on the following code snippet, trying to figure out how to return characteristics of the found files (I believe the code itself is just returning the string path/filename). Is there a way to work backward to get ...
Score My.Computer.Network.UploadFile error
John Brown - 24 Nov 2006 10:51 PM - 3 messages
THE FOLLOWING CODE: Dim strUpLoadFile As String Dim siteUri As New Uri("ftp://wxyz.com/UpLdTest.zip") strUpLoadFile = "C:\Trash\UpLdTest.zip" My.Computer.Network.UploadFile(strUpLoadFile, siteUri, "johndoe", "abcdefg", 1000) PRODUCES THIS ERROR: Unable to cast object of type 'System.String' to type ...
Score Help reading control.location value back form text file
Marc - 24 Nov 2006 8:44 PM - 14 messages
The first part of the below writes the name and location of all buttons on a from to a text file. The second part reads that information back in and recreates the buttons. My problem is reading the location value back in where I marked ?????????????????????. As it ...
Score DataGridView conversion problems
GrispernMix - 24 Nov 2006 8:25 PM - 4 messages
Imports System.Windows.Forms Imports System.Convert Imports Microsoft.VisualBasic.Financial Public Class Chapter7     Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)         Dim result As DialogResult ...
Score Getting IP Address of the ACTIVE network card
Paul Bromley - 24 Nov 2006 8:04 PM - 6 messages
How do I know which IP address is active?? I have created the following class and this works well, but the first address it obtains on my machine is not the active one - in fact I do not know what NIC it refers to the second one in the addresslist is the current ...
Score simple format question
Rob - 24 Nov 2006 7:26 PM - 16 messages
In order to create a date in CCYY-MM-DD fashion, I used to be able to use the Format(date,"yyyy")&"-"&Format(month,"mm")... syntax... This no longer appears to work in vb.net.   I know how I could do this..., ...
Score help readin text file
Marc - 24 Nov 2006 6:09 PM - 4 messages
So i have a text file where each line represents a button name. What the code I need to read this file  and creatre a new button from each line.. so far I just have code to read the whole file ...
Score Registry Key Manipulation
Newbie Coder - 24 Nov 2006 6:05 PM - 10 messages
Hello Newsgroup Readers I would like to know how to go & do the following: I have a certain registry key that has sub values Example: Key1         [link] ...
Score Help reading simple text file
Marc - 24 Nov 2006 5:47 PM - 3 messages
HI, I have this simple code below that writes my forms buttons name and location to a text file. What I am really struggling with is the code to read the information back in form the text file and create and position a new button based ...
Score Want multiple copies of a DLL to run...
tony obrien - 24 Nov 2006 5:25 PM - 3 messages
Hi, I have written a VB.Net Class Library to handle TCP message traffic between a client and a server. (i.e. I have exposed Props/Methods to a caller and handle the gory details regarding encryption and msg handling back and fro ...
Score Looking for something like UML
Soddy - 24 Nov 2006 5:15 PM - 4 messages
Hello! I'm looking for a 'model-driven' development environment such as UML but (if possible) a 'freebie'...!  If not, then maybe a shareware... ...
Score Loading a PDF File
Arne Beruldsen - 24 Nov 2006 5:10 PM - 4 messages
Is there a way to load a PDF file and allow for printing? Thanks ...
Score Needto grab the name and position of all buttons on a form -is this possible?
Marc - 24 Nov 2006 3:57 PM - 5 messages
Hi, In order to save user preferences I need to grab the name and position of all buttons on a form, which i will then save to a text file. Anyone know how I can easily get this information? Thanks ...
Score Beginners needs some help in Writing to text file
Marc - 24 Nov 2006 3:33 PM - 5 messages
Hi, I have a button on a form that, when pressed, adds additional user defined buttons to the form. I need to be able to save the user preferences and thought the best way would be to write the information ...
Score How to set DataRowState value
Li Pang - 24 Nov 2006 2:17 PM - 2 messages
Hi, I want to used DataRowState as a flag to process data. My question is how to set DataRowState value to "Added/Deleted/Modified/Unchanged"? Thanks in advance ...
Score Printer Properties
Morten Fagermoen - 24 Nov 2006 2:06 PM - 3 messages
Hi! How can I get the printer properties (the same as right click-properties in the Printer menu) in a VB.NET 2005 application.  I have the collection of the printers but need to get to the properties. Regards ...
Score Need help to marshall Win32 DLL call to VB.net
Gilles Vollant (MVP) - 24 Nov 2006 1:37 PM - 3 messages
Hello I've (in WinImage SDK [link] ) a function that I need to use from a VB.Net apps First, on the unmanaged Win32 DLL, I've a function which get the number of ...
Score Ribbon Bar
Bill - 24 Nov 2006 1:27 PM - 4 messages
Can anyone direct me to a free office 2007 like ribbon bar ...
Score Need Help on String.Format() method
Lucky - 24 Nov 2006 12:33 PM - 10 messages
hi guys! back again with another query. the problem is like this. i want to print a line like this: "---------------------------------------------" the easiest way is to simply assign it to string and print it. but i want to use the String.Format() method if possible to do it. ...
Score Need help Saving User changes to a form please
Marc - 24 Nov 2006 12:18 PM - 3 messages
Hi,  I have a form that allows the user to add extra buttons if required..How can i save these extra buttons to the application after the program is closed? Thanks Marc ...
Score Books for learning VB.NET
raj_pattel - 24 Nov 2006 10:26 AM - 13 messages
Exuse me for asking, I am loking for best book to learn VB.NET language / framework.  I learn C before but many years ago.  Do anyone know good book, but not too much beginner one. Sory for my english is not good. ...
Score Check these dot net Interview Questions
chrisplanters - 24 Nov 2006 10:03 AM - 3 messages
Hi All Check this link... [link] nice set of Interview Questions Thanks Chris ...
Score Serialization Help!!!!!!!!!!
Marc - 24 Nov 2006 8:49 AM - 5 messages
Hi, I have simple single screen project that allows the user to drag and drop 'buttons' around the form. I also allow the user to add new buttons. I need to save any new buttons added to the form when the ...
Score VB 2005 Initialising Toobar
steve - 24 Nov 2006 8:12 AM - 5 messages
Hi All After writing numerous programs in VB.net 2005 I find that the Toolbox takes forever to initialise. When it appears it has loads of extra tools mainly report viewer Table Adaptors etc that I have built in my programs ...
Score upload file to web-browser
reidarT - 24 Nov 2006 7:47 AM - 6 messages
Is there an example how to upload a file from a clients machine to an ftp-server from a web-application? (No ftp-software!) reidarT ...
Score error "object refe..."
touf - 24 Nov 2006 4:20 AM - 3 messages
Hi, I've the "object reference not set to an instance of an abject" error in the folowing code (initialise a datatable's rows to 0) this is hapening for the 2nd field (taxe) of the 2nd row (the first is ok!!) ...
Score Printing a pdf File in vb.net
Don - 24 Nov 2006 3:35 AM - 2 messages
I would like to print a report which was created in Adobe Acrobat with the extention pdf.  Is there an easy way to do this. I am new at this and would appreciate any code that can help. ...
Score SaveFileDialog-problems
Rikard Bosnjakovic - 24 Nov 2006 3:06 AM - 2 messages
Greetings I'm new to both .NET and Visual Basic, but I've got experience of developing Windows-application earlier (w/o .NET or any framework). Consider this code:      Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As ...
Score array and shell
James L Szatkowski, PE - 24 Nov 2006 12:06 AM - 3 messages
I'm using (successfully in VB Express) this routine: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Call Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE [link]", AppWinStyle.MinimizedNoFocus, True) ...
Score Animated GIFs in VB.NET 2005
ZikO - 23 Nov 2006 10:31 PM - 4 messages
Hi. I am making a Multimedia Presentation in VB.NET 2005 and I have some animated GIFs which I need to use. I tried to use PictureBox for it but it doesn't play an animation in GIFs :/. What I should do to resolve this ...
Score Anyone know how to add a drop down menu to a button that will appear when you right click the mouse?
Marc - 23 Nov 2006 9:43 PM - 4 messages
Anyone know how to add a drop down menu to a button that will appear when you right click the mouse? ...
Score Re: Visual Basic to be discontinued in 2008??
HKSHK - 23 Nov 2006 9:02 PM - 2 messages
Does anyone have a "Holy hand granade of Antioch" to solve the problem? ;-) The Grim Reaper wrote: ...
Score Embedded Stored Procedure within App
Spam Catcher - 23 Nov 2006 7:51 PM - 5 messages
Hi all, We have an application with is store procedure dependent. I'm looking for a way to simplify our deployment by embedding Stored Procedures within our application so that we do not have to "keep track" of which SPs to promote. ...
Score Adding buttons to form help
Marc - 23 Nov 2006 7:38 PM - 8 messages
Hi, I am using the below code to add a button to form. However it is not working. If I change the form name from 'form1' to 'me' it does add the button to the current form...any ideas. Also does anyone know a way keep any user generated buttons in the form ...
Score Need a way for the user to add form buttons??????????????????????
Marc - 23 Nov 2006 6:49 PM - 3 messages
Hi, I am writing a program which invloves dragging and dropping things around a form. I have so far chosen to use Buttons to drag and drop which works fine. These button actually represent HGV's! My problem is that I need a way to allow the user to add more 'buttons' ...
Score OO design and programming...
Brad Pears - 23 Nov 2006 6:38 PM - 20 messages
I am completely new to vb .net. I am using visual Studio 2005 to redo an Access 2000 application into a .net  OO application using SQL Server 2000 - so a complete rewrite and re-thinking of how this app will work. ...
Score search in AD
sgr - 23 Nov 2006 5:16 PM - 2 messages
How Can I do for search a computer in my Active Directory with vb .net? Thanks ...
Score Upgrade Question
Joseph - 23 Nov 2006 4:54 PM - 13 messages
I am rewriting a VB6 program from scratch.  In vb6 I had an index commandbtton and was able to do use a for loop to make changes to the entire group of button.  For example the following code worked out ok ...
Score Looking For Training Recommendations
Steve Duncan - 23 Nov 2006 4:54 PM - 4 messages
Hello     I have been doing vb.net for a while and do ok with the putting together projects and getting them rolled out and making them work. I understand  the concepts of OOP and have had a very little exposure to UML, but am ...
Score Drag and drop multiple button controls..need help modifying code please???
Marc - 23 Nov 2006 4:41 PM - 7 messages
Hi, I am using the below code which simply allows a single button control to be dragged and dropped anywhere around a form. My problem is that want to move about 100 buttons on the form. Is there anyway to modify ...
Score Audio Spectrum Analyzer
David S. Zuza - 23 Nov 2006 3:46 PM - 2 messages
Hi,   I am an intermediate vb developer but I am an infant to DirectX programming, I want to develop a spectrum analyzer for audio whether it be from microphone or audio file...but there doesn't seem to be a good resource ...
Score Managing without .NET for runtime applications
Jerry Spence1 - 23 Nov 2006 1:05 PM - 7 messages
My company produces IP Surviellance softwrae (CCTV, Access control etc) and one of the features of our software is the ability to produce a CD with all the images, together with a run time version of the viewer. The intention is ...
Score Q: Regular Expressions?
G .Net - 23 Nov 2006 10:58 AM - 8 messages
Hi I was wondering if you could help me with the following: I have a string e.g. "#54x454#,#22b6#,#885333#". I want to be able to store in an array list, the following from the string: 54x454 22b6 885333 ...
Score tell more about .net framework
milind - 23 Nov 2006 10:36 AM - 7 messages
tell more about .net framework EggHeadCafe.com - .NET Developer Portal of Choice [link] ...
Score date time picker and validate event ( is this a bug ? )
Michel Posseth [MCP] - 23 Nov 2006 10:28 AM - 5 messages
I have a problem with the date time picker validate event wich i believe is a bug How to reproduce : throw on a form a date time picker control and a textbox control select the validating event of the control and add this code ...
Score Re: Come on everybody - lets piss our pants with excitment about *text files*
Robinson - 23 Nov 2006 9:24 AM - 2 messages
I know I shouldn't feed the trolls, but please go back to your Algol-60 newsgroup and leave us in peace. ...
Score Automatic Form Fill in
Anil Gupte - 23 Nov 2006 7:11 AM - 11 messages
I am playing a Windows Media File which is protected by their DRM.  I want to be able to automatically fill in the form asking for payment with my saved parameters.  Is there any way to do this?  Note, this is not on the ...
Score Web servicve problem
Jaye - 23 Nov 2006 3:46 AM - 2 messages
Hi All     Now i am using VB.net 05 write a window form application, and i have using serveal web service resource. In VS studio 2005, I need to add web reference before i access the web service in program. However i would like to ...
Score embem Excel in winford using vb.net
Thomas - 23 Nov 2006 2:39 AM - 3 messages
It sounds a piece of cake but I was suprised how frustrating it is to do it. I have a winform which receives data from database and present them as Excel chart and spreadsheet. It is required by the client. I ...
Score SQL connection problem
Robert Dufour - 22 Nov 2006 10:43 PM - 8 messages
This is my connection string, the syntax is I think quite correct. The name of the computer is my local machine, the database exists and I can connect to it with the enterprise manager, data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated ...
Score Textwidth question
Joe - 22 Nov 2006 10:32 PM - 3 messages
I am rewritting a vb6 application and Iam stuch on how to replace the textwidth command.  Any suggestions? ...
Score Inherited handler problem.
kosecki - 22 Nov 2006 8:55 PM - 5 messages
Hi, I've problem with button click handler. In a short brief my program looks like this: there is form invoice with is base class for invoice_edit form. invoice form has public button "save" with modifers option set to public ...
Score Adapter Update...Syntax error
Arne Beruldsen - 22 Nov 2006 7:45 PM - 4 messages
I have a simple Access database and I'm using VB.net.  I'm getting a syntax error on the update line.  Any idea what needs to be fixed Dim CX As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & ...
Score CLS specs?
Smokey Grindle - 22 Nov 2006 7:32 PM - 2 messages
Is there a good explination of what would cause a CLS warrning in .NET 2.0 out there anywhere? like list of reasons and examples of what cause an object or type to not be CLS complaint? thanks! ...
Score Restart a Sub and keep loop going
Jay - 22 Nov 2006 7:03 PM - 6 messages
In a sub procedure how do I recall/restart the sub and maintain the position in a loop? Eg (this doesnt work how I need it to work)... sub Get_Language() 'code here to prompt the user to do something '... dim i as integer ...
Score helpfiles and vb.net 2003
JR - 22 Nov 2006 6:58 PM - 4 messages
Hi, I need to add contect help in my application. in the paste I used vb6 and shalom helpmaker. that worked fine contectid was the same as the pagenumber Now with the helpprovider i can't figer it out how to do it. almost no ...
Score A Modest Question
Tim Patrick - 22 Nov 2006 6:44 PM - 9 messages
Friends and MVPs, I have enjoyed taking part in these public forums. For years I lurked on the sidelines, scavanging the technical information I required for my own projects. Perhaps my own fear of making mistakes kept me from participating. ...
Score get values from asp pass to batch file !!!
Ahmad Sabry - 22 Nov 2006 6:27 PM - 9 messages
Dear Sir, i'm new to asp.net i'm looking to How to get values (Variables) pre Declared in web form & pass it to a batch file coz i've to get this values to be added to the batch file to Automate the ...
Score Need to create link between DataSet tables to show matching records
mike11d11 - 22 Nov 2006 5:49 PM - 7 messages
My program has to tables in it.  One is the Accounts table with all personal information and then there is also my Memos table with all the notes for each account.  My program displays one record at a time for ...
Score Hiding header on datagrid
reidarT - 22 Nov 2006 5:41 PM - 2 messages
I have 2 datagrids When I select a line in datagrid one, the second datagrid is filled. How do I hide the header in datagrid two until it is filled reidarT ...
Score Quick question about Vista....
Robinson - 22 Nov 2006 5:36 PM - 3 messages
Will Vista come with file system transactions, or was this only a consequence of the now not-shipping winFS?   i.e. will I be able to: Try     FileSystem.BeginTransaction()     File.Delete ( myFile )     File.Copy ( fileA, fileB ) ...
Score Is VB.NET Stable??
Tony Van - 22 Nov 2006 4:46 PM - 20 messages
I'm using Version 8, learning the language and writing some code. It seems every session, especially when programming Crystal Reports, the program stutters and sends a message off to Microsoft.  Sometimes I've lost code, other times the system ...
Score Simple Data UPdae Question
Arne Beruldsen - 22 Nov 2006 4:28 PM - 7 messages
I have a very simple Access data base.  No new info is going to be added...the only changes are to existing fields.  I have 2 tables both with one row each.  I'm using vb.net. ...
Score Odd databinding behavior
Ben R. - 22 Nov 2006 4:19 PM - 12 messages
Hi all, I’ve got a databinding inquiry. I’ve got a very simple example: a VB.Net winforms app, with 3 components: 2 textboxes, and a button. Here are the handlers:     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As ...
Score create a keystroke logger
Steve Y. - 22 Nov 2006 3:15 PM - 26 messages
I've been asked by senior management to create and deploy a keystroke logger application (log to a local or network folder).  Active directory already blocks the target users from opening task manager (they won't be able to see ...
Score newbie: releasing memory (if necessary?) with WMP SDK embedded in WinForm?
Keith - 22 Nov 2006 2:59 PM - 2 messages
Using 2005 VB.net express; I've also downloaded WMP SDK and put a single WMP player control on my (Windows application) form. I'm going to be playing multiple AVI videos in the WMP control, using other controls on my form to select which AVI file is "loaded" (associated) with ...
Score Wrong Margins - How To ?
Antonio Paglia - 22 Nov 2006 2:38 PM - 2 messages
On VS2005: I define my own print document class like this Class MyPrintDocument     Inherits PrintDocument     Private Sub PrintDocumentPrinter_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles Me.PrintPage         e.Graphics.DrawRectangle(Pens.Black, ...
Score Why must I cast when I put type safe generic objects in the combo box?
dmac - 22 Nov 2006 11:47 AM - 5 messages
Below is some really simple code - its just a trivial class used to populate a combo box from which I want to pull out one of the properties of the selected object. I am just curious to know why - or ...
Score Exception handling, Retry, Resume Next
Adil Akram - 22 Nov 2006 11:11 AM - 7 messages
There are situations where you want to retry/rerun the same code again (if user wants) for unlimited times for a particular exception thrown. For example in situations like there's no CD in the drive or some file is locked ...
Score ListView ListItems - can they be hidden?
Phill W. - 22 Nov 2006 10:44 AM - 3 messages
Is it possible, in a VB'2003 ListView control to hide specific ListViewItems? I have a ListView that I've loaded with stuff but it would be useful to be able to view these items as (a) the complete list, ...
Score CSS In .NET
Zile - 22 Nov 2006 9:37 AM - 3 messages
How to add css in asp.net 2.0 aplication. On label control I have some property named CssClass, but if I add some class name, it doesn't work. How to add css class for label control? Thanx ...
Score Automatic Form Fill in
Anil Gupte - 22 Nov 2006 9:16 AM - 3 messages
I am playing a Windows Media File which is protected by their DRM.  I want to be able to automatically fill in the form asking for payment with my saved parameters.  Is there any way to do this?  Note, this is not on the ...
Score SQL UPDATE query help please
si_owen - 22 Nov 2006 8:34 AM - 13 messages
Hi all, I have a SQL query that worked fine in my project until it came to testing. I found that the NvarChar fields I have wont accept the use of an ' My code and query is here does anyone know how to change the query to ...
Score Help needed in using FSO's, TextStreams, etc. --- Code Review and Advice requested
Hexman - 22 Nov 2006 8:28 AM - 6 messages
Hello All, I'd like your comments on the code below.  The sub does exactly what I want it to do but I don't feel that it is solid as all.  It seems like I'm using some VB6 code, .Net2003 code, and .Net2005 code.  I'm developing in vb.net 2005. ...
Score How to uniquely identify a process?
01423481d - 22 Nov 2006 6:23 AM - 3 messages
Hi all The question is simple: How can I find out if an executable is running apart from verifying process name, path, program title etc which does not ensure uniqueness? I think classid (GUID) could help but I dont know if it is the right ...
Score Russian text output
Aleks Kleyn - 22 Nov 2006 5:24 AM - 9 messages
I use vb code to show information from SQL Server on the screen. I have Russian text in this data. Everything is fine, but when I save this information into file using code streamwriter1.write(...) But when I look into file I see text which is different from text that I ...
Score Uniquely identify a running exe?
01423481d - 22 Nov 2006 4:44 AM - 2 messages
Hi all Here is a segment of code used to find out all running processes Imports System.Diagnostics .... Dim myProcesses() As Process Dim myProcess As Process         'Get the list of processes         myProcesses = Process.GetProcesses() ...
Score How to get a form's property value from a class?
Dean Slindee - 22 Nov 2006 1:55 AM - 9 messages
I have a form whose Property value I need to get at from a class (contained in another project, same solution). Here is the form's property:    Private booIsInsert As Boolean = False    Public Property IsInsert() As Boolean ...
Score Select Data from DataGrid vb.net
Sharon - 22 Nov 2006 1:55 AM - 2 messages
hello Everyone, Is it possible to select data from the datagrid, i have a populated datagrid with three columns FirstName, LastName, Email. When the user selects one row i want the values of the selected row to be copied into ...
Score Display html string in Windows Form
Dennis - 22 Nov 2006 12:11 AM - 5 messages
Is there any way I can display an html string in a windows form or windows form control like a rich text box.  Note, I'm using windows forms, not the web.  Thanks for any help. ...
Score Debugging a COM Interop Class Library
Greg - 22 Nov 2006 12:04 AM - 5 messages
I have a very simple Visual Basic .NET 2003 class library project ClassLibrary1 configured to run an external program (in this case C:\WINDOWS\system32\wscript.exe), in the Debugging Configuration Properties Dialog Box with command line arguments C:\test.vbs. When I run the project, I ...
Score Connection string problem with sql 2000
Bob - 21 Nov 2006 10:18 PM - 2 messages
I had code to use connection strings using integrated windows security and that's been working OK for years, Now in my testing environment ( a W2k server and 4 computers on a small LAN all with fixed IP's) I had to change ...
Score How to identiy numerics in a string?
Learner - 21 Nov 2006 8:29 PM - 9 messages
Hello,    I have a situation that I need to be able to identify if there are any numerical values in a string variable that might have numerics including charecters. For instanse Dim strValue as stirng strValue  = "Inside Diameter=9" ...
Next » 2 3 4 5 6 7 8 9 10