132,726 Archived Topics
Remove Filter ![]() | |
I've been strugglin with this all day. I'm trying to use python to walk through a registry key and delete all the values it finds. I've succeeded in getting it to find all the nested values, but as soon as I try to delete one, I'm met with "WindowsError: [Error … | |
Hi, I'm a bit rusty with my C# but I'm trying to write a program for this website I am making. It's just a little something to help me edit certain texts in my website faster than what I normally do. Anyway the program I am making, I want it … Software Development file-system html-css | |
What I'm trying to do is take a source file and only pull specific lines out and display those lines to a label/textbox/etc. What's happening is I am able to pull the first line, however my loop is terminating and I do not receive the rest of the results. Here … | |
Hello again my friends, I am trying to figure out how to code a function which will pause the system until the user presses the key. I did some googling and I was able to find this function called getch() for c++ but no luck for vb.net. Is there a … Software Development vb.net | |
how would you add a scroll bar to this code [CODE] import site # for exemaker import tkMessageBox from Tkinter import * import os, sys TITLE = "Pydit" class RoomEditor(Text, object): def __init__(self, master, **options): Text.__init__(self, master, **options) self.config( borderwidth=0, #font="{Lucida Sans Typewriter} 14", #font="{OCR A Std} 14", font="{Terminal} 14", … Software Development python tkinter user-interface | |
Ok, this is a little hard to explain, i basically am making a miniature operating system and there is a notepad feature. I am allowing a save in this operating system. I have a hidden button on the mainscreen than shows itself when the save is clicked on the notepad … Software Development operating-system vb.net | |
I want to be able to make a program that emulates what a human at a computer can do. IE: I want to be able to read the visual information of a window (a 2d array of colour would be perfect) and be able to send virtual key syms and … | |
All, I am working on my first forms app (using NetBeans). I don't like to mix GUI code with app code, so I have my main class, GUI class and core code class nicely seperated. When the user clicks a button on the GUI form it calls a method in … Software Development gui java java-netbeans | |
Private Sub cmddelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmddelete.Click If Not acsconn.State = ConnectionState.Open Then acsconn.Open() End If 'sql statements strSQL = "DELECT * FROM Table1 ([Item Code], [Item], [Sale Price], [Purchase Price]) values ('" _ & txtid.Text & "','" _ & txtname.Text & "','" _ & … Software Development vb.net | |
I've figured it out but I want to know HOW. When I do code I try and figure out the math behind it on the side so I know exactly what is going on. But this time has stumped me. I know what the code is suppose to be, so … | |
Hey there! I am a new student that wants to be a GOAT of Developing, I don't know anything about Java. But by watching I downloaded Eclipse IDE for Java Developers but don't know how does it work :D I have also downloaded Java Program or Files from http://www.java.com/ Can … Software Development ide java java-swing | |
Hi I'm hoping to get some starting points here in a subject that scares me, RegExp. I've looked at a couple of tutorials but they all seem to be based on std::string. I'd like to use std::tr1::regex but I don't know where to start or even if it's possible without … | |
My name is Danielle Jacob and I am a Masters (through) Research student at Bangor University, North Wales. *[email removed]* I have been using Python now for about 3 months (but only once a fortnight for a few hours at a time...so I am still very new) My supervisor extracted … Software Development python | |
I am getting the following exception when I am running my Swing Application. But the program continues and does not terminate abruptly unlike general Exceptions Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.plaf.basic.BasicTreeUI.paintRow(BasicTreeUI.java:1399) at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1189) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) at javax.swing.JComponent.paintComponent(JComponent.java:742) at javax.swing.JComponent.paint(JComponent.java:1005) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916) at javax.swing.JComponent._paintImmediately(JComponent.java:4859) at javax.swing.JComponent.paintImmediately(JComponent.java:4666) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) … Software Development java java-swing | |
objCommand.Connection = objConnection objCommand.CommandText = "UPDATE tblEnrollment" & _ "SET dateOfHIVDx = @dateOfHIVDx, " & _ "CD4CountAtDx = @CD4CountAtDx, " & _ "WHOStgAtDx = @WHOStgAtDx, " & _ "ptInitiatedART = @ptInitiatedART, " & _ "ARVRegimen = @ARVRegimen, " & _ "recentWHOStg = @recentWHOStg, " & _ "dateOfRecWHOStg = @dateOfRecWHOStg, " … Software Development vb.net | |
I am trying to read lines of input from a BufferedReader and output them in sorted order without any duplicate lines. I think that using a TreeSet would be my best option. Unfortunately I don't know how to get my input from the BufferedReader into the TreeSet. This is what … Software Development java | |
How do I code if I am coding what will happen if I press a button. and then ask a question and want to wait until either of two others buttons are pressed like an yes or no question say i code something and to continue i need the answer … Software Development gui | |
*Hello people of the DaniWebs! It's been a long time since I've been talking and asking here, under the name of **katmai539**. I've lost account information and also the email address linked to it. I haven't been active in the software development-branch for the past few years but recently I … | |
i want creat a login client application have webbrowser1 ,text1 = username , text2 = password, button1 = login and here is link , but user name and pas is wrong http://188.165.91.36//login.php?username=honey&password=333 i dont want to use http post method i want to use web browser Software Development visual-basic web-browser | |
I am getting results from a routine which are unexpected from me. here is athe code. void MyTestFunc(){ u_char MyTest_u_char[10] = {'a','b','c','d','e','f','g','h','i','j'}; u_char * MyTest_u_char2 = new u_char[8]; memcpy(MyTest_u_char2,&MyTest_u_char[1],sizeof(u_char)*8); int raw_len = sizeof(MyTest_u_char2) + 1; string std_str(MyTest_u_char2, MyTest_u_char2 + raw_len); cout << std_str << endl; // expecting bcdefghi . getting … Software Development c++ | |
I have two settings classes one abstract base class from which the second settings class derives public abstract class BaseFooSettings { public int a; public int b; public float c; } public class DerivedBarSettings : BaseFooSettings { public float d; } I then have two classes one base class and … Software Development | |
*CardsNumber = myObject.HandleString(Cards);* if i have a method like this all i want is CardsNumber to change not Cards *myObject.HandleString(**Cards**);* change too i need it to be the same? why does it change? if i specify ***CardsNumber =** myObject.HandleString(Cards);* should'nt that only change? i hope you understand what i mean … Software Development | |
First, if I am not in the correct place, please let me know. I am a novice needing help. I have a single DB (Contractor) with 17 various fields. The purpose is to track the type of license they have, i.e. plumbing, electrical, HVAC, general, etc..... One contractor can have … Software Development visual-basic | |
Ive just started going through and developing basic applications using the win32 API, and couple of times I have come across people mentioning that directly using win32 is not wise...I've just started using the library and personally think its nice and easy to use. However Ive been seeing things like … Software Development api c++ gui qt windows-api | |
Is ther a fastest way to retrieve data from sql server like the sqlbulkcopy the fastest way to insert large data.? Software Development | |
hey just wondering if you can make an method that you input a string and convert it in the method and return a int? something like public string[] ConvertString(string[] Cards) { int[] intCards = new int[52]; for (int a = 0; a <= 51; a++) { int.TryParse(Cards[a], out intCards[a]); } … Software Development | |
How to write a method in Java to compute the 'Letter Grade' given a percentage number grade. Method signature: public String checkRange(int grade) Software Development java | |
Basically I have a Delphi application which downloads some data on run time, it basically executes Form.OnCreate; and then ENABLES a TTimer component to do the downloading. This has been working fine for me as at least the user sees the interface whilst it's loading but now I have a … Software Development delphi pascal user-interface | |
Hi All, I have a list of hex values that originated from a text string that was downloaded having now created a list of thes values approx 804 of them, when i run the list items through a loop to conert hex into dec had an error looking at this … Software Development python | |
Hi Guys - newbie here.. I have been working with OLEDB connection for the past few weeks and now have this connection in ADO and i'm not sure how to proceed. **The Connection information is the following:** private ADODB.Connection adoConn = new ADODB.Connection(); private ADODB.Recordset adoRS = new ADODB.Recordset(); and … Software Development | |
Hi everyone just wanted to ask: 1) How to transmit captured data through the internet from point a(sender), then get it to point b(receiver) in steady but fast format? "probably simmilar to Http or voip and close to ATA voice adapter without to much coding and hardware involved" I think … Software Development c | |
I have a class (Point2D), and an instance variable (double tav) in this class. I would like to compare different Point2D objects (based on variable "tav") by the relational operators (<,>). (a < b) means that (a.tav < b.tav). Is there any way to solve this problem? public class Point2D … Software Development java | |
Hi Guys, While i managed to add rows and save them in the grid. I want to know the syntax for Update the data in the grid directly. Thanks Sai private void btnUpdate_Click(object sender, EventArgs e) { string col2 = dg[1, dg.CurrentCell.RowIndex].Selected.ToString(); string col3 = dg[2, dg.CurrentCell.RowIndex].Value.ToString(); string col4 = … Software Development | |
Is it mandatory to handle an exception that is thrown using the `throw` keyword? If so is there a separate rule for Checked and Unchecked Exception, as in who should be mandatorily caught? public void met() { throw new ArithmeticException Software Development java | |
Hello, I need to write a function that would take a string and break it up into tokens (ie words, numbers, and punctuation). First it needs to break up the string and store them into an array called Token[]. Obviously a for loop needs to written however should I just … Software Development c++ | |
HI , everyone can you please write a program for me , I have a set with 5 things in it thats line a={1,2,3,4,5} but it could be everything possible and there are subsets like b={1} c{1,2} d{1,2,4,5} but I cant write the progam so if you can write a … Software Development c++ | |
Hi need help i setting up both Adding and Updating datagrid cells in the Save_Click event. Right i used seperate click events for Add_Click and Updating_Click but i want to both of them in the Save_Click event rather than seperately. Thanks in advance Here is my code using System; using … Software Development dataset open-source | |
Hey, I might be having a blonde moment but here goes.. I'm trying to split a massive 1D vector into blocks at different places (If that makes sense), it should basically go like this: 0 201 401 601 801 .. .. .., 57201 2 202 402 602 .. .. .. … Software Development c++ | |
![]() | //==============================================================================// // RPS (Rock Paper Scissors) // Author: SoulPour777 / Janrae Mendoza // A Simple C++ Game // =============================================================================// #include <iostream> #include <cstdlib> #include <ctime> using namespace std; string player; string player2; int wins; int loses; int roll; int draws; void error(); void gamePlay(); void Scene_Result_Display () { cout << … |
how can i trap my textbox that allows numbers and letters only, no space no special characters e.g (,./;'[]-=\`<>?:"{}_+|~!@#$%^&*()) Software Development vb.net | |
How to run shell commands from python. eg. How to use 'echo $a' commands? where a is any variable. Software Development python | |
Im trying to get my program to look like the following Welcome to the 64th Primetime Emmy Awards! ============================================================================== The nominees for Outstanding Comedy Series are: [1] Write In [2] The Big Bang Theory, CBS [3] Curb Your Enthusiasm, HBO [4] Girls, HBO [5] 30 Rock, NBC [6] Veep, HBO … Software Development perl | |
Hey! So i have started learning c, quite refreshing when i normally code in Java :) I have this task where i need to store three int values in an unsinged int via bitwise operators. Its for a RGB picture where the colour is limited to 256. I have done … Software Development c | |
Hi everyone. My question is how to copy values of 2 arrays from one function into 2 new arrays into another function? Copy data from arraay1[i] into arraay3[8] and from arraay2[i] into arraay4[8] ? int onefunction(int araay[]){ ....... ....... arraay1[i]; arraay2[i]; } int twofunction(int araay[]){ arraay3[8] = {0}; arraay4[8] = … | |
Can someone please tell me how to control a windows form from another form? I have one form (form2) which has a button. When this button is clicked, I need my other form (Form1) to hide a button. I know all the code except for how to make form2 access … Software Development vb.net | |
Hello, I am trying to create a program that will allow me to find a certain phrase, (always between brackets and always with a "'0" in it) and replace it. Basically I have something like [ k '0 ir e ] and what I need to do is use regular … | |
Hi. Does anyone know how I can create a new printer port in C#? At the moment I've got this, which uses WMI (System.Management): [code=C#] ManagementClass portClass = new ManagementClass("Win32_TCPIPPrinterPort"); ManagementObject portObject = portClass.CreateInstance(); portObject["Name"] = portName; portObject["HostAddress"] = "174.30.164.15"; portObject["PortNumber"] = portNumber; portObject["Protocol"] = 1; portObject["SNMPCommunity"] = "public"; portObject["SNMPEnabled"] … |
The End.