Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score help with multiple forms on asp.net 1.1 page, please
simon - 4 Feb 2006 11:58 PM - 3 messages
hello i'm building a site that i want to include a user control on the top of every page (basically a header/nav bar). in that ascx there are a few vb objects (linkButtons, labels). in order for them to be accessible to the codebehinds, i need to have ...
Score Problem Communicating Between Forms
Jasper Jones - 4 Feb 2006 11:52 PM - 3 messages
I have a main form which has a list of items from a table on my database.  If I click one of these items it brings up a second form which lets you edit the details for that item.  If I change an item's ...
Score InnerException in VB 2005
fripper - 4 Feb 2006 11:28 PM - 2 messages
I have a VB program that I created in VB .Net 2003 that I am trying to get running in VB 2005 ... LunarLander.  The upgrade wizard tells me about a few problems that I have fixed but when I try to run the prgram in debug mode I ...
Score late bound form reference
Galen Somerville - 4 Feb 2006 9:24 PM - 4 messages
In two different Form modules FFTcls.Currfrm = Me In FFTcls class module Dim CurrForm As System.Windows.Forms.Form Public WriteOnly Property Currfrm() As System.Windows.Forms.Form   Set(ByVal Value As System.Windows.Forms.Form)             CurrForm = Value ...
Score transparent backcolor
iwdu15 - 4 Feb 2006 8:59 PM - 2 messages
hi, is there anyway to get a label to have a transparent back color so i can see the form behind it? ive tried setting the color to "color.transparent" but that didnt work...any ideas? ...
Score Newbie Question 2, Reference To Controls On A Form
97T - 4 Feb 2006 8:51 PM - 8 messages
Please excuse my ignorance. In other high level languages I've played with, there were functions that let you build commands or lines of code. For instance, you could assemble a string variable, and convert it to a line of code, then execute the line of code. ...
Score Newbie Question Saving Projects
97T - 4 Feb 2006 8:27 PM - 3 messages
Sorry to ask such a newbie question, but I'm just starting out with VB 2005. I'm muddling through deep swamp, getting the program to do simple things, but I've found something Google can't help me with. ...
Score visual basic 2005 free download
Coach - 4 Feb 2006 8:12 PM - 5 messages
Hi I want to try a simple asp.net program.  if I download the free vb 2005 and the free sql, will I be able to do this? by creating a "virtual" server on my computer if that's the correct term ...
Score Some error apper to me in my declerations
Husam - 4 Feb 2006 8:08 PM - 2 messages
Hi EveryBody: I have 4 decleration for four functions: Function Next............................ Function Skip............................. Function Reset............................. Function Clone........................... Can Any body told me why I got Under line error under word Next, Also I have 4 decleration for four Subs as follow : ...
Score How to get childnodes from treeview?
juvi - 4 Feb 2006 7:45 PM - 2 messages
Hi, I am new to VB.NET and want to now, how I can get text from a childnode(i) ? Is it possible to count the childnodes from a node(i) ? Thank you....juvi ...
Score What do you think of 3rd party modeling tools?
Ronald S. Cook - 4 Feb 2006 7:34 PM - 2 messages
I'm learning DeKlarit, a RAD modeling tool that creates business and data logic to speed development.  It seems pretty cool,  but I'm just so used to writing these layers myself.  I can understand that it will speed ...
Score current working directory problem
Jeff - 4 Feb 2006 6:57 PM - 5 messages
I feel like I should have been able to figure this out but I can't seem to find any references on this topic. It seems like my current working directory is consistently a few directories up from where I am storing the file - not what I would have ...
Score taskbar icon
everett.gillert - 4 Feb 2006 5:33 PM - 2 messages
how do you add a icon to the task bar and when clicked on trigger a event this is the program im making " Set WMP = CreateObject("WMPlayer.OCX.7" ) '  vbscript Set CDROMs = WMP.cdromCollection If CDROMs.Count >= 1 Then ...
Score Report writers for VB.NET
Trimtrom - 4 Feb 2006 3:21 PM - 4 messages
Hello I am learning VB.NET and was toying with the idea of embellishing my database program with Crystal Reports to provide some data reporting facilities. I was put off by the cost of Crystal, however, and was wondering if ...
Score Problem to write a good serie of bytes in a file.
philip - 4 Feb 2006 3:05 PM - 6 messages
Here is some lines of code than I wrote. You can copy/paste theis code as code of form1 in a new project. My problem is this one : I try to write in a file a serie of bytes. BUT some bytes written in file are not the sent bytes. ...
Score Making Bitmaps and Graphics objects - two ways
**Developer** - 4 Feb 2006 2:32 PM - 3 messages
Stumbling through I find both of the following appear to work the same. I'm guessing there is a difference that I'm just not aware of. Can someone enlighten me? Thanks 'This works (4 lines) Dim TmpBitmapGraphics As Graphics = PictureBoxPic.CreateGraphics ...
Score Visual Basic 2005
Jan Steding - 4 Feb 2006 9:01 AM - 9 messages
Hello NG, i have written a programm in vb 2005 express to convert .txt into ..xls-files. now the problem ist that the target pc doesn´t allow to install dot.net fgramework 2. Missing admin rights .-/ Is there any chance for me to kompile the programm an other way with all ...
Score Additional information: Cast from string "" to type 'Double' is not valid. error
dc15 - 4 Feb 2006 4:15 AM - 5 messages
For an intro to VB project I have to write a program which takes an amount of Miles, Yards, and Inches.....and converts it to metric (KM, M, and CM) when all values are entered to the input text boxes it works ...
Score WebBrowser.DocumentText only returns 4096 characters.
annieorben - 4 Feb 2006 2:32 AM - 2 messages
I'm trying to view HTML code by examining the .DocumentText property of a web browser. But I can't get any more than 4096 characters to show up. I'm using VB 2005 Express edition. Any ideas what might be causing ...
Score Need Help with Windows Messages
Brien King - 4 Feb 2006 2:08 AM - 2 messages
I would like to allow other applications to send my application (via Windows Messages) a string and based on the content of that string I want to return an integer response. I figured I would use WM_USER and intercept that in the WndProc sub of the ...
Score PostMessage ComboBox
easoftware - 4 Feb 2006 2:05 AM - 4 messages
In my ComboBox, I am trying to post the CBN_EDITCHANGE message after the CBN_SELCHANGE is received, but I am having no luck. I can trap for the CBN_SELCHANGE message, but I cannot post the CBN_EDITCHANGE message. I think my PostMessage parameters are wrong, but I cannot find what they should ...
Score Degrees Symbol
DAL - 3 Feb 2006 11:52 PM - 7 messages
How do I add a "Degrees" symbol to my code. I don't have the symbol available on my keyboard. Thanks. ...
Score Printing using margins
tm - 3 Feb 2006 11:27 PM - 8 messages
I am trying to print a form using the following code, everything works fine but the margins are not acted upon. What I am I doing wrong? Private Sub CaptureScreen()         Dim myGraphics As Graphics = Me.CreateGraphics() ...
Score Subclassed Textbox OnLeave Overrides
Martin - 3 Feb 2006 11:25 PM - 9 messages
Hi all, I'm trying to make a subclass of the Textbox. One of the things I did there is the following: Protected Overrides Sub OnLeave(ByVal e As System.EventArgs)     If Me.DataType = 1 Or Me.DataType = 2 Then ...
Score Variable declarations.... in VB.Net
Pete Smith - 3 Feb 2006 11:22 PM - 6 messages
In my program I will be using the common structure repeatedly in a module. Ex Member.FirstName, Member.LastName.. How to declare it in one common place, so that I can create an instance of this variable and use in  sub procedure or function as local variable. ...
Score filtering data view with row filter using boolean value
Brian Henry - 3 Feb 2006 8:27 PM - 3 messages
say i have a dataset called dv and i have a boolean value i want to filter by "b_DoesWork" while the column name in the data view that i want to filter on is called "Works" how would i filter this since the rowfilter is a string? i tried ...
Score combobox displays [Namespace].[ClassName]
Matt - 3 Feb 2006 7:55 PM - 2 messages
Here is my code: lstEditEventTypes.DisplayMember = "Name.Value" lstEditEventTypes.ValueMember = "ID" lstEditEventTypes.DataSource = m_EventTypes m_EventTypes is a collection. This worked fine until I changed the Name to a propertyholder.  So, to access the name value, I have to use Name.Value.  But now my combobox just ...
Score IIS
Coach - 3 Feb 2006 7:53 PM - 4 messages
running xp home have visual studio.net sql server developer edition installed sometime ago, and managed to create a virtual network, if you know what I mean. now sql runs,  but as I want to  learn asp.net, when I try to start a new ...
Score Binary file
kate2006 - 3 Feb 2006 6:49 PM - 2 messages
I made a program that will create binary file in C language and now I want to Plot that value ( contained in Binary file ) in VB. NET !! Can anybody help me how to do that !! I dont have any experience of opening ...
Score StreamWriter and BinaryWriter (same problem better explained)
philip - 3 Feb 2006 4:12 PM - 10 messages
If I execute that :     Dim Temp as string = "This is a text"     Dim sw As StreamWriter     Dim fullFileName as string = "c:\text.txt"     sw = New StreamWriter(fullFilename)     sw.Write(temp) ...
Score StreamWriter and BinaryWriter
philip - 3 Feb 2006 3:52 PM - 4 messages
If I execute that :     Dim Temp as string = "This is a text"     Dim sw As StreamWriter     Dim fullFileName as string = "c:\text.txt"     sw = New StreamWriter(fullFilename)     sw.Write(temp) ...
Score over write running .exe
BobAchgill - 3 Feb 2006 3:42 PM - 4 messages
I am using FTP built in to my application to update the application and data from a server... What is the normal method folks use to over write the application while the program is active?  What I am running into is that the FTP code will not over ...
Score How to initiate dial up sequence
BobAchgill - 3 Feb 2006 3:39 PM - 4 messages
I need some VB .Net code that will automatically cause the user's machine to begin the dial up process to connect to the internet if no connection is found active. ...
Score Dynamic controls, menuitems, windowlist
YYZ - 3 Feb 2006 3:39 PM - 7 messages
In my program, a user can open up many different "Loans" -- each one is loaded into a dynamically created usercontrol (ucLoan) -- in order for them to be able to switch between the ones they have open, I have added a Window menu item -- just like in Word or any one of a thousand ...
Score Advice needed on programming style
Martin Horn - 3 Feb 2006 3:15 PM - 5 messages
Hi, I am looking for advice on how best to approach a particular programming situation using VB 2005 Express. Here is an example of what I am trying to do and how I have solved it. Although it works, I'm not happy with my solution so I would welcome any ...
Score some ways to do this
rodchar - 3 Feb 2006 3:13 PM - 2 messages
hey all, I'm trying to automate a download process. the file is a zip file. i'm using webclient.download to download the file. what the best way to determine if i've already downloaded this particular file? thanks, ...
Score accessing blob fileds from oracle
Chenna Sudarsan - 3 Feb 2006 2:50 PM - 3 messages
Hello, I am connecting to Oracle9.2 database from VB6.0 using MSDAORA provider. I am using ADO2.5. When I try to access a blob column of oracle I am getting the below mentioned error. -------------------- Run-time error '-2147467259 (80004005)': ...
Score Allowing access to controls from another thread
NickP - 3 Feb 2006 2:17 PM - 4 messages
Hi there,     This might sound like a stupid question but this whole exception being thrown when accessing user controls from another thread is extremely over the top!     Just looking at the index property of a listviewitem from another thread ...
Score Object reference error running exe on different machine
craig.melbourne - 3 Feb 2006 1:45 PM - 2 messages
I'm getting a strange bug with my of my applications When I build and run the app on my develpment machine all works fine. Once I move it to another machine I get a typical Object Reference error reported to the Even Viewer. ...
Score project source design question
Jon - 3 Feb 2006 12:54 PM - 2 messages
I'm trying to decide where to put some globally accessible declarations for my project. Say you have several enums, one for message types, one for email formats, one for import method, etc...things your various programs do. You obviously will have need to use these enums in the actual class that does ...
Score Open and print web document
Wendy - 3 Feb 2006 11:28 AM - 2 messages
I read Herfried Wagner's code from 12/05.  I can get the following to work to open a web page: Dim psi  As New ProcessStartInfo() With psi     .FileName = "iexplore"     .Arguments = "-new [link]" ...
Score PostMessage and Combobox
EAdolphson - 3 Feb 2006 11:19 AM - 4 messages
In my ComboBox, I am trying to post the CBN_EDITCHANGE message after the CBN_SELCHANGE is received, but I am having no luck.  I can trap for the CBN_SELCHANGE message, but I cannot post the CBN_EDITCHANGE message.  I think ...
Score Question about Control Collection in VB.net
matthew ware - 3 Feb 2006 11:11 AM - 4 messages
Hi. I've got a form and I want to iterate through the controls on it. I've tried: For intCounter = 0 to Me.Controls.Count -1 ' do something next intCounter But the Me.Controls.Count only evaluates to 5, even though there are alot ...
Score Using Named Pipes ?
Jarrod Morrison - 3 Feb 2006 10:45 AM - 2 messages
Hi All Im looking for a way use named pipes between a service app and an app run when a user logs on and be able to pass string based data, im hoping that the service can contact the app that is running in the user session and tell ...
Score Cast from string "" to type 'Date' is not valid
zafzal@gmail.com - 3 Feb 2006 9:42 AM - 3 messages
Hello all,     I have a textbox in my asp.net (vb.net) aplicattion, I need to assign it's value to a Variable of type DATE, but it's not a required field, so sometimes I want to send a blank field. ...
Score Accessing controls from another thread
Nick Pateman - 3 Feb 2006 9:17 AM - 2 messages
Hi there,     Previously in 1.1 .NET Framework if you were to access a control from another thread you would not recieve an exception by default, instead it was down to you and/or the control to prevent anything untoward happening. ...
Score PropertyBag in VB.NET?
HKSHK - 3 Feb 2006 9:11 AM - 4 messages
Hello everybody, I am trying to re-write a VB5-ActiveX-control in VB.NET. I googled for "PropertyBag in VB.NET" and found that the only way is serialization (and writing the properties into a file). Now I wonder... ...
Score Executing a DTS package
Reggie - 3 Feb 2006 8:17 AM - 3 messages
Hi and TIA.  What I'm trying to do is create a DTS package in SQL Server(2K).  What I then want to do is have my users locate the database(Access2K) file, upload the file to a virtual directory, and then ...
Score Search Arraylist in Arraylist.
Simon Says - 3 Feb 2006 7:18 AM - 12 messages
Hi all, I've an arraylist A1 that contains {0,1,2,3,4,5,9,8,7} I've another arraylist A2 that contains {4,5,9} I would like to search whether if A2 is present in A1 and maybe return the ...
Score Saving a Database to Disk
Jager - 3 Feb 2006 2:27 AM - 5 messages
Ok, I've got a program I am working on that is supposed to save all changes to the dataset to the actual database, but this doesn't seem to be working. I used the DataAdapter.Update(DataSet) method, but that ...
Score Windows Form Application Help
neilphan@gmail.com - 3 Feb 2006 1:25 AM - 3 messages
Hi Guys, I need a quick reference to Windows Application Development in dotNet. I'm fairly good at the Web Development using asp.net though i'm new to the Windows Desktop Application environment. For question would be how do you "Redirect" back and forth, from one ...
Score VS2005-VB Viewing 'Main' for MDIParent
Jon - 3 Feb 2006 1:06 AM - 2 messages
I have been reading the digital manual to find out how I can see the "main" procedure and I find this line under "Main Procedure" in the documentation: "Windows Forms applications run on their own. However, the Visual Basic compiler automatically generates a Main procedure in such an application, ...
Score unexpected split functionality - index out of bounds
Jeff - 2 Feb 2006 10:28 PM - 3 messages
Hello all! I created a successful program that reads data from a reliable tab-delimited file - or so I thought. After getting everything to work with small files, I changed the input to a larger file that was created by the same program with the same format so hopefully there shouldnt be ...
Score Integer to color
Wonder - 2 Feb 2006 10:15 PM - 3 messages
I'm pulling a value from the db that is an integer, ie 6421504.  I then want to use these value to change the color of the text.  How can I convert this integer value to a color in vb.net? ...
Score Newbie Question: How To Open A File Non-Exclusively?
Eric Robinson - 2 Feb 2006 9:54 PM - 10 messages
Hello, I want to copy files from one directory to another, but the files in the first directory are occasionally accessed by a process outside my control. Can I can open files for reading in a way that will not interfere ...
Score Command line argument in NET
hien_tran - 2 Feb 2006 9:29 PM - 4 messages
Hello, in VB6, I could pass a parameter from VB Script to the program and retrieve the argument using Command().  Please let me know if there is an equivalent method in .NET.  Thank you in advance for any ...
Score Prog execution in IDE works, fails when running exe
Bob - 2 Feb 2006 7:36 PM - 4 messages
Using Vs2003. Program runs in IDE mode, but when I run it from windows explorer double clicking on the .exe file to launch, it launches OK, but running a sub that tests exception handling gives me JIT debugging error, JIT failed with following error - Class not registered. Can't find any ...
Score Multiple result sets from Data Reader
Keith G - 2 Feb 2006 7:09 PM - 2 messages
Hi I'm using VS 2003 to create a database application connecting to an Access database through OleDb. I've used the OleDbDataReader many times to populate comboboxes or treeviews but only accessed one table at a time into the result set. No problem. ...
Score Release Memory
S Shulman - 2 Feb 2006 6:57 PM - 5 messages
Hi I am looking for ways to reduce memory consumption by the VB.NET program. I use a spell checker that consume too much memory and when it doesn't work I set it to Nothing, I then call the Garbage Collector GC.Collect but it ...
Score Drag Picturebox
Ikey - 2 Feb 2006 5:50 PM - 5 messages
I am trying to allow a user to drag a Picturebox control around the form and drop it in a new location. Currently, I was trying to use the following: Private Sub PictureBox1_MouseMove(ByVal sender As Object, ByVal e As ...
Score Iterating thru User-Defined Data Type Property
Ronin - 2 Feb 2006 5:49 PM - 3 messages
Public Structure MyDataType    dim LName as string    dim FName as string    'other procedures/methods/property statements End Structure please look at the codes above... is there any way to iterate thru the variables by using ...
Score Web Service Deployment Issues
Sathyaish - 2 Feb 2006 5:39 PM - 6 messages
I have a Web Service developed using C# and the .NET framework v1.1. When I access the DLL on the localhost, using the URL http://localhost/Folder/bin/MyService.dll it works fine. However, when I x-copy deploy the DLL and its web.config ...
Score Threading reference
Mike Eaton - 2 Feb 2006 4:16 PM - 2 messages
Hi there, Can anyone recommend a good reference (book, website, etc.) about writing multithreaded apps for VB.NET?  I have inherited some server applications that I think might benefit from thread pooling or multithreading in some fashion, but would like to get more ...
Score I digress
cj - 2 Feb 2006 2:50 PM - 10 messages
My questions are often answered by one person who has a working fix I don't really understand.  Before I do understand it someone else gives a very different fix.  Both work and both are different from the approach ...
Score Math function
S Shulman - 2 Feb 2006 2:39 PM - 5 messages
Hi Is there a ny function in VB that returns a minus figure? Receives 150 and returns -150 Thank you, Shmuel ...
Score Identifying and killing processes
_AnonCoward - 2 Feb 2006 2:27 PM - 4 messages
I want to create a program that can iterate through active processes and shut down certain applications that are running on a system. I need to ensure that these processes are not left running overnight and I can't trust ...
Score How do I open an nonmodal owned form over a mdi container ?
pamelafluente - 2 Feb 2006 12:46 PM - 7 messages
Hi guys I am puzzed (???) with a probably stupid problem (VB2003). I must be doing something dumb ... I want to open a owned form (must *not* be mdi child) over an Mdi Container, when the Mdi container starts. I have a small demo program made of: Form1, Form2 (empty) and a ...
Score Thesaurus & internationalisation
Griff - 2 Feb 2006 11:41 AM - 5 messages
Hi I am writing a web application (visual basic language) that must be multi-national.  I know that I can handle different languages using resource files. However, I need to extend this application to handle a Thesaurus.  By this, ...
Score How do one delete index.dat?
Lars Netzel - 2 Feb 2006 11:01 AM - 4 messages
It's said on many pages that you cannot delete the index.dat files on the computer manually in Windows XP and that you shoudl then buy and use programs that they also provide liks too... how ever.. since these programs ...
Score Obfuscation
..:: Kevin ::.. - 2 Feb 2006 10:11 AM - 4 messages
Is it possible to perform obfuscation on code automatically as part of a build in Visual Studio 2003? For example, instead of building code in release mode, is it possible to create a custom build configuration that will build the code in release mode ...
Score how to get the Process Username with runas /netonly
MS MVP ??? for VB.NET - 2 Feb 2006 7:41 AM - 2 messages
Dear all, I am trying to get the Process UserName by using System.Enviorment.Username, I have no problem by normal "run" and by "runas". I can get the process Username with correct value. However, I try to use "runas /netonly" to ...
Score Select Case and If Then Decisions
DAL - 2 Feb 2006 7:31 AM - 4 messages
I have a list of items in a list box and have used the Select Case decision structure to add names to a label when a selection is made. How do I use an If Then decision structure to concatenate two selections in different ...
Score writing function for permutation
dave - 2 Feb 2006 6:04 AM - 2 messages
Hi There Can anyone help to write permutation function for following formula.. nPr = n!/(n-r)! where n is length of given string and r is lengh of subset.. for example..if given string is "abcd" and r = 2 then out put shuld be ...
Score AlternatingItemStyle color question
simon - 2 Feb 2006 5:22 AM - 4 messages
hello, i have a datagrid, i've set the "header" row to have a white background with <HeaderStyle BackColor="#ffffff"></HeaderStyle> and want the color of the data rows to alternate between a color and white.  so i have added ...
Score Interview Questions Feb 01 2006
Jobs - 2 Feb 2006 3:58 AM - 7 messages
What's difference between thread and process? A thread is a path of execution that run on CPU, a process is a collection of threads that share the same virtual memory. A process has at least one thread of execution, and a thread always run ...
Score Generating a WSDL for your Web Service
Water Cooler v2 - 2 Feb 2006 12:19 AM - 5 messages
How do you create a .wsdl file for a Web Service you are developing using Visual Studio .NET 2003? ...
Score Detect version of .Net (not in a Setup project)
Saber - 1 Feb 2006 11:02 PM - 3 messages
To detect if .net framework is installed or not on client's computer, and if yes, what is its version, I found an article: [link] But it can be done in a Setup and Deployment project, my program doesn't ...
Score Need help with OLEDB query expression
Terry Olsen - 1 Feb 2006 11:01 PM - 3 messages
I need to get information from 3 tables in an MDB file. I need all the columns in the first table. I need 2 columns in the 2nd table where it's primary key matches a column in the first table. ...
Score Exemple needed to reorganize nodes(treeview) with mouse (change Nodes order)
Marc R. - 1 Feb 2006 9:40 PM - 5 messages
Hi all, I won't ask an complete example here but some good links for that issue would be perfect. (the I will only need to do the save function to save the current position of the nodes) Thanks in advance. ...
Score Security/Permission issues with Citrix and VB.Net
Jason - 1 Feb 2006 8:54 PM - 2 messages
I recently inherited a VB.Net app that now needs to be deployed on Citrix 9.1. As far as I can tell (I am new to VB.Net from VB6) there is nothing in the app code specifically accessing the C drive, but my ...
Score string to double try parse ---decimals lost
Clarkie - 1 Feb 2006 8:28 PM - 4 messages
Hi! I have a string that I try to convert into a double         Dim dblOrgAmount As Integer         Dim sLine as string         Dim blnSuccess As Boolean ...
Score XP 64 and VS 2003
mark - 1 Feb 2006 7:11 PM - 2 messages
I will soon be replacing my computer with a new one running XP 64. I use Visual Studio 2003 and I expect to have problems. Do I need to upgrade to VS 2005 to write 64 bit applications? Do I need to have a 64 bit version of the dot net framework installed? ...
Score dynamic graphic
JFB - 1 Feb 2006 6:50 PM - 2 messages
Hi All, I wonder if it's a way to incorporate a dynamic graphic in my vb.net 2003 app like when you copy files on windows. I want to use someting like this instead of progress bar. Tks in advance ...
Score TimeOfDay adds 1/1/0001 to the Time value?
Rich - 1 Feb 2006 6:43 PM - 7 messages
Hello, I have a label in my app where I display time from a Timer contol like this: Private Sub Timer1_Tick(...) Handles Timer1.Tick     lbl_Time.Text = TimeOfDay.ToString End Sub The display is 1/1/0001 10:00:01 AM ...
Score Format Problems
Buc - 1 Feb 2006 6:05 PM - 6 messages
Can someone help me on a format problem. I am trying to do this.. format a string to a number. The string has a number with a colon in the middle. Format("1:30","00:00") returns 00:00 instead of 01:30 ...
Score support@keyoti.com
S Shulman - 1 Feb 2006 5:59 PM - 2 messages
Hi I notices that the program takes an enormous amount of memory. there anything to do about it? Shmuel Shulman SBS Technologies LTD ...
Score .NET EventArgs
TrtnJohn - 1 Feb 2006 5:27 PM - 3 messages
I understand how .NET standardizes event arguments by passing Sender and an EventArgs class.  But I have a bunch of old translated VB6 code that has a bunch of events such as: Public Event Click() These old style events do not conform to the standard .NET convention.  ...
Score utility to count code lines?
tommcd24 - 1 Feb 2006 5:10 PM - 5 messages
Does anyone know of a utility or VS add-in to count code lines in a project or solution? I just had to provide 50 pages of code for copyright and had initially thought that would be nearly the entire ...
Score Program not ending???
cj - 1 Feb 2006 4:52 PM - 28 messages
I run this program and to exit click the X in the upper right corner. But apparently it isn't really ending the program.  If I return to VB and make changes then try to rebuild the app it says the exe is still in ...
Score Optimizing a Factory Pattern
Smith.Eric.sNO_SPAM@gmail.com - 1 Feb 2006 4:16 PM - 3 messages
I'm looking for some advice from more experienced .netters.  I would like to use a Factory Pattern that accepts an ID number and returns an object.  As I may have a large pool of objects to choose from, I'm ...
Score Picture box will not show picture
cj - 1 Feb 2006 3:56 PM - 3 messages
How can I get the picture to show?  They're .jpg files. For Each File As System.io.FileInfo In FileInfo    Label1.Text = File.FullName    PictureBox1.Image.FromFile(File.FullName)    Application.DoEvents()    System.Threading.Thread.Sleep(2000) ...
Score DatagridviewComboboxColumn
philip - 1 Feb 2006 3:39 PM - 4 messages
I have a datagridview with some columns. One of them has been declared as a DatagridviewComboboxColumn The datasource of this column is a table of an Access Database. There is 13000 lines in this table, but only 3 fields. In runtime, when I click on this column, the combobox is very long to open, ...
Score MsgBox error
Matthew - 1 Feb 2006 2:58 PM - 2 messages
VB.NET 2003 I created a new project, and placed one line on form load: MsgBox("test") I get this error: An unhandled exception of type 'System.ArgumentException' occurred in microsoft.visualbasic.dll Additional information: Argument 'Title' cannot be converted to type ...
Score Where can I find Interop.MAPI.dll
Philip Wagenaar - 1 Feb 2006 2:52 PM - 9 messages
I need Interop.MAPI.dll for a project, but where can I find this file? ...
Score Data types
Steve Peterson - 1 Feb 2006 2:16 PM - 3 messages
I'm really curious on something. I just jumped to the 2005 platform and I noticed something using the code snipplets. I have up to now been declaring my variables and properties with Int64, Int32, Int16. However, I notice that ...
Score Shutdown a list of computers using VB.net
newsgroups.jd - 1 Feb 2006 1:46 PM - 4 messages
Im sure there is a better way to do this - just posting what I did to get it to work. Please feel free to comment with suggestions - this was my first vb.net program and I am not a programmer, so im sure it has room for ...
Score Waht is the fastest/bets? Outlook Object/CDO/Redemption/...?
Pieter - 1 Feb 2006 1:22 PM - 3 messages
Hi, I'm using a thight integration with Outlook 2003 (with an Exchange server) in my VB.NET (2005) application. Until now I'm using the Outlook Object Model, but it appears to be very slow, and has some problems: ...
Score Q: DataGrid Select
Geoff - 1 Feb 2006 12:07 PM - 5 messages
Hi Can anybody tell me how to prevent multiple selections of rows in a datagrid? Also, can anybody tell me if the following are available in the latest version of the DataGrid i.e. in visual studio 2005? Auto column width i.e. the width of the column is set according to the data ...
Score Calling all (any?) NDoc'ers
Phill W. - 1 Feb 2006 11:04 AM - 2 messages
I'm still having trouble trying to generate MSDN-style documentation for the classes and controls I've written and, because traffic in the SourceForge forums seems to have completely dried up, I thought I'd cast my net (sic) ...
Score Need equivalant code in VB.Net 2005 ?
Luqman - 1 Feb 2006 8:53 AM - 5 messages
In VB-6, I have put my field names in DataField Property of Textbox for Tag Purpose. In code, I use it as under:- for each control in me.controls if typeof control is textbox then myrecordset.fields(control.datafield).value=control.text ...
Next » 2 3 4 5 6 7 8 9 10