4,901 Posted Topics

Member Avatar for bklynman01

Or you could have a class level variable like Private Initializing As Boolean = True and set it to False at the end of the initialization. Then in your SelectedIndexChanged events you could do If Initializing Then Exit Sub That would prevent those events from processing until the initialization is …

Member Avatar for Reverend Jim
0
193
Member Avatar for Jockster

Or you can test the operands before you do the divide to see if the denominator is zero.

Member Avatar for Luc001
0
222
Member Avatar for imBaCodes

Cop out. The first girl I was smitten with was Barbara Werch in third grade.

Member Avatar for cproger
2
219
Member Avatar for kartikguha

You need to include the following Imports Microsoft.Office.Interop Then you create a few objects 'create objects to interface to Excel Dim xls As New Excel.Application Dim book As Excel.Workbook Dim sheet As Excel.Worksheet You can open the Excel file by (use your own filename) xls.Workbooks.Open("D:\temp\myfile.xls") 'get references to first workbook …

Member Avatar for kartikguha
0
4K
Member Avatar for Mocabilly

Is it being run under the same account on the file server as it is on the desktop? Is it using a domain account or a local (machine) account? Perhaps it is just an access rights issue. I'm assuming that you are using an hta staher than a vbs script …

Member Avatar for Mocabilly
0
301
Member Avatar for savedlema

Process.Start can take two arguments. The first is the executable, the second is the arguments. System.Diagnostics.Process.Start(txtProgram.Text, txtArguments.Text) For future reference, it is not appropriate to post in other threads in order to direct attention to your problem in another. It is especially inappropriate to hijack a dead thread to do …

Member Avatar for tinstaafl
0
4K
Member Avatar for gumbi17

[Wrox](http://www.wrox.com/WileyCDA/Section/Home.id-105001.html) has produced some excellent books. I suggest [Beginning SQL](http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764577328.html) to start.

Member Avatar for Reverend Jim
0
518
Member Avatar for Ketsuekiame

> Everyone knows I make it a rule to not trust any statement beginning with "Everyone knows..."

Member Avatar for mike_2000_17
0
266
Member Avatar for <M/>

I'm going to post this from the viewpoint of an English only speaking person (apologies to mike_2000_17 and others). The first language you should learn is English. The most important skill you will require is the ability to communicate clearly. It doesn't matter how gifted you are as a programmer …

Member Avatar for jwenting
0
389
Member Avatar for salathia
Member Avatar for salathia
0
179
Member Avatar for arudhumbu
Member Avatar for ddanbe
0
173
Member Avatar for andyshera

This is not the forum for tech questions. It should be posted under [Software Development](http://www.daniweb.com/software-development/2) and tagged with **Excel**. I'm moving it there now.

Member Avatar for jwenting
0
245
Member Avatar for cmabill

If you do a manual delete then you might want to use the registry cleaner feature of [ccleaner](http://www.piriform.com/) to do the registry cleanup for you.

Member Avatar for cmabill
0
290
Member Avatar for imBaCodes

There are several free programs that install print-to-pdf pseudo printers. I've been very happy with [PDFCreator](http://sourceforge.net/projects/pdfcreator/)

Member Avatar for imBaCodes
1
251
Member Avatar for Island_Boy_77

I'm not sure I see the problem. You go to control panel, then Windows Update, then select Change Settings. Then you pick **Install Updates Automatically**. Just like Windows 7

Member Avatar for Island_Boy_77
0
159
Member Avatar for SLMQC

Don't do strMonths.ToString(intCount) ToString is evaluated first on strMonths resulting in "System.String[]". Because strMonths is already of type String (array), there is no need to apply ToString. Just use strMonths.(intCount) To clear an array you just loop over all the elements and set each one to zero such as For …

Member Avatar for SLMQC
0
421
Member Avatar for ansumariyam88

You have a few problems to clear up before we can answer your question. 1. You need to use the **Code** tool to insert code or you lose all formatting (I fixed it up for you this time) 1. You did not attach any screenshots 1. Your question is confusing …

Member Avatar for Reverend Jim
0
212
Member Avatar for spowel4

The usual way is to use wildcards. You didn't say what database you are using so I'll just give you the one for MS SQL. SELECT * FROM mytable WHERE stockNumber LIKE 'CC%' This selects all records where stockNumber starts with CC. Other databases may use other characters for wildcards. …

Member Avatar for spowel4
0
152
Member Avatar for HanyaYgSatu
Member Avatar for pearl.kumar1

Not without knowing more details. Is your table indexed to provide quick access based on how you are selecting the data?

Member Avatar for Abu Ehab
0
149
Member Avatar for Ancient Dragon

>honestly, I wonder whether that situation would also be the same if 'Iron Maggie' would still be dealing the cards You mean like in the US where Republicans would like to see all sex education removed from the schools and birth control made unavailable to teens - a policy which …

Member Avatar for Agilemind
1
1K
Member Avatar for James singizi

> I find it more difficult to retain anything as I'm getting older. Tell me about it. I'm pretty sure that you and I are roughly the same age (59). I've made several attempts to learn Python. Even wrote a 3D Breakout game but I find that I don't do …

Member Avatar for pritaeas
0
323
Member Avatar for androidz
Member Avatar for Reverend Jim

If anyone is interested, there have been over 3530 gun deaths in the USA since the Newtown shootings. Details on those deaths can be found [here](http://www.slate.com/articles/news_and_politics/crime/2012/12/gun_death_tally_every_american_gun_death_since_newtown_sandy_hook_shooting.html). Boston got shut down while police hunted for the remaining man responsible for the injuries and deaths taking place in one incident. Where is …

Member Avatar for Reverend Jim
0
162
Member Avatar for aVar++
Member Avatar for fx.eko
Member Avatar for on93

You have to call Randomize() at the top or you will get the same sequence of numbers every time. Because you are working with such a small set of numbers (by the way, using (0,4) gets you a number from 0 to 3) you will very likely get duplicates. What …

Member Avatar for on93
0
323
Member Avatar for jemartalaban_1

In a nutshell, the most basic way is to use ADO. With ADO you communicate with the database through the connection object and the recordset object You supply a connection string to the connection object then use the Open method to open the connection. You can use the connection object …

Member Avatar for Reverend Jim
0
160
Member Avatar for blivori

Unrelated to the question but worth noting - txtUserSearch.Text is already a String so you don't need to use the ToString method. Just use txtUserSearch.Text

Member Avatar for Dili1234
0
1K
Member Avatar for robnederland

>I want to read the whole thing, search for the keyword "SITUATIONAL" and insert it all into the database and where "SITUATIONAL" will be the key entry for printing it out on the web. Let's take an example. Using your linked text file, what, specifically do you want to insert …

Member Avatar for G_Waddell
0
1K
Member Avatar for LeNenne

If you do Dim fields() As String = TextBox1.Text.Split("-") assuming that you, in fact, have a date entered in the form YYYY-MM-DD then fields(0) will contain the YYYY part fields(1) will contain the MM part fields(2) will contain the DD part This will work even if the month and day …

Member Avatar for LeNenne
0
132
Member Avatar for riahc3

I've never understood why the explicit forms of certain words offend people but the more politically correct (a phrase that offends me) forms such as f-bomb, c-word, n-word, etc. do not when by saying f-bomb you are basically still saying fuck. As George Carlin so aptly put it, "shoot is …

Member Avatar for Reverend Jim
0
515
Member Avatar for Tarwit
Member Avatar for Begginnerdev
Member Avatar for happygeek

@happygeek - You missed an apostrophe? The horror. Obviously that totally invalidates all of the other content. Good thing there weren't further errors or I might have had to equate you to Hitler (because, as you know, some of Hitler's writings contained typos). Sorry. I accidentally turned on Fox News …

Member Avatar for KRRahman
1
478
Member Avatar for Papa_Don
Member Avatar for Ketsuekiame

It's right there in the **Reply to this Discussion** button which ends with **(Alt+S)**

Member Avatar for Reverend Jim
0
139
Member Avatar for macphill

Do you know how to access the individual cells in the rows? Show us what you have.

Member Avatar for Reverend Jim
0
242
Member Avatar for game06

Taught myself basic on the old mainframe at the University of Saskatoon back in 1971. Programs were stored on paper tape. My first formal language was Waterloo FORTRAN (WATFOR) at the University of Manitoba. Punch cards - yay.

Member Avatar for James singizi
0
663
Member Avatar for Octet

>I try not to bring it up Then don't. I think that going off half cocked and throwing around accusations with no evidence is exactly the wrong thing to do. It's an immature, knee-jerk reaction that will only cause more problems than it solves.

Member Avatar for Octet
0
523
Member Avatar for Xantipius

My given names are Richard James but my mother decided I should go by my middle name which is a royal pain in the a$$ because every bleeding form in the world asks for my first name and maybe my middle initial. Thus, whenever the receptionist in the doctor's office …

Member Avatar for vinnitro
-1
287
Member Avatar for Xantipius

Never have, never will. My dad suffered from emphysema after smoking for 40 years.

Member Avatar for mattster
-1
545
Member Avatar for dinesh012

It might be the double comma at @dtaGender,,Telephone and since you are using parameters everywhere else why not change WHERE EId='" & Me.MaskedTextBox6.Text & "'" to WHERE EId=@EId

Member Avatar for PatMoe
0
235
Member Avatar for kiran2012

Normally when you do a join you specify a common (related) field. When you do a join without doing this you end up with a recordset that contains the product of each table. For example, If you have 6000 records in one table and 400 in the other you will …

Member Avatar for Reverend Jim
0
227
Member Avatar for superstar515

This is the vb.net forum. Please post your question in [vb 4-5-6](http://www.daniweb.com/software-development/visual-basic-4-5-6/4)

Member Avatar for Reverend Jim
0
215
Member Avatar for oseijy

I've used both Melody Assistant and its bigger brother, Harmony Assistant from [Myriad Online](http://www.myriad-online.com/en/index.htm). I used the Virtual Singer add-on to create four-part vocal tracks for my quartet for learning the various vocal parts.

Member Avatar for BigPaw
0
135
Member Avatar for masterjiraya

If you mean expanding/collapsing long code segments it was answered [here](http://www.daniweb.com/community-center/daniweb-community-feedback/threads/452314/when-codes-get-long)

Member Avatar for Reverend Jim
0
187
Member Avatar for Papa_Don

Without getting into all the other stuff, if you want to know the highest number in a column you can use the MAX function as in SELECT MAX(PrinterID) FROM ...

Member Avatar for Papa_Don
0
2K
Member Avatar for ScarWars9

The most complex program I ever wrote was when Westinghouse was developing our first AGC/SCADA system (in service 1983-1998). Although Westinghouse developed the codebase, it was up to us to create the databases. This was done using a DDL (data definition language) which was used to create the hierarchical database …

Member Avatar for <M/>
0
296
Member Avatar for amvx86

The following lists all of the subkeys under HKCU\Software Dim key As Microsoft.Win32.RegistryKey = My.Computer.Registry.CurrentUser.OpenSubKey("Software") For Each subkey In key.GetSubKeyNames Debug.WriteLine(subkey.ToString) Next

Member Avatar for amvx86
0
2K

The End.