4,911 Posted Topics

Member Avatar for Reverend Jim
Member Avatar for Magic8Computing

>That doesnt really explain how to No kidding. Microsoft would explain a beach by describing (in great detail) every grain of sand and every possible activity that can be done on that beach. Simple examples are often lacking. Declare a StreamWriter as Dim sw As New System.IO.StreamWriter("d:\temp\myfile.txt", False) Set the …

Member Avatar for Mr.M
0
176
Member Avatar for Papa_Don
Member Avatar for SaRa Ahmad

That can be caused by a bad connection string. What is your connection string and what kind of database are you connecting to? What line is throwing the error?

Member Avatar for Goutami_1
0
1K
Member Avatar for Nandomo

I think your code would be a lot clearer, less prone to typos and easier to modify if you used intermediate variables. For example DailyRate = arrDailyRates(cboBoard.SelectedIndex) Select Case cboBoard.SelectedIndex Case 0 To 1 If intDaysRented = 0 Then If intHoursRented > 3 Then cost = DailyRate Else cost = …

Member Avatar for Reverend Jim
0
172
Member Avatar for OMER AHMED

So you want us to find the code for you? Or do you want suggestions for websites which will teach you to code? If the former then you can use Google like anyone else. Ditto for the latter.

Member Avatar for AleMonteiro
0
158
Member Avatar for pritaeas

Seems pretty subjective to me. I don't have a problem with it. Then again, my eyes are quite a bit older than yours so perhaps that has something to do with it.

Member Avatar for diafol
4
852
Member Avatar for Siberian
Member Avatar for ClaireBear82
Member Avatar for Wolf_2

I'm not seeing it and I looked really really hard. Try clearing your cache.

Member Avatar for Reverend Jim
0
70
Member Avatar for happygeek
Member Avatar for Riptyed
6
722
Member Avatar for KenSquare

You have to add adodb to the project. Project -> Add Reference .NET tab Sort by component name select adodb

Member Avatar for KenSquare
0
294
Member Avatar for KennieA

At least you took the time to ask politely, unlike several other people who have recently posted theor homework verbatim.

Member Avatar for Reverend Jim
0
515
Member Avatar for fiakofi

I find it particularly annoying that not only do you expect us to do your homework for you but you can't even be bothered to ask. You just post the question and expect us to do the work for you. You get a downvote for your lack of effort.

Member Avatar for Reverend Jim
-1
213
Member Avatar for Papadick

I find it particularly annoying that not only do you expect us to do your homework for you but you can't even be bothered to ask. You just post the question and expect us to do the work for you. You get a downvote for your lack of effort.

Member Avatar for Reverend Jim
-1
247
Member Avatar for Godwin Owusu

I find it particularly annoying that not only do you expect us to do your homework for you but you can't even be bothered to ask. You just post the question and expect us to do the work for you. You get a downvote for your lack of effort.

Member Avatar for Reverend Jim
-1
107
Member Avatar for Satyam_1

Example. Iterate over all columns to change the entire row. dgvNames.Rows(row).Cells(0).Style.BackColor = Color.Thistle

Member Avatar for Satyam_1
0
4K
Member Avatar for RobertHDD
Member Avatar for MAtkins

The **Teams** table should contain all information unique to a team so why not include the Division as well. By adding the DivisionID to the Teams table you have created the relation without having to create a linking table. It is possible to take normalization too far. I also suggest …

Member Avatar for MAtkins
0
371
Member Avatar for batoolhussain

[This article](http://www.codeproject.com/Articles/5468/ways-of-integrating-MATLAB-with-the-NET) connects the two via C\#. It may provide some help.

Member Avatar for gusano79
0
80
Member Avatar for castajiz_2

I agree with you on the first comment. If I was just left to my own programming I'd get better in only a few areas at the expense of many others. By answering questions on Daniweb I stretch myself in other areas and keep current in areas (like SQL) that …

Member Avatar for diafol
3
684
Member Avatar for arivbot

A listbox can hold any number of lines. If you mean that it limits the number of visible lines, you can change that by changing the Height property. If you do ListBox1.Height = ListBox1.ItemHeight * (1 + ListBox1.Items.Count) then, assuming the form is big enough, the listbox will display all …

Member Avatar for pritaeas
0
300
Member Avatar for diafol

The only poetry I've been able to stomach was Grooks by Piet Hein, unless you count Asimov's Lecherous Limericks.

Member Avatar for joseCRJ
1
548
Member Avatar for pkaylove

Sounds like Explorer crashed. To restart it, press CTRL-SHIFT-ESC to bring up the Task Manager then File -> New Task (Run...) Enter `Explorer` for the task name and click `OK`. It should restart your desktop.

Member Avatar for Ripster
0
240
Member Avatar for Santanu.Das
Member Avatar for Santanu.Das
0
160
Member Avatar for krish.krishna.50552338

Installing an application is more than just copying files to a folder (which it may be possible to undelete as long as the disk areas have not been overwritten). It usually involves things like registry changes and such. If you have uninstalled an application and want it restored you could …

Member Avatar for Reverend Jim
0
48
Member Avatar for Muhammad_76

Even if CD booting is enabled, you may also have to hit a specific key during boot to select an alternate boot device. For example, on my Dell it is F12.

Member Avatar for Reverend Jim
0
143
Member Avatar for Michelle_5

Only a ton. See [here](http://en.wikipedia.org/wiki/Comparison_of_Visual_Basic_and_Visual_Basic_.NET).

Member Avatar for jhaiyz
0
86
Member Avatar for Shanu_1

We don't provide code on demand, however, if you show that you have put in some effort to solve the problem yourself we can help you work toward a solution.

Member Avatar for jhaiyz
0
93
Member Avatar for cathleensagisi
Member Avatar for adam.reilly.148

Try this format bcp emdb..Patch2 out D:\shares\patch2.txt -c -T -S GEN-SERVER\EMMSDE

Member Avatar for Reverend Jim
0
94
Member Avatar for widy.guilias

If the file isn't there then you will have to contact someone [here](http://www.ftsm.ukm.my/).

Member Avatar for Reverend Jim
0
45
Member Avatar for DeanMSands3

Try [testdisk](http://www.cgsecurity.org/wiki/TestDisk). It's free and open source. I haven't had the occasion to try it out but I've read good things about it. There is a [step by step here](http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step).

Member Avatar for rubberman
0
239
Member Avatar for ehpratah

Try SELECT (SELECT SUM(total) FROM icm.sales) AS branch1_sales, (SELECT SUM(total) FROM hism.sales) AS branch2_sales

Member Avatar for ehpratah
0
335
Member Avatar for UBAB_Support

Use the USERNAME environment variables. On my machine with my current account it is USERPROFILE=C:\Users\Jim You can see the resulting command by echo rd %USERPROFILE%\\.digilabs\ubuildabook\data If you use two backslashes before the "." when you post you get C:\Users\PC\\.digilabs\ubuildabook\data

Member Avatar for UBAB_Support
0
232
Member Avatar for easouza

You might need to do it from the command prompt running as Administrator. Assuming your logonid is Eileen you will have to check both C:\Users\Eileen\Desktop C:\Users\All Users\Desktop Do a `dir` from both locations. You should see the folder from one of them. Then use the `rd folder /s /q` command …

Member Avatar for easouza
0
230
Member Avatar for Wilderness Bob

A better method is to use the KeyDown event to suppress unwanted keys Private Sub TextBox1_KeyDown(sender As System.Object, e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown Select Case e.KeyValue Case 50 To 59 'allow digits Case 8, 37, 39, 46 'allow bs, left, right, del Case Else e.SuppressKeyPress = True End Select End …

Member Avatar for Reverend Jim
0
2K
Member Avatar for happygeek
Member Avatar for sumas

To get the table names depends on your database. For MSSQL you can do SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' or SELECT name from sys.tables I think for MySQL it is SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA='dbName'

Member Avatar for djjeavons
0
2K
Member Avatar for asaidi

Is your database set to use case sensitive strings? Try SELECT COUNT(*) FROM route WHERE van = 'van1' SELECT COUNT(*) FROM route WHERE van = 'Van1' and see how many records are returned.

Member Avatar for asaidi
0
142
Member Avatar for edzel joh

There is nothing wrong with using MS Access for student project database. It's when you want to make a database of any significant size that it becomes a problem. As for the original question, you have to show us that you have put some effort into the program before we …

Member Avatar for Reverend Jim
0
338
Member Avatar for altjen

That doesn't address the question of whether you **should** be storing the file at that location. Just because you **can** do something doesn't mean that you should. What is the purpose of that file? Is it an all users file or is it specific to each user? Perhaps a better …

Member Avatar for Mr.M
0
302
Member Avatar for jez9

I'm not sure I see the problem. If you run osk.exe then click in a textbox to give it focus, whatever keys you click in osk will be sent to that textbox. If you want the keys to go to a different form or textbox then give that textbox focus.

Member Avatar for Reverend Jim
0
9K
Member Avatar for Lethugs

You'll have to post the table structures along with a description of what you are trying to do with the query.

Member Avatar for Lethugs
0
339
Member Avatar for jez9

Try sql = "Update TBLORDERS " & " set qty = qty + ?," & " price = price + ?" & " where nod = ?" You were missing a comma.

Member Avatar for jez9
0
1K
Member Avatar for gbhs

This sounds like a homework question so I won't post the code but I can suggest that you use a regular expression to match "go" between two non-alphabetic characters.

Member Avatar for Reverend Jim
0
237
Member Avatar for Hari om

It's just a string. Change it like any other string. If you don't know what to change it to please refer to [connection string reference](http://www.connectionstrings.com/).

Member Avatar for Reverend Jim
0
101
Member Avatar for Erick_3

What happens if you use the actual column name in the query like SQL = "SELECT ID FROM ReqItemList WHERE ReqItem = " & inputin When you are doing a SELECT it doesn't matter if the column is AUTONUMBER or not.

Member Avatar for Reverend Jim
0
231
Member Avatar for Lardmeister

When you buy a hot dog at a baseball/football game you never know if you are getting a fresh one, or one that was leftover from the last game and just reheated. I know several people who worked the games as vendors and they said that this was common practice.

Member Avatar for HiHe
0
463
Member Avatar for ochieng denis

Tell me about it. Bluetooth was supposed to be the communication protocol that solved all of our communication problems. After two years of intermittent experimentation (and hours wasted with tech support via email and phone) I was unable to get either the built-in bluetooth (Dell Inspiron) or two external Bluetooth …

Member Avatar for Reverend Jim
0
164

The End.