Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score "Data Dictionary" for database updates
joe.kimbler - 3 Mar 2007 11:58 PM - 3 messages
What is the best way to handle updates in databases with each release of a software package?  I used to work on an accounting package in FoxPro that had a "Data Dictionary" and as your code required changes to the database per release, you'd update the Data Dictionary. ...
Score Parameter Passing from VB .NET to a DLL function (in C++/CLI)
vijay.gandhi@gmail.com - 3 Mar 2007 11:42 PM - 2 messages
Hello, I have created a function in C++/CLI which was exported as a .DLL to be used in VB .NET. I have been having some problems (I think it has to do with the right syntax) with parameter passing across the ...
Score Developing Stand Alone Apps in VB
David S. Zuza - 3 Mar 2007 9:49 PM - 8 messages
Does anybody know if it is possible to develop stand alone vb2005 apps that require no install and could be run from a flash drive or cd? If so I am trying to figure it out. thanx in advance. ...
Score VB 2005 dll in VB 6.0
IVK - 3 Mar 2007 7:57 PM - 2 messages
Hello, I am looking to develop a project in VB which must be integrated with VB 6.0 which is already existing. If I develop the new project in VB 2005 will I be able to add the DLL's of VB 2005 project in VB 6.0 ...
Score Column does not allow nulls when saving
John - 3 Mar 2007 6:05 PM - 6 messages
Hi I have a vb.net winform data app with sql server 2005 backend. The ID field in the tblClients table is an 'int' identity column that does not allow nulls. The problem is that when I try to save the record using the below ...
Score graphics.drawstring
billsahiker - 3 Mar 2007 2:35 PM - 5 messages
There is a code example in the MS Training Kit for the Framework 2.0 test that does not seem to work. The example has just three lines of code, but does not indicate where to put the code, so I put it in the ...
Score Application form size
John - 3 Mar 2007 5:49 AM - 7 messages
Hi I am just wondering what should be the size of forms these days for a winform app to cover general user population, 800x600 or larger? Thanks Regards ...
Score Using the Of keyword with the VB.NET Collection class
Nathan Sokalski - 3 Mar 2007 1:32 AM - 6 messages
I was trying to use a code sample from a book I bought (.NET Gotchas by O'Reilly, author = Venkat Subramaniam). The line of code I am trying to use is the following: Dim coll As New Collection(Of Double) ...
Score API in vb.net - OpenInputDesktop and GetUserObjectInformation
andrewbb - 2 Mar 2007 11:54 PM - 3 messages
I'm trying to find the SID of the user who owns the desktop, but the SID that's returned isn't recognizable.  Is it a problem with the declaration/marshaling? The SID that's returned is:  130000055000000010620300  which isn't ...
Score Is there builtin to get C:\Document&Settings\Username\startmenu..P
Rich - 2 Mar 2007 11:16 PM - 3 messages
Hello, Does VS2005 have anything buildin to retrieve the Directory path for C:\Documents and Settings\UserName\Start Menu\Programs... Like an application has Application.StartupPath Or do I have to hardcode: Dim strUserID As String = System.Environment.UserName Dim path As String = "C:\Documents and Settings\strUserID\Start Menu... ...
Score Is there a way I can reference the button control that activated the mouseenter event?
John - 2 Mar 2007 9:02 PM - 4 messages
Hello, Is there a way I can reference the button control that activated the mouseenter event? My buttons are created at runtime so i do not know any names. I was hoping to use Me.ActiveControl but this only works if the button ...
Score which famework will be used
Jack Russell - 2 Mar 2007 8:23 PM - 13 messages
If I have a machine with all 3 versions of the framework (1 , 2 and 3) am I right in thinking that .net 2003 will choose to use version 1? Certainly that is what environment.version seems to show. Thanks ...
Score Read File again
Ray - 2 Mar 2007 5:32 PM - 2 messages
Hello World, I have a Winform that reads records from a CSV file. It displays the record (if <field> = TextBox1.Text) and fills the other textboxes and lables with the info.  So far so good. But when I give another request then nothing ...
Score Form Closing VB.NET VS2005
Zim Babwe - 2 Mar 2007 5:24 PM - 4 messages
I have a Windows Application and I want to load another form when the user clicks a menu item. I am currently in Form1 When I click on the menu,  the code is Form2.Show Me.Dispose ------ In Form1 I have the following two routines, but they never get called.  I ...
Score graphics question
billsahiker - 2 Mar 2007 3:49 PM - 8 messages
I am using the Microsoft Press training kit for the Framework 2.0 exam. It has the following example for putting text into a font and drawing it.  I created a new Windows Application.  But where do I put ...
Score Split strings whit strings
Freddy Coal - 2 Mar 2007 3:44 PM - 4 messages
Hi, I would like split string with more than one separator, and assign the result as array. For example: "car123house123truck123" I need split my string in a array of 3 components car house truck How make that? I try the split function (<chain.split("123")>), but I get ...
Score What is the difference between "Me" and "this" in C#?
Ray - 2 Mar 2007 3:07 PM - 2 messages
Hello, Please help a VB newbie :) I'm a bit confused, reading all the MyClass, Me, My keywords of VB. I think I get MyClass and My, but Me... Can you just tell me if I get this correctly? "Me" in VB (6, 7, 2005) is exactly like "this" in C# or C++. Its ...
Score Need some code help with tool tip display text
Marc - 2 Mar 2007 2:53 PM - 5 messages
HI, I have a set of dynamically created buttons and textbox's. Each button is linked to a textbox using the accessiblename property. I want to show a button tool tip containing the text box's text. My code so far ...
Score mouse hover problem
wanwan - 2 Mar 2007 2:31 PM - 2 messages
I'm trying to get the cursor changed to a hand whenever it stops in the form, and have it changed back to default whenever the mouse moves. So the common sense is to use the mousehover and mousemove event. ...
Score Error when trying to run an application from some computers
Ryan - 2 Mar 2007 2:27 PM - 8 messages
I've created and deployed a VB.Net 2005 Application.  I have it set as a FullTrust (ClickOnce) application.  The install point is on a network server.  I did not run into this issue at all while testing, but now that ...
Score Help needed linking dynamic textboxs to tooltip text
Marc - 2 Mar 2007 2:13 PM - 2 messages
HI, I have a set of dynamically created buttons and textbox's. Each button is linked to a textbox using the accessiblename property. I want to show a button tool tip containing the text box's text. My code so far ...
Score SendMessage and WM_SETTEXT
Mark Ingalls - 2 Mar 2007 1:41 PM - 4 messages
Hello Everyone, I'm trying to send a text string to a dialog edit control using SendMessage and WM_SETTEXT and cannot get it working correctly. Here is the declaration of the function: <DllImport("user32.dll", EntryPoint:="SendMessage", SetLastError:=True, ...
Score oracle database connection
Stephanie Doherty - 2 Mar 2007 1:39 PM - 5 messages
I am trying to connect to an Oracle 10.2 database with vb.net and am getting the error: ORA-1215: TNS:could not resolve service name My connection string is: "Data Source=geobridge;UID=dba_geo_bridge;PWD=waterh0le" and the datasource uses an {Oracle in OraClient} driver. ...
Score verify email availability
Grey - 2 Mar 2007 1:30 PM - 4 messages
I have to write a program to verify email address availability. i have to verify thousand of email address. is there any way to verify the email in ..net instead. the requirement is to verify which email valid or invalid ...
Score Array Question
Playa - 2 Mar 2007 1:20 PM - 3 messages
How do I clear all the elements in my array?  Is there a command to do this? ...
Score How can i increase the mousehover event timer?
Marc - 2 Mar 2007 11:16 AM - 13 messages
Hi, How can i increase the mousehover event timer?     AddHandler NewBtn.MouseHover, AddressOf Shownotes    Private Sub Shownotes(ByVal sender As System.Object, ByVal e As System.EventArgs)         MsgBox("ttt") ...
Score OOP: mutliple references to same Object: how?
Pieter - 2 Mar 2007 10:04 AM - 13 messages
Hi, In my object oriented application (VB.NET 2.0,  Windows Forms), a lot of objects are opened in different forms by a user. For instance (a stupid exemple, but it shows the easiest what's happening): -> two instances of the Company-Object: MyCompany1 and MyCompany2, both of ...
Score Q: Which Access version
G .Net - 2 Mar 2007 8:20 AM - 9 messages
Hi How can I find which version of Access is installed on a computer from within a vb.net application? G ...
Score Changing from bound textbox to dropdownlist
SF - 2 Mar 2007 7:14 AM - 3 messages
Hi, I am new to VB.NET. I try to start my first project linking to an Access database. On my Form1, I have two fields (bound), Subject and Author. This was done by draginf the table into the form. Since the author name are ...
Score Using Combocox Selection to select/update bound items
njb35 - 2 Mar 2007 3:56 AM - 6 messages
Hi all I'm beginning my foray from VBA into VB 2005 Express, and enjoying some of the efficiencies it provides!  I'm stuck with some dataset handling however that I _think_ can be automated but I can probably ...
Score Cut or Copy
Fred - 2 Mar 2007 3:55 AM - 7 messages
I retreive files from the clipboard as below. Dim DObj As IDataObject = Clipboard.GetDataObject If DObj.GetDataPresent(DataFormats.FileDrop) Then     Dim files As String() = _         CType(DObj.GetData(DataFormats.FileDrop), String()) ...
Score Reading Directory and Files
Tim - 1 Mar 2007 11:58 PM - 5 messages
Can someone please tell me how I can get the last file added to a directory ( I am assuming it is a file attribute).  I have built a text parsing application.  Right now I have to manually get the file to load it up.  What ...
Score Enter Key behavior
LisaConsult - 1 Mar 2007 11:51 PM - 9 messages
I have a data entry application.  Due to ease and location, the users utilizie the enter key to move from field to field, rather than the tab key.  Depending on the data they enter into a field, they may skip fields in the ...
Score Strange DLLs created into program folder
GD1 - 1 Mar 2007 11:43 PM - 6 messages
Dear developers, I've been working on a Word automator application for some weeks. Now, I formatted my hard drive and reinstalled Visual Studio. When I compiled my project for the first time since I've formatted my HDD, I ...
Score Cross thread (VB.NET 2005)
Paul - 1 Mar 2007 10:14 PM - 8 messages
Hi, I'm having a problem with my app.  All its supposed to do is put the word "Check" in a listbox every 2 seconds! I'm getting a System.InvalidOperationException error, more specifically, "Cross-thread operation not valid: Control 'ListBox1' accessed from a thread ...
Score ado.net adding a new record without having a dataset
vbDavidC - 1 Mar 2007 10:09 PM - 2 messages
I am adding a new record to a table via a dataset/adapter. I have got the following to work for me but I am wondering if there is a better way to do this. I am having to have something in my DS before I can add records, since ...
Score multi-line text box
cj - 1 Mar 2007 8:11 PM - 9 messages
I use multi-line text boxes with vertical scroll bars in several of my programs to display log information as the programs run.  Once the text more than fills the visible portion of the textbox I would like the text ...
Score Sort an array (structure array)
Mark - 1 Mar 2007 6:56 PM - 3 messages
Hello, Suppose I have defined a structure.... Structure RenameDocs         Public Facility As String         Public Document As String         Public Subtitle As String ...
Score Write a Manifest Resource to File (VB, .net 2.0)
Dinsdale - 1 Mar 2007 6:50 PM - 4 messages
I must be totally missing something. I am trying to use DirectX to play an AVI file that is stored as a Manifest Resource. Apperently the Video class only takes a string path as a parameter, so I wanted to write the avi to a file from the ...
Score Read new record from CSV textfile and item not found
Ray - 1 Mar 2007 6:21 PM - 4 messages
Hello World, I made a Windowsform that reads data from a CSV file. It works fine, but when I have read the data of a record I have to re-Debug the form to read another record. So when I put a new seek item in the textbox after I searched for an item ...
Score How to convert a stream to a string?
Robert Dufour - 1 Mar 2007 6:08 PM - 3 messages
I got a stream from a file, could be any document type like doc or txt. I want to convert it to a string variable so that I can replace some custom tag contents in it's text with text values generated from a database. ...
Score Reading in a textfile?
Ron - 1 Mar 2007 5:48 PM - 17 messages
Hello everyone, I've created a functioning ATM program, a bank machine. Now I want to implement usernames and Pins into it.  So I have a text file with this info. BILL, 1111 TOM, 2222 CHRIS, 3333 How do I go about reading those values from a text file into arrays ...
Score launch vb.net app from its shortcut from another app after deployi
Rich - 1 Mar 2007 5:26 PM - 7 messages
Greetings, I am deploying vb2005 apps using Click Once deployment.  This works fine.  The problem is that the user needs to be able to launch a 2nd app from the 1st app, but the application startup paths are different for each user.   ...
Score How to create Icon for ALL Users - VB.NET 2003 Deployment Project
michael.dadashyan - 1 Mar 2007 4:49 PM - 3 messages
Hi there, I created deployment project that installs my windows application. it also should create icons in Start->programs and on the Desktop. But Visual studio allows only to create icons in USER'S Desktop and Programs folder. How to do it for ALL Users? The application is going to be installed ...
Score Calling mousehover event for dynamic button control?
Marc - 1 Mar 2007 4:07 PM - 4 messages
Hi, I create buttons dynamically at runtime in my application. I want to open a messgae box when the user hovers over a button.how can i do this? i need something like the below(which doesnt work!)     Private Sub test (ByVal sender As System.Object, ByVal e As ...
Score Is vbc useful?
James Mayhew - 1 Mar 2007 3:37 PM - 3 messages
I stumbled upon the vbc compiler, but have had little success finding any supporting information. Neither VB Express help, internet searches nor books on Amazon.com contained any significant information. Is vbc useful? Jim ...
Score Datagridview -- Won't Clear
Arne Beruldsen - 1 Mar 2007 3:00 PM - 2 messages
I have a DGV (vb.net 2005).  The user has the option to search by City, State, Name...etc. I can't get the DGV to clear between searches.  The first search (city for example) works fine.  But if I change it to State...the results are ...
Score Using the Express Version
BK - 1 Mar 2007 1:39 PM - 13 messages
I'm at home for a few days and using my wifes laptop.  I'm reading a few books and want to follow the code examples, but her laptop doesn't have VS.   However, some of the examples are in C# and some are in ...
Score Getting the actual file size
nospam - 1 Mar 2007 1:37 PM - 4 messages
I am trying to monitor the process of a file being copied, but I cannot find a function that will return the actual file size, not the total file size, as reported by fileinfo.length.  Has anyone ever done ...
Score Read REG_BINARY Value into its string equalent - 010307
vighnesh - 1 Mar 2007 12:23 PM - 7 messages
Hi Folks Greetings to you all. I am dealing with a project ( windows application ) in which I have to read the REG_BINARY value from the Registry and get its string equalent ( the ASCII text value ). Can anyone please suggest me how ...
Score How can I count....
erickwan88 - 1 Mar 2007 11:17 AM - 3 messages
I want to count the number of clickings on CapsLock when I press on it How can I do this in vb2005? My.Computer.Keyboard.CapsLock ...
Score Free Version Control System?
Martin H. - 1 Mar 2007 8:27 AM - 8 messages
Hello everybody! Currently I use VS 2003 and VSS 6.0. However, I'm planning to move to VB.NET 2005 and I'm looking for a free version control system which integrates with VB.NET 2005. I'm grateful for any suggestions. ...
Score How can I capture input from another program
erickwan88 - 1 Mar 2007 7:54 AM - 2 messages
I want to capture the input from a writing pad and apply in vb2005 but I don't know any programming codes about it. The writing pad is connected by a USB port. Before I run the writing pad program, it can be a mouse and move ...
Score Counting the lines of text, but upwards...
peraklo - 1 Mar 2007 7:42 AM - 8 messages
Hello, there is another problem i am facing. i have a text file which is about 15000 lines big. i have to cut the last 27 lines from that file and create a new text file that contans those 27 lines. and after that ...
Score "You do not have a license to use this ActiveX control"
Anil Gupte - 1 Mar 2007 6:37 AM - 5 messages
A friend of mine is having this problem on his machine - it works fine on my machine.  The above message appears when he tries to inset the "Microsoft Internet Transfer Control" (Inet) into a Windows form.  It was enabled in ...
Score Is ther a way to get all the country's in regional that MS lists in control panel
John - 1 Mar 2007 4:58 AM - 2 messages
Hi is there an array that can be looped through Instead of putting my own list in the program or file instead of Dim RG As New RegionInfo("US") such as get reginional(country).count for x = 0 to    etc............... or something of this sort to list ...
Score How to set value of SecureString?
Dean Slindee - 1 Mar 2007 3:26 AM - 2 messages
How do you set the value of a Security.SecureString?          Dim strSecure As New Security.SecureString          strSecure = CType("Friday", Security.SecureString) ...
Score Dumb Question
Robert Dufour - 28 Feb 2007 10:58 PM - 4 messages
How do you read all the data from an enhanced metafile and put it in a memory stream? Myfile.emf is part of my solution but I can't get the trick to read all of it in a stream. ...
Score Where is Sub New
active - 28 Feb 2007 8:57 PM - 11 messages
I have a couple of projects in the VS2005 format using Partial Class. I can't find where the code for sub New is stored. Can you tell me where it is? thanks ...
Score Serialize global variables
Monty - 28 Feb 2007 8:21 PM - 5 messages
Hello, I have a settings class that looks like this: Imports System.Xml.Serialization <Serializable()> _ Public Class MySettings <XmlAttributeAttribute("ItemCategory")> _ Public Shared  ItemCategory As Integer <XmlAttributeAttribute("DefaultItemCategoryID")> _ Public Shared DefaultItemCategoryID As Integer ...
Score Parameters of a printer
Patrick - 28 Feb 2007 7:03 PM - 2 messages
Hi, Is it possible to change the parameters of a printer with VB ? My printer can print on both sides and I would like to change the parameters to print on both sides according to criteria but all automatically. Thank you for your assistance. ...
Score If statment and between range in the form text control
vsteshenko - 28 Feb 2007 6:50 PM - 3 messages
Hello, This is my first post so I hope I'm doing this correctly.  I am currently working on creating an order form for sales associates at my work to be used at conventions.  I have a form with a subform. On the ...
Score VB 2005 w/ 2.0 framework
Darin - 28 Feb 2007 6:40 PM - 2 messages
I have upgraded our application from .NET 1.1 to .NET 2.0, all works fine from my local machine. But, when I put the program on the server and try to run it from the server (via a mapped drive), I receive: ...
Score datetime picker problems
Michel Posseth [MCP] - 28 Feb 2007 6:13 PM - 6 messages
Hello we have encountered the following problems with the date time picker control A : datetime picker control gives focus to last entered field when moving back and forward with focus how do we reset this to the first field ? B : datetime picker in DD-MM-YYYY default format ( europe , NL-NL ...
Score Calling C# DLL from VB.NET
tim8w via DotNetMonster.com - 28 Feb 2007 6:06 PM - 3 messages
I'm trying to setup a SelectionChangeHandler for a call to a DLL written in C#. In the C# DLL, the public declaration is as follows:         public event SelectionChangedHandler SelectionChanged; To call this from C# I do the following: ...
Score Need Help On Restarting Threads
pbd22 - 28 Feb 2007 5:58 PM - 3 messages
Hi. I am getting the error: "Thread is running or terminated. It cannot restart." It is happening inside a file upload loop where a thread is created for each file (reporting bytes). After the first file is uploaded, the error is thrown at workThread.Start(). ...
Score Creating and writing to a TIF file, how?
Robert Dufour - 28 Feb 2007 5:43 PM - 10 messages
I need to create a tif file and write some simple text to it, about 4 or 5 lines, Just some thing like "Hello this is mycompany" "We will make a delivery between tomorrow 10 AM and tomorrow 10 PM" ...
Score resourses release problem
touf - 28 Feb 2007 5:09 PM - 4 messages
Hi, I've an application (VB.NET version 2002, ms-access 2002) composed of an MDI parent (menus) and some MDI childs. When the DB start to be important (100 MB) i've started having some memory problems. I noticed (in task manager) that when I open an MDI child form, and I close ...
Score Trying to create a range dynamically
Tom O'Brien - 28 Feb 2007 4:55 PM - 2 messages
hello, This is a basic questions... i have just started using vb.... I want to figure out how to create a range dynamically. Say I have some data in a variable number of columns, in this example 3 - A, B, & C ...
Score problem with changing color when logged
Bjorn - 28 Feb 2007 4:45 PM - 4 messages
Hi,. i try to change the color of the main menu when the visitor of the site is logged. When not logged, it must be red, when logged, it must be green. I start in the Master¨Page with putting the link to the red CSS file to ...
Score SecurityException was Unhandled
jtnpham - 28 Feb 2007 3:08 PM - 4 messages
This is code I created to add a record where the user inputs the new text in textboxes:    Private Sub btnAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.Click         City = txtCity.Text ...
Score Use vb2005 to detect the pen driver
erickwan88 - 28 Feb 2007 2:45 PM - 10 messages
I am doing a final year project for my school and is going to provide for an organization, so I am asking for some help on here. Indeed, I have no idea on how to get the input from my pen driver and ...
Score VB.NET app on Vista w/ 1.1 Framework
Darin - 28 Feb 2007 2:44 PM - 2 messages
We have an application at over 100 different sites that work great on XP, 2000, Me, all w/ the 1.1 framework. The application is installed on the server and the clients map to the server's drive and run the ...
Score Closing a window opened in a frame
Garg - 28 Feb 2007 2:31 PM - 2 messages
Hi, I am facing a problem while trying to close a window that I've opened in a frame. I am using javascript to close my current popup window. I have written the following line of code on click of OK button event. ...
Score Q: Parent Child Update Problem
G .Net - 28 Feb 2007 10:07 AM - 4 messages
Hi Everybody I was wondering if anybody could help me with something that has been bothering me for some time. Basically, it is a problem I encountered some time ago with DataSets. I found a solution (which I will refer to later) but ...
Score Visual basic express, read and update Xml file
fenouillet.et - 28 Feb 2007 8:32 AM - 7 messages
Hi, I'm steel trying to read and update my XML file with Visual Basic Express but i am unable to find the right way to read my xml file and update it if neccessary... Here is my problem : evry day, i store the number of children in my ...
Score can one stop/start and drive particular events in the printer spooler?
Joe - 28 Feb 2007 5:03 AM - 2 messages
I am printing bunch of stuff on a printer through my print vb8 app, but i would like to stop (pause) one in order to print the others before (just we print lots of stuff and want to keep them on the ...
Score VB.net courses material
touf - 28 Feb 2007 4:16 AM - 4 messages
Hi, I'm looking for courses about VB.NET et C#, I need a structured course defined by hours and containing all materiel (presentations, labs) Do you know a web site or a person who sell this kind of courses (or give ...
Score Synclock in IIS Hosted Remoting - Single Threading Function Call?
Spam Catcher - 28 Feb 2007 4:03 AM - 2 messages
Hi all, I'm hosting a remoting service in IIS. I have a function which I only want one concurrent access at a time. Will this prevent multiple users from accessing the function at a paritcular time? 'Empty object used for sync locking purposes ...
Score Exec a stor.proc. that includes a query to a linked Access db
Daniel - 28 Feb 2007 3:13 AM - 2 messages
I have a stored procedure in SQL Server 2005 Express. It includes a distributed query that pulls from a table in a local SQL Server database, and combines this with some data in a remote Access database. I have that Access db referenced in SQL Server Express as a ...
Score Custom form border
ljlevend2 - 28 Feb 2007 2:37 AM - 9 messages
I want to create a custom form border.  By thought was to simply override the DisplayRectangle property in order to control the border width and then draw the border during the OnPaint event.  The problem with this technique is that ...
Score Multiple instances of same object ?
Bugs - 28 Feb 2007 1:43 AM - 7 messages
Does anyone have any recommendations on the best way to create multiple instances of the same class when the final number of instances is unknown? For example, I have a class and based on some user actions, I want to ...
Score Tab window?
Bugs - 28 Feb 2007 1:40 AM - 5 messages
Hello! How do I achieve in my application a window similar to the Toolbox and Server Explorer windows in Visual Studio 2005 itself? Ideally, I want to have a TreeView on the left side of my form with a vertical splitter that lets the user adjust the width of the TreeView, ...
Score UI design/flow question
Ronald S. Cook - 28 Feb 2007 1:02 AM - 5 messages
We're designing a Windows application.  On a given form (let's say edit customer), there would be a list of all the (let's say cars) that the customer owns.  We want the user to be able to click on a car (likely ...
Score Immediate Termination of a BackgroundWorker Thread
redear - 28 Feb 2007 12:37 AM - 6 messages
Is there a way to immediately terminate a BackgroundWorker thread? My problem is that the BackgroundWorker starts with a call to My.Computer.FileSystem.GetFiles that can run for a very long time if it is pointing to a directory tree with many files. If the user ...
Score So nobody knows how to do this?
Zim Babwe - 27 Feb 2007 11:46 PM - 4 messages
I posted the other day and so far no replies.... :-( I have a VB Windows Form (VS 2005) and on the form is a datagridview control.  It was populated by: datagridview1.DataSource = tbl The table only has two fields,  URL_ID and URL. ...
Score VB2005 shared mem problem
Galen Somerville - 27 Feb 2007 8:58 PM - 6 messages
My VB2005 program has a DataReciever thread that recieves data from an Activex VB6 thread. The data comes from a USB device that delivers 10 bit data in a series of bytes. So the low byte can be 0 to 255 but the high byte can only be 0 to 4. What's ...
Score No Delete or Update Commands
Vernon Peppers - 27 Feb 2007 8:37 PM - 14 messages
I am using VS2005.  I created a Windows Appication project.  Inside the Server Explorer, I created a new SQLExpress database, and then created a new table.  I added the rows, making my first row an integer, and setting the ...
Score Prepared statement expects parameter which was not supplied
jfturcott - 27 Feb 2007 8:15 PM - 2 messages
Prepared statement '(@p1 int,@p2 tinyint,@p3 varchar(8000),@p4 varchar(8000),@p5 bit' expects parameter @p1, which was not supplied. I get the above error when trying to update a datagridview to the sql database. I am using the commandbuilder because the datagridview can ...
Score Re: how can one build .exe standalone application and what's better/faster?
Joe - 27 Feb 2007 7:10 PM - 3 messages
Probably I cannot compile vb8 as vb6 appliaction, can I ? :) ...
Score How to use GetObject("winmgmts:\\" & StrComputer & "\root\cimv2")
active - 27 Feb 2007 6:30 PM - 7 messages
This works with Strict Off But not with Strict On Sometimes I can figure out what is needed by running it and using QuickWatch to see the type required but GetObject("winmgmts:\\" & StrComputer & "\root\cimv2") returns a value System._ComObject of Type Object ...
Score .NET Runtime Optimatization Service is trying to send a packet..
Joe - 27 Feb 2007 5:07 PM - 2 messages
can anyone tell me what's that service doing? mscorsvw.exe ...
Score vb EXPRESS publish external file
spig.marco - 27 Feb 2007 4:19 PM - 2 messages
HI to all, I user VB EXPRESS .NET, and I want to include a directory with a database or files like photos in my final distribution. I'm trying for hours, but in My Project->Publish-> ... Application files can't include external files or create direcotries. ...
Score raise mouse event on timer?
wanwan - 27 Feb 2007 3:29 PM - 4 messages
I made a game with a window form that needs to record the mouse position to an array at 100 samples per second, so I use the mouse move event to do the job. The problem is the mouse move event is raised by my software at max 30 ...
Score how can one build .exe standalone application and what's better/faster?
Joe - 27 Feb 2007 3:25 PM - 9 messages
when I build application with vb8, it is setup.exe with bunch of files and then moving to the other computer, it request to download files over the internet. How can I build stand-alone .exe appliation, and what is more efficient - stand alone.exe vs setup.exe installin ...
Score Who is the code sherriff around here?
Terry Olsen - 27 Feb 2007 2:48 PM - 2 messages
No offense to anyone in this group, particularly Tom Shelton, Michael M, or Newbie Coder. But who the hell is Crouchie1998 and why is he accusing every submission I make to Planet Source Code to be plagiarized? In one submission to retrieve the XP key using native .NET function instead ...
Score Need Expert Help and Advice. Thank You.
shapper - 27 Feb 2007 2:09 PM - 2 messages
Hello, Consider I have a String: Dim MyString As String = "Hello" or an Integer: Dim MyInteger As Integer = 100 or a class which its properties: Dim MyClass As New MyCustomClass MyClass.Property1 = "Hello" MyClass.Property2 = Unit.Pixel(100) MyClass.Property3 = 100 ...
Score Using Word.Application with Option Strick On
active - 27 Feb 2007 2:00 PM - 4 messages
How do you do things like the following with Option Strict On Dim ColSuggestions As Word.SpellingSuggestions Dim WordApp As Object = New Word.Application Dim WordDoc As New Word.Document WordDoc = WordApp.Documents.Add(Template:="Normal.dot", NewTemplate:=False) ....snip ...
Score Problem with "Publish"
Rajesh Soni - 27 Feb 2007 1:52 PM - 4 messages
Hello! I'm trying to publish my application, but when i try to install it at the end-user's computer, i don't know where it places the EXE, it appears in the start --> programs (executed perfectly!)... But i want to define a folder ...
Score How to add date in access database
Tony - 27 Feb 2007 1:30 PM - 4 messages
I am trying this: SQL = "INSERT INTO GradeList (Date) Values(#01-01-2007#)" I get message "Syntax error in Insert statement". How to add date field in access database? ...
Next » 2 3 4 5 6 7 8 9 10