43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for kenomote

Hey guys im trying to display diffirent tables on 1 datagridview (ofcourse its one at a time only) so far it works everytime i change the datatable using listview for selecting now the problem is how do i insert data on it but only using a single form....each table have …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
498
Member Avatar for bansarisavaliya

anyone can help me... I have developed vb.net deskstop application.I want to open popup in button click event but when popuup open in second time first display blank space after that popup contain dispay. my code is : Dim popup As New ToolStripDropDown() popup.Margin = Padding.Empty popup.Padding = Padding.Empty popup.Width …

Software Development vb.net
Member Avatar for Begginnerdev
0
510
Member Avatar for on93

can anyone help me to fix this problem ? i can delete the midder and the tail of the node , the only problem is i cannot delete the head node when i have more than one node. ---------------------------------------------- #include<iostream> #include<string> using namespace std; class linklist { private: struct node{ …

Software Development c++
Member Avatar for on93
0
332
Member Avatar for mradzinski006

Hi, I'm developing an application that needs to call some methods located inside a SOAP web service and read their responses. For security reasons my client does not allow me to access the service, so there's no way for me to reference it using the Visual Studio tool. I do …

Software Development visual-studio
Member Avatar for mradzinski006
0
182
Member Avatar for Rahul47

hello people, I have the following piece of code. Private Sub SR_No() Dim con As New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\VB Applications\PROJECT_1\PROJECT_1\examdb.mdf;Integrated Security=True;User Instance=True") Dim cmd As New SqlCommand("Select MAX(SR_No) from Stud_Master", con) con.Open() Dim dr As SqlDataReader = cmd.ExecuteReader() MessageBox.Show(sr) con.Close() End Sub I wish to fetch SR_No into a variable sr. …

Software Development open-source vb.net
Member Avatar for Rahul47
0
120
Member Avatar for Jake.20

Guys i need help or tips about allowing only one dot in calculator and i'm using button. could you guys provide me some tips on how to do it? Thank you in advance.

Software Development visual-basic
Member Avatar for Jake.20
0
291
Member Avatar for mattster

Right everyone, here's my problem. I have just paid £45 for a book on Qt, have had a nightmere getting it sorted, and finally I can build apps to this extent... I have an app, *test.pro*. I have built it using `qmake test.pro` -> `make` which works. I am using …

Software Development c++ gui qt
Member Avatar for mattster
0
292
Member Avatar for Rod53718

#McListBox Example #Jan.20, 2013 import tkinter as tk import tkinter.font as tkFont import tkinter.ttk as ttk #import re Actors_list = [("Rowan","Atkinson"),("John","Candy"),("Morgan","Freeman"),("James","Garner"),("Cary","Grant"),("Kate","Hudson"), ("Jack","Nicholson"),("William","Powell"),("Arnold","Schwarzenegger"),("Tom","Selleck"),("John","Wayne")] Movies_list = [[("Bean","1997"),("Mr. Bean's Holiday","2007"),("The Lion King","1994"),("Johnny English","2003"),("Johnny English Reborn","2011"),("Keeping Mum","2005"),("The Black Adder","1982-1983")], [("Dr. Zonk and the Zunkins","1974"),("Tunnel Vision","1976"),("SCTV","1976-1979"),("1941","1979")], [("The Pawnbroker","1964"),("Blade","1973"),("The Electric Company","1971-1977"),("Attica","1980"), ("Brubaker","1980"),("Street Smart","1980"),("Driving Miss Daisy","1989"),("Glory","1989"),("Unforgiven","1992"), ("Outbreak","1995"),("Se7en","1995"),("Amistad","1997"),("The …

Software Development python tkinter
Member Avatar for Rod53718
0
5K
Member Avatar for sarman.boyslo

hi all, newbie wanna ask... :) if i have a button, normally (before it clicked) the button is just like usual, but if i clicked it, in the button appear dotted line, how if i want to before and after he button clicked without dotted line? please see the pict, …

Software Development gui visual-basic
Member Avatar for sarman.boyslo
0
280
Member Avatar for tinstaafl

A curious thing, is there a reason that you can't declare sender as a specific type? For instance, if you had a number of textboxes and you wanted each one to select all it's text when you click on it could you use : Public Sub TextBox_Click(ByVal sender As TextBox, …

Software Development vb.net visual-studio
Member Avatar for Reverend Jim
0
328
Member Avatar for hust921

Hello everyone. I made this "text file de/encryption" program as my first big C project. It's working pretty decent, and takes a lot of special characters and tabs without any problems. I have tested the code by encrypting and then decrypting some source code, and compared the output with the …

Software Development c encryption open-source
Member Avatar for hust921
0
233
Member Avatar for lucaspenney08

Im new to python and im runnung xubuntu! I was wondering if there is a site that does tutorials for Python in xubuntu??

Software Development python ubuntu
Member Avatar for lucaspenney08
0
71
Member Avatar for aswekown

Hi, I have a piece of code here. #include <stdio.h> int main() { // jimmy and masked_raider are just aliases for the same memory address. They’re pointing to the same place char masked_raider[] = "Alive"; char *jimmy = masked_raider; printf("Masked raider is %s, Jimmy is %s\n", masked_raider, jimmy); masked_raider[0] = …

Software Development c
Member Avatar for deceptikon
0
128
Member Avatar for 2mhzbrain

i connected and migrated all the things from access to mySQL (online) using free hosting on the net, when i make my simple program to .exe, then run it on different computer, its asking for some OCX and dll files... why is that happening? my .exe program run well on …

Software Development mysql visual-basic
Member Avatar for 2mhzbrain
0
278
Member Avatar for dashing.adamhughes

Hi guys, I have a code that intercepts calls to methods via __getattr__. Something like: def __getattr__(self, attr, *fcnargs, **fcnkwargs): out=getattr(self._df, attr)(*fcnargs, **fcnkwargs) etc... My goal is when a user calls a method, if it is not a method of self, the program attempts to run it on one of …

Software Development python
Member Avatar for dashing.adamhughes
0
182
Member Avatar for Suzie999

I'm trying to be clear about registry, and would hope someone might confirm, or not, that my interpretation is correct. I read [here](http://msdn.microsoft.com/en-gb/library/windows/desktop/ms724072(v=vs.85).aspx) > The parent of each 64-bit registry node is the Image-Specific Node or ISN. The registry redirector transparently directs an application's registry access to the appropriate ISN …

Software Development c++ microsoft-access
Member Avatar for Ancient Dragon
0
157
Member Avatar for cromz

Hey guys I have a problem. I am using mysql as my database. I want to get the 3 most repeated values into 1 textbox And my problem is how do i get them? here is the table: pen book book book pen pencil pencil paper i want to get …

Software Development vb.net
Member Avatar for cromz
0
167
Member Avatar for lewashby

In code like int `main(int argc, char **argv)`, I'M trying to understand command line arguments a little better. And what would be the difference between `char ** argv` & `char * arg[]`? Thanks.

Software Development c++
Member Avatar for Lerner
0
128
Member Avatar for Lowchernhwee

Well i have troubles sorting the xml whenever i created a new info so here are the codes Imports System.Xml Imports System.IO Imports System.Text Public Class Form1 Dim m_strdata As String(,) = New String(999, 4) {} Dim w As Integer = 0 Private Sub read() Dim m_xmlr As XmlTextReader 'Create …

Software Development vb.net xml
Member Avatar for TnTinMN
0
224
Member Avatar for Rod53718

I'm fairly new to python. I've been using a modified verson of McListBox from a posting by vegaseat to get 2 treeviews going. It's been working well until I've been trying to be able to click on one to select what will be shown in the second. Anybody have an …

Software Development python tkinter
Member Avatar for Rod53718
0
3K
Member Avatar for Suzie999

Hi, I'm trying to create a *link like* label in a win32 application. VS2010 I generally find an API I can use but I'm having no luck with it currently. Just wondering if anyone has some Ideas? just a starting point will be great. Appreciate you reading, thanks.

Software Development api c++
Member Avatar for Suzie999
0
199
Member Avatar for Frensi

I'm trying to create a little text module for pygame. I've got everything up and running but I can't seem to get list.pop() to work. Whenever a person presses a key I put the chr() version of it into a list, then I iterate over that list to print out …

Software Development python
Member Avatar for Lardmeister
0
239
Member Avatar for Violet_82

Hi all, finally following the advice on this forum I got hold of the Deitel and Deitel java how to program 9th edition! Great book I must say so far (only got to chapter 3). Now, I am doing some of the exercises as I go along, and today I …

Software Development java ubuntu
Member Avatar for Violet_82
0
316
Member Avatar for DyO152

Hello, I have problem in one of my program,it's almost a copycat of MS-World, that means it's using RichTextBox, I have Bold,Italic,Underline etc. buttons but when I save the file and open it, it's a basic text that you can get from Notepad. File Type: DTX Save Method: Writer (User-made …

Software Development vb.net
Member Avatar for TnTinMN
0
224
Member Avatar for glenndr_15

How to Highlight a sentence row by row? For example I made a simple notepad written in VB.net. Then, I'd like to hightlight a row by row automatically and manually. lets say I have a button named "auto" to highlight row downward automatically , and I have a button named …

Software Development vb.net
Member Avatar for tinstaafl
0
110
Member Avatar for dmanw100

Hello, This doesn't seem to fit any particular forum, but I thought it might fit best here. I need to be able to add Java syntax highlighting functionality to a form on an internal website. Does anyone know of a syntax highlighting framework that supports Java and can be embedded …

Software Development java
Member Avatar for dmanw100
0
180
Member Avatar for akasekaihime

I am trying to save items from listview to database,but whenever I try to run my code, the message "Object reference not set to an instant of an object".Here is my code.............. Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click strsql = "Update tbl_tec_temp set tem_we_position …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
191
Member Avatar for glenndr_15

Greetings! I just want to ask on how to change a word to another word and change its color in a textbox. For example if I type the word "Yes" in the text box it will change to "NO" and change its color into red at the same time.

Software Development vb.net
Member Avatar for deceptikon
0
120
Member Avatar for lewashby

I'M getting a "DateValidation.cpp:10:2: error: ‘numberOfDigits’ was not declared in this scope" error. Here is my call to the function: numberOfDigits = getNrDigits( int date ); The function is declared in the file functions.h and I have #include "functions.h" at the top of my page. Any ideas?

Software Development c++
Member Avatar for MIND_HACKER
0
116
Member Avatar for rishif2

hello experts `rec.Open "select * from tbl where id="& inputted, con, 2, 3` i used the above code to find records and now the real problem occures when a value is inputted and that doesn't exist in the database so in such a case i wanna display en error message …

Software Development visual-basic
Member Avatar for AndreRet
0
136
Member Avatar for Suzie999

I was testing a portion of new code in a loop, a lot really, as I was just creating it there were a lot of commened stuff, so when I tries to comment the new code it was being an ass, so I just cut it ready to ctrl + …

Software Development c++ visual-studio
Member Avatar for Suzie999
0
163
Member Avatar for shanew21

Hey Guys i have a list like ['10015, John, Smith, 2, 3.01', '10334, Jane, Roberts, 4, 3.81' , '10208, Patrick, Green, 1, 3.95'] i need to split this list and create a list of this form 10015 John Smith 2 3.01 10334 Jane Roberts 4 3.81 any ideas how to …

Software Development python
Member Avatar for snippsat
0
195
Member Avatar for Hendo

I'm working on an application that runs off of a thumb drive. The very first step in the application is to select the drive letter of the thumb drive. That populates a variable which is used throughout the program to note various paths on the thumb drive. Is there a …

Software Development hard-drive
Member Avatar for Hendo
0
384
Member Avatar for glenwill101

hello im a hobbyist who is somewhat new to c++ with lots of experience in python. in python i was able to use dictionaries that could be accessed by keys and values with no limits on data types that can be stored but now im trying to port a simple …

Software Development c++ python
Member Avatar for glenwill101
0
3K
Member Avatar for minime010

I have a problem with this... import javax.swing.*; import sun.audio.*; import java.awt.event.*; import java.io.*; public class PikaPlatformer { //----------------------------------------------------------------- // Creates and displays the application frame. //----------------------------------------------------------------- public static void main (String[] args) { JFrame frame = new JFrame ("Direction"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.getContentPane().add (new PikaPlatformerPanel()); frame.pack(); frame.setVisible(true); } } How …

Software Development audio gaming java
Member Avatar for minime010
0
515
Member Avatar for vonnoy

i search record from the present form then i want to load it in another form for editing and saving the record. here's my code but its always error. With list_stud .label1.caption = ID_no .label2.caption = lvStudentInfo.SelectedItem.SubItems(1) .label3.caption = lvStudentInfo.SelectedItem.SubItems(2) .label4.caption = lvStudentInfo.SelectedItem.SubItems(3) .label5.caption = lvStudentInfo.SelectedItem.SubItems(4) .label6.caption = lvStudentInfo.SelectedItem.SubItems(5) .Show …

Software Development visual-basic
Member Avatar for tinstaafl
0
183
Member Avatar for YaLeon

Returns true if the string represented - by the object it is on the same string is represented by the object str. Otherwise false is returned. This system must write the recursion without using any loops. So I did it and it looks like this: public boolean equals ( StringList …

Software Development java linked-list
Member Avatar for tux4life
0
177
Member Avatar for lewashby

In the program below I need to get month to hold the first two digits of date, day two hold the digits 3 & 4, & year to hold the last four digits. Any idea on how I can accomplish that? #include <iostream> #include <string> #include "functions.h" int main() { …

Software Development c++
Member Avatar for lewashby
0
436
Member Avatar for dokukani

Is my functions correct? If I type in the highest temp at the bottom row, my program wouldn't take it. Same goes for lowest temp. Can anyone provide some in sight? #include <iostream> using namespace std; //declare constant for array temperature int const row = 3; int const col = …

Software Development c++
Member Avatar for remunance
0
361
Member Avatar for boiishuvo

I have one problem at the line 20-23. What I need is when the blue box touches the red rectangle, the blue box gets resetted (it goes back to where it starts). However, the problem is, it doesn't touch the red rectangle area properly. Any suggestions? Thanks in advance. float …

Software Development java
Member Avatar for margaret224
0
320
Member Avatar for Blink383

I'm trying to display a few Jlabels in the output of my actionlistener. I have a combobox included in the fields I needed added. i attempted to use a Jtable but had issues getting the selected item from the combobox. I choose to this method because I had already had …

Software Development gui java java-swing oracle
Member Avatar for Blink383
0
288
Member Avatar for anukavi

Hi, The question might be little confusing. I have recently joined smart card testing team and its all new stuffs to me. I need ur help in suggesting suitable IDE for writing test cases to test SIM OS & related applications. I insert the Native SIM card into card reader …

Software Development ide java
0
78
Member Avatar for UnchainedDjango

# "toNumbers(strList) is a list of things,each of which represents a number.Modifies each entry in the list by converting it to a number." # Here is my code and it won't work,please help,thank you! import string def toNumbers(strList): nums = [] for i in strList: nums = nums.append(int(i)) return nums …

Software Development python
Member Avatar for UnchainedDjango
0
647
Member Avatar for lewashby

In the following program, when I enter a number I'M getting strange output back. When I enter 5 I get 0x6011a85 back on the cout << "you entered" line. #include <iostream> //#include "functions.h" int main() { std::cout << "Please enter a number. " << std::endl; int date = 0; std::cin …

Software Development c++
Member Avatar for CGSMCMLXXV
0
91
Member Avatar for <M/>

I enrolled myself into 2 college classes (Java and C++) and i am curious on what the best book is for c++. I saw another thread with the same question, but that was posted 8 years ago. I do not mind paying for any book (price does not matter). If …

Software Development c++
Member Avatar for vijayan121
0
221
Member Avatar for jeffbeck8

Hi, I have a working program and I need to answer the following questions: 1:where was polymorphism was used in this application? 2:identify where overriding or overloading was used in this application? I belive overriding is used by the Runnable method to override the run() method. Would that be a …

Software Development java
Member Avatar for jeffbeck8
0
301
Member Avatar for Ctechnology24

Please help me on how can I refresh the records displayed in my crystal report. because when i first open a report it functions well but if I close the report viewer form then open it again the previous records will display with the new records that i selected example …

Software Development vb.net
Member Avatar for Ctechnology24
0
1K
Member Avatar for lewashby

I need to store the number of digits from a number into a variable. e.g. 538, i need to store 3. How can I accomplish this is C++? Thanks.

Software Development c++
Member Avatar for Moschops
0
107
Member Avatar for vonnoy

can anyone help how to save using this code below.? i used adodc recordset with adodc1 .ConnectionString = connectdb .RecordSource = "Select * from 'tablename'" .Refresh 'dont know the next action end with 'what does this code mean?

Software Development visual-basic
Member Avatar for vonnoy
0
222
Member Avatar for avidwan

How to make a reverse string program in [c programming](http://www.programmingpad.com) language ?

Software Development c
Member Avatar for rustysynate
0
275

The End.