132,726 Archived Topics
Remove Filter ![]() | |
Hi everyone, Im building a website for a client but they requested it in umbraco and Ive got an xslt query that has been bugging me for days. I have built a search form user control which has three drop downs and i want to build an xslt macro that … Software Development xml | |
i have 2 database (access,SQL) with 2 different connection string i want to select a table from the first database insert it to the second database any help Software Development vb.net | |
can some one help me with this question.. "The name of students are sorted in an array of strings.Write a program to prepare alphabetically sorted listing of names.." Software Development c++ | |
I am using Qt5.2.1 I made a program that stores some values(like name, number, other details...) in a text file. I want to arrange this information according to the name. Something like this. A Alan 24140239 some_other_info Avril 64376334 some_other_info B bob 532523 some_other_info And so on | |
Dear members, I am new to this site, I want to learn VB From the bigining. Kindly suggest me how to start. what is the basic requirements to learn VB. suggest me the best web site/books/links/material for me. Kindly do the needful. Software Development visual-basic | |
hi can someone answer my problem , at first my vb6 is working with my windows 7 32bit but i need to create a project now , everytime i copy label , textbox , checkbox etc.. it always stopped from working.(Not Responding) .. any help please? Software Development visual-basic | |
A hardware merchant sells steel bars at a flat rate of Kes 1000.00 per meter, and has announced the following discounts: Quantity of steel bar bought (per meter) Discount (%) <20 0 21-40 5 41-60 10 61-80 15 81-100 20 >100 25 Implement the following programs: a) Using if..else statement, … Software Development c++ | |
I have a string and i want to conver the part of it to an int. I want to convert the part of the string `input[1]` to an int. But my compiler cant use atoi, or stoi.. I saw a ifstringstream option i think can work, but i tried implementing … Software Development c++ | |
Why I can't update data in my database MSAccess? though, it's already working, but no changes. Pls help me... Here's my code for Update I have 10 Fields in my table Personaldata try { Records f1 = new Records(); BlockNo = textBox1.ToString(); LotNo = textBox2.ToString(); Numberofoccupants = textBox3.ToString(); Firstname = … Software Development | |
Recieve Data From Serial Com Port C# In One Line And Convert To int Posted A minute ago Hi guys i have problem i make code that take data from serial com port for weighting machine it is ok working but it recieve data in more lines.I try to make … Software Development c# open-source visual-studio | |
Trying to implement a history function in C, I know my array size for the history is 100 and i have a max of 9 arguments. I just wanted a little help or advice on where to start! I also know that i need my history initialized before i start … Software Development c | |
hi good day, i am having a problem about my program (VB 6.0) i want to save data from my program to the access database (mS Access 2003) the problem is that when i try to run the program, and click the button, theres an error about insert into syntax … Software Development microsoft-access open-source visual-basic | |
I'm having trouble connecting to a database file on another PC. In this case, my PC is the client. Using: 1. Windows 7 32-bit on both PC's. * Same Workgroup * Connection verified using cmd (PING) * Connected using hub (straight through) * Workgroup status: Joined 2. MS Access 2007 … Software Development microsoft-access open-source visual-basic | |
![]() | I have been asked to build a group of functions that carry out set theory operations such as intersection and union. The functions below that I must complete are set_intersectWith, set_unionWith, set_minusWith, set_powerset, where: > set_intersectWith = A ∩ B > set_unionWith = A ∪ B > set_minusWith = complement … Software Development c data-structure printer |
I want to optimize a directory listing input iterator so that the WIN32_FIND_DATA can be written directly to a vector (via emplace) instead of being first written inside the iterator. This is an idea of the code: /* std::vector<WIN32_FIND_DATA> vwfd; struct listing_it:std::iterator<std::input_iterator_tag, WIN32_FIND_DATA>{ HANDLE handle; WIN32_FIND_DATA wfd; auto operator*()->wfd&{return *wfd;} … Software Development c++ | |
I got an error, "Syntax error (missing operator) in query expression ''Blanco, Familyname='Grace'." in my code, near ExcecuteQuery(); I am performing Update from MSAccess, I can retreive data but when I used to click my update button, I got error. anyone can help me? Heres my code `private void button1_Click(object … Software Development | |
My programm wont let me input all the data I need. And when I try to display them it won't even use the data that I could input. Please help me and sorry for my bad English it is not my native language, that's why all the data is in … Software Development c | |
#include<stdio.h> #include<conio.h> #include<dos.h> void print(char c,int x,int y); void main() { char a[3]={'A','L','I'}; int i=0,x=1,y=1; while(i<3) { print(a[i],y,x); i++; } } void print(char c,int x,int y) { int s=1,a; if(c=='A') { while(!kbhit()) { clrscr(); gotoxy(x,y); printf("*****"); gotoxy(x,y+1); printf("* *"); gotoxy(x,y+2); printf("* *"); gotoxy(x,y+3); printf("* *"); gotoxy(x,y+4); printf("*****"); gotoxy(x,y+5); printf("* *"); … Software Development c++ | |
Hi again guys this time I have a question about computer security that's related to my programming hobby. I hope this isn't against the rules. I am asking this out of curiosity and concern, not because I want to do evil. However thanks to some knowledge I gained from a … Software Development c++ cybersecurity | |
I have UDP socket as below. I need to send back data to the client. I tried to capture both the ip and port but it shows me as Port is : -1 and InetAddress : null. What can I do to rectify on this? class ReceiverThread implements Runnable { … Software Development java | |
Hello, I have a `HWND` for a window. I have double checked that it is a 100% valid window by using `SetActiveWindow()`, `SetFocus()`, and `SetForegroundWindow()` on it, successfully bringing it to the frontmost window. However whenever I try to use `GetPixel` on it it returns -1 (0xFFFFFFFF). What am I … Software Development api c++ microsoft windows-api | |
i have to add two matrices and i am having this error: "error array subscript is not an integer" line 24 here are my codes: #include <stdio.h> void inputarray(int arg[][3], int rows); void printarray (int arg[][3], int rows); void inputarray2(int arg[][3], int rows); void printarray2(int arg[][3], int rows); int main … Software Development c | |
how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 Static CurrentPage As Integer = 0 'Getting the current dpi so the textleftpad 'will be the same on a different … Software Development listview vb.net visual-basic | |
Hi all, I need your help, I have got a problem with my python script. I'm using XBMC media application which they are using python 2.6v which they works the same way as the other version for python. When I'm pressing on the enter button of the keyboard, the code … Software Development open-source python | |
Hi i am new with C++, i just need a little bit help with this. please reply code compatible with orwell dev C++ I want an application that uses windows RegisterPowerSettingnotification function for the events of GUID_ACDC_PowerSource.... i tried like below but my dev C++ compiler was not able to … | |
Hi to all, I have following two Applets . import java.applet.*; import java.awt.*; import java.awt.event.*; public class buttonDemo extends Applet implements ActionListener { String msg=""; Button one,two,three; public void init() { one=new Button("One"); two=new Button("Two"); three=new Button("Three"); add(one); add(two); add(three); one.addActionListener(this); two.addActionListener(this); three.addActionListener(this); } public void actionPerformed(ActionEvent ae) { String … | |
Could someone please help me out. I have an illegal start of an expression error at line 8 in the following code. [code]package untitled5; public class Untitled1 { public static void main(String[] args) { public static void main(String[] args) { int start_system, add_modify, add_modify_animal_data, report, exit_system; int check = menu(); … Software Development java | |
Hello good people, I wanted to talk today about auxiliary functions. I have a brief understanding of what it is, however, I am still rather confused on what it actually does. Lets say for example I have a function that calculates leapyear as TRUE or FALSE, how would I use … Software Development python | |
Hi, I hope there will be a suitable function or easy way to enable/disable save button until something is really changed in the GUI(frame). My frame consists of several panels, textboxes, Jtable,Jtree e.t.c. How can I design some function until some infomation is manually chnaged by the user to enable … | |
I have used Qt to create GUI program in C++, but i have given up in trying to statically compile Qt. i have moved on to microsoft visual studio 2013, the question i wanna ask is does the same problem occur in visual studio ( creating static programs ). if … Software Development c++ gui qt visual-studio | |
I am building a support application (VB.net 2010) for a device that will attach via USB. Most of the end users will not be geeks. In starting the app I need to discover available ports on the machine, which I can do with this code. myPort = IO.Ports.SerialPort.GetPortNames() 'Get all … Software Development vb.net | |
I rote this code in my program JSONNode::const_iterator iter = root.begin(); for (; iter!=root.end(); ++iter) { const JSONNode& arrayNode = *iter; std::string type = arrayNode["type"].as_string(); if(type == "node") { std::string id = arrayNode["id"].as_string(); double lat = arrayNode["lat"].as_float(); double lon = arrayNode["lon"].as_float(); Node node; node.SetId(id); node.SetLatitude(lat); node.SetLongitude(lon); nodesMap.insert( std::pair<std::string, Node>(id, node) … Software Development c++ | |
How can i make a list of value window in asp.net 2.0 with c# and how i get value from GridView of Child Page to a server control [TextBox] in a Parent window. | |
Hi everyone my Binary2Decimal is okay now because it can now hold 16 digits. But how come my Octal2Decimal and Hexa2Decimal can't hold 16 digits to convert to decimal it can only up to 5 digits. Can anyone correct this problem? #include<conio.h> #include<stdio.h> #include<string.h> #include<ctype.h> char base; char key; void … Software Development c | |
I want to create a queue that holds certain information. I want it to hold multiple peices of information like below. Name, Age, Race, Sex. How can i create a queue FIFO. that holds multiple pieces of information like this that i can access or add into? Thanks! | |
How do I change this code so that the user can choose a math operation and determine have that type of operation(either add sub mult or divide) run as much as a user wants it to? Say, if the user wanted 5 addition questions only. And how do I keep … Software Development c++ | |
How can we detect redundant rows.and maintain their count. if the rows are like 11111 11111 10101 11111 the result i want is 11111 4 10101 1 Software Development java matrix-multiplication | |
Anyone please help me., how to display selected data from database to listview using vb6, data with checkmark field. check data will be display and the not checked data will not display Software Development display listview visual-basic | |
I created following classes in my program. Way.h class Way { private: std::string id; std::string name; public: Way(); Way(const Way& orig); void SetName(std::string name) { this->name = name; } std::string const & GetName() const { return name; } void SetId(std::string id) { this->id = id; } std::string const & GetId() … Software Development c++ | |
So i have small problem. Idk how to explain so we will go like this. I have 2 projects. 1. MyLib its compiled .dll 2. MyApp its compiled .exe Okay now Mylib has form, and MyApp has form. So there are 2 forms. Mylib form is login form with 2 … Software Development vb.net | |
Hi guys, need help here. I would like to check the registry key is exist for this code: Sub main() Dim regKey As Object = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D75F38ED-E49A-48F3-9B72-D4BC5FE73B44}", True) ' Check if it exists If regKey Is Nothing Then MsgBox("Registry key does not exist!") Else MsgBox("Registry key is exists.") End If End … Software Development microsoft-windows vb.net | |
So I am working on an old project that uses libnet, actually it is a book example, and I cannot find a version 1.1 or 1.0 of libnet. I am going to somehow have to track the depreciation of certain functions and I have never done something like this before. … Software Development c | |
Hello everyone. I am trying to teach myself the very basics of the Brian neuron simulator before attempting to modeling realistic networks. Any of you guys know how to use it? Specifically, the first exercise I am attempting is: dx/dt = 1 + x - y - x^2 - x^3 … Software Development python | |
I just now installed python 3.3.4 on my mac os 10.9.1 mavericks. I am developing through the Wing IDE for mac. When i tried to change the python excutable from default to python 3.3.4 and restarted the program, a dialog box appeared thta said that the interpreter for python 3.3 … ![]() | |
Hi there, I am having a problem of passing arrays to functions, here is my code: void zeroMatrix(float **arr); void main() { float e[2][2]; zeroMatrix(e); } void zeroMatrix(float** arr) { int i,j; for (i=0;i<2;i++) { for(j=0;j<2;j++) { *( *(arr +i)+j) =0; } } } The problem is I want to … Software Development c | |
would like some ideas of how to acutally create my own cd function from scratch using C programming.I'm building a shell program in C. Software Development c | |
I need some assistance with a program I wrote and had to alter. Here are the initial instructions and what I initially had then my reworking and what I have now and any assistance would be helpful. Write a C++ program to help you balance your checkbook at the end … Software Development c++ | |
I'm wondering if there's a way to cut the long statement and make it shorter as possible. the case is i have 5 radiobuttons each questions. thanks in advance.. =) If Q1.Visible = True Then If q111.Checked = True Or q112.Checked = True Or q113.Checked = True Or q114.Checked = … Software Development vb.net |
The End.