Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
all groups > vb.net > january 2008 > threads for january 15 - 21, 2008

Filter by week: 1 2 3 4 5

BeginGetRequestStream with long POST
Posted by Tosco at 1/21/2008 9:31:20 PM
After more than enough struggling I was finally able to POST some data as explained in the example of BeginGetRequestStream. But after some succesful tests with short ByteArrays I got stuck again because it doesn't work with long strings. I didn't make any formal test, but it looks like with the...more >>


Contextual help. How can I make?
Posted by Alexander Vasilevsky at 1/21/2008 8:19:11 PM
1. How make chm? 2. How do the right section by pressing buttons f1? http://www.alvas.net - Audio tools for C# and VB.Net developers ...more >>

What are the rules for Me.DesignMode
Posted by Academia at 1/21/2008 8:11:32 PM
In a UserControl Designer.vb file I have: Protected Overrides Sub Dispose(ByVal disposing As Boolean) If Not Me.DesignMode Then MessageBox.Show("Got here " & Me.DesignMode.ToString) When I Show Designer for a Form that contains a UserControl that contains this UserControl and then ...more >>

How to easily include pre-written code
Posted by Lee at 1/21/2008 6:13:54 PM
Gang, I have written several little functions that I use in multiple utilities that I write. Everything is very simple, my use, no distribution. I want to reference this code in some common utility .bas file and then reference it/them in a VB.net project without having to copy and paste it ...more >>

TableAdapter, BindingSource and DataSet - the first record.
Posted by Hubert Wisniewski at 1/21/2008 12:28:10 PM
Hi, I have a problem with first record in my table. I put the data to the table and it's ok, but if I add second row to the table the first record is updated (and has the same value as the second row). I use the same code for three tables in my application and it works without any problem w...more >>

Controling a progressbar by its handle
Posted by Guy Cohen at 1/21/2008 10:35:02 AM
Hi all I use vb.net 2005 Lets say I have the handle number of a progress bar from program1.exe Can I change the value of the progress bar from program2.exe using this handle number? TIA Guy Cohen ...more >>

Problem inserting a GUID into an UniqueIdentifier field on SQL 200
Posted by Andrew at 1/21/2008 10:20:01 AM
Vb.net 2005 app I am looking up records in a sql 2005 database and I grab the uniqueidentifier and put it into a variable (gID) of type GUID. When I try to create a new record in a new table and link a uniqueidentifier field with variable( gID) I get the following error: operator & is ...more >>

Database Migration
Posted by PeaBrain at 1/21/2008 8:08:11 AM
Hi Guys I have a quite larger MS-Access database that I need to Migrate with its data to MYSQL for a client. Are there any good toold to do this with? How does one tackle this ? Peabrain ...more >>



Notifyicon and contextmenu
Posted by JR at 1/21/2008 4:12:17 AM
Hi, I wrote a small program with a contextmenu linkt to a notifyicon. the program has 1 problem and only with Windows XP. After hybernate mode A alway has a error message with that menu. Somewone recignised this or know a solution Jan...more >>

someone knows memory limitations in vb.net?
Posted by mata052@gmail.com at 1/21/2008 4:00:35 AM
hello guys i doing a work that is passing data from SAP BUSINESS ONE to a file in xml. i use vb.net 2005 and the XmlTextWriter but i have a problem, when im passing the information of the products(16509 records) the program stops..but nothing is wrong with the program. someone knows about some p...more >>

service monitoring
Posted by Guy Cohen at 1/20/2008 11:08:00 PM
Hi all I would like to write a vb program that senses the status of several windows services (I wrote them too) and notify in the system-tray when one of them has stopped or so... How do I monitor the services status ? Another question... Lets say this vb program can show a form with a li...more >>

Code Snippets: Using SurroundsWith
Posted by Nathan Sokalski at 1/20/2008 7:39:44 PM
I am learning how to use and write Code Snippets. I have successfully learned how to write and use Code Snippets with <SnippetType>Expansion</SnippetType> with no problem. However, I am having trouble writing/using Code Snippets with <SnippetType>SurroundsWith</SnippetType>. From my understa...more >>

Anyone recognise this coding scheme?
Posted by Rob at 1/20/2008 3:24:00 PM
I've trying to import a CSV file exported from another application but it uses some encoding scheme I've not seen before: 19/02/2007,106478,Bob Elder,Sinking Ship,Macclesfield,Cheshire,8,"Mike\'s \Rude Awakening\""""" The \' sequence is a single quote but that \Rude Awakening\"""" is a lit...more >>

ReflectPropertyDescriptor problem
Posted by Anthony Sox at 1/20/2008 2:14:46 PM
hi all, i have a client application that calls a server component to get a list/collection/array of objects that implement INotifyPropertyChanged interface. when i make changes to the object and try to udate the server i get the following error message Type 'System.ComponentModel.ReflectPro...more >>

On Error Resume Next
Posted by kimiraikkonen at 1/20/2008 1:52:53 PM
Hi, I want to find out if there's difference between "On Error Resume Next" error handler and leaving "catch" block empty in a try-catch-end try block to ignore exceptions which i don't approve of course but just needed to ask. Thanks...more >>

Write Data To File
Posted by Husam at 1/20/2008 3:36:00 AM
Hi EveryBody: How can I write a byte array to FileStream, I tried to do so and I use the following code: Dim rawan As New List(Of Byte()) Dim msg() As Byte = CType(rawan(TextBox1.Text), Byte()) Dim File_Name As String = "Winter.jpg" Dim fs As New FileStream(File_Name, FileMode.Creat...more >>

Inherited form is not present in VB 2005 express
Posted by kimiraikkonen at 1/20/2008 2:47:20 AM
Hi, There's no inherited form icon in project -> add window in order to use "inheritance picker" in VB 2005 "express". So how could i use my express edition-based apps to inherit? I hope using inheritance picker is not unique solution, any additional codes can do that eg: "inherits" statement? ...more >>

How to convert an application to a service and then install it to run when the computer boots up (before a user logs on) ?
Posted by David at 1/20/2008 2:44:51 AM
Hi: How can I convert an application written in VS2005 to a service and then install it into Windows such that it will run when the computer is booted (before a user logs on) ? Dave ...more >>

sloppy programmer: how to minimize module level scope varialbles
Posted by David at 1/20/2008 1:31:07 AM
I've always been in a hurry to write programs and I always end up writing alot of variables at the module level. Stuff that only needs to be in a procedure I will only define in a procedure but if several procedures need access to those variables that is when they end up at the top of my modu...more >>

Parent and child forms
Posted by Teo at 1/19/2008 7:09:59 PM
Hi!! I created a form that I already set as IsMdiContainer to True. How can I tell each new form I create to work under the container form without having to declare the aboutfsm.MdiParent = Me login.MdiParent = Me NEWPILOT.MdiParent = Me to every single form I create. Any su...more >>

VBA code/style equivalent
Posted by John at 1/19/2008 6:02:59 PM
Hi I am synchronising one access db with its master via the below code; Dim dbSynch As DAO.Database Set dbSynch = DBEngine(0).OpenDatabase(<path local>) dbSynch.Synchronize <path remote> dbSynch.Close Set dbSynch = Nothing How can I do this in vb.net/ado.net? Thanks Regards ...more >>

Checking for table existence
Posted by John at 1/19/2008 5:56:52 PM
Hi How can I check for existence of a certain table by name in and access database and if the table exists find the number of records in it? I guess I can access this information by setting up a dataset for the database but I am wondering if there is a quick way to find this. Thanks ...more >>

What file should the New sub be put into?
Posted by Academia at 1/19/2008 3:01:23 PM
I believe that with VS2005 if I don't include sub New it is somehow added but not visible. But if I need a New with arguments or if I have to insert code into New I can write my own. Should it be put into the .designer.vb or into the .vb file? If you recommend putting it into the .vb f...more >>

System.Windows.Forms.Screen.AllScreens
Posted by Allen at 1/19/2008 2:45:58 PM
How to force System.Windows.Forms.Screen.AllScreens to update when attaching an additional monitor? Form1 is Loaded and runs the following upon detection of additional monitor: Dim Screens() As System.Windows.Forms.Screen Screens = System.Windows.Forms.Screen.AllScreens MsgBox("SWFSAsLengt...more >>

I can replace the text that is between "*" and "*" in a text file?
Posted by alexvorn2 at 1/19/2008 11:48:07 AM
Hi! I use VB 2008 and I want to ask you how I can replace the text that is between "*" and "*" in a text file? If text file contains this: *dog* *cat* *bird* *lion* *something* .....end of file.... I want that the code will replace *dog* with *animal*, ...more >>

Countdown Label display Double Integer
Posted by screechyboy@googlemail.com at 1/19/2008 5:52:43 AM
Hi, I have used the Timer control to count down from 60 - 0 and display it in a label on my form. I would like 0-9 to be double integers so 01, 02, 03 etc but cant figure out how to do it. Any help greatly appreciated! Steve...more >>

Setting Application.ProductName in design mode
Posted by Water Cooler v2 at 1/19/2008 3:23:33 AM
How do you set Application object properties in design mode? I am doing a WinForms app using v1.1 of the framework and VS.NET 2003. In VB6, there used to be an App object and you could easily set its properties in Project->Properties menu in the VS 6.0 IDE....more >>

what all versions of .net framework support COM isolation (.manifest files)
Posted by DR at 1/18/2008 6:44:14 PM
what all versions of .net framework support COM isolation (.manifest files) ...more >>

access folder at another computer with automatic Windows authentication
Posted by Andrius B. at 1/18/2008 4:27:56 PM
Hi. I am writing an app, whitch has to access a database, located on another computer (Intranet). Let's say, the computer where the app is to be installed, is "Computer1". The computer with the database is "Computer2", and the full path to needed database is "\\Computer2\AppFolder\mydata.mdb"...more >>

How to get Isolated COM Activation (Registration-Free COM using a .manifest file) to work on Windows Server 2003, Enterprise x64 Edition?
Posted by DR at 1/18/2008 3:59:23 PM
How to get Isolated COM Activation (Registration-Free COM using a .manifest file) to work on Windows Server 2003, Enterprise x64 Edition? The Isolated COM examples work on my Windows XP Pro but not on Windows Server 2003, Enterprise x64 Edition. On Windows Server 2003, Enterprise x64 Editi...more >>

Need Ideas for Storing Time Clock information.
Posted by Charles May at 1/18/2008 3:42:40 PM
Anyone have a simple concept for the best way to store timeclock information in a database. I currently have my table set up like this with a typical daily entry. tcID empID Type Date Time 1 37 'Clockin' 1/18/08 7:45:39 AM 2 38 ...more >>

deployment App
Posted by JFB at 1/18/2008 2:14:54 PM
Hi All, I have done my little vb.net 2005 app, it includes a dll as reference. How can I deploy my app? How can I include my dll? Thanks JFB ...more >>

update dbase file with function
Posted by JFB at 1/18/2008 10:35:26 AM
Hi, I have a connection to a dbase IV file using oledb. I wan to do an update to a field using a vb function passing two parameters. These 2 parameters are fields from the same table. What is the sintax to do this? Thanks JFB ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Sourc...more >>

Image cropping using mouse events
Posted by kimiraikkonen at 1/18/2008 9:33:18 AM
Hi, I want to crop and save specified image area which is in a picturebox with freehand using cursor, using mouseDown, mouseUp and mouseMove events. How can crop an image with freehand (using mouse events of course) within a picturebox control? Thanks...more >>

single connection string for two connection
Posted by clara at 1/18/2008 9:22:02 AM
Hi all, I hope it is not a whim.Is it possible to connect to two database servers on a same machine using a single connection string? If you fingure it out, could you write the code in VB in your respondence? In my application, the connection to the database should be provided in the follo...more >>

Printing to various network printers...
Posted by Alex at 1/18/2008 7:28:22 AM
Hi, I'm writing an app to run on a server, hopefully autmated, and every 5 minutes it needs to hit a database and if any new records have been entered, print the record to a printer depending on certain criteria. I'm not sure if I'll handle timing through the app or through Windows Scheduler....more >>

Profiler? CPU Usage per function?
Posted by Julian Moorhouse at 1/18/2008 6:00:56 AM
Hi, I'm trying to analyse my vb.net program which is going to do some processing on a web server. I'm using vb.net 1.1 My ISP says he will kill my program if it uses 100% cpu usage for a more than a few seconds. I've tried the CLR Profiler and another free profiler, but none show CPU Us...more >>

Generate Poisson random variable
Posted by Ardeshir at 1/18/2008 5:11:14 AM
I need help to generate Poisson random variable via Inverse Transform ....more >>

VisualBasic6 on Vista
Posted by Johnson at 1/17/2008 11:30:39 PM
I installed VisualBasic6 on Vista, I tried to open it, but vb pop-up a window, it said "MSVBVM60.DLL" can't register, how can I do. P.S 1.My vista is Vista Ultimate (Traditional Chinese). 2.The VisualBasic6 is Traditional Chinese Version. 3.The pop-up window in chinese : 'MSVBVM60.DLL'$BL5K!...more >>

Manipulating at lines of StringBuilder
Posted by BobRoyAce at 1/17/2008 7:42:53 PM
1) I have a variable...Dim sb as StringBuilder. 2) I assign a bunch of lines to sb. 3) I can get all the text back as a string with sb.ToString. My question is how can I programatically update the various lines in sb? For example, let's say that I want to add 2 spaces to the beginning of ever...more >>

Setup and deployment project
Posted by fniles at 1/17/2008 4:42:19 PM
I am not sure if I post this issue at the correct newgroup. If I need to post it somewhere else, please let me know what is the correct newsgroup for this. I am using VB.NET 2005 and I create a "setup and deployment" project. When I use this installation to install on a user's machine, how c...more >>

VS2005Express: Deployment in a windows domain
Posted by Dirk_Drexlin at 1/17/2008 3:52:52 PM
Hi, I am new to VS and I have written a windows application that works fine on my development computer. I would like to install this application on a few computers in our windows domain so that the users don't have to install anything. I have tried ClickOnce, but it appears to me, that a wh...more >>

List(Of ChildType) Cannot be converted to List(Of BaseType)
Posted by DippyDog at 1/17/2008 3:38:30 PM
My problem is the subject line. Basically, my thinking was that, given class TestSpec1 inherits from class TestBase, since I can do this... Dim tst As TestBase = GetTestObj() Function GetTestObj() As TestSpec1 Return New TestSpec1 End Function I thought I could do this.....more >>

Inheritance Question
Posted by z71mdridin at 1/17/2008 1:47:03 PM
I have three classes: Public MustInherit Class Animal Public MustOverride Function speak() As String End Class Public Class dog Inherits Animal Public Overrides Function speak() As String Return "Bark" End Function End Class Public Class cat Inherits Animal ...more >>

vshost.exe and debugging
Posted by William LaMartin at 1/17/2008 1:10:09 PM
I have Visual Studio 2005 installed on both a desktop computer and a laptop computer. Everything is fine on the desktop machine. On the laptop if I either create a new VB.Net project or try to use a previously created one, I have a problem with debugging. The debugging process appears to s...more >>

A request from lazy newbie - Web app util
Posted by Bill Nguyen at 1/17/2008 10:56:07 AM
I am looking for a util that can do a simple task: Execute a query to pull data from an SQLserver database then send it to a wenform (HTML page). If this not possible, please help give me some example on how to do it myself using VB.NET 2005. Thanks Bill ...more >>

(newbie) standalone app design criteria?
Posted by Keith R at 1/17/2008 9:58:33 AM
This post was triggered by a post of Wendy Elizabeth a few days ago, which got me thinking. I still consider myself a newbie (hobby programmer, basic stuff only) so this is really a conceptual question. I'm posting in this group because I only have experience with VB (some simple 2003/2...more >>

Tab control and table relationships
Posted by EManning at 1/17/2008 8:21:00 AM
I'm a newbie to VB.Net so I hope I'm using the right terminology. I'm in the process of converting a faculty database from Access to VB.Net (2005). I have one table for general information and many tables related to it by a one-to-many relationship on an ID field. Looking at the dataset's x...more >>

Best way to implement classes that are related as one-to-many
Posted by BobRoyAce at 1/17/2008 8:07:58 AM
Let's say that you have two entities: Franchises and Franchise Owners. Since a Franchise can have multiple Franchise Owners associated with it, and a Franchise Owner could be associated with more than one Franchise, I created three tables: Franchises, FranchiseOwners, and FranchiseFranchiseOwner...more >>

System.MissingMethodException when calling Private constructor
Posted by Rob Blackmore at 1/17/2008 6:16:29 AM
Hi, Can anyone advise how to call a private constructor using reflection? I currently get the above error which is rectified by changing the New() to Public from Friend but I ideally wish to leave it as Friend to prevent it being created outside of this project. Thanks in advance Rob...more >>

sql question
Posted by Guy Cohen at 1/17/2008 4:14:00 AM
Hi all Lets say I have columns: c1 d1 c2 d2 c3 d3 Cx are integers Dx are dates I want to select one from the C columns where their D column is the latest e.g. c1 d1 c2 d2 c3 d3 1, 01/jan/2008 ,5, 02/jan/2008 ,10, 10/jan/2008 4, 01/jan/2008 ,NULL,NULL,NULL,NULL Select from table t sho...more >>

ANN: .NET Framework Library Source Code now available
Posted by Thomas Scheidegger at 1/17/2008 12:39:19 AM
..NET Framework Library Source Code now available <URL:http://weblogs.asp.net/scottgu/archive/2008/01/16/net-framework-library-source-code-now-available.aspx> Configuring Visual Studio to Debug .NET Framework Source Code <URL:http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-...more >>

List Colors At Runtime
Posted by Derek Hart at 1/16/2008 5:10:03 PM
How would I list colors at runtime for System.Drawing.Color - I want to give the user a list of choices at runtime, such as System.Drawing.Color.AliceBlue (as an example of one color). I could recreate this list in a database table and pull from it, but is there a way to do this in code, to...more >>

right click a tree node
Posted by Smokey Grindel at 1/16/2008 3:31:42 PM
Is there any way to be able to right click a tree node and make sure that the selected node is the one you right clicked? Right now I can select a node then right click a different node and the previous node is the selected one... any work arounds for this? thanks! ...more >>

Burn VB2008 on a CD?
Posted by Academia at 1/16/2008 2:57:30 PM
I have a computer at home with a (slow) dialup connection and a computer at school with a fast connection. I want to go there (it is not close) and down load Vb2008 express, burn it into a CD, bring it home and install it on my home computer. Someone told me it can't be done. Is there a...more >>

fastest searchable datastructure?
Posted by Pieter at 1/16/2008 2:20:36 PM
Hi, I need some type of array/list/... In which I can store objects together with a unique key. The most important thing is performance: I will need to do the whole time searches in the list of given keys. Which datastructure will be best suited for this? A Hashtable? The list may contain u...more >>

DataGridView and RowIndex
Posted by hngo01 at 1/16/2008 1:57:00 PM
All, I have 2 questions: 1 - i am using DataAdapter to fill my dataset and then feed my dataset to my Datagridview to display data on my form. Why it takes little slow to display about 10,000 records? 2- From that DatagridView, i double click to go to my record detail...When I finished ...more >>

Creating a Recent Files List
Posted by Anil Gupte at 1/16/2008 1:09:36 PM
I got as far as this; Private Sub PopulateRecentFilesList() For Each item As String In L3G.RecentFilesList mnuTopFile.MenuItems.Add(item, New EventHandler(AddressOf menuItem2_Click)) Next End Sub But how do I pass the actual file name to the event handler? And also, am I doing the...more >>

ApplicationEvents - StartupNextInstance Issue????
Posted by dotnetme at 1/16/2008 12:41:01 PM
VB.net (VS 2005) I have an application using single instance setting in "My Project", Having some issuses with code I put in "StartupNextInstance" in "ApplicationEvents"... What works is if I minimize the running application and then try to start a 2nd instance of the application if it wil...more >>

writing to a file?
Posted by Jason at 1/16/2008 12:31:07 PM
How would I write data to a file? For example a .Doc file? Say I have a form that has textboxes: txtname, txtaddress, txtphone then I want to create a file that would be simple and look like this: FORM INFORMATION: Name: "contents of txtname" Address: "contents of txtaddres" Tel: "...more >>

My application takes up 1.5GB of memory in release mode, but only 370mb in debug mode...why?
Posted by John Sheppard at 1/16/2008 12:29:46 PM
Hello all, I have an application written in VB.Net that comsumes a webservice. We are having issues with speed. I have not ruled out a webservice problem, and this was my first guess. However when running through my application in release mode the application's (assemblyname.vhost.exe) mem...more >>

Email Programming using System.Web.Mail
Posted by Ed Bitzer at 1/16/2008 12:19:49 PM
I have been able using the namespace System.Web.Mail and its method Smtp.mail.send to mail simple text messages to a small group within our 55 and older community. I need help expanding the programs capabilities. Searching this forum I did not find any related information so if I have chosen po...more >>

C# / VB.NET inline namespaces, how can I do: New System.Windows.Forms.MessageBox?
Posted by jdlwright@gmail.com at 1/16/2008 11:21:56 AM
Hi, if someone could answer this please I would be grateful - I have looked online but can't find the answer. In C# I can do this for example m = new System.Windows.Forms.Form() but of course in VB.NET the same would be wrong m = New System.Windows.Forms.Form() because of the default...more >>

Parse Input
Posted by Mythran at 1/16/2008 9:58:51 AM
I have a console app that accepts input from the user. This input can be a command for the application, or a mathematical equation/formula. Currently, I'm using a trick I found on the Internet that creates a dynamic JScript assembly, loads it, which I then send any non-commands the user ente...more >>

Vb.net Application wont execute Setups..help!
Posted by ngeluis@gmail.com at 1/16/2008 2:08:21 AM
I all, this is my first time that im using google groups so i dont know how it work.. but i'm going to try anyway :P I have build a application on Vb.net 2005 Framework 2.0. That application is for installing a setup of my company on many Notebook of our client's. So like many of you may k...more >>

i like this group
Posted by meetme.sonaliya@gmail.com at 1/16/2008 12:50:57 AM
i like this group very much...more >>

HttpWebRequest does not detect new Vversion of remote file
Posted by Thomas Weise at 1/16/2008 12:23:50 AM
My app looks frequently onto a WEB page to check if a newer version is available. My code looks like this: Private Sub ReadHtmlFile() Dim hwRequest As HttpWebRequest Dim hwResponse As HttpWebResponse Dim srUpdate As IO.StreamReader hwRequest = CType(WebR...more >>

VB counterpart to C# static constructors?
Posted by Siegfried Heintze at 1/15/2008 11:48:02 PM
Can one declare static constructors in VB like one can in C#? In C#, static constructors execute once before any instances have been created. Thanks, Siegfried ...more >>

Why can't check event instance is nothing?
Posted by Patrick at 1/15/2008 10:16:01 PM
In C# I can check whether an event instance is nothing or not public event SomeEvent SomeClickEvent; if (SomeClickEvent != null) { } But when I do this in VB it returns an error message Public Event SomeClickEvent As SomeEvent If Not SomeClickEvent Is Nothing Then End If Error ...more >>

How to specify the type for XmlSerializer?
Posted by Siegfried Heintze at 1/15/2008 7:19:45 PM
Below is a program I'm translating from C# to VB. The C# version works. I don't understand how to specify the type on line 55. XmlSerializer wants a type and I tried to follow the example at http://msdn2.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.aspx but it is still ...more >>

how to pass by const reference?
Posted by Siegfried Heintze at 1/15/2008 5:07:31 PM
Why does VB.NET V2 force me to pass by value for my set function? When I try to change it to const byref it gives me a syntax error. It seems very inefficient to be passing strings around by value when a reference to a constant string object will do fine (all we are going to do is copy it). In...more >>

.Select function in a dataset question
Posted by fniles at 1/15/2008 5:03:43 PM
I am using VB.NET 2005 and Access. In my Access database I have a table called Test with 3 columns (id, col1 and col2). I have a query called "qtest" as "SELECT test.id, test.col1, test.col2, col1-col2 AS x FROM test" In VB.NET I run the query as "select * from qtest order by x desc" The res...more >>

RejectChanges on databinding control
Posted by inadsad@hotmail.com at 1/15/2008 4:51:53 PM
Hi Group, I have a form with textboxe, maskedit controls including two buttons (Add, Cancel). Controls are bound to a dataset as follows: txtName.DataBindings.Add(New Binding("Text", dDatasetA.Tables("Charge"), "Name")) maskPhone.DataBindings.Add(New Binding("Value...more >>

Call up application from context menu (on multiple selected files)
Posted by Gary at 1/15/2008 4:29:15 PM
Hi all, I am writing an application which will intake arguments of filenames for processing: e.g. MyApp.exe "C:\abc.txt" "C:\def.doc" - then, MyApp will process the 2 files by parsing the 2 arguments - the retrieval method used is My.Application.CommandLineArgs ...more >>

Know which dynamically added control was clicked
Posted by Charles May at 1/15/2008 3:41:43 PM
I have a form that creates a button for each employee in the database. I have added the click handler and have this working. The buttons contain the employee's name for their respective .Text and I have included a number in the tag field. My problem is now, finding out which button is being cl...more >>

How to print versions of vbc and .NET Framework and OS?
Posted by Siegfried Heintze at 1/15/2008 2:49:51 PM
Can someone point me to an example of a little program that will display (1) the version of vbc used to compile the program (2) the version of .NET framework I am running on ? (3) the version of the OS (and which OS) I am running? Can this be a portable program that will run everywhere: even...more >>

How to use /define?
Posted by Siegfried Heintze at 1/15/2008 2:37:32 PM
I would like to create two versions of the same program without altering the source code. Certainly in C++ (and I believe C# too) I can say cl /D prompt or csc /d:prompt on the command line and then in the source code #ifdef prompt #endif Now I see that vbc has a /define for t...more >>

n-Tier Question
Posted by SolFrankRosen at 1/15/2008 2:07:44 PM
Thanks in advance.... I am putting together some new enhancements to an existing desktop application that uses a 3-tier solution (Data- Broker-GUI or Server-Entity-GUI). The broker is a class that makes a connection to the database using another layer that makes the actual connection ( dataAdapt...more >>

Serial Port Help
Posted by John Wright at 1/15/2008 12:36:36 PM
I have data coming into a serial port that I need to take action on. I have created a delegate to read the data from the port and put it into a text box. Once the data is read, I need to manipulate it. However, when I try to take any action on the data, I get errors. When I call the functi...more >>

Visual Web Developer questions...
Posted by Jason at 1/15/2008 12:16:54 PM
Hello, I want to write a simple program in Visual Web Devekoper, a simple webpage that has textboxes on it such as: txtName txtAddres txtPIN and then a button btnPrint when the button is pressed I want to print the data like so: Name: contents of txtName Address: contents of txtAddr...more >>

VB.net and threading
Posted by hngo01 at 1/15/2008 11:34:05 AM
All, I am developing a vb.net using threading.... I have a button to print a doc (it takes about 5-10 seconds to finish that process). As soon I click that button I start a thread and then I go to a different tab to do other stuff....But while printing it prevents me from doing other stuff ...more >>

How to parse a website in memory
Posted by Lost at 1/15/2008 10:24:23 AM
I have a program that scrapes a website. The site displays ever changing numbers in the form of a table. My program constantly checks the site to gather the new numbers and put them into an array for processing. The page of HTML that is received does not have carriage returns or linefeed cha...more >>

Error control when accessing the Registry
Posted by David Schrader at 1/15/2008 9:35:06 AM
Hello all, Let me start by saying that I'm not certain whether this belongs here, in this notes group, or another more developmentally oriented one. I'll try starting here then go elsewhere if you decide otherwise. (Already forwarded here, sort-of, from: microsoft.public.windowsnt.registry.) ...more >>

I created a Hello World webservice-published it - how to call it?
Posted by BC at 1/15/2008 8:23:02 AM
Hello, I just created a Hello World webservice in VB2005 (this is my first webservice ever). I ran it in debug mode and the page that came up said Hello World and said to change the webservice namespace from tempuri.org to something else so that the xml file could be created. I did that. ...more >>

VS2005 Strange: The breakpoint will not currently be hit. No symbols loaded for this document.
Posted by Roberto Rasto at 1/15/2008 1:02:12 AM
I can't debug a Web Application with VS2005. I can insert a brakpoint on any class, but I can't debug any page. An breakpoint on a page code results in the error: The breakpoint will not currently be hit. No symbols loaded for this document. I have searched on internet for more than 2 ...more >>


DevelopmentNow Blog