43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for dwarvenassassin

OK, I am relatively new to C#, so in order to give myself a 'learning' project, I thought I'd update an application I wrote a couple of years ago. The application uses a ListView control in "Details" mode to display MP3 tag data stored in an Access MDB database file. …

Software Development c c# c++ listview visual-basic
Member Avatar for Momerath
0
195
Member Avatar for selman555

Hello overyone, I have a question about web forms. I've set up a web service and i'm now trying to make a registration page. The one thing I couldn't figure out is how to handle events. For example, I have a simple button with id="Register", how can I handle that …

Software Development vb.net visual-basic
Member Avatar for selman555
0
310
Member Avatar for dineshswamy

how can i calculate float value? eg it is 32/10 3.2 in calculator in python 32/10 is 3.0 help me out

Software Development python
Member Avatar for dineshswamy
0
208
Member Avatar for november_pooh

Hi all, How can i know an active/default printer? Thank you in advance

Software Development printer visual-basic
Member Avatar for Jx_Man
0
89
Member Avatar for daydie

Is there any way to get the token so i can continue to POST on the Vbulletin forum when logged in? As login security Token = Guest but when logged in its a long code. I need this to POST string If it saves it to the cookies how can …

Software Development vb.net vbulletin
0
87
Member Avatar for solarcoder

I was playing with some code again [CODE]#include <iostream> #include <cstdlib> using namespace std; int main () { int seed; cout << "Enter a seed: "; //enter 8 cin >> seed; srand (seed); cout <<"A is " << rand () << endl; //64 cout <<"B is "<<rand () << endl; …

Software Development c++
Member Avatar for deceptikon
0
106
Member Avatar for ryklon

Hi! I'm creating a feature for my software that bans the user for 10 minutes if he/she has failed to login thrice. The problem is, I don't know how to code that. I got ideas on how to do it but I don't know what predefined classes or functions to …

Software Development vb.net
Member Avatar for ryklon
0
678
Member Avatar for renzlo

Hi All, I have 1 combo box and 1 textbox and an excel file. I need to populate the combo box through the data from my excel file which is EMP_ID and I managed to do that via OleDb. This is the content of my excel file: [CODE]EMP_ID SPIDOM Password …

Software Development dataset vb.net
Member Avatar for renzlo
0
162
Member Avatar for Mike Askew

Firstly I will say im a complete and total novice when it comes to XSLT and XML so this could be a very obvious mistake on my behalf. [CODE] <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="node()"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template match="TestNode"> <RenamedNode> <xsl:copy-of select="."/> </RenamedNode> </xsl:template> </xsl:stylesheet> [/CODE] When …

Software Development xml
Member Avatar for StephNicolaou
0
203
Member Avatar for daydie

When i make a [COLOR="Green"]login for vb forum[/COLOR], the post string i get back on real login is : [CODE]vb_login_username=the_legend&vb_login_password=&vb_login_password_hint=Password&s=&securitytoken=1329916133-7066266c7073fe1bf6b02ad340d25fa9a55513ca&do=login&vb_login_md5password=a033848a48e9e12b9cef05d31e7d991b&vb_login_md5password_utf=a033848a48e9e12b9cef05d31e7d991b[/CODE] But the real string to login successfully by application POST is the following [CODE]raw_login_password=" & TextBox2.Text & "&do=login&url=%2Fforum%2Fusercp.php&vb_login_md5password=" & MD5(TextBox2.Text) & "&vb_login_md5password_utf=" & MD5(TextBox2.Text) & "&s=&securitytoken=guest&vb_login_username=" & TextBox1.Text & "&vb_login_password=&cookieuser=1[/CODE] …

Software Development first-post vb.net
0
75
Member Avatar for sergent

What is the difference between standard, int main(int nargs,....); and [CODE]int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd ); [/CODE] I am making a cross-platform program, for windows and linux, and until this point, I used main, without WinMain, for windows and linux. My app calls windows …

Software Development c++ gui
Member Avatar for jmichae3
0
2K
Member Avatar for ForceStr

I want to add a progressBar (just to show that something is happening) when the database rows are fed into a table. First I tried to create a frame, where I added progressBar. I called frame.visible in the while loop which populates the table with database datas. But the frame …

Software Development java
Member Avatar for dantinkakkar
0
1K
Member Avatar for bhallarahul

i want to use use javamail Api and i am not able to understand which server i use or is there is any other api available which is better then javamail Api.please suggest me

Software Development api java
Member Avatar for bhallarahul
0
148
Member Avatar for vlady

Hello! I don´t understand how to use a condition " if i == predmet: " i is an objet type of subject In my code I need to reach the condition: [ICODE]def add_mark(self,predmet,mark): for i in self.predmety: if i == predmet: print True[/ICODE] but I don´t know how to make …

Software Development python
Member Avatar for vlady
0
123
Member Avatar for skyshare

I have 18 text boxes named 'txtmybox' with indexes set as 0 to 17. To change the back color I currently use a for..next loop ie: for x = 0 to 17 txtmybox(x).backcolor=red next x The question is - is there a quicker way to perform this task, ie change …

Software Development visual-basic
Member Avatar for skyshare
0
101
Member Avatar for KickAssElmo

So I need to write a function that if a file exists, it will change the file name by sequentially adding integers, starting with 1, to the base file name (the part that does not include the file extension). so if the filename is hello.dat, then it will return hello1.dat …

Software Development python
Member Avatar for ihatehippies
0
251
Member Avatar for rhone0809

i am new to vb.net... my problem in this query is that "Format is not a recognized built in name" this Format() is an sql function right? is there a header file to call the format() function just like c++? can anyone help me with this? please! here's my query …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
149
Member Avatar for Shreya J

Hi , In my application I have to implement Tooltip for Link Button. When mouse hover on link button , I should get a Tooltip. It can be a Telerik ToolTip as well. Please help me with this concept. I need step by step process for implementing this. Regards.

Software Development asp.net gui seo
Member Avatar for Shreya J
0
1K
Member Avatar for Vladnaka

Hello, everybody, I am doing my Java homework and we used this line in class with no problems at, I have the code from the program we used in class and it works on my computer no problem. However, when I put it into my homework's code, it gives me …

Software Development java java-swing
Member Avatar for crimsondawn
0
876
Member Avatar for DoubleZ

Hello, so my assignment was to take a text file that contains a properly written C++ program code and to go through that code character by character and output all the comments in that code to another text file. This is what I got so far, basically I`m wondering how …

Software Development c++
Member Avatar for Panathinaikos22
0
225
Member Avatar for Graphix

Hi, I've been trying to learn what pointers are and how they function, and I now finally understand most of it. However, I don't understand the assignment of strings to a char *, and what the values they have mean. I wrote a small program to learn: [CODE]#include <stdio.h> #include …

Software Development c
Member Avatar for Graphix
0
174
Member Avatar for kyriacos1986

I want to update a record of a gym member when his/her weight change. But unfortunately my program can't find the given member. Here is my code: [CODE] public static void updateWeight() { Scanner in = new Scanner(System.in); // Creation of a new Scanner object String tempName = ""; // …

Software Development java
Member Avatar for kyriacos1986
0
137
Member Avatar for FUTURECompEng

Hi, I created a game in which players take turns entering their symbol by clicking on a box that is implemented on a grid window. I am having a hard time being able to check if the player has four symbols in a row diagonal or up or down or …

Software Development gaming java java-swing
Member Avatar for FALL3N
0
298
Member Avatar for suneel kar

anyone who can help me regarding how to read data from .dbf files recordwise.

Software Development visual-basic
Member Avatar for ppappu
0
2K
Member Avatar for ljvasil

Hi everyone, I've written a cellular automata code in python that updates land uses based on each cell's adjacent neighbors. I import a text file as a dictionary with cell id: land use code. I also import a text file with each cell's adjacent neighbor. I then run the cellular …

Software Development python
Member Avatar for ljvasil
0
177
Member Avatar for Lucaci Andrew

So, what is my deal... I'm working on a script, which, at some point will require the user to insert his or hers username and a password. My question is, how can I make that when the user will write in the password box/line whatever, instead of its characters, to …

Software Development assembly python
Member Avatar for Lucaci Andrew
0
180
Member Avatar for cajohnson

I am working to take c code from an academic paper and edit. I am studying cryptographic algorithms. I have ran the following code, but I am having a little difficulty understanding two things. First, the program uses unsigned long ints. When they are added or subtracted, I don't get …

Software Development c encryption
Member Avatar for cajohnson
0
212
Member Avatar for beho86

I am having a hard time getting specific text from a webpage. [url]http://mbible.com/john/1-1.htm[/url] OR [url]http://m.bible.cc/hebrews/1-3.htm[/url] (Whatever easier!) I want to get the text infront of "KJV" label. ex: KJV: sometext. how can I get this "sometext" tried this and didn't work. [CODE] 'Dim htmlElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("a") 'For Each …

Software Development vb.net
Member Avatar for beho86
0
144
Member Avatar for jemz

Hi, Can i ask something what type of eclipse should i use in developing android.there are many of them,can you help me on this please.Thank you in advance. Eclipse IDE for Java Developers, Eclipse IDE for Java EE Developers, Eclipse Classic 3.7.1, Eclipse IDE for C/C++ Developers (includes Incubating components), …

Software Development android android-development ide
Member Avatar for jemz
0
209
Member Avatar for VasquezPL

Hi guys, I need your help: I tried to initialize an array like this: [CODE]string[] relation1;[/CODE] then I fill it with another function that contains the code: [CODE] for loop then: relation1[z] = something; [/CODE] but...compiler always writes that: [CODE]relation1' is never assigned to, and will always have its default …

Software Development c#
Member Avatar for VasquezPL
0
292
Member Avatar for vlaskiz

Currently working with graphical interface and dynamic object arrays, Got two text files with kinda same data on it, my current task is just to read and output that data. Problem is most likely either with my read function or function to determine how much data there is in files …

Software Development c++ ios
Member Avatar for vlaskiz
0
612
Member Avatar for faraz ahmad

Aoa, Hello All, i am having problem in this question Write a program that takes integer input from the user and store into the array dynamically allocated each time a new element is added. Your program should prompt user to take integers until he enters -1, which means end of …

Software Development c++
Member Avatar for MastAvalons
0
344
Member Avatar for Yoink

I'm a beginner with python and I'm trying to write a program that asks the user for how many classes they have taken, then asks them for the class codes and prints the classes they have left to take. I can get the program to run perfectly for one list …

Software Development python
Member Avatar for Yoink
0
193
Member Avatar for belber

Hey all, i'm newbie programmer, i wan't to work with vb6, i wan't to know about adodc, adodb, odbc, and dao i know function adodb, but not adodc, adodb, odbc, dao can someone explain to me about adodb, adodc, odbc, and dao thanks for help

Software Development visual-basic
Member Avatar for Jx_Man
0
101
Member Avatar for Dann0

Hi guys, I'm trying to make an enemy object follow a player object but I'm having a problem with picking up the player co-ordinates, it gives me an error "Player object has no attribute x" Here's whats iv'e got: [CODE] import pygame pygame.init() class Player(pygame.sprite.Sprite): def __init__(self): pygame.sprite.Sprite.__init__(self) self.image = …

Software Development python
Member Avatar for Dann0
0
2K
Member Avatar for dantinkakkar

I want to build a network protocol analyzer, but I really don't know where to start. Obviously, I don't want the code in hand, I can think it up myself -- but the problem is a little more specific - where do I look at to get the IPs passing …

Software Development cybersecurity java operating-system ubuntu
Member Avatar for dantinkakkar
0
288
Member Avatar for vodkasoda

I realise that this is a question asked a lot, but the best answer seems to be to use the "AcceptButton" option ... I don't have that option, why would that be ?!? I am using VS2010 & C# for my program, but nowhere is there an "AcceptButton" option !!!

Software Development vb.net visual-studio
Member Avatar for vodkasoda
0
179
Member Avatar for Sommy

Hello...just started learning C and i'm trying to write a program that solves quadratic equations...but every time i compile and run it and enter the 3 variables it crashes. I kept on looking but didn't find anything wrong with it...help? :P [CODE]#include <stdio.h> main(){ int a,b,c; float x1,x2; printf("Please enter …

Software Development c
Member Avatar for MonsieurPointer
0
211
Member Avatar for solarcoder

I was tried to debug to find an explanation to this but i still don't really understand the concept. Here goes. [CODE] //pass in value //973 456.2 77F //973 456.2 77F #include<iostream> using namespace std; int main() { char letter; int n; float m; cin>> m; cin.clear (); cin.ignore (200, …

Software Development c++
Member Avatar for deceptikon
0
156
Member Avatar for choosechrist

As I am new to Vb, I am not sure if this is even possible. i have created a program and now we are testing the maximum clients possible for the server.the thing is since, we are at the beggining stage, we come across numerous errors and so the person …

Software Development vb.net
Member Avatar for choosechrist
0
188
Member Avatar for dantinkakkar

The problem is, that I want to read data and analyze it from a promiscuous network device programmatically using java. Using existing software like WireShark/DarkStat is NOT a solution. I wanna do it myself. Any hints on where do I start?

Software Development java
0
83
Member Avatar for vivekanandaan

I need a code in vb.net for sending mail with attachment... Kindly help ... Vivek

Software Development vb.net
Member Avatar for thines01
0
3K
Member Avatar for LearnVBnet

Help me to format currency col(2) = 1.234.567 I have search any where can'not find answer [CODE] With Lv1 .Clear() .View = View.Details .FullRowSelect = True .GridLines = True .Columns.Add("Product Name", 250) .Columns.Add("Stock", 90, HorizontalAlignment.Right) .Columns.Add("Price", 90, HorizontalAlignment.Right) '.SubItems(2) = Format(Value, "#,##0.00") FillListView(Lv1, GetData(sSql)) End With[/CODE] tx

Software Development listview vb.net
Member Avatar for LearnVBnet
0
1K
Member Avatar for dantinkakkar

Alright, so I tried to write a little short guide on Object Input and Output to files, since the worst situation one can find themselves is being unable to serialize files in a proper and readable format. One way to do so is to create an object of a class …

Software Development api file-stream java oracle
0
80
Member Avatar for wallet123

hi, our final exam will be on next week, i want our program to be different may i ask how to put colors on texts of JOptionPane on the background and how to change font size and style and how to put sound effects.. please make it easy to understand …

Software Development java
Member Avatar for wallet123
0
87
Member Avatar for gerchi152

what is the syntax for blank list view object... for example: [CODE]if classlistview is blank then <statement> else <statement> end if[/CODE] what is the syntax for classlistview is blank? as in no record(s) were retrieved... any help is appreciated... thanks :)

Software Development vb.net
Member Avatar for gerchi152
0
149
Member Avatar for docgrid

hi ppl i need bit of help in my vb coding. I have a publish data onto datagrid and allow user to search for specific record by inputting no. everything going fine. however i was unable to inform the user if there is no matching record found. i tried to …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
185
Member Avatar for gerchi152

my report show this way: surname 1 firstname1 middlename1 surname 1 firstname1 middlename1 surname 1 firstname1 middlename1 surname 1 firstname1 middlename1 surname 1 firstname1 middlename1 surname 2 firstname2 middlename2 surname 2 firstname2 middlename2 i want to display my those records this way surname 1 firstname1 middlename1 surname 2 firstname2 middlename2 …

Software Development display vb.net
Member Avatar for gerchi152
0
195
Member Avatar for nahmartin

Hi, I am having trouble outputting to many files [CODE] ifstream sim_dump; sim_dump.open("c_grain.sim_trj"); char dump_file[20]; int itr = 4000; sprintf( dump_file, "%d", itr); ofstream fout(dump_file); while(lammpsdump.good()) { //if(itr % 100 == 0) //{ fout.close(); sprintf( dump_file, "%d", itr); ofstream fout(dump_file); cout << "TIMESTEP " << itr << endl; //} ... …

Software Development c++
Member Avatar for nahmartin
0
163
Member Avatar for kishpopboy

pls help.. I have a to create a timecard calculator. it goes this way txtbox1 is for their 1st in txtbox2 is for their 1st out textbox3 is for the difference of txtbox1 and textbox2 txtbox4 is for their 2st in txtbox5 is for their 2st out textbox6 is for …

Software Development mathematics vb.net
Member Avatar for kishpopboy
0
164

The End.