199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Kobrakai

Hi all Hope you can help! I have an XML file which contains several bits of information for each software entry (snippet seen below). <software> <software_entry name="Adobe Acrobat X Standard" path="Applications\Acrobat\Acrobat X Standard\AcroStan.msi" type="msi" switches="/qn ALLUSERS=1" /> <software_entry name="Adobe Acrobat X Professional" path="Applications\Acrobat\Acrobat X Pro\AcroPro.msi" type="msi" switches="/qn ALLUSERS=1" /> </software> …

Member Avatar for Kobrakai
0
198
Member Avatar for silvercats

Let's say I have 3 text boxes called item_name,item_price,item_type. And there is a listbox that has the item_name and another list box that has item_price, another one with the item_type. Let;s say we want to click on the item_name. After clicking on the item_name list box's first item. how to …

Member Avatar for silvercats
0
282
Member Avatar for sfurlow72

If I have two objects (Intern and Manager) derived from an Employee class, could I create a function that would return a pointer to a new instance of one of the two derived objects by passing the type to the function. So, could I do something like this (I know …

Member Avatar for mike_2000_17
0
124
Member Avatar for Suzie999

Are there any limits to how many bitmap resources you can have embedded in your executable? If it matters, using visual studio 2010, windows platform.

Member Avatar for Suzie999
0
65
Member Avatar for Edwinner

$query = "SELECT * FROM customers WHERE firstname = '$firstname', lastname = '$lastname'"; $result = mysql_query($query); i keep getting Error: Query was empty

Member Avatar for cereal
0
132
Member Avatar for ddanbe

I wanted to make an array of bits which I could click on and off at will. Sort of a register you could manipulate. First thing that came up was a checkbox control. But I wanted to change the usual checkmark with a 1 or a 0. With tips from …

Member Avatar for TnTinMN
0
2K
Member Avatar for vvk44

hi I am using An mdi form which contain many child form and mdi form contain ToolStrip1 in that redo & cut button are not working plz help me out of this Private Sub toolredo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles toolredo.Click Dim activeChild As Form = Me.ActiveMdiChild …

Member Avatar for TnTinMN
0
298
Member Avatar for MRehanQadri

int x; cin >> x; //If user writes 05 in x. Then I want that 05 should be printed when we cout << x; //If user writes 005 when prompted for x then printing x should print 005, because 005 may be a telephone extension. Is there any way?

Member Avatar for Ancient Dragon
0
195
Member Avatar for daino

I'm building pdf software with multiple dependencies (podofo) and when compiling I'm getting the errors. error: conflicting declaration 'typdef short int unit 8' error: conflicting declaration 'typdef short int unit 16' Would anyone know if there a CXX Define command I can use to bypass these errors? My CXX flags …

Member Avatar for daino
0
703
Member Avatar for krystosan

I recently made an appication that utilizes pyqt , i could say i wrote the code pythonic and made everything work work as I wanted, but didnt used any data model , so later I realized I could have used data model since I am building list in the QListView …

Member Avatar for krystosan
0
235
Member Avatar for Edwinner

//case for database search case "Search": if(isset($firstname, $lastname)){ mysql_select_db("webuser23", $dbc); $result = "SELECT * FROM customers WHERE firstname='.$firstname.' "; mysql_query($dbc); echo "<table border='1'>"; echo "<tr>"; echo "<th>Firstname</th>"; echo "<th>Lastname</th>"; echo "<th>Phone</th>"; echo "<th>Address</th>"; echo "<th>City</th>"; echo "<th>State</th>"; echo "<th>Zip</th>"; echo "</tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . …

Member Avatar for Edwinner
0
184
Member Avatar for rexmorgan

Good Day, I have a text file in the .csv format. The file originates as a xlsx (excel) file type. The file looks something like the following. Name Number Lat Long Jan Feb Mar Apr Brockton 24-1670-06 38.145236 145.854921 0.15 0.62 1.25 2.14 Westby 24-7432-04 35.846125 132.743652 0.25 0.94 1.14 …

Member Avatar for rexmorgan
0
3K
Member Avatar for ChicagoBears2012

Need help understanding this practice problem in my reading. Can someone please explain to me what it is doing at every step. Consider the following assembly code: x at %ebp+8, n at %ebp+12 1 movl 8(%ebp), %esi //I assume this is x being stored in register 2 movl 12(%ebp), %ebx …

Member Avatar for rubberman
0
267
Member Avatar for ajmckay

I have a project, I have to do for a university assignment I have to design an operating system “don’t worry I don’t have to do any programming I just have to come up with a proposal and presentation” My question to you all is, are there elements from each …

Member Avatar for rubberman
0
171
Member Avatar for hg_fs2002

Is it possible to use tilde (~) in C preprocess directive in the following way? #define a 1 #if ~a==0 ... #endif Generally, I want to know how we can ~ in preprocessor directives?

Member Avatar for deceptikon
0
240
Member Avatar for GraficRegret

here is the code, var images2 = ['images/index_19.jpg', 'images/details_10.jpg', 'images/index_23.jpg']; $(document).ready(function() { setInterval(forwardImage2, 4000); //This function will find the key for the current Image function currentImageKey2() { i = jQuery.inArray($('#slideshow2').attr('src'), images2); return i; } //This function will move the slideshow forward one function forwardImage2() { currentImageKey2(); if (i < images2.length …

Member Avatar for GraficRegret
0
154
Member Avatar for GraficRegret

here is the code, var images2 = ['images/index_19.jpg', 'images/details_10.jpg', 'images/index_23.jpg']; $(document).ready(function() { setInterval(forwardImage2, 4000); //This function will find the key for the current Image function currentImageKey2() { i = jQuery.inArray($('#slideshow2').attr('src'), images2); return i; } //This function will move the slideshow forward one function forwardImage2() { currentImageKey2(); if (i < images2.length …

Member Avatar for LastMitch
0
183
Member Avatar for sundog1

Hi Guys.. Hoping you can help here.. I'm dabbling with Linq as I'm wanting to pass a Node Value from the XML file into the Connection String. Currently my Code seems to be working and holding the Value in the System.(Code Below:)(Screenshot attached also) XDocument testXML = XDocument.Load("C:\\twDB.xml"); var DataBases …

Member Avatar for Ketsuekiame
0
259
Member Avatar for yup790

Sorry for the long code. Here it loops through a text file with up to 5 lines and reads a random line. If the line it reads is null then it generates a random response. However when compiled with a test file of 2 lines it only has an output …

Member Avatar for yup790
0
186
Member Avatar for clubberlangMayo

hi everybody, im doing a project in vb 2010 its a simple "guess the number between 1 and 30" i have it all finished working properly , my only remaining issue is, if i enter a character or letter into the combobox, it crashes the system. i got a piece …

Member Avatar for clubberlangMayo
0
283
Member Avatar for davidmr

Best regards, how I can delete a record in the DataGridView and update this table len but removing it would be activating a checkbox and pressing a button. your attention is appreciated

Member Avatar for TnTinMN
0
378
Member Avatar for Ashenvale

Hi I have a problem with my SQL UPDATE It says here: Syntax error in UPDATE statement. Here's my code: Private Sub btnEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEdit.Click Private Sub btnEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEdit.Click Dim sqlupdate As String sqlupdate = …

Member Avatar for G_Waddell
0
121
Member Avatar for john.stepanek.9

This prompt scanner works outside of this program but when i integrate it, it doesn't work: All code work. just no together. Help would be much appreciated. Scanner in = null; Scanner key= new Scanner(System.in); System.out.print("Input file name: "); try { String filename = key.nextLine(); in = new Scanner(new File(filename)); …

Member Avatar for Starstreak
0
309
Member Avatar for numele

I am not the greatest on javascript and was hoping someone could give me some help. I am trying to pass to the parent form action field from the child. The line I have in the child now which is not working is: `window.parent.document.forms['stopForm'].action = "command_stop_15264.cgi";` I've tried a few …

Member Avatar for jalarie
0
191
Member Avatar for cossay

If I have a model called Admin_user which extends CI_Model, how do I name the file in which this model class is so that codeigniter can load it? I named the file admin_user.php and placed it in application/models directory but Codeigniter does not load the class when I try loading …

Member Avatar for cossay
0
182
Member Avatar for boris90

Hi all, I have this if condition which never seems to be true, but should be! It's the part in the code where I pull the String^ from textboxes (the regUsername textbox) and compare the inputted username with the first word from every text file line. So every text file …

Member Avatar for Banfa
0
193
Member Avatar for Bile

-->>Hi, here is athing I managed to write Codes that Creates a Folder for a User when Registered... -->>The Folder takes User's registered name with some additional files inside it,works very fine... -->>The code I used is this one: MkDir GetAppPath() & "SPGPAC - File User Files\" & UCase(txtUserName.Text) MkDir …

Member Avatar for AndreRet
0
192
Member Avatar for Setvir

here is code that I am working on. What it is supposed to do is upload a media file (image, audio, video) and then tell me what type of media it is. $media_type='image'; $filename=$_FILES["file"]["name"]; $extension = explode(".", $filename); $extension = end($extension); //echo $extension; if (($_FILES["file"]["size"] < 50000) && (!$_FILES["file"]["error"] > …

Member Avatar for fobos
0
167
Member Avatar for daniel36

I am working on a project where admin can book an building unit for a customer.And i require that a month lie between two dates of booking or not for calendar.I am using query for this is "SELECT * FROM rt_booking WHERE rt_unit_id='".$urow['rt_unit_id']."' AND rt_start_date<=".$date11." AND rt_end_date<=".$date22; Here rt_start_date(unixtimestamp) and …

Member Avatar for daniel36
0
140
Member Avatar for ms061210

Hello guys, Please take a look at my code, coz I don't know why I cant login here in my log in form.By the way, my database is working, so the problem is in the code. looking forward for your help guys, here is my code: <?php session_start(); include("config.php"); ?> …

Member Avatar for homeboy
0
331
Member Avatar for Louie_Rave

Uhh, hello. I just want to get a sample line of codes that displays the given string, insert a new element and deletes an old element. So far, this what I have done: import java.io.*; public class EmpLists { String employees[] = {"A", "B", "C", "D", "E" }; } class …

Member Avatar for Louie_Rave
0
509
Member Avatar for poojavb

Hello, I am stuck with this problem.... I have few folders that contains a filename as **registration.txt** --- note the folder names are different since as and when a new user will register a folder gets created with its name and then the text file with the details of the …

Member Avatar for tinstaafl
0
381
Member Avatar for mgunia

Hello. I would like to ask for a help. I deal with excel spread sheets and very often I need to amend specific column. The whole steps look like this: Step 1. Find the column name, Step 2. Mark the all populated rows in this column, Step 3. Proceed with …

0
146
Member Avatar for tinabina22

My php code will not execute and I'm not sure why. Below is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Before.html </title> <meta name="Generator" content="Alleycode HTML Editor" /> <meta name="Description" content="Your description here..." /> <meta name="Keywords" content="Your keywords here..." /> </head> Before #1, Test …

Member Avatar for amith_ami
0
250
Member Avatar for shankar.bandaru.7

Hi, In my website new user register form have, when user all the fields fill the form ofteter registration complete it can be show successfull register message. Thank you

Member Avatar for AARTI SHRIVAS
0
380
Member Avatar for sharunkumar

Hi, I want to know how to send keys like ALT, Shift, Ctrl, Entre, etc. with the My.Computer.SendKeys() function. Also, I need a code with which i can send 2 keys together like Ctrl+C If its not possible with SendKeys(), please suggest some other function to acheive this. [I use …

Member Avatar for Cardine.Mpisane
0
28K
Member Avatar for pssingh1001

How to delete duplicate record in sql serer plz suggest me............ thanks

Member Avatar for pssingh1001
0
176
Member Avatar for A0110

Hi, I am facing some problems in the deployment of my VB ActiveX DLL on a server. I have a job which runs a stored procedure. The job and the SP are on the same server as the DLL. Using this stored procedure I access the classes (and the methods …

Member Avatar for AndreRet
0
222
Member Avatar for kimangel

Hi Sir, Kimangel is here again! Gud Day! How would I code that a cursor will automatically return to its place where it was encountered error? unless resolved. Below is my code; Private Sub txtContact_No1_LostFocus() On Error Resume Next If txtContact_No1.Text = "" Then MsgBox "Fill up the field to …

Member Avatar for AndreRet
0
201
Member Avatar for russc155

Hello I'm new these forums but I really need help with this. I am trying to make an application with a small screen on 1 form and then on form2 a windows media player control taking up the whole form. What i'd like to be able to do is when …

Member Avatar for tinstaafl
0
269
Member Avatar for fazae

import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class Calculator extends JFrame{ // Declare GUI components private JTextField jtfFirst; private JTextField jtfSecond; private JTextField jtfResult; private JLabel jlblFirst; private JLabel jlblSecond; private JLabel jlblResult; private JPanel entryPanel; private JPanel buttonPanel; private JButton jbtAdd; …

Member Avatar for fazae
0
233
Member Avatar for ImZick

Hi how can i pass if my connection is false? i have a code here Dim con As New OleDbConnection Dim dt As New DataTable Dim ds As New DataSet con.ConnectionString = ("provider=Microsoft.Jet.OLEDB.4.0; Data Source='" & ConMonthEndLocation & "';Extended Properties=Excel 8.0;") con.Open() dt.Clear() ds.Tables.Add(dt) With Form_Month_End_Report .ListView_LOB.Columns.Clear() .ListView_LOB.Items.Clear() Dim da …

Member Avatar for xerohomicide
0
124
Member Avatar for andrian.mutua.7

am very new in programming and by now have started learning ruby and what i want to know is if ruby can be used to make nokia phones apps. If yes what are the requirements pliz

Member Avatar for andrian.mutua.7
0
277
Member Avatar for bylandsend

Hi, having a problem implementing partial page postbacks using a scriptmanager and an update panel. Here is a test page using a web form to call a user control. I am hitting the else statement in the code behind that confirms I do not have a functioning partial post back. …

Member Avatar for arun1123
0
3K
Member Avatar for MartinPB

Hi all I have a large folder containing multiple xlsx (only one sheet) files which I need to convert to a csv format. I can convert them individually using the [xlsx2csv](https://github.com/dilshod/xlsx2csv) but I cannot make a working function that loops over all the files in the folder and saves them …

Member Avatar for TrustyTony
0
1K
Member Avatar for RubyNuby

I am currently in the middle of redesigning an iRC game bot into ruby. I am experiencing problems be to me not knowing any kind of ruby language, (new to the coding world) i was curious if someone could point me to a path I could change an irc coding …

Member Avatar for TrinitronX
0
191
Member Avatar for sou.dara.16

Forbidden You don't have permission to access /index.php on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. What can I do for fixing this error?

Member Avatar for YASHASHYA
0
127
Member Avatar for Misbah khan

My program is not working please tell me the problum in it... <form action = "http://localhost/third/c2.php" method = "Post"> <pre> <input type = 'checkbox' value = 'Stipned' name = 'chk1'/> stipend </br> <input type = 'checkbox' value = 'Diciplane' name = 'chk2'/> Diciplane </br> <input type = 'checkbox' value = …

Member Avatar for YASHASHYA
0
109
Member Avatar for lancevo3

I have to be missing something obvious here right? I ran test on all the variables and everything looked like it was correct when i > val the loop kept running. Any suggestions? Thanks x = raw_input(":") def whileloop(val): i = 0 numbers = [] while i < val: print …

Member Avatar for lancevo3
0
147
Member Avatar for DamzWildfire

i want to select items from the result set using the arrow keys as well as the mouse how do i do this the code i added doesnt seem work work and i think its incomplete: $(document).ready(function() { $('.dropdown').hide(); $('.autosuggest').keyup(function (e) { // we also have to check if user …

Member Avatar for DamzWildfire
0
197

The End.