415 Posted Topics

Member Avatar for Mr.M

As web developers we do take seriously the security of our end users by applying a hash method on their passwords before storing it to the database so should our database be hacked we know that our end user passwords are secure. But what about the browser remembered passwords on …

0
2K
Member Avatar for Reverend Jim

Thanks to Dani queen, I was also affected by this as well, tried to reset password but the email wasn't sent to me, I contacted her about this and she assisted me instantly. I was about to loose hope in gaining back my Daniweb account. Thank you Dani.

Member Avatar for Dani
0
3K
Member Avatar for Mr.M

I have a code that picks contacts, the problem is that if a user pick a contact or choose a contact that was not saved on a phone but was saved on google contacts (This is a way many people now save their contacts so that should their phones are …

Member Avatar for rproffitt
0
939
Member Avatar for Mr.M

Hi DW. Today just came across with something I didn't know of and it may be easy to someone else who had workded with it or had came across it. Look at this example code snippet: $a = '1'; $b = &$a; $b = "2$b"; echo $a. ", " .$b …

Member Avatar for JamesCherrill
0
361
Member Avatar for peterpa

Well I'm not to sure how many levels do you have and also I didn't read your code that much. In my case there are 5 levels so what I did was first get the current user's ID then get how many children that user have, once I have that …

Member Avatar for Mr.M
0
8K
Member Avatar for Theodore_2

Your question and so is your problem not too clear. Please try first to expain what you want to achieve and then explain what is a problem because I personally don't get your question straight.

Member Avatar for Mr.M
0
620
Member Avatar for divinity02

That because you did this in the wrong way, you can't expect php to execute html code you need to `echo` it. The problem is here `<h2> Welcome!!!</h2> <option value="realname"><?php echo $_SESSION['firstname']. ' ' .$_SESSION['lastname']?></option>` you need to echo that something like this `echo "<h2> Welcome !!!</h2>"; echo "<option value='realname'> …

Member Avatar for Mr.M
0
1K
Member Avatar for divinity02

I think you are missing `;` at the end of your code line 26. Also the undifined index does state that the `first` is not defined which means at the time of you loading that pay, `first` wasn't assigned any thing or wasn't even declared as it takes it as …

Member Avatar for Mr.M
0
279
Member Avatar for Mr.M

Hi Guys. I'm having a serious problem that is holding me back. I have a file which is a user dashboard and this file gets data from another php script file which is called by a user login screen when a user clicks login. The file verify the credentials then …

Member Avatar for Daniel_87
0
23K
Member Avatar for Mr.M

Hi DW. I'm trying to post data without refreshing the page using the ajax, and its works fine the problem is that on the response I also get the array data that I posted to my php file then at the end of response is the returned data which is …

Member Avatar for Mr.M
0
492
Member Avatar for ruisi

Well in my case we have bought sms and we have a website so I just simplified my work by creating a simple php file which gets data to be sent then it sends the sms. In my VB.net I call this file and feed it with required data to …

Member Avatar for Mr.M
0
7K
Member Avatar for dibakarmishra

You can use the COM to detect the plugged in devices then from there you can do what ever you want, Please note that you can't get the codes without showing your efforts and clearly show where you are having problems, you can try this www.yiigo.com/guides/vbnet/how-to-twain-scan.shtml

Member Avatar for Mr.M
0
2K
Member Avatar for Mr.M

Hi Dw. This is my first Android app, and what I'm trying to do is to post a POST/GET method to my webserver using Http in Android studio. I also have a Textview which suppose to display echoed data from server which will be a response to a request since …

Member Avatar for Mr.M
0
728
Member Avatar for Mr.M

Hi DW. I am able to purchase from my online store but I don't seem to be able to get the pass through data which whould be sent to my notify_url. Payfast is my payment gateway and now it does call my notify_url because two files are created after I …

0
570
Member Avatar for kberrianjr

Its a good idea to do database but if your data is not too big and you don't worry that much with data loos then you can still continue with text file but since you are new I think you will have to read more in file `streams`, `IO`, just …

Member Avatar for Reverend Jim
0
694
Member Avatar for Mr.M

This may sound confusing but I have a textbox which is a cell number textbox and I want when the max length of 10 has been reached then fire the php code which is inside the same html page as form and this php code will then get the value …

Member Avatar for Mr.M
0
6K
Member Avatar for Mr.M

Hi everyone. I'm having a very seriouse problem where I have a textbox and I want a button and I want to take whatever a user type in this textbox/textarea and set it to the `data-name` which is a button's parameter. Here is the codes. Textarea: `<input type="text" id="dCell" value="Cellphone …

Member Avatar for gentlemedia
0
447
Member Avatar for Mr.M

Hi DW. Is there anyone know how to detect a pre-recorded sound on an audio? What I mean is taking a face detection as an example. To recorgnize that face you need to first have the image you want to use to match or compare with on other image or …

Member Avatar for Peeyoosh S Kammath
0
1K
Member Avatar for Mr.M

Hi DW. I have built a website using Mobirise and now what I want to do is to enable the site to accept comments from people and also display them on the page on the section COMMENTS, now the problem is that I want the comments to use the themes …

Member Avatar for Mr.M
0
324
Member Avatar for Mr.M

Hi Guys. I'm not a c++ dev but a VB.NET developer. I will first explain my scenario so that the question would be clear. Suppose I had a form which has a Label contro named label1 and the project name is Test which is done in a Visual Studio using …

Member Avatar for Mr.M
0
328
Member Avatar for Glenda C.

@Glenda I think that easy as you already know where you want that to be visible which means you will have to modify the > `Label1.Text = DataGridView1.CurrentCell.Value.ToString` to what ever you want, but I think you will have to have some sort of verification if you will have more …

Member Avatar for Mr.M
0
811
Member Avatar for Mr.M

Hi DW. Is there anyone know how to read a text file line by line from the web/internet in VC++? I have a function which works well in reading the local file but its seems as if its doesn't find or read a file on a web server. A file …

Member Avatar for thines01
0
3K
Member Avatar for Abdul_41

Is the problem with getting and reporting data or you haven't used Crystal Report?

Member Avatar for Santanu.Das
0
173
Member Avatar for Mr.M

Hi DW. I would like to know if its possible to get the source path of a file copied/moved to a folder I set a FileSystemWatcher? What I mean is that get the location as to where this file is coming from if its was copied/moved into this folder. Thank …

Member Avatar for xrjf
0
302
Member Avatar for Obbie_1

You problem is here cmd = New OdbcCommand("insert into arsip values (?, ?, ?, ?)", conn) With cmd .Parameters.AddWithValue("?", TextNO.Text) .Parameters.AddWithValue("?", TextJenis.Text) .ExecuteNonQuery() End With conn.Close() you have 4 values that need to be used but you only used 2. If your database doen't have 4 fields then your code …

Member Avatar for Mr.M
0
223
Member Avatar for Obbie_1

Just to be specific to the problem exactly. The error indicate that it couldn't find the file you specified, and it also say that you didn't handle such expection by using a Try method. What could help in this problem is to ensure that the file path is correct. Open …

Member Avatar for Mr.M
0
219
Member Avatar for JModak

Please post that code as of the start of the `Sub` to the end of that sub `End Sub` so that we can see what's wrong, but I think your code is outside the `Sub` that why you are getting those errors but that can be confirmed after you have …

Member Avatar for xrjf
0
1K
Member Avatar for Mr.M

Hi guys. I'm having a very serious problem. I've created Client,Server Socket applications and they work great on local mechine and I also created a test Windows Phone 7 app and configured the static IP address and the wp7 and server does connect when I run WP7 on a simulater, …

Member Avatar for Mr.M
0
589
Member Avatar for amit_44
Member Avatar for a5opyan

Does your script has a connection time out? This can happen if the end user's internet connetcion is slow and also if they are also behind the proxy or their network connection has some blockings in sertain ports. In my case it was the network which had certain ports being …

Member Avatar for Mr.M
0
256
Member Avatar for Vincent_6

In addition to what @ddanbe has asked, can you also be more specific as to what data you want to populate and also where about in the form you want to populate it, I mean the control you want to use to display such data.

Member Avatar for Mr.M
0
169
Member Avatar for Bim_2
Member Avatar for Mr.M
0
123
Member Avatar for JModak

I think what you are trying to say is that you want to Auto Complete when you are typing? Am I right? Please try to simplify what you are saying as it is not clear.

Member Avatar for xrjf
0
503
Member Avatar for Mr.M

Hi DW. Anyone know what/which type of WndProc Windows Message is raised when someone is burning a CD? What I mean here is that if I'm using a software like Nero which is a well known CD burning software. My question is that what type of WndProc Message this software …

Member Avatar for xrjf
0
475
Member Avatar for wilsonchama

Try this. You will have to change the naming. I have a Label which is Label2 which acts as a Total price or (Current Total) and I'm using ListView4. For Each iItem As ListViewItem In ListView4.SelectedItems ' I declared the variables I will use to keep track here. Dim Price_To_Deduct …

Member Avatar for Duane_2
0
2K
Member Avatar for Jàck_23

I will strongly suggest that you first read tutorial that will introduce you to programming language as well as the IDE then read how to create your first program in that IDE, how to use controls etc. From there you will have some ideas onto where to start answering the …

Member Avatar for JamesCherrill
0
695
Member Avatar for Satyam_1

Well What I think you first need to do is that since you know your barcode try finding how many digits it has the for each textbox set its max to that value like if your barcode is 5 digits then set your text box's maxlenght to 5 then on …

Member Avatar for Mr.M
0
1K
Member Avatar for wilsonchama

I think you can solve that error by changing your loop to a For Each because with my guess based on your code you want to take each item and it subitems and assign it to corresponding variables so that you will be able to store them correctly on your …

Member Avatar for Mr.M
0
1K
Member Avatar for iriah

Why didn't you use `Parameters.AddWithValue("@room_no", Label6.Text) & ""`? it works like charm and also if there is an error it will point straight to where you are having an error. The error you are having indicate that there is a miss match of the code, I mean the MySQL script …

Member Avatar for Mr.M
0
5K
Member Avatar for සශික

Well what I've found out in my code when got the same error was that the formated cells is a bit sensitive to the data entered, so the best way to track when/where exactly the error occures you need to add a `MsgBox("Number_here")` above each and every code that will …

Member Avatar for lolafuertes
0
632
Member Avatar for Salem_2

The error do state that your procedure doesn't has parameters and its correct. Look at your procedure code: USE [MPRS] GO /****** Object: StoredProcedure [dbo].[Search_Licenses_By_Number] Script Date: 26-Nov-16 8:06:52 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[Search_Licenses_By_Number] its doesn't accept any parameter(s) but on your …

Member Avatar for Xavier_5
0
322
Member Avatar for Mr.M

Hi Dw. Long time ago I think late last year my computer was infected and I had installed a VM from Oracle and had a number of OS(VMs) installed one of them was with Win7 but I don't know what happened one day, when I open the VM it was …

Member Avatar for Mr.M
0
395
Member Avatar for Sashika_1

The code that @Shark_1 gave you, should go to your database connction function or what ever you have put your database connection at. Make sure that everytime when you open a connection, once done with it close it so that you can use it later or simply have a connection …

Member Avatar for Mr.M
0
428
Member Avatar for yoyie_333

First of all you don't hijack other people's post. You need to create yours as I don't think these questions are similar. Secondly what is `ShowItem` I mean is it a variable, a control tool? Why I ask this is because if its a variable you could have diclared it …

Member Avatar for Mr.M
0
8K
Member Avatar for Mr.M

Hi DW. How can one read a file or change a file bits without reading the entire file. But first of all how can I read a file in such a way that I get it's bits. I want to read MP3 file and change it bits but I don't …

Member Avatar for AssertNull
0
663
Member Avatar for Mr.M

Hi guys. Well according to the research I had, and MP3 file structure is as follows: ` AAAAAAAA AAABBCCD EEEEFFGH IIJJKLMM ` which is refered to as frames, and each. Each letter is one bit. I've seen samples demonstrating how to get data from this but what I want is …

Member Avatar for AssertNull
0
972
Member Avatar for Michael_57

Using `Math` can help you. Also your "2.80" is wrong it will be "2.90". Try this Dim core As Double = 3.481 REM: You can get or loop to your values using a loop instead of ' using just one example as I've done. Dim RoundAwayFromZero As Double = Math.Round(core, …

Member Avatar for Reverend Jim
0
175
Member Avatar for PEM_1

Simply replace `BackColor` with `ForeColor`, this will color your matching Item with a specified color from the code you posted.

Member Avatar for Reverend Jim
0
403
Member Avatar for Mr.M

Hi Guys. First of all is it possible to detect a file copying/moving within the system, I'm sure this is done in lower languages like C++ but I've tried searching but I don't seem to find not even en example, maybe it because I don't know how it correctly called. …

Member Avatar for pritaeas
0
1K
Member Avatar for Mr.M

Hi Guys. I'm trying to suspend a process by it name, but I found the sample that demontrate this using ProcessId. The problem is that I don't know the process ID of the process I want to suspend/resume. [Here is a sample I used.](https://social.msdn.microsoft.com/Forums/en-US/cdde6cef-3971-40a6-b4dd-02db963868ce/suspend-an-application?forum=vbgeneral)

Member Avatar for Mr.M
0
575

The End.