4,901 Posted Topics

Member Avatar for Hazuan Nazri
Member Avatar for Hazuan Nazri
0
344
Member Avatar for Ahmed.C

Are you wanting all of the folders immediately under C or do you mean all of the folders in C:\ and all subfolders? For the first case you can do ListBox1.Items.AddRange(My.Computer.FileSystem.GetDirectories("C:\").ToArray) If you want all folders then you can do it recursively by Private Sub Form1_Load(sender As System.Object, e As …

Member Avatar for Ahmed.C
0
2K
Member Avatar for Ancient Dragon
Member Avatar for Reverend Jim

Silent Circle (co-founded by Phil Zimmermann, the creator of PGP) has shut down its encrypted email service, Silent Mail, over fears that the NSA will force them to turn over customer data. Read the full story [here](http://techcrunch.com/2013/08/08/silent-circle-preemptively-shuts-down-encrypted-email-service-to-prevent-nsa-spying/).

Member Avatar for Reverend Jim
0
828
Member Avatar for themaj

I don't think you can do this with INSERT INTO [BLAHBLAH] SELECT \* FROM ds.tables("data") because you are using two connections. You can only do that type of insert when the databases are on the same server. You are not working with a large number of records so I'd just …

Member Avatar for ss125
0
290
Member Avatar for <M/>

I like the introduction of biometrics, but I heard the phrase "incredible new colours" used at the unveiling. Whoop-di-freakin'-do. **New** colours, ok. But **incredible**??? Talk about marketing overkill. I only hope the new colours can manage to live up to the hype.

Member Avatar for <M/>
0
192
Member Avatar for happygeek

Welcome to penultimiate power. Bwahahaha. Wait. Did someone mention maturity ;-P

Member Avatar for Samuel Baker
1
817
Member Avatar for nitin1

> because he'll just be penalised for his success I seriously doubt that the rick (especially since Reagan) can legitimately claim to be punished. They are the only group that has seen their income rise significantly in the last few decades. They enjoy numerous tax breaks that are unavailable to …

Member Avatar for vegaseat
0
245
Member Avatar for chester8

Try [Connectionstrings.com](http://www.connectionstrings.com)

Member Avatar for Reverend Jim
0
70
Member Avatar for james.lu.75491856
Member Avatar for arunmarvel5

If by user friendly you mean * we changed everything around for no good reason other than to sell you an upgrade * we removed the Start Button which many users find useful * we will toss you back into the Metro interface every bloody chance we get * we …

Member Avatar for MidiMagic
0
360
Member Avatar for PriteshP23

I'm not sure I follow. If I reword your conditions (and keep the same meaning, I hope) I get 1. delete older versions if OPERATIONAL 2. delete older versions if NOT OPERATIONAL assuming that **delete REST ROWS EXCEPT HIGHEST version** means delete all rows except that row for the highest …

Member Avatar for PriteshP23
0
324
Member Avatar for Andrees92

It would help if you actually put some code in your **Catch** block otherwise you will never see that you are getting an error. Your first problem is that you are not opening the connection to the database. You commented out that line. Try cnanging your code to Try con …

Member Avatar for Andrees92
0
319
Member Avatar for adadziwa

Make your other form the main form and add a custom settings variable at the user level then do Public Class frmMain Private Sub frmMain_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load If My.Settings.ShowSplash Then frmSplash.ShowDialog() End If End Sub End Class Public Class frmSplash Private Sub btnDisable_Click(sender As System.Object, …

Member Avatar for adadziwa
0
140
Member Avatar for bishop_kv

I don't see the problem. Of course, you didn't show us your code. The following works fine for my test file of around 5600 lines of text. Dim lines() As String = System.IO.File.ReadAllLines("D:\temp\Asimov, Isaac - Elija Baley 01 - The Caves of Steel.txt")

Member Avatar for bishop_kv
0
180
Member Avatar for strongpot

Or in the insert you can do INSERT INTO mytable (picid,picture,recordListingID) VALUES((SELECT MAX(picid)+1 FROM mytable),'george.jpg',0)

Member Avatar for strongpot
0
264
Member Avatar for gmmorpheus

For parameterized queries using OleDb you have to use the syntax sSQL = "INSERT INTO faculty (FacultyName, Course, Address, Image)" _ & " VALUES(?,?,?,?) and you have to ensure that the parameters are added in the same order as they appear in the fields list. If you use SqlDb then …

Member Avatar for Kishan Tilak
0
645
Member Avatar for sandeepparekh9

What you do is encrypt the text before you write it to the file. Then after you read it back in you decrypt it app -> encrypt -> file file -> decrypt -> app

Member Avatar for Reverend Jim
2
10K
Member Avatar for Ahmed.C

You'll find a couple of examples in the code snippets section. Here is [one](http://www.daniweb.com/software-development/vbnet/code/366392/encryption-and-decryption-functions-in-vb.net)

Member Avatar for Ahmed.C
0
189
Member Avatar for pritaeas

I tried to upload a file using Firefox v23. I had to clear the cache before the browse buttons would render. But after sselecting the file I got no placement options so I had to cancel. I tried IE 9 and was able to attach the file but there were …

Member Avatar for Dani
0
1K
Member Avatar for pritaeas

If you care to hear one more comment, the Related Articles section takes up almost a third the width of my screen. This means that more code lines get wrapped. Would it be possible to add a gadget (like on Google Maps) that would collapse the Related Articles pael?

Member Avatar for diafol
0
1K
Member Avatar for somjit{}

Depending on the speed of your connection and the size of the file it might take a few seconds for the post-upload options to appear.

Member Avatar for deceptikon
0
306
Member Avatar for DM Galaxy

You have to show some effort. We are not going to write this app for you. Even a minimal knowledge of vb is sufficient to write what you are asking. It's basic string manipulation.

Member Avatar for DM Galaxy
-1
367
Member Avatar for Skyline77

I can't speak in general but in Canada it was recently discovered that a number of workers who were brought into the country from India as temporary (then made permanent through a loophole) employees were found to have purchased their credentials rather than earned them through study.

Member Avatar for somjit{}
-7
588
Member Avatar for DM Galaxy

So your plan is to split the project into modules, then ask people on Daniweb to write each piece for you. Not cool.

Member Avatar for DM Galaxy
0
186
Member Avatar for paulkd
Member Avatar for 3knur8

I've used Networx for a few years and I've never known it to report false numbers, however, if you have more than one computer inside your firewall it is possible that it is also reporting traffic between those machines. Although with the number you are reporting (20,000gb) I doubt that …

Member Avatar for Reverend Jim
0
126
Member Avatar for nikki05

Try Public Class Form1 Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Dim dic As New Dictionary(Of String, String) For Each cbx As ComboBox In Me.Controls.OfType(Of ComboBox)() For i As Integer = 0 To cbx.Items.Count - 1 dic.Add(cbx.Name & "-" & i, cbx.Items(i)) Next Next 'display the dictionary …

Member Avatar for nikki05
0
568
Member Avatar for eshajoshi

Hard to say without knowing your database definitions, what your DBMS is and looking at this app in the debugger to get variable values, but I have two alternate suggestions: 1. Delete and recreate the database tables you want to override. The SQL query to do delete a table is …

Member Avatar for eshajoshi
0
357
Member Avatar for AARTI SHRIVAS

Does it spin up? Does the Windows Disk Manager (diskmgmt.msc) recognize it as a disk? Does it list any partitions? Depending on the degree of "crashness", SpinRite might be able to recover something. Hard to say without more information. It's like saying your car crashed and asking us if it …

Member Avatar for ozstylo
0
295
Member Avatar for praveen1993
Member Avatar for frenchastro

If you are connecting to a SQL server instance on your own (trusted) computer you can use Dim con As New SqlConnection("Server=.\SQLEXPRESS;Database=PUBS;Trusted_Connection=yes;") If you have installed SQLEXPRESS then the above connection string is sufficient. Just replace **PUBS** with the appropriate database name. If you need other strings you can find …

Member Avatar for Reverend Jim
0
229
Member Avatar for infamous.jawad

That is against the daniweb [rules](http://www.daniweb.com/community/rules). The first rule states **Do ensure you own the intellectual property rights to everything that you post**

Member Avatar for Sagarika12313
0
254
Member Avatar for Dili1234

Try changing [Fen_Inovoice_No]='" & TextBox1.Text & "'" to [Fen_Inovoice_No]=" & TextBox1.Text Without seeing your DDL I suspect that Fen_Inovoice_No is being stored as a number, in which case you do not need the single quotes.

Member Avatar for Koelald
0
277
Member Avatar for GeekPlease

You'll have to give us a context. What are you trying to do? If it involves code then please show us the code.

Member Avatar for Dili1234
0
94
Member Avatar for Darkicon

How about a global boolean named MinimizeOnClose which is normally set to True. You could set it to False in ExitToolStripMenuItem_Click. Then in Form1_FormClosing you could test for that and determine whether or not to hide or close. Then your menu handler becomes Private Sub ExitToolStripMenuItem_Click(sender As System.Object, e As …

Member Avatar for Darkicon
0
182
Member Avatar for JD69

Any program that uses an expiry date is subject to being overridden by a program such as TimeStopper unless you can embed a call to an external (internet) time service periodically to get the actual date/time.

Member Avatar for anand.mahato1
0
4K
Member Avatar for babankamal

That's not what we do. You have to show some effort. If you have specific questions then perhaps we can help with that. Besides, why reinvent the wheel? Windows will index your system for you.

Member Avatar for Reverend Jim
0
56
Member Avatar for <M/>

>Glad to be out of school for many years now :) Been down one time Been down two times I'm never going back again Fleetwood Mac

Member Avatar for Dani
0
377
Member Avatar for nitin1

Why don't you just wait until you actually start the job with Samsung before you go job hopping?

Member Avatar for IIM
-2
136
Member Avatar for frank33

Go to the root of your C drive and type dir ipconfig.* /s If it has disappeared from c:\windows\system32 you might still have a copy cached in a sub-folder which you can copy back to c:\windows\system32. Note, youy will need to open a command shell as asministrator to do that.

Member Avatar for frank33
0
611
Member Avatar for Dili1234

We can't tell you what is wrong with your query unless you show us what the query looks like. It's likely a problem with a missing, superfluous, or mismatched single quote. You should rewrite your code to use [parameterized queries](http://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks). This will make the code easier to read and debug.

Member Avatar for Dili1234
0
216
Member Avatar for dante adonai
Member Avatar for mleonard

You don't need to use SqlFileStream to store a PDF (or any binary file) into a database. See the example [here](http://www.daniweb.com/software-development/vbnet/code/461171/insert-a-file-as-binary-data-into-a-database)

Member Avatar for Reverend Jim
0
214
Member Avatar for Neyney1975

It's **not** a complicated thing and it does not require databinding. If your teacher says it **is** a complicated thing then I suggest you take everything he/she says with a grain of salt. Because this is an assignment I will not give you the code but here is a hint. …

Member Avatar for Neyney1975
0
2K
Member Avatar for guente

That would be true if OrdID is a non-numeric field. It is probably numeric and does not require single quotes. But I can't say for sure without seeing the table definition. cmd.CommandText = "UPDATE Sales " & _ " SET Order_Id=" & OrdID.Text & _ ", Order_Category='" & OrdCat.Text & …

Member Avatar for Reverend Jim
0
257
Member Avatar for carl3399

Do you get the same problem if you just try copying a file to that location using Explorer? Your code will write text to a file as long as you have permission.

Member Avatar for DM Galaxy
0
180
Member Avatar for Ahmed.C
Member Avatar for tinstaafl
Member Avatar for tinstaafl
0
244
Member Avatar for ss125

Move all the messages in your gmail inbox into a new gmail folder that you create.

Member Avatar for ss125
0
268

The End.