4,911 Posted Topics

Member Avatar for Alessandrorenzi

**If** you have the appropriate rights to access the remote PC, and **if** that program is available through a share on that PC and **if** it is a stand-alone program (does not require components that are not installed on your PC then you should be able to execute the program …

Member Avatar for Reverend Jim
0
272
Member Avatar for bCubed

>Write functionality via our API is currently limited to voting up/down on posts I can see that being abused unless safeties are built in.

Member Avatar for Reverend Jim
2
548
Member Avatar for schroaus

If the PasswordChar property of the textbox is set to a character (such as asterisk) then anything you type will display as that character. TextBox1.PasswordChar = "*"

Member Avatar for schroaus
0
291
Member Avatar for Aven.Seven

Easiest way is to wuery the database as in SELECT COUNT(*) WHERE Username = 'joeblow' If the returned value is 0 then the username is available. I suggest you use parameters to create the query string. How you do that depends on whether you are using OleDB or SqlClient. You …

Member Avatar for Aven.Seven
0
154
Member Avatar for aisha.edris1

Try [Visual Basic Fundamentals: Development for Absolute Beginners](http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners)

Member Avatar for Jx_Man
0
114
Member Avatar for Stuugie

What mike said. I find it useful to write the comments first and fill in the code as I go. For one thing it gives the code more of a narrative feel and helps to minimize the useless comments like "add one to x". A lot of what I wrote …

Member Avatar for Reverend Jim
0
205
Member Avatar for Ann95

If the source for the DataGrid is a database you should be able to do it with a single query. If you provide more detail perhaps I can suggest something.

Member Avatar for Ann95
0
165
Member Avatar for mcoliver88

Help is offered in the public forums, not through PM. Please post your code here and we can have a look.

Member Avatar for imBaCodes
0
267
Member Avatar for LEAN.HEART.YOU

To avoid confusion it is better to remove the blanks or replace them with underscores as in **LastName** or **Last_Name**

Member Avatar for LEAN.HEART.YOU
0
243
Member Avatar for ddanbe

I think it used to be at the top. IMO it could be displayed a little more prominently, at least for newer members.

Member Avatar for deceptikon
0
303
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
519
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
267
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
324
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
479
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

The End.