132,726 Archived Topics
Remove Filter ![]() | |
hi please help me..how can i add checkbox in a listview? i already set the properties of listview checkboxes to TRUE. but it appears in the first column..i wanted it on the last column.. is it possible?? or the other way: programmatically move the first column (with checkbox) to the … Software Development listview visual-basic | |
this is my Income.aspx <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Income.aspx.vb" Inherits="iplapp.Income" %> <!DOCTYPE html> and here my Income.aspx.vb Namespace iplapp Public Class Income Inherits System.Web.UI.Page Private strCon As String = "Data Source=alopex;Integrated Security=true;Initial Catalog=iplmaster;Persist Security Info=True;User ID=nizar;Password=password" Dim sql_statement As Object Dim ViewBag As Object 'Private Property db As Object End … Software Development vb.net | |
I am writing a program that does one thing, it finds out the current link speed of the wifi connection and reports it to the user in real time. the problem I am having is that it does not seem to be able to find out the current link speed, … Software Development wireless-networking | |
Hi group! I have what I hope is a unique question: In need to populate a combo Box with the information stored in 6 different columns on one row of a data table. I know how to do this if it just one column and one row. To be specific, … Software Development vb.net | |
Hello everyone I have pretty lengthy code here, i think I may need to place all the code, but all I need is one one thing, it's pretty much done: #include <iostream> #include <iomanip> #include <string> #include <ctime> using namespace std; // Function prototypes void BuildDeck( int deck[], const int … Software Development c++ | |
the input is [120, [10, 20, 30]] i split the balance using this code def checkio(data): balance=[int(x) for x in data[0:1]] withdrawal=data[1:2] but when i split it the withdrawal section looks like [[10,20,30]] which hinders the loops im going to do. I want it to have single brackets like so: … Software Development python | |
Hey! On Qt, i created an QList<QLabel*> but when i try to access or modify it in later functions i get: Démarrage de C:\Projet QT\Text Based RPG\build-textbasedrpg-Desktop_Qt_5_1_0_MinGW_32bit-Debug\debug\textbasedrpg.exe...ASSERT failure in QList<T>::operator[]: "index out of range", file ..\..\..\Qt\Qt5.1.0\5.1.0\mingw48_32\include/QtCore/qlist.h, line 460 Invalid parameter passed to C runtime function. Invalid parameter passed to C … | |
I do very little programming these days, but I try to maintain an application for our church that maintains most of it's bookkeeping and report generation. The application is all done in Excel/VBA, using many forms and several workbooks. Yes, we are using antiquated programs (XP/Office 2003) because we are … Software Development visual-basic | |
hi all, i have a java program that store arabic data in ms access to let the arabic writing apper i should change the uni code of the operating system but when i give it to my friends to insert data on thier laptop but they forget to change the … Software Development java operating-system | |
Provide three menu options to format the text entered in QTextEdit to (1) display the letters in capital letters (2) display the text in red (3) align the text in the center I did the 2nd and the 3rd part but I can't find the capital letter part if (name … | |
Hi plz help me to correct this code.... This code is showing just first result in texboxes...how to get rest plz help... Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load cn.Open() bindDp() cn.Close() End Sub Public Sub bindDp() cmd.Connection = cn cmd.CommandText = "Select * From … Software Development vb.net | |
I am working on a folder maze generator, where you press [Generate] and in the folder that the application is in, 2 folders are created, named 1, and 2. In each of those folders is up to 4 folders. This is supposed to continue until there is a max of … Software Development | |
Hello, I am using VBA userform in MS Excel to insert data for database purpose. When I tested it for the first time, it was running okay. But after I saved it and used it again to insert the real data, it happens to repeat/duplicate the data to multiple times … Software Development microsoft-office vb.net visual-basic | |
Weak refrences to an object can be collected if no strong refrences remain, but we can disable it! Lists and dictionaries cannot be weak refrenced, but this can: class Dict(dict): pass class List(list): pass If your holding a large dictionary, you might want to split up over diffrent variables, like … Software Development python | |
In the following program I'm trying to set the first, second, & third character values stored in processTheseThree [0], [1], & [2] to the int values D1, D2, & D3. When I tested my code with the line `std::cout << processTheseThree[firstSecondThird] << std::endl;` I was getting the correct values but … Software Development c++ | |
I've tried installing the jackcess libaray (http://sourceforge.net/projects/jackcess/files/) into my project using Project/Preferences/install jar. However, when I try import static com.healthmarketscience.jackcess.Database.*; it just says 'Incorrect package'. How do you install this type of libarary? (I'm a real nooob so sorry if this is obvious). Also - why so many programmers so … Software Development java | |
I need help writing a program that will read a string from the user and print the string with every other word removed. Ex. Input sentence: Hello everybody Eloeeyoy Software Development python | |
I have a questions about classes in C++. I'm working on a homework assignment where I have a class called Person and a derived class called Doctor. I also have two other classes that are called Date and Bill. I'm suppose to create a class drived from Person and call … | |
I'm currently working in a java to c# conversion project. In one part I got this Java code snippet. public CustomType someMethod(Message msg) throws IOException { byte[] data = msg.toString().getBytes(); } to my understanding, data contains the byte representation of the string *msg.toString()* But when I try to write it … | |
I stumbled on upon this anomaly in one of my programs and can't figure out why this is happening. I made a small test function that exhibits the same behavoir. It's like the local variables of my function are being saved after the function exits. The exclude_ids variable keeps growing. … | |
Hello I want to make a GUI tool in python Tkinter that can check if the site is up or down, I did a quick search on google and i came up with the following code import httplib conn = httplib.HTTPConnection("www.google.com") conn.request("HEAD", "/") r1 = conn.getresponse() print r1.status, r1.reason I'm … | |
notdone = [tuple((x,y))for x in range(5) for y in range(6)] for i in showns: s = lambda :tuple(random.sample(notdone,1)) #random.sample gives a LIST even though I used tuple() print notdone #debug a = s() print a #debug notdone.remove(a) b = s() flashcards[a] = Flashcard((x*20,y*100),i) flashcards[b] = Flashcard((x*20,y*100),i) [(0, 0), (0, 1), … Software Development python | |
Hi, I'm wondering if anybody knows of a python compiler to make an exe with. I have tries cx_freeze and py2exe so far, but I haven't been able to get it to work. If anyone has any good python to exe compilers please post here. Thanks, 26bm Software Development python | |
import os segmentbytes = 5242880 fullbytes = os.path.getsize("Wildlife.wmv") numframe = fullbytes / segmentbytes remainder = fullbytes % segmentbytes parts = [open("Wildlife_Part%i.wmv" %i ,'wb') for i in range(numframe)] with open("Wildlife.wmv",'rb') as f: segment = f.read(segmentbytes) for j in range(numframe): parts[j].write(segment) f = open("Segment.txt", "wb") for i in range(numframe): f.write("Wildlife_Part%i.wmv" %i + … | |
Referring to [this thread](http://www.daniweb.com/software-development/vbnet/threads/446028/how-populate-listview-in-vb.net), I am trying to do something similar. Here is a line of my code... ListView1.Items.Add(New ListViewItem({mydatarow("FirstName"), mydatarow("LastName")})) VS Intellisense marks this code with the following error: Value of type 1-dimensional array cannot be converted to System.Web.UI.WebControls.ListViewItemType Any idea what I'm doing wrong? | |
This code isn't working and is just returning "Is a Palindrome", I believe it is a slicing problem of sorts. Please help! #!/usr/bin/env python x = input("Enter here: ") x is x[:-1] if True: print ("Is a Palindrome") else: print ("Is Not a Palindrome") Software Development python | |
public static void main(String[] args){ /*The number of bacteria, B, in a culture that’s subject to refrigeration can be approximated by this formula: B=300000*e^-0.032t Using this formula, write a program that prompts the user for a value of time, calculates the number of bacteria in the culture, and displays the … Software Development java | |
Hi i created class a and b is it's child (a:b) public class a { string text = "class a"; public void alert() { MessageBox.Show(text); } } public class b : a { string text = "class b"; } b myb = new b(); myb.alert(); but when i call alert() … Software Development c# | |
Hi all, Can u plz tell me as how to upload images. I am developing an web application similar to picasaweb album. I need to know as where the images to be saved(is it in database directly each image or just image path in database and files in application folder) … | |
import java.util.Scanner; public static void main (String [] args) { Scanner p = new Scanner(System.in); String w; System.out.print("Enter something :"); w = p.next(); String[] m = w.split("\\s+"); for (int i=0; i<m.length;i++){ System.out.println(m[i]); } } } if i input: a s d the output is: a only Software Development java | |
Dear Friends Can any body help me .. i want to export my crystal report to a text file, here is my code. If its not good then please give any other perfect refrence thank you Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Diagnostics Imports System.IO Public Class Form1 Dim myReportDocument As … Software Development vb.net | |
Dear Experts, Thanks for your time. I have got stuck on following problem. I have one file with five column name Chr, Pos Qial GT1 and GT2. In file Column 4 Gt1 is with 01 value only. I like to do comparision between col GT1 and col GT2. I like … Software Development perl | |
Dear Experts, Thanks for your time. I have got stuck on following problem. I have one file with five column name Chr, Pos Qial GT1 and GT2. In file Column 4 Gt1 is with 01 value only. I like to do comparision between col GT1 and col GT2. I like … Software Development perl | |
I need to write a C program in the LINUX such that First Condition: from morning 8 am to evening 6 pm and also if the number of packets in the network which is being counted by the Tshark in the terminal window is greater than 500 then Switch will … Software Development c | |
// Array for one's place char arrayOnes[10] = {"", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"} In the code above I'm having trouble declaring this array. I either get > error: too many initializers for ‘char [10]’ Software Development c++ | |
Hello, I have to submit a makefile along with my source code for a project in my data structures class. I have never done this before, so I had to do a lot of Googling. Needless to say, I have successfully created a makefile and ran it, but I have … Software Development c++ | |
I have included the entire source. I am getting the traceback error. import os import sys import fileinput import datetime from time import localtime name = sys.argv[1] # log specifies the file that is supposed to be parsed by the script log = fileinput.input('/var/log/secure.log') L = localtime() CalendarMonth = L[1] … | |
I want to create sqlite3 databases from within a python script. I am currently running this code which does not pass the right variable content to the sqlite3 command prompt, so I have one issue there. I also do not want to have the user have an sqlite3 command shell … | |
Everytime I press the button, it's supposed to change the label, but it doesn't. It also doesn't see that I have made any connections. Please help. Thank you in advance. AppController.m: #import "AppController.h" @implementation AppController -(IBAction)sayHello:(id)sender{ [label setStringValue:@"Hello World!"]; } @end AppController.h: #import <Foundation/Foundation.h> @interface AppController : NSObject{ IBOutlet NSTextField … Software Development objective-c | |
Hi.. I am newbe in vb.net. I am creating a small project for students. I need a help. I have three DataGridView on my form.And I am importing the data from the csv to datagridview1 and datagridview2 and have 5 columns in first and second with different names. Now I … Software Development vb.net | |
I quickly threw together a drawing program in SDL and I am having a couple of issues with lag. The program lags really hard when the size is larger than about 700x700 pixels, and I cannot find anything other than a couple of SDL_BlitSurface calls to the 'image' surface in … | |
Hi.. I want to seek help about database in SQL and Jtable in Netbeans. In our sales inventory system, we have these tables in database namely 'stockmasterlist' and 'pricemasterlist'. They are relational since they have in common with regards to their 'ProductNumber'. Now, since they are of different tables but … Software Development java java-netbeans | |
Hello, I use OleDbCommand object to make Insert, Update and Delete statements in SQL Server database but I don't destroy that <b>OleDbCommand object</b> and I wish to know what is the most optimal procedure to destroy it? I have 3 choices: <big>- DISPOSE in Finally section...</big> <small>Imports System.Data.OleDb Public Class … Software Development open-source vb.net | |
Okay, so I've created an array that is defined by the user input, they enter a number to determine the amount of elements, then they put in the value of said elements. My program is supposed to remove duplicates from this array. This is what I have so far, it … Software Development | |
Hello Programmers! I am making a program that demonstrates the difference between passing by value to a function and passing by reference. My code is below: #include <iostream> using namespace std; int squareByValue(int); void squareByReference(int&); int main() { int x=2; int z=4; cout << "x= "<<x<< " before squareByValue"<<endl; cout … Software Development c++ | |
Hey there... I wanted to ask help in making an event diagram for our sales inventory system. What could be the diagram flow in the system of a convinient store having an owner, manager, supplier and cashier. that is if the manager will work as a purchaser and a stockman … Software Development | |
Hello, Any one can help me I want that "Data grid data export in Excelsheet when button is clicked" in C# Software Development | |
Dear sir, i have desinged import application project in vb6.0 and data base connectivity ms-access using, But here first line may be problem importing because first line is information about the data then next numberical are imported properly,so my requirement is importing csv file and datareporting possibly can you sent … Software Development visual-basic |
The End.