-
- Synchronous call
by michaelp
- 4 Replies
- Last post
by michaelp
- Hello, I have a simple loop that i would like append to a text box. Can some one please indicate how i can have it run with each "for" being written to the text box instead of waiting untill all is finished processing Thanks MP =================================================== For i As Integer = 1 To 4 Select Case i Case 1 srv = "NTEST"
-
- How to Rename a folder created by VS2005
by iHandler
- 10 Replies
- Last post
by iHandler
- I simply want to rename a VS2005 project's folder, but I cannot do that, why
What I can:
------------------------------------------------------
Project Name
Assembly Name Default namespace
*right-click on the project
What I cannot:
------------------------------------------------------
Rename the correponding FOLDER
for example, I created a project call
-
- Voice font with a british accent
by Ted Carron
- 2 Replies
- Last post
by Ted Carron
- I con not find anywhere else to ask this question so I am sorry if it is out of subject.
Does anyone know where I can get/buy a voice font for the 'Speech SDK 5.1' with a British accent
-
- Help!! Error Login failed for user ''. The user is not associated with a trusted SQL Server connection.
by ACCOUNTINGONLINE.US
- 4 Replies
- Last post
by ACCOUNTINGONLINE.US
- I used to connect fine until I upgraded from visual basic studio standard to vs professional
how can I be able to connect back to my database; I checked the connection string and the server explorer, they connect fine when i click to test ; but wen I try to run the program i get the above error
Code:
Public Class ProductDB
Public Shared Function GetProducts() As
-
- form activate event
by marko mostar
- 2 Replies
- Last post
by nobugz
- I developed user form with meny variant (subclass - depending of user data and purpose with lot of same code), ideal for me is to group that forms on tabcontrol on diferent tabs on same form, but when I do this (see code snippet) forms event activate and deactivate not fireing-occurs , seams to me everything else is ok:
Code Snippet
dim f as new form
f.toplevel=false
me.
-
- Working with arrays
by Dave Patricio
- 7 Replies
- Last post
by Dave Patricio
- hi, i'm currently working with a function that queries a database for a number of employee id's. i'm trying to save all results in an array and pass then to another function via return. how can i add to an already populated array since i'm using data reader and how can i pass the whole array in return. my code is something like this: dim employee_ids() as string while reader.read ' dat
-
- Storing values from a file permanently so that the file is not necessary once compiled
by RJBriscoe
- 7 Replies
- Last post
by SJWhiteley
- I need to read through a file and assign values from the file into an array that stores the values permanently once the program is compiled. I am creating a program that will have multiple users and I don't want to send an accessory file each time I send the program out. I could hardcode the values into an array, but that would be a lot of time and lots of lines of code. Below is a shortened versi
-
- how to add a row dynamicallly in datagrid?
by Jay_Vora_b4843e
- 3 Replies
- Last post
by Jay_Vora_b4843e
- any ideas regarding adding a row dynamically in datagrid
thx in advance
-
- Labelprinting with Imports Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6
by BLIS
- 2 Replies
- Last post
by BLIS
- I am new to this topic and try to print barcode using power pack.
The problem is.
Then number does not print as barcode. The printer driver is OK and the program changes fonts when I use this code:
printer .FontName = "Times New Roman"
When I use my printer spesific barcode font :
printer.FontName = "DATAMAX_EAN13"
Then the number is printed without ba
-
- BindingNavigator bar in a generic windows form
by fnuran
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi,
I have developed a generic form for a windows forms appl with a datagridview and binding navigator bar. I have bound navigator bar to datagridview, but I have some troubles with the icons (first, next, previous...) which I have to get from resources of appl.
Please could you explain me how I can use a navigator bar in the form
Thank you
Nuran
-
- Scan a Document and create a VB Form
by Subumysore
- 2 Replies
- Last post
by Subumysore
- Is there any way that we can scan a paper form, say the Tax Form, and make it into a VB form for editing the required fields
-
- How to give link to MS excel file from Visual Basic 6.0 Edition
by M_Kumar_d4b93d
- 2 Replies
- Last post
by BLIS
- How to give link to MS excel file from Visual Basic 6.0 Edition.
I want to know how to give link for Excel files from VB
-
- Polymorphism? How can you avoid "switch" statements?
by John Oliver (UK&am
- 14 Replies
- Last post
by decyclone
- Hi ALL,
I've create a CLASS where it uses the TYPEOF statement to determine what the object passed to it is, e.g.
If TypeOf(myObject) Is PictureBox Then
'some code.
ElseIf TypeOf(myObject) Is Panel Then
'same code as above only "operating on a Panel"
'with the CreateGraphics.DrawLine method
EndIf
Can i get this to work o
-
- Newbie Question: Multiple Forms Issue
by iXneonXi
- 2 Replies
- Last post
by iXneonXi
- I'm a newbie to VB 2005 Express. I have two forms in my program. I have:
Dim Program2 As New frmProgram2 directly below my main form:
Public Class frmRD I have a menu click event procedure do
'Launch Program 2 Program2.Show() It works. However, if I exit the form and want to launch it again, I receive the following error: ObjectDisposedException was unhandled: Cannot access a disposed o
-
- IRC connection from a VB 2005 express applet?
by indigo-alien
- 4 Replies
- Last post
by indigo-alien
- I don't need much, just the ability to send a one line msg on an event.
The applet buys/sells stocks or options and that part works fine. Now I would like the applet to report the action to an IRC channel. The applet probably doesn't even need to have the connection persist because the computer is already connected to the IRC server and channel through mIRC.
I can't even find any coding samp
-
- Need help: File.Copy throws TargetInvicationException
by Dallastower
- 2 Replies
- Last post
by Dallastower
- Hello!
I¡¯m trying to set up a FileSystemWatcher, which I want to monitor a map, and as soon as a file is created, copy the file to another directory.
Private Sub InitializeComponent()
Me .FileSystemWatcher1 = New System.IO.FileSystemWatcher CType ( Me .FileSystemWatcher1, System.ComponentModel.ISupportInitialize).BeginInit() Me .SuspendLayout()
Me .FileSystemWatcher1.EnableR
-
- getchildrows help
by Cammyr
- 6 Replies
- Last post
by Dick Donny
- I need to open a new excel sheet for each row in "Customers" that has childrows in "Invoices" then get invoiceschildrows from "InvoiceDetails" and export the invoicedetails information to excel. I'm very unsure of the syntax of using getchildrows. examples would be very helpful.
Thanks!
-
- Windows Service Monitoring Problem On Vista
by Samer Selo
- 8 Replies
- Last post
by Samer Selo
- I've built a small utility to monitor the status of SQL Server Express and start/stop it and it works nicely on Windows XP SP2 and fuctioning great but when I've tested it on windows vista it monitors the service ok but I can't start/stop the service any more unless I use the Run as administrator command to start my tool
I've used the folowing code to test my rights on windows
My .User.IsIn
-
- Breakpoints not working on x64 vista platform
by Steve Webber
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Breakpoints to not work (don't seem to be hit) when running Visual Studio 2005, sp1 on a Vista x64 platform. Has anyone else run into this problem I am trying to develop an ASP.NET 2.0 simple web site and a breakpoint near the beginning of a Page_Load routine does not get hit, but the page is loaded.
-
- My Data Problems :(
by xplosiv_1
- 7 Replies
- Last post
by SJWhiteley
-
- Array.BinarySearch Question
by IceAngel89
- 3 Replies
- Last post
by Mattias Sjogren
- Hi, i am tring to validate my user inputs by checking what Key they press, so on the KeyDown event, i did like: Private validDecKeyCodes As Keys() = {Keys.D1, Keys.D2, Keys.D3, Keys.D4, Keys.D5, Keys.D6, Keys.D7, Keys.D8, Keys.D9, Keys.D0} If Array.BinarySearch(validDecKeyCodes, e.KeyCode) < 0 Then e.SuppressKeyPress = True AlertMessage("Value entered is not a valid Decimal value (
-
- How do I update a specfic column in SQLEXPRESS using VB 2005
by geoff_1707
- 4 Replies
- Last post
by geoff_1707
- First let me say that I am very new to this and have started training but need to solve this problem quickly. Can you please help.
I have a database called TestDB with the following columns:-
userName - (nvarchar(50), not null)
userCount - (int, null)
Code as follows. I know its not as advanced as you may use but we all have to start somewhere
Imports System.Data.SqlClient
-
- can't find references
by ihatems2
- 6 Replies
- Last post
by m1k4
- I inherited this vb application. I can't even edit some forms because I get a class not registered exception so therefore I can't delete the offending class. So I look in the reference list and there are several with yellow exclamation points. A search of the microsoft web site brings up nothing. Where can I find these AxComCtl2 AxMSMask ComCtl2 MSMask
-
- Help me with "Favorites menu" of Web browser use IE kernel
by sunrise_vn
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi everybody! Now I'm finding source code of "Favorites Manage" for IE same as "Bookmarks Manager" of Firefox.Please help me - Thank you very very very much.
-
- Colour Combo Box
by xplosiv_1
- 14 Replies
- Last post
by Tall Dude
- Hi, How do i get a combo box to display system colours As i am using it so the user can select the background colour for a graph. I have tried colourcb.text = color() but this produces an error any ideas Andy