4,922 Posted Topics

Member Avatar for jkon

I found a bug in the PL/1 compiler (verified by my professor) that caused me to had in an incomplete project. I spent two days trying to figure out what I was doing wrong until I finally approached my professor. Anyone remember PL/1?

Member Avatar for Slavi
0
548
Member Avatar for sing1006

I presume the error you got was regarding incorrect SQL syntax. You didn't post the error message. Without seeing the actual query, determining the problem will be, well, a problem. The actual query passed to the database engine depends on 1. the constant strings like "UPDATE tbl_System" etc 1. the …

Member Avatar for sing1006
0
264
Member Avatar for ajit.nayak

Use Private Sub ComboBox_TypeOfSys_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ComboBox_TypeOfSys.SelectedIndexChanged PictureBox_FullFeed.Image = Image.FromFile(ComboBox_TypeOfSys.Text) End Sub

Member Avatar for Reverend Jim
0
367
Member Avatar for Violet_82

You could try to recover the product key using [this utility](http://www.nirsoft.net/utils/product_cd_key_viewer.html)

Member Avatar for happygeek
0
1K
Member Avatar for Arun_14

Lacking code, I would hazard a guess that it is not doing a running calculation (1+2+3) but only displaying the result of the last operation (2+3).

Member Avatar for Santanu.Das
0
183
Member Avatar for Reverend Jim

I can't take it anymore. At first it was only occasionally. Now it seems that every time I turn on the TV someone else is doing it. Doesn't our school system teach English anymore? I am referring, specifically, to pronouns. At least three times today I have heard expressions like …

Member Avatar for Reverend Jim
7
5K
Member Avatar for Okere

We will not do you work for you. We *will* help with specific problems if you 1. provide specific information 1. show us that you have put in some effort to solve it yourself Keep in mind that while it may be urgent to you, it is not urgent to …

Member Avatar for Joe-Guru
0
171
Member Avatar for Reverend Jim

Skype used to have a setting that would allow me to block all unsolicited contact requests. Shortly after Microsoft acquired Skype this feature was removed. I used to get 2-3 requests per week and it was easy enough to delete-and-report-abuse although I suspect nobody ever actually looked at these reports. …

Member Avatar for Reverend Jim
0
752
Member Avatar for Dark_1

I'm not sure I follow the logic but I'm going to offer a suggestion to see if that simplifies things. The user is expected to click on a textbox and "Click" is not an event associated with a textbox. It's more of a button thing. My suggestion is to create …

Member Avatar for Reverend Jim
0
214
Member Avatar for jakub.peciak

If you scan the folder when the app first starts and build a list of the files you can have your app notified when any new files are created. Here is an example (VB 2010) you can run. Just create a new project and add a listbox control named `lbxFiles`. …

Member Avatar for Reverend Jim
0
212
Member Avatar for Nathaniel10

In my experience your boss determines whether your workplace is heaven or hell, or somewhere in-between. In my 29 years at one corporation I had four different bosses (for the same job). I was part of a group of 5-7 real-time system software specialists. My first boss (male) tried to …

Member Avatar for jkon
0
248
Member Avatar for fugio

You can do Dim val As String = "10010" For i As Integer = 0 To 4 Dim cbx As CheckBox = Me.Controls("CheckBox" & i) cbx.Checked = val.Substring(i - 1, 1) = "1" Next Just replace the `Dim` statement with the statements to retrieve the data from the database. I …

Member Avatar for Reverend Jim
0
150
Member Avatar for Dani
Member Avatar for DavidB

From what I've read, the upgrade uses your existing registration (available from your current installation). The upgrade can be done (supposedly) without having to reinstall any of your existing apps. Once you have done the upgrade, a hash value of your current basic hardware is sent to Microsoft where it …

Member Avatar for Mohosia bush
0
250
Member Avatar for mbowenitj
Member Avatar for Erald

At [ConnectionStrings.com](https://www.connectionstrings.com/access-2013/) the string for Access 2013 (standard security) is Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccessFile.accdb;Persist Security Info=False; Try specifying the fully qualified file name for the database. It also might help (more info) if you comment out the try/catch logic and get the actual error message instead of masking it with your own.

Member Avatar for Erald
0
2K
Member Avatar for Dani

I posted a couple of things RE privacy [in the Windows 10 thread](https://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/491330/windows-10/3#post2180527). As for the WiFi shariinge risks, you may want to read [this](http://www.zdnet.com/article/no-windows-10s-wi-fi-sense-feature-is-not-a-security-risk/).

Member Avatar for Reverend Jim
1
495
Member Avatar for altjen
Member Avatar for atsproperty

It is one thing to point out perceived shortcomings of someone else's work. It's another entrely to get personal. I'm always in favour of rational and constructive criticism. However, referring to a feature, or lack of one as "stupid" is not rational or constructive. It is just rude. I can …

Member Avatar for Reverend Jim
-3
514
Member Avatar for Mhargail11

For MS SQL an example is SELECT * FROM Orders WHERE OrderDate BETWEEN '1996-07-01' AND '1996-07-23' For AccessDB use SELECT * FROM Orders WHERE OrderDate BETWEEN #1996-07-01# AND #1996-07-23#

Member Avatar for Reverend Jim
0
59
Member Avatar for mbowenitj

You already have the employee ID in txtEmpId and the employee name in txtEmpName before you click SEARCH. What am I missing?

Member Avatar for mbowenitj
0
232
Member Avatar for altjen

I suggest you get a book on operating system design and read it instead of asking us to help when you have shown no proof of effort on your part. I also suggest that vb.net (or vb of any flavour) is probably not your best choice of language for this …

Member Avatar for rproffitt
0
249
Member Avatar for Imam_3

A few things to note here. Do not create the control in the BG thread. Make it part of your GUI. Create a Sub to update the existing label with the new value. The Update Sub will handle whether or not to do the update normally (foreground) or through the …

Member Avatar for Reverend Jim
0
1K
Member Avatar for djrico8

Fields are zero-relative. You *could* index them by (using the correct syntax) healthlbl.Text = reader(0) strengthlbl.Text = reader(1) but this is bad practice because if you change the query you might brreak the code. You should, instead, index using the field name as in healthlbl.Text = reader("health") strengthlbl.Text = reader("strength") …

Member Avatar for djrico8
0
305
Member Avatar for babir

And what are you having a problem with? You haven't said what kind of database you are using or what language you are programming in. Is your problem with the database design or the queries? Is your problem with the connection string? Show us what you have so far. If …

Member Avatar for Reverend Jim
0
201
Member Avatar for Reverend Jim

I use Skype frequently for voip. After I reboot, and for an indefinite time after, everything works fine. But eventually my microphone (Dell built-in) stops working. The party at the other end no longer hears me. It's not just Skype. Windows Sound Recorder doesn't pick up anything. Neither does Audacity. …

Member Avatar for Reverend Jim
0
514
Member Avatar for Gbtech

We won't do the work for you. We certainly can't help based on a complete lack of information. Also, I would expect that since you are posting from California that you could put a little more effort into posting a question in something resembling English.

Member Avatar for Reverend Jim
0
134
Member Avatar for basit_3
Member Avatar for Reverend Jim
0
93
Member Avatar for Christopher_12

What do you mean by "connect it to the database"? Are you saying that you cannot connect with the database or that you cannot encrypt/decrypt data to/from the database? It would also help if you commented your code. When I see code with no whitespace and no comments I mostly …

Member Avatar for Reverend Jim
0
497
Member Avatar for malcolmizizy

Reminds me of the [How to Do It](https://www.youtube.com/watch?v=tNfGyIW7aHM) Monty Python sketch.

Member Avatar for Reverend Jim
0
105
Member Avatar for _avishek

In 29 years at my former place of business (approx 5000 employees) I've seen two times when consultants came in to administer personality tests. Each time we were given a fancy pop-up card with a colourful graph to display on our desks for the dubious benefit of promoting better interaction …

Member Avatar for jwenting
0
275
Member Avatar for zizo.ahmed.779

>the problem that i don't know when to start You start by writing the parts that you can and stubbing out the rest. Then you can ask specific questions about the stubbed out parts. When I see phrases such as "I want to make something like..." my first impression is …

Member Avatar for rproffitt
0
224
Member Avatar for Christopher_12

This is at least the third time you have asked essentially the same question. If you are unclear on the answers you have been given then ask for clarification in that thread. Also, please use the CODE tool for posting code. >i would like to have my encryption appear on …

Member Avatar for Reverend Jim
0
315
Member Avatar for Sneaky Pete
Member Avatar for Reverend Jim
0
325
Member Avatar for vegaseat

"I don't fear computers. I fear the lack of them." Isaac Asimov

Member Avatar for Reverend Jim
0
670
Member Avatar for fowlergeorge

One time I was able to recover the text only from a corrupt word file by using strings.exe which is available as a free [SysInternals](https://technet.microsoft.com/en-us/sysinternals/bb842062.aspx) tool. That program will extract all text strings from any file. If the file is compressed then you are likely out of luck.

Member Avatar for GarryBates
0
942
Member Avatar for Aeonix
Member Avatar for professor123

As far as I know the only way to get your encrypted adta back is to pay the ransom. Typically you are given a set number of days to pay the ransom. If you don't pay it before the deadline you are screwed. Removing the virus has the same effect …

Member Avatar for Abdelilah_1
0
240
Member Avatar for John_92

I presume the error is from sum1 = (dr("slpri").ToString) My guess is that you haven't specified a field name for the SUM in the query. I'm not that familiar with mysql but you could try either changing the query to qry = "Select total=sum(slpri) From sales where slsnum > '" …

Member Avatar for Reverend Jim
0
97
Member Avatar for webecedarian

Try [here](http://www.dmagazine.com/publications/d-magazine/2013/november/real-story-of-lavabit-founder-ladar-levison?single=1)

Member Avatar for Reverend Jim
0
101
Member Avatar for ddanbe

That happens with technology. At first it is a convenience, then we become dependent on it. Think about modern agriculture. We are so dependent on non-sustainable techniques that we will eventually be unable to feed everyone (and I'm not talking just third world countries). What happens when antibiotics are no …

Member Avatar for webecedarian
0
391
Member Avatar for vegaseat

Here in Winnipeg we used to have occasional floods from the Red River. The one in 1950 caused widespread destruction. Since then we built the Floodway which diverts the water around the city. In terms of construction, it was a larger project than the building of the Panama Canal, however, …

Member Avatar for ddanbe
3
571
Member Avatar for zelrick

Just a thought - I think you would be better off parsing the numbers as integers rather than strings. To get the two "parts" of a number you can do num Mod 1000 'for num = 98765 this results in 765 num \ 1000 'for num = 98765 this results …

Member Avatar for zelrick
0
714
Member Avatar for highschool

> I now have a US Patent for adaptive systems Do you mind if I ask how you managed to get a patent without the "big boys" claiming they thought of it first? As I understand it, it is common for deep pockets to threaten to tie you up in …

Member Avatar for Mr.M
0
207
Member Avatar for computer_man

Please show us what you have done so far. We are not going to write the app for you. In the future, please post all relevent files on this forum by clicking the paperclip icon in the edit box toolbar. It would also help if you were to show us …

Member Avatar for zelrick
0
905
Member Avatar for neam
Member Avatar for neam
0
99
Member Avatar for sonlamhpu

I can't try your example locally but I have a couple of suggestions. First, I suggest you have a look at [this tutorial](https://www.daniweb.com/software-development/vbnet/tutorials/477520/how-to-use-backgroundworker-to-create-threads) about Background Threads. It explains how to use delegates to update foreground controls (which you will need to update a progress bar). The second thing is a …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Christopher_12

The following uses a form with one button, and two multi-line textboxes. To test, paste some code into txtClear then click the button to encrypt. Click again to decrypt. I'm not clear on some of the details but it does work. If you google "vb.net cryptography" you can get more …

Member Avatar for Reverend Jim
0
322
Member Avatar for zelrick

The easiest way to separate out numbers delimited by one or more blanks is with a regular expression. Here is a sample Imports System.Text.RegularExpressions Public Class Form1 Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Dim rex As New Regex("[0-9]+") Dim line As String = " 123 45 …

Member Avatar for zelrick
0
5K
Member Avatar for ship69

You might want to have a look at [BitTorrent Sync](https://www.getsync.com/). It will sync data between computers without requiring a server in the cloud. Your data never appears anywhere but the source/target computers.

Member Avatar for Reverend Jim
0
389

The End.