Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Need a numerical evaluator
Academic - 21 Oct 2006 10:04 PM - 9 messages
I need an numerical expression evaluator. Should I write one or is something freely available. Thanks ...
Score object = nothing?
param - 21 Oct 2006 8:37 PM - 14 messages
Hi all, Coming from the good old VB6 days we were told to always destroy our objects as follows:- Dim obj as New MyObject ' do some work with obj obj = Nothing I have been doing this in .Net also for quite a while now. The other day one ...
Score How do I get back a newly created Primary key
rdufour - 21 Oct 2006 7:39 PM - 4 messages
Using Vs2005. In this snippet of code I would be creating a new record in a sql server 2000 database table. How do I obtain the value of primary key - field name PK - for the newly created record. The field PK is an identity ...
Score validate radio button in groupbox
K Forester - 21 Oct 2006 4:30 PM - 3 messages
Hi, I am a complete beginner and need help with a form.  There are 2 group boxes, each containing 3 radio buttons on my form. I'd like to write a subroutine in a module that checks to be sure that the ...
Score What is the event to trap when user clicks X to close form?
Robert Dufour - 21 Oct 2006 3:59 PM - 7 messages
On my form if the user clicks the upper right hand corner to close the form I want to trap that event and do a check to see if closing is allowed, if not, I want to stop the form closing action. ...
Score Managing display of a form
Robert Dufour - 21 Oct 2006 3:36 PM - 3 messages
I have Form1 and Form2. Form2 has to be loaded in memory so that controls on it can be controlled from Form1, so I declared it in the Form1 declaration section. That works OK. Now I just need to make form2 visible once and make it invisible again, ...
Score Backing up with SQL MO
Robinson - 21 Oct 2006 10:12 AM - 10 messages
Hi, I'm trying to programmatically backup a database (SQL 2005).  I get a "Device not found" error when I specify a full user given path in the backup, but when I just specify a filename it works, putting the backup into ...
Score Windows service LocalSystem account
Walt - 20 Oct 2006 11:39 PM - 3 messages
I need to access a network folder with read/write permissions from a windows service application.  I get an error "Access denied..." whenever I try to access a shared folder on the network. On 7/24/2006 Michael D. Ober wrote: ...
Score Transparent BackGround
vbt - 20 Oct 2006 11:22 PM - 12 messages
I am having difficult time drawing a image using Visual Studio Image Editor. I can draw the image and save it as .bmp file load it into a pictureBox image but when the program is run the background of the bmp is not Transparent. ...
Score creating a file extension programmatically
iwdu15 - 20 Oct 2006 11:11 PM - 2 messages
hi, i want to be able to create a file extension programmatically (like .abc will open my app), but all gogole searches came up with VB code in VB5 or earlier....which used API calls that i couldnt decipher. The microsoft web ...
Score Scaling a collection of points(lines)?
Craig Lucas - 20 Oct 2006 9:50 PM - 2 messages
Im kind of new to vb.net drawing routines. Im reading a collection of 2d points from a proprietary file. These points are simply for drawing lines, I can draw the lines fine using Graphics.DrawLine, but I need to scale all the lines to fit ...
Score AlbumArt JPG files for MP3
Uffe - 20 Oct 2006 8:57 PM - 2 messages
When I play a MP3 file in MS Media Player, usually a jpg file is created, like: AlbumArt_{5AD78969-42DB-4172-BBF5-916A01C39524}_Large.jpg ....containing the album cover. My question is, is there any way to resolve which jpg file that belong to which mp3 file from VB.net? ...
Score Best way to store dataset to disk???
processoriented - 20 Oct 2006 7:55 PM - 11 messages
I am trying to find the best approach to do something here... situation is this...  One of the tables in my dataset is a "Work Order" table with information about what needs to be done and where.  Say my ...
Score Webbrowser control - buffering - audio/video playback problem...
hzgt9b@nopost.com - 20 Oct 2006 6:02 PM - 3 messages
Using VS2003, VB.NET, BACKGROUND I have a window forms based application that will be distributed and executed directly from CD media. The app contains a TreeView control and a WebBroswer (AxSHDocVw.AxWebBrowse) control. The TreeView is populated with nodes that when clicked play an audio clip that is stored on the CD and ...
Score Newb looking for data binding help
kevinwolfe - 20 Oct 2006 4:36 PM - 4 messages
Hi all. I'd like any suggestions on how I can get my data set (not a DataSet) bound to a couple of controls on a form.  Let me start by describing what my data looks like.  Each entry correlates to a piece of equipment ...
Score Using VB and ADO.NET
Shooter4Life8 - 20 Oct 2006 4:34 PM - 4 messages
Hi, I am currently using Visual Basic from Microsoft Visual Studio 2003 ..NET. I would like to create an ADO.NET connection to a local Access database.  Any pointers or helpful informational sites would be much appreciated :) My main questions are: ...
Score Query results to file
Rick - 20 Oct 2006 3:25 PM - 10 messages
VB.Net 2005 I have a Firebird DB query that returns an XML file in its rows. I want to execute this query and write the results (rows) to a file. I am using DataTables and TableAdapters. How can I get from the TableAdapter.GetBy method (via a stream?) and write ...
Score hard code data bind
si_owen - 20 Oct 2006 2:44 PM - 3 messages
Hi all, firstly this is a web apps project. Right i had a dropdown list which was populated by a db table which was databound using a sql datasource. however when adding validation controls the dropdownlist was failing as an item was already selected. I need a default value in there "please ...
Score best code profiler to get?
Smokey Grindle - 20 Oct 2006 2:43 PM - 4 messages
What are some examples of good code profilers out there (that arn't from red-gate)? looking for other options. thanks! This is for VB.NET and C# profileing (VS2005) ...
Score Perform ARP request via code
Stuart Parker - 20 Oct 2006 2:05 PM - 2 messages
I need a routine to get a MAC address for a given IP address. I don't want to use WMI as I don't want to depend on WMI being available on the remote machine, or desktop firewalls getting in the way. So would like ...
Score Datasets and Adapter Updates
optictygre - 20 Oct 2006 2:00 PM - 4 messages
Hi folks. I have a couple questions about updating data from a dataset to a database using a data adapter.  If I declare an adapter, set the batchupdatesize property to 0, and then call the adapter.Update(dataset.GetChanges) function, will the entire batch ...
Score Custom Control
shapper - 20 Oct 2006 1:48 PM - 2 messages
Hello, I am starting to create various custom controls for Asp.Net 2.0 and I am using Visual Studio 2005. I have a few questions: 1. Should I use the Web Site or Project Model?     I believe Project Model allows me to embed the resources (images, ...
Score how to translate from c# this instruction
Carlos - 20 Oct 2006 12:50 PM - 7 messages
Hi all, ca anybody help me to translate to vb .net this c# instruction? string fname = ((TextBox)GridView1.Rows[e.RowIndex]. Cells[1].Controls[0]).Text; Thanks,                 Carlos ...
Score Weird Problem
mfleet1973@yahoo.ca - 20 Oct 2006 12:19 PM - 2 messages
Hi. I'm using a datagrid and within that grid I have a combobox control. On most workstations when users scroll through the grid while in the cell containing the combobox with the mouse wheel, it goes to the next ...
Score Deleteing all files from target folder as a presetup task
Smokey Grindle - 20 Oct 2006 12:13 PM - 7 messages
I need to ensure that there are NO files in the target folder of a setup project, I want to delete anything in the folder first before the install takes place (all from inside the installer program of course) how would I go ...
Score Building my own "SMTP" mail - control ?
Screaming Eagles 101 - 20 Oct 2006 11:17 AM - 5 messages
How can I make my own Mail control (unvisible one) to use with a form ? Does anyone know where to find code ? I would like to fill in some parameters, and then send a mail, a bit like this : 'Button1_click... ...
Score frmViewAll.DefInstance.Hide()
jeff - 20 Oct 2006 3:00 AM - 14 messages
I am attempting to be able to show and hide a form called viewAllForm. I declared an instance of the form in a module. Public viewAllForm As New frmViewAll However I keep getting runtime errors when I close and try and show it ...
Score SQL Stored procedure
Darin - 19 Oct 2006 9:47 PM - 9 messages
How can I execute a stored procedure and NOT wait for it to finish before my program continues. The SP takes about 15 minutes to run, so I want to run it but not have the program locked while it is running. ...
Score Streamreader problem
Jack Russell - 19 Oct 2006 9:13 PM - 9 messages
I have the following code in VB.net 2003          Dim s As String          Dim sr As StreamReader = New StreamReader("test.txt", New UTF7Encoding)          s = sr.ReadLine ...
Score System.BadImageFormatException
Glenn Palomar - 19 Oct 2006 8:37 PM - 5 messages
Hi, I have VB.net application that I recently migrated from VS2003 to VS2005. It works fine in Windows XP and 2K but NOT in XP64. I get an exception error that says System.BadImageFormatException. I checked the Advanced Compliler Settings and the Target CPU is set to AnyCPU. Setting ...
Score Window Size in Runtime
tamasumalta - 19 Oct 2006 7:27 PM - 5 messages
I am just new to vb.net. I used to program in vb 6. Can you kindly indicate how I can maximise a form window to full in runtime. I think this is a standard thing to design controls. If this is not available then I have to drag the corners to try and ...
Score Classes and Objects
nokia33948 - 19 Oct 2006 7:15 PM - 5 messages
Hi, I have a small big problem with classes and objects.. In VB6 I create a new project, DLL ActiveX; I leave the default name ("progetto1" - in italian); then I rename the class module in "cls1"; I save the class module with name "cls1.cls" and the project file with ...
Score audio, wav, mps, midi, player
ray well - 19 Oct 2006 7:05 PM - 4 messages
hi, i'm looking for an audio component to add to a .net 2005 program, that could play all or part (starting at a certain point and ending at a certain point within a audio file) of a wav, midi, or mp3 file. i also need to be able to ...
Score Hidden form and button PerformClick
stevenhaochen@hotmail.com - 19 Oct 2006 6:06 PM - 6 messages
Form.Visible=False Button1.PerformClick It does not fire the Button1.Click event. Why? ...
Score how to find out if a form is invoked by splash
gs - 19 Oct 2006 6:00 PM - 2 messages
I have an about form I want to use also as splash form.  however when invoked from the above I want to provide additional info that is not accessible when being used as splash is this possible? ...
Score Why isnt this CLS compliant?
Smokey Grindle - 19 Oct 2006 5:55 PM - 12 messages
This class is coming up as not CLS compliant, why? with this warrning Warning 2 Type 'Account' is not CLS-compliant. Namespace Accounts ''' <summary> ''' Represents an account ''' </summary> ''' <remarks></remarks> Public Class Account ...
Score changing book for study
James - 19 Oct 2006 5:13 PM - 3 messages
Hello people, i wanna learn Visual Basic.net & Asp.net (i was using ASP3 before (with VB language)) So i have a book (Visual Basic.net version 2003)([link]) i only read few page of it because of no time :-( ...
Score Problem in HTML Help Workshop
Nina - 19 Oct 2006 4:39 PM - 3 messages
Hi everyone, I am adding a help to my application.  I created html files with screen prints and equations (using Equations editor) in Ms Word by saving files as web page, then using HTML Help Workshop (version 4.74.8702.0, copyright ...
Score Config file for DLL??
aabdis - 19 Oct 2006 4:05 PM - 9 messages
Hello All.... I have a question... i have two Windows apps (one UI, and one service) which use a common DLL that hands out database results and such to the two apps. The DLL always connects to the DB the same way, regardless of ...
Score Upgrading a project, "Invalid Image" exception?
Robinson - 19 Oct 2006 3:48 PM - 2 messages
Hi, I just took a deep breath, made a backup and decided to have a go at converting my 1.1 project to 2.0.  All goes well, apart from 10,000 warning messages about references being used before they are assigned a value (well, ...
Score determining current winform application is active, has focus or being used
c_shah - 19 Oct 2006 3:47 PM - 4 messages
VB 2005 and windows form application I am having difficulty putting my question into words but.. Is there a way to determine whether my win form application has focus or it is active or being used? ...
Score My.Settings wont update??
Arthur Dent - 19 Oct 2006 3:22 PM - 4 messages
Hello All,.. I have some settings stored in the project settings which show up under My.Settings. ... All works fine. Now, I wanted to change the value of one of these settings, so I went into the app.config file, and changed the value, and reran the app. But it still ...
Score Compressing textfiles, but still read them
Jarry - 19 Oct 2006 3:14 PM - 3 messages
I am a bit new to VB, and I have set up a program which loads a large text file. The text file (.txt) has a file size of around 6 megabytes. This is the figure I would like to rreduce. I have limited space on a ...
Score Searching desparately for createmailslot example in VB.NET (MSDN universal Subscriber)
DirkMS - 19 Oct 2006 2:50 PM - 5 messages
Hi, Declare Function CreateMailslot Lib "kernel32.dll" _         Alias "CreateMailslotA" ( _         ByVal lpName As String, _         ByVal nMaxMessageSize As Long, _ ...
Score listview
Vmrincon - 19 Oct 2006 10:51 AM - 4 messages
Hi everybody:   Something weird is happening to me:    I have a listview that I would like to sort in a special way. Because of that I have two different functions that sort it. I run the following code: ...
Score Visual Styles possible in vb?
Flash - 19 Oct 2006 10:33 AM - 3 messages
Hello, recently I was looking through the system properties and came accross system.visualstyles namespace.  This appears to contain all of the visual style elements in xp and I was wondering if it is possible to change these, either using the way I found or another.  When I tried to change one of the ...
Score user access
si_owen - 19 Oct 2006 9:50 AM - 2 messages
hi folks, !!!this project is a web app!!! I have 3 pages created, 2 i want to be viewed by all users and 1 i only want the administrator to see. I have a database table made up of users, including an entry for an ...
Score Attribute that causes a compiler Warning
Phill W. - 19 Oct 2006 9:22 AM - 3 messages
Is there already or can I create an Attribute that, when attached to a method, causes a compiler warning at build time? A bit like the ObsoleteAttribute, but more generic. TIA,     Phill  W. ...
Score windows service + vb.net + windows 2003
Nick Chan - 19 Oct 2006 8:48 AM - 2 messages
hello, i have created a .net windows service this service will run external programs, and make it show. i use user32's showWindow to show it it works in windows XP however in Windows2003, it can only run, but not show the external ...
Score Show ToolTip on every Control continuously
Pieter - 19 Oct 2006 8:26 AM - 5 messages
Hi, Using VB.NET 2.0, Windows Forms. I want the ToolTip to be shown on every TextBox, ComboBox and DataGridView continuously, and show the contence of these controls. Is there a way to add the ToolTip automaticly for all these controls, without having to link it ...
Score right click on a label
David Pick - 19 Oct 2006 4:40 AM - 3 messages
I have a label I create using code like this dim lbl as new label me.controls.add(lbl) addhandler lbl.click, addressof someclick private sub someclick(ByVal sender As Object, ByVal e As System.EventArgs) .... end sub How would I go about testing whether the user right or left clicked on ...
Score Transparent
vbt - 19 Oct 2006 3:08 AM - 8 messages
I have a bitmap drawing that I would like to load into Picture Box and have its background transparent. How can this be done? Thanks tm ...
Score Question about walking the file system
Anthony P. - 19 Oct 2006 1:31 AM - 9 messages
Hello Everyone, I am building an application and I need to walk the file system from the root directory on down. I need to cover every single directory on the system and all of their sub directories. Basically, I am trying to ...
Score Open word to a specific page
bhoff - 19 Oct 2006 1:18 AM - 3 messages
I have a program where a user can click on a LinkLabel to open a word document to view a reference. I can't figure out how to make word jump to a specified page though, example: A reference to test.doc, page 13 is where the user needs to find a ...
Score Starting process using shell execute returns nothing
Zorpiedoman - 19 Oct 2006 1:01 AM - 5 messages
dim FileName as string = "Test.doc" dim P as Process = Process.Start(FileName) '--P is NOTHING even though document opens!!! dim Q as new process Q.StartInfo.FileName = FileName P = Q.start '--P is nothing here, either WHY???? ...
Score Checked List Box check in program
Rick - 19 Oct 2006 12:07 AM - 3 messages
VB.Net 2005 I would like to programatically check the check box in a CheckedListBox control. I don't see any examples in the help and have not googled up anything either. How do I do this? Rick ...
Score main menu disappearred
GS - 18 Oct 2006 6:57 PM - 18 messages
the main menu in the application seemed to disappeared all together until I click on an control and select mainmenu1 in designer.  then the mainmenu1 displays where it should be but running it or deselecting the mainmenu1, the menu disappears again. ...
Score If comparision operator is one of these or contains ?
jobs - 18 Oct 2006 6:37 PM - 9 messages
In the case where I need to check to see if a variable is one of many values IIF (( (Container.DataItem("ProcessStateId") =  0) or (Container.DataItem("ProcessStateId") =  2)  or (Container.DataItem("ProcessStateId") =  4) ) ,"TRUE","FALSE") Is there a smarter way to do this? and where would I have found that on ...
Score Incomplete Escaping Functionality??
Arthur Dent - 18 Oct 2006 6:37 PM - 4 messages
Hello All... I am in an app that needs to write out an XML document for transmittal to an outside organization. All good and fine... I create the XmlDocument object, append all my nodes, and values etc etc... and it all works. ...
Score what is the site for posting feedback/bugs on VS2005?
Rich - 18 Oct 2006 3:38 PM - 3 messages
Hello, Does anyone know the site for reporting feedback/bugs on Visual Studio 2005 issues?  Specifically, I am having some issues with the ReportViewer control. I love it, and it sort of does what I need, but in a convoluted way - when ...
Score Table Adapter Update Method
Mohamed Shafiee - 18 Oct 2006 3:29 PM - 7 messages
Hi, I'm trying to build a database application in Visual Studio 2005. The language which I'm using is vb.net . I created a new Windows Application, added a database, created a table, and then used the Configure Dataset ...
Score Rounding issue
Altman - 18 Oct 2006 3:06 PM - 5 messages
I am having a rounding problem all over the place and am struggling to fix it.  My problem is that I have an unit price and a quantity.  When I multiply them together they come out to 3.705.  I want to round this ...
Score VB 2005 Form Controls Disappeared!!
Ryan - 18 Oct 2006 2:55 PM - 9 messages
Ok.. I have a form with lots of stuff on it; a tool strip panel, menu strip, data binding elements (dataset, binding source, table adapter), tab control with 7 tab pages, each page contains a picture box, lots of text boxes (for ...
Score ListView Happiness
samoore33 - 18 Oct 2006 2:19 PM - 3 messages
I am working with a program that utilized the checkbox property of a listview. When a user clicked on the checkbox, it was suppose to calculate and total some prices. I did not make any changes to the listview, but now the method does not work when the checkbox is ...
Score Read another applications textboxes (VB 2005)
Paul - 18 Oct 2006 1:59 PM - 5 messages
Hi everyone, I have created my first real life application, that runs in the system tray and monitors changes to the clipboard, then depending on the content it may search our stock file and display the current stock situation in a balloon ...
Score using a triple-nested for...next loop
Candace - 18 Oct 2006 1:06 PM - 6 messages
I have to write a program to find all Pythagorean triples for a right triangle. I know that the squares of two sides  of the triangle must equal the square of the third (longest) side. However, I am not sure how to use a ...
Score UTF-8 encoding problem
shreshth.luthra - 18 Oct 2006 12:12 PM - 5 messages
Hi All, I am having a GUI which accepts a Unicode string and searches a given set of xml files for that string. Now, i have 2 XML files both of them saved in UTF-8 format, having characters of different language. ...
Score Getting list of Website from IIS "Web Sites" Folder
Lucky - 18 Oct 2006 9:59 AM - 3 messages
hi guys, few days back i've posted a question regarding how can i get the list of the websites form the IIS, at this location: [link] ...
Score problem with two </script> tags
bob - 18 Oct 2006 9:39 AM - 6 messages
Hi, This code gives two errors, one on each </script> tag: the first: "statement cannot appear in method body" the last: "end of tag has no matching start tag" Any way to solve this? Thanks Bob <script runat="server"> ...
Score need help!!
si_owen - 18 Oct 2006 9:03 AM - 5 messages
i am used to vb6 nad now im using .net framework all the simple lines of code have vanisehed!!! for example in vb6 to move from one form to another the following code, behind a command button, was magic: form1.show ...
Score On Error Goto Next Loop
Lucia - 18 Oct 2006 7:27 AM - 7 messages
Hi, everyone, I have a for statement in my programm. I want to know if there is any way to goto next i when some error occurs. I tried with the following code. But it doesn't work... for i=0 to 100 ...
Score Undo a delete in a datagridview
Ausclad - 18 Oct 2006 7:13 AM - 3 messages
Using a DatagridView in .net 2.0 How would you go about implementing an "undo" event? So if the user selects a row in the datagridview, then hits the delete key, I handle the deletion by using the "datagridviews.rows.removeat" function. ...
Score Forcing CreateGraphics.DrawRectangle to Draw rectangle on top
Jeff Waskiewicz - 18 Oct 2006 4:51 AM - 2 messages
Hello All, I'm trying to solve a nagging problem.  The goal is to draw a rectangle over the top of all the other controls on a form. Specifically, over a ChartFX control.  The user would draw the rectangle using the right mouse button to ...
Score How to simulate Application.DoEvents in a DLL
Woo Mun Foong - 18 Oct 2006 2:14 AM - 5 messages
Hi, I have a DLL that is used to carry out some lengthly process. I would like to have something similar to DoEvents that can yield control back to Windows every now and then. Any ideas ? Thank You, mfwoo ...
Score Need a tip: How do you streamwrite from two different db tables?
Blarneystone - 18 Oct 2006 12:30 AM - 10 messages
Hi, I am using VB.NET and trying to pull data from two different tables in the database.  I am using what I think is standard code.  But the data I am pulling is like the following: Table1 Column1 Row1 ...
Score VB2005 - Split Files
Dennis - 17 Oct 2006 11:31 PM - 6 messages
I am thinking of getting VB2005 to replace my VB2003 but don't like the idea of having two files for one form (I have enough files on my computer as it is).  Is there any way to have VB2005 act like VB2003 and keep the form in ...
Score Visual Basic Programming - Reference to fpPublishLogInTempDir uri - ADVANCED question
John.Miller - 17 Oct 2006 11:23 PM - 3 messages
I am writing an application inVisual Studio to ease our frontpage publishes. I have the command to publish, but I need to attach the Publish log to an email.  Does anyone know how to get the publish log uri in order to attach ...
Score Dispose problem/crash with maximized MDI child windows
Tom - 17 Oct 2006 11:18 PM - 4 messages
I am having a serious issue with my MDI child windows. This is with a large VB.NET application that I ported over to VS 2005 from VS 2003. The problem is that, if the child window is maximized and then closed, ...
Score "Start external program" no longer works in VS2003 once 2.0 framework installed
holysmokes99 - 17 Oct 2006 11:14 PM - 3 messages
I am developing a component in .Net 1.1, and want to debug it using the "start external program" of the debugger in the IDE. The program I want to start references both 1.1 and 2.0 components. The problem is that ...
Score Binding TextBox fields to Recordset problem, "Cannot bind to the property"
mike11d11 - 17 Oct 2006 10:45 PM - 2 messages
Can anyone Tell me why this code doesnt let me bind a Textbox field to the Account# column in my SQL table.  It says "Cannot bind to the property or column ACCOUNT# on the DataSource. Parameter name: dataMember"  I've been looking around and some people ...
Score Bootstrapping .NET 2.0
eSolTec, Inc. 501(c)(3) - 17 Oct 2006 9:29 PM - 4 messages
Thank you in advance for all your assistance. It is greatly appreciated, especially the Microsoft Certified Personnel that monitor these newgroups and answer questions and people like Seth and Ghost. I really appreciate all the help you people give. I have a problem, and I know you all can help me with it. My VS 205 ...
Score Q: Advice on threads
G .Net - 17 Oct 2006 9:00 PM - 9 messages
Hi Everybody I was wondering if you experts could cast your eyes over the following code and tell me if I'm doing anything obviously wrong. The code works but causes some unexpected things in an application I'm writing e.g. a form I'm setting ...
Score Open Detail Form
phenderson - 17 Oct 2006 8:32 PM - 2 messages
Hi, I'm just starting to learn VB.Net and am trying to open a filtered recordset based on the value of the current primary key.  For example, I'm using the Northwind and have an Employees form with an Orders ...
Score open source .NET search engine?
susiedba@hotmail.com - 17 Oct 2006 6:37 PM - 8 messages
does anyone know of a framework; or tools; or something-- that describes an open source VB.net search engine / spider? anyone want to trade notes? I want to build something a lot more focused than google; for example; I want to spider Home Depot websites and sell it to Lowes. ...
Score Recognizing if SQL Server is installed (and what version)
Rico - 17 Oct 2006 6:12 PM - 10 messages
Hello, I have an application which I'd like to determine if SQL Server is installed, and if so, what version.  Is there any way to do this outside of error trapping? Thanks! Rick ...
Score Uninstall a device
Mac - 17 Oct 2006 6:05 PM - 3 messages
Hi folks, As you all know, in DeviceManager you select a Device using right Mouseclick and select Uninstall to remove this Device (no matter wich kind of device).. My question is: Can someone give me a WORKING example on how to uninstall a ...
Score Split monitor screen into multiple windows
Bill Nguyen - 17 Oct 2006 4:44 PM - 4 messages
I'm working on a project that requires outputs to be sent to multiple windows on a single monitor. I have no idea whether .NET can provide this capability. Also, is there any utility/control out there that can do this? ...
Score How can I calculate GetBrightness ny myself?
Dominic - 17 Oct 2006 4:14 PM - 2 messages
I know there is a function named GetBrightness() on .net framework but if I need to write this function by myself, how can I do? Because some language does not provide this function, can I calculate by using R G B of the color? ...
Score DateTime Field
Ryan - 17 Oct 2006 3:42 PM - 3 messages
My form includes a field of the DateTime type.  I want to allow the user to be able to set both the date and the time.  By default the DateTimePicker shows just the date and calendar, the time is autoset to 12:00 PM.  How's ...
Score updating sql db via text box
si_owen - 17 Oct 2006 2:39 PM - 2 messages
hi all i want to update a field in my sql db, using a text box on one of my forms. im knew to sql and am struggling with the connection. any help would be much appreceiated. simon ...
Score Passing parameters in VB 2005!!
Nab - 17 Oct 2006 2:38 PM - 3 messages
I have just tried to pass parameters to a procedure in VB 2005 and realised that you only need to pass the input parameter. The output parameter's value will be returned without the need to pass it as was the case in the previous ...
Score Installed, but where is it?
Zer0 - 17 Oct 2006 2:28 PM - 9 messages
Hi everyone, I have created a very small windows application in Visual Studio 2005. I have used the setup wizard to create the setup.exe. Everything installs and runs fine however, I cannot find where the app is installed! I can run the ...
Score Full qual. name of current method
pamelafluente - 17 Oct 2006 12:26 PM - 6 messages
Hi guys,   How do I get the full name of the current (overload) function or sub (whatever it be) ?   Sub SomeFunction()       Dim FullNameOfThisFunction = ???       msgbox(FullNameOfThisFunction ) end sub -P ...
Score Showing Form in New Thread?
Lars Netzel - 17 Oct 2006 11:56 AM - 3 messages
Hi I have a Form that on Form_Load() does some heavy database reading and I want to show that as a progressbar ontop of the main window.. I want to create a smaller Form with a progressbar.. and then in the main ...
Score db connections and text boxes
si_owen - 17 Oct 2006 9:20 AM - 3 messages
hi all i have a db linked to a list box what i also have is 2 text boxes which need to be populated from the db via the list box. the two records i need returning from the same table are question and ...
Score VBNET2005 : Manipulating MS Access tabledefinitions in VB.NET -> Create, Copy and Drop Table.
Screaming Eagles 101 - 17 Oct 2006 9:17 AM - 4 messages
Hi, I have an Access MDB database with a Table1. From VBNET I would like to CREATE a NEW table, which is a copy of Table1, but not with the Data, only the definition. I would also like to have the possibility to DROP a table in that Database. ...
Score Writing Data In Tabular format in Text File.
lucky - 17 Oct 2006 7:51 AM - 4 messages
Hi guys, i want to write some data in tabular format in text file. i've data in strings and i want to write like this in file col1     col2     col3 d1       d1        d1 ...
Score how do you use Class to hold global variables?
dotnetnoob - 17 Oct 2006 5:06 AM - 12 messages
in the old VB, you can use global variables to hold commonly use data. i'll like to pass a variables selected by user in the combobox, how do you hold this variable for other object to use. does anyone have an example? ...
Score User controls in VS 2005
mudguts362004-noshite - 17 Oct 2006 3:16 AM - 3 messages
Hi Im creating a user control that contains multiple check boxes. I go project Add --> New usercontrol I get a blank class no inherits of system.windows.usercontrols, just Public Class MyUsercontrol End class I add my checkboxes and code to handle the relevant check events and a ...
Score .NET FrameWork 1.1 Winform DataGrid
siqram - 17 Oct 2006 2:30 AM - 2 messages
I am trying to find out the actual column width that is available in a winform datagrid in .NET framework 1.1 Width property gives the width of the datagrid. but i want to autoresize my clumns and make them fit in the inner width that is ...
Next » 2 3 4 5 6 7 8 9 10