- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Programmer and network specialist
- Interests
- Coding, Algorithmic problem solving
- PC Specs
- SUSE Linux Enterprise 10 Server Intel Pentium 2.8 GHz 640MB 40GB
40 Posted Topics
Re: Well, the process is the same for vb.net. You just use the if..then. Otherwise it's good you have a primary key in the table. You can as well, just validate your form data properly so that the only way to fail to execute an INSERT query would be incase of … | |
Re: I think the problem is in your for.. loop. But try this: where there is this; [CODE=C]# if (c==0) # printf("Prime"); # x++; # primecount++[/CODE] put this; [CODE=C] # if (c==0){ # printf("Prime"); primecount++ } # x++; [/CODE] I guess it works. Otherwise your code is too complicated. Try making … | |
Hi guys, Have been trying this out for sometime with no success. I want to be able to use pdf printing application like pdfprinter to print my vb reports to and then save the reports to a particular location on my computer. Anyone with an idea how i'd achieve that? … | |
Am trying to restore a MySQL database using the 'mysql -u root db < my_db' command. In vb's process.start. it gives me the default output you get when you type MySQL - help. Can someone tell me what's up. I guess it cannot see the < symbol. Regards. | |
Hi guys, I wish to read a file with several lines with columns, and display the first three columns in each line. Anyone with an idea on that? File has these contents: [CODE] Dy MxT MnT AvT HDDay AvDP 1HrP TPcpn WxType PDir AvSp Dir MxS SkyC MxR MnR AvSLP … ![]() | |
Re: paste the contents of this file /home/a6670856/public_html/Secure/FileServer/func/jspack.php here so i can see | |
Re: Try to clean the query variable $_REQUEST. if it has an apostrophe, then the resulting query string will have an odd number of apostrophes resulting in the mysql error. You can use: [CODE]mysql_real_escape_string($_REQUEST['id'])[/CODE] in place of [CODE]$_REQUEST['id'][/CODE]. All the best | |
I'm trying to write an SQL (MySQL) Statement here using an if statement but all am getting are countless errors. I've narrowed down to simple instructions but still no breakthrough. [CODE]DELIMITER // CREATE TRIGGER confirmation_triggers AFTER INSERT ON `old_deliquencies` FOR EACH ROW IF new.status='True' THEN INSERT INTO `notifications` VALUES(NULL, new.loan_id, … | |
I have php code running fine from the server. but if i use any mysql functions e.g. [CODE]mysql_connect()[/CODE], the server does not render the page. it keeps on "waiting for localhost...". what could be the problem. | |
hi guys i need to save an image that will be displayed on a vb.net form. how do i get round this: 1. how do i get the image before saving it in the database? 2. how do i save the image in the database? 3. how do i fetch … | |
Re: Well, I ignore the fact that the question is unclear! The cables used actually depends on the lan setup. Could be utp or tp cat 5 or 6. It all depends with the size of the network. Unless the question means otherwise, i guess that'll help. Regards | |
Hi guys... I am in need of urgent help here! I want to print more than one page on vb.net's printdocument whatever! I quite don't get it quite clearly when it comes to "e.hasmorepages=true" thing It keeps adding pages on and on and on... Please help me.. Thanks | |
Re: There are a number of things to check for before you can begin to say you are 100% sure it's an intruder. It is possible, but first, try the following: Scan your system for open ports when you boot into it.(you can use Nmap: [URL="http://www.nmap.org/"]http://www.nmap.org/[/URL] Record the open ports to … | |
Re: you could save the value in the datagridview to a public variable and then access the variable from the other form. It will have the same value. | |
Re: obtain values from the listview and insert them directly to the table using a for loop e.g.... for i = 0 to listview1.items.count - 1 id = listview1.item(i, 0).text item = listview1.item(i, 1).text netmount = listview1.item(i, 2).text query = "INSERT INTO <table_name> values(<the values here above>);" next ... assuming you've … | |
Re: Try the use of modules. Go to project, add module. declare your variables here. They will be visible by all your classes. Remember to make them public. | |
Re: There are several ways to connect to a database. Which dbms are u using? | |
Re: I think you have to work with the hours part of the date. Something like if fileName2.CreationTime.Hour <= Now.TimeofDay.Hours then ..... ... end if Try that! | |
Re: Use a timer. drag n drop the timer n the progress bar on the form. On the top of the form code just after 'public class Form1' put 'dim i as integer = 0'. On the formload event put 'Timer1.enabled=true' Double click the timer n put this code: Progressbar1.increment(1) i … | |
Re: Use a for loop: Try this: Dim i As Integer If textbox1.Length < 6 Then For i = textbox1.Length To 5 textbox1.Append("*") Next End If The code says you loop through the deficiency of the length of the string. Got it? Oh, and change the "*" char to " " … | |
Re: I have never heard of "checkboxlist". But i know of checkbox, listbox and listview. In other words, what exactly are u talking about? | |
Re: are you talking about entering the number on a textbox or on a database. Anyway, the number is 12 if it's an integer and 0000012 if it's a string. in other words convert it into string to have it the way it is. | |
Re: Try this(assuming that the code is saved in the variable str): [CODE syntax=VB.NET] str.Substring(str.Length - 3) [/CODE] Will give you the last three characters of the code. | |
Re: It is expedient for you to have two pointers, a *next and a *back. So that at any given point, you can get access to both the preceding and the conceding nodes. | |
Re: does it show any output? Check the z variable on the while loop, no manipulation on it. Could make the loop infinite... | |
Hi guys, Am currently working on a project and i think i need a dynamic graph, you know like the one you see when you open taskmanager, for those blue screen users, and then you click the performance tab. Anyone with an idea on how i can get there? | |
| |
Re: The program is too long. Save us some time by briefly explaining the concept (or at least the concept to be) behind it. | |
Re: How many forms are you dealing with therefore in this situation? | |
Re: Have u tried using an mdi form? It has a customizable one. | |
Hi guys, I want to begin working on a project as stated in the title. I want to create an application that will be usable by any network/systems administrator to monitor the network/systems he administers. I need some opinions from you. What do you suggest that I incorporate into the … | |
Re: This is a software question. not networking. Anyway, check to c that u have administrative privileges then post what u find. | |
Re: what exactly is the event you want to use for the delete action and in what control? listview or datagridview? | |
| |
Re: Assume textbox1 name is Textbox1 textbox2 name is Textbox2 ....... ....... listview name is ListView1 End Assume Google for the Ascii value for F5 Key and use the Keypress event. Then you can use the code below to do the insertion. [CODE] dim li as new ListViewItem li = ListView1.items.add(Textbox1.Text) … | |
Hi guys, I got a problem here. There's this wireless network hanging around my home area. It is unsecured and unencrypted. Is there a way I can connect to the network. The network type is an access point. | |
Theres this non branded comp; it starts when powered on but only 4 10 to 15 sec n then goes off leaving the power led on. Any attempts to boot it again after that are futile until i unplug the power cable n wait 4 5 to 10 sec,until the … | |
My mercury mobo doesnt beep when i remove the mem cards. What could be the cause n what do i do? |
The End.