132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mr.M

Hi Guys. I'm not a c++ dev but a VB.NET developer. I will first explain my scenario so that the question would be clear. Suppose I had a form which has a Label contro named label1 and the project name is Test which is done in a Visual Studio using …

Software Development c++ visual-studio
Member Avatar for Mr.M
0
328
Member Avatar for Nemius

Hi all, I am working on program that will connect to MySQL database, colect data from table and show them in grid. Where user can edit cell, and then on enter key changes will bi save directly into database table. Curent problem is that I am stuck at importing data …

Software Development mysql python
Member Avatar for Nemius
0
2K
Member Avatar for Glenda C.

how can i display the selected row in datagridview to label?

Software Development vb.net
Member Avatar for Mr.M
0
812
Member Avatar for Mr.M

Hi DW. Is there anyone know how to read a text file line by line from the web/internet in VC++? I have a function which works well in reading the local file but its seems as if its doesn't find or read a file on a web server. A file …

Software Development c++ file-system web-server
Member Avatar for thines01
0
3K
Member Avatar for Noorul Ariff

Friends i need code to search the datas... I'm doing INVENTORY project... i'm using ACCESS databse with vb.net... i'm having purchase, sales tables... THIS IS MY PURCHASE TABLE: Code Price Category Type Dat SP Brnd 11 222 cde bgf 9/10/2025 356 asd 12 255 MEN Shirt 5/10/2010 355 Vanhesun 55 …

Software Development business-entrepreneurship seo vb.net
Member Avatar for Reverend Jim
0
4K
Member Avatar for dongtrien

I have the following query, to group the records but not the group was thanks to you only help, the end when running excel file view: SELECT TOP (100) PERCENT dbo.TABNHANVIENCA.CANV, dbo.TABHDBHCT.TENSP, dbo.TABDONVI.TENDVT, SUM(dbo.TABHDBHCT.SOLUONG) AS SL, SUM(dbo.TABHDBH.DOITRA) AS DTRA, dbo.TABHDBHCT.GIABAN AS DONGIA, CASE TABHDBH.DOITRA WHEN 0 THEN (TABHDBHCT.SOLUONG * TABHDBHCT.GIABAN) …

Software Development
Member Avatar for dongtrien
0
302
Member Avatar for moaz.amin.37

hello friends i have a problem with javafx AnchorPane. I have an anchorpane that contains a button i want to set the height and width of anchorpane to zero but it no apply. how to do this .... actually i am working on a sliding panel

Software Development java
Member Avatar for rproffitt
0
376
Member Avatar for Rahul47

Writing a function strreplace(s,chr,repl_chr) to replace the character 'chr' with character 'repl_chr' in a givne string s. I have done so far with following code. Getting awkward output. // Program to replace occurence of a character with another character in a string. #include<stdio.h> #include<conio.h> void strreplace(char *,char,char); int main() { …

Software Development c
Member Avatar for Reverend Jim
0
21K
Member Avatar for Muhammad Shahid_1

Dear Fellows, I have an Inventory Management System and a Point Of Sale. App is working well on a local network. But now i would like to connect my Point Of Sale app through internet to another computer another city where the Inventory Management System with Acccess 2003 Database is …

Software Development visual-basic
Member Avatar for rproffitt
0
400
Member Avatar for ihthishaam

Hi guys, I am new to vb.net i want to know how to pass a datagridview row values onto another form once the row is been double clicked.

Software Development vb.net
Member Avatar for Angelo_5
0
5K
Member Avatar for skitband

/** * Help me to solve this one * * The input for input dialog should appear at right textfield * * ex. your firstname? >>> john * john should appear at the textfield label firstname */ import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.JOptionPane; public class Info extends Applet …

Software Development java java-swing
Member Avatar for JamesCherrill
0
559
Member Avatar for RAHEEL_3

Hi there, I want to implement undo logic which deletes the last drawn shape. To test this logic i had cleared shapes list and redrawn all shapes but still **last** shape does not delete. public void drawAllShapes(Graphics2D g) { //draw all triangles for (DrawTriangle t : newTriangles) { t.drawTriangle(g); } …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for RAHEEL_3

Hello eveyone, Please tell me why triangle shape is redrawing on mouse move. It want triangle shape draw only once until mouse release. Here is my code below. Thank you ! public class Triangle extends JFrame { Point startDrag, endDrag, midPoint; private java.util.List<Polygon> triangles = new LinkedList<Polygon>(); Polygon triangle; public …

Software Development java
Member Avatar for RAHEEL_3
0
853
Member Avatar for Martin_22

I've been trying to create the diamond square algorithm in ruby and whilst it works (that is to say it doesn't error) it doesn't output as expected, so far here's the output at various states: # So far# ## First attempt ## [First Attempt][1] This is the output of when …

Software Development algorithm github ruby
Member Avatar for Martin_22
0
503
Member Avatar for RAHEEL_3

Hi there, I want to draw a triangle using mouse events like mousePressed(), mouseReleased() and mouseDragged(). But triangle did not show until mouse release. Please tell me what i am doing wrong that triangle is not showing in mouseDrag event. And one thing more, triangle is drawing upside down. Please …

Software Development java
Member Avatar for RAHEEL_3
0
1K
Member Avatar for Stella_3

what i have done is copied answer in label and now matching the radiobutton option with it so far so good but i dont know how to uncheck radio button when i get to next question and method of mine stucks in between like sometime it just donot match the …

Software Development
Member Avatar for ddanbe
0
241
Member Avatar for Jon_12

Im having a hard time on how to display the total price when i choose roundtrip, on how to display the price and the total price.. someone please help me pls pls pls Here are the requirements: A. Log in by Username and password B. User can choose either one …

Software Development c
Member Avatar for jwenting
0
17K
Member Avatar for dongtrien

Previously open programs normally winxp on 32 bit , pass through win7 on 64 bit errors, have you any knowledge of this error ? <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle { font-family: tahoma; font-size: 11 pt; text-align: left}.DetailsStyle { font-family: tahoma; font-size: 10pt; text-align: left;text-indent: 0; word-spacing: 0; line-height: 100%; float: left; …

Software Development
Member Avatar for dongtrien
0
551
Member Avatar for Stefce

Hello, so i tried to make my own insta crawler but having some dificulties, here is the code for now: import requests from bs4 import BeautifulSoup def insta_spider(max_pages): page = 1 while page <= max_pages: url = 'https://instagram.com/xenia/' source_code = requests.get(url) plain_text = source_code.text soup = BeautifulSoup(plain_text, "html.parser") …

Software Development python seo
Member Avatar for rproffitt
0
2K
Member Avatar for skyshare

Hi I have a program running that refreshes when it has focus and F5 is selected. I want to do this without it having focus from a VB6 program The handle is returned OK but the sendmessage does not refresh the program. I also tried using postmessage to no avail. …

Software Development visual-basic
Member Avatar for rproffitt
0
516
Member Avatar for breaksand30

I'm working on a project in Python that I'm having trouble with. I've asked so many people but they seem to not be able to help me :/ I'm coding a little program that executes system commands. The idea is that one machine opens the server and the other one …

Software Development client-server python shell-scripting
Member Avatar for reeta_1
0
4K
Member Avatar for dongtrien

When designing a form dragging objects (forms) into an edit and delete form, somehow the object on the form is deleted but the code in the form (Form.Designer.cs) does not delete the form. Is there a way to quickly find code not deleted in the above file ?

Software Development
Member Avatar for dongtrien
0
193
Member Avatar for shadab96

Hi, I have written a code for Roman Numeral basic mathematical operation in C++. How to do unit testing for it/ How to write unit testing program for it? Here is the code: #include <iostream> #include <string> using namespace std; //Function to convert decimal number to roman string decimal_to_Roman(int number) …

Software Development c c++
Member Avatar for AssertNull
0
1K
Member Avatar for zebnoon1

first I want to say thank you all , You have a stuning Job here. Secondly, I Want to Import Data from Excel File to My DataGrideview columns. I tried but data coms after My added columns.Please, Check my code bellow. private void button8_Click_1(object sender, EventArgs e) { string content …

Software Development
Member Avatar for ddanbe
0
353
Member Avatar for snakay

Hi, I'm having CLI0100E Wrong number of parameters. SQLSTATE=07001 exception when I try to [code] private void PopulateTable() { bool IsConnecting = true; while (IsConnecting) { try { cn = null; cn = new OleDbConnection(strConn); cn.Open(); sSqlCommand = "select a.sicil_no ,a.adi||' '||a.soyadi as isim,b.unvan_aciklama,a.ilkgir_tarihi,a.ayrilma_tarihi,a.sua,a.dogum_tarihi " + "from per015_ssk a,per003_ssk b"; …

Software Development dataset
Member Avatar for Reverend Jim
0
6K
Member Avatar for KushMishra

Hi All, I have a collection of huge records (6000+) wherein the object in the collections has got 50+ properties, so ideally it is not a good idea to run a "For-Each" loop here. What I want is a "GroupBy" clause which would get me a Dictionary (Of String, String) …

Software Development vb.net
Member Avatar for KushMishra
0
4K
Member Avatar for zebnoon1

Dear Friends, I want to compare two values of textboxs please, check my code Int32 val11 = Convert.ToInt32(textBox4.Text); Int32 val22 = Convert.ToInt32(textBox10.Text); if(val11 >> val22) { MessageBox.Show("Please, check Maximum Limit of Quantity.Quantity should be less tha fix Limit", "Limit", MessageBoxButtons.AbortRetryIgnore, MessageBoxIcon.Warning); textBox15.Focus(); textBox4.ForeColor = Color.Red; } else { textBox4.ForeColor = …

Software Development
Member Avatar for zebnoon1
0
215
Member Avatar for willygstyle

Hey guys, I got a little bored and thought I would to make some of the basic Client/Server applications I have a little bit flashier with a gui interface. So far I have just been working with the server and the main problem that I run into is when the …

Software Development client-server gui python tkinter
Member Avatar for Gribouillis
0
5K
Member Avatar for dongtrien

I'm using VS2005 C#. In win7 when I press the Rebuild Solution button under the error, but in winxp not error and run very well. Pay attention to win7 64 bit and winxp 32 bit . Error 1 The "GenerateResource" task failed unexpectedly. System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. …

Software Development
Member Avatar for dongtrien
0
724
Member Avatar for abders

Hello, I was testing a class in a GUI, and that error message showed up. Please help. Code: [CODE]from Tkinter import * class Application(Frame): def __init__(self, master): super(Application, self).__init__(master) self.grid self.create_widgets() def create_widgest(self): self.bttn1 = Button(self, text = "I do nothing!") self.bttn1.grid() self.bttn2 = Button(self, text = "Me too.") self.bttn2.grid() …

Software Development gui python tkinter
Member Avatar for Gribouillis
0
2K
Member Avatar for pri.chakraborty

hello sir, i am new in vb.net.. i am making a project on railway reservation.. in train booking page, there are multiple textbox in my project to insert multiple passenger name for reservation.. i want to book train in one click... so, i have to insert all the passenger name …

Software Development vb.net
Member Avatar for Reverend Jim
0
5K
Member Avatar for jailani_1

i have started system calculater in vb.net using process.start() method but i want to retrive it s value in textbox , how can i do that

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
991
Member Avatar for Rehana_1

hello i would like to know how to get one spot correct in keno. meaning get one number correct. is there a trick to it. i know i have to watch the pattern. but anything else. masslottery.com. thanks rehana vaidya

Software Development c++
Member Avatar for jwenting
0
301
Member Avatar for Reginald Xavier

great C# Programmers! please help me, am developing a field farm software, i have 3 forms _form1_, _form2_, _form3_ _form1_ is just a welcome page then when you proceed to _form2_, its a data collection, where inputs are collected From textboxes(14 rows and 4 columns) and then multiplied at background …

Software Development c c# c++
Member Avatar for tinstaafl
0
293
Member Avatar for kirtics34

Code Exercise – BIQ-001 Mr.X owns a small business in a region with poor law-and-order. Recently his warehouse has been plagued by thieves. Gangs of thieves raid over his warehouse from time to time, stealing his raw material, affecting his business. He has studied the occurrances and noticed it that …

Software Development c c# c++
Member Avatar for happygeek
0
10K
Member Avatar for pratik_6

Hey guys, I am having trouble with keypress event for a button that I have. This button is programmed to do logoff operation. Now what i want is the solution or sample program in which if user is scanning the barcode of logoff then logoff event should occur.Please suggest solution …

Software Development java
Member Avatar for rproffitt
0
335
Member Avatar for ahmed Farhad

Hi, I was wondering if anybody could help me with this. I have two .csv file that I need to put it in an excel file in two different tabs using Shell Script. Thanks in advance.

Software Development shell-scripting
Member Avatar for rproffitt
0
368
Member Avatar for rzeune

I have a microcontroller-based widget connected to my home network that monitors some sensors and controls the garage door. I'd like for it to work one way if I'm home and a different way if I'm not home. It could determine if I'm home by looking for my cell phone …

Software Development android c++
Member Avatar for rproffitt
0
1K
Member Avatar for ddanbe

In a XAML file you can add a control like a Button and start to edit its attributes like `<Button Width="200" ..`. When you type in Width you get something like `Width="|"` and is rather nice. After typing 200, you end up with `Width="200|"` Does anyone knows a way to …

Software Development asp.net
Member Avatar for ddanbe
0
563
Member Avatar for itian.kongu

Hi all i have listed few C tutorial resources for beginners to learn c programming online [C Tutorial](http://cprogrammingexpert.com/C-Tutorial/) [C - Resources](http://fresh2refresh.com/c-programming)

Software Development c
Member Avatar for ddanbe
0
276
Member Avatar for Vishnu_11

Here is my source XML: <Chat> <Chat StartTime="2017-05-28T02:05:52"> <message userId="02A0592964A8F75F" timeShift="4"> <msgText> Hi </msgText> </message> <message userId="123458566666666B" timeShift="30"> <msgText> Hello.. How can I Help You. ? </msgText> </message </Chat> I need an XSL to trnsform the source as: <Chats> <message time="2017-05-28T02:05:56" userId="02A0592964A8F75F">Hi</message> <message time="2017-05-28T02:06:32" userId="02A0592964A8F75F">Hello.. How can I Help You. …

Software Development xml
0
282
Member Avatar for Name_1

So I've been trying to make a circle class that can calculate the Area, Diameter, and Circumference of a circle. I wish to be able to do this so I can easily just input the raidus in my main and print the values out. I tried making a friend function, …

Software Development c++
Member Avatar for David W
0
1K
Member Avatar for ztdep

Dear friends: I downloaded the C++ Mathematical Expression Library from the web, and i uploaded it in the attachment. It consists of only one head file. But the compiling process is very slow under opensuse 42.3 with gcc. Could you please give me some advices for that. Regards.

Software Development c++
Member Avatar for Gribouillis
0
350
Member Avatar for lewashby

I've downloaded the file "qt-unified-windows-x86-3.0.0-online.exe" and installed Qt and I've also downloaded and unpacked the file "PyQt5_gpl-5.9.zip". I'm using Python 3.6 but I can't figure out where to drop the extracted PyQt5 files. I can't find a Python directory anywhere on my C: drive except for under my home directory. …

Software Development microsoft python qt
Member Avatar for lewashby
0
686
Member Avatar for Nether_1

I'm writing a code that will save the username of a user when a button (in this case button1) gets pressed. I save it to a file called info.txt, and i use fstream in order to save it. Currently I'm running into the issue that, while i can open up …

Software Development c++
Member Avatar for Nether_1
0
2K
Member Avatar for jaskaran.nagra

Hi! I am an engineering student.I was exploring the conio.h file in c++ when i encountered inp(),outp() functions. I understood the basics about them but i am still not able to create a meaningful program with it.Somebody please help me !

Software Development c++ engineering
Member Avatar for Wohlstand
0
4K
Member Avatar for Saboor880

Hello! I am developing a POS System. I have need to print Sales receipt. I have no physical printer to test my printing but i have print on xps document. I am facing a problem with indentation of my data on Sales receipt. Following is the code which i wrote …

Software Development java printer
Member Avatar for rproffitt
0
2K
Member Avatar for Hillzy

At the moment i ahve a task where i have to make a guessing game in GUI python. So it will generate a random number and also when a certain number of tries have been reached it will stop. The problems i am having as of now is that: 1) …

Software Development gui python tkinter
Member Avatar for Faro_1
0
3K
Member Avatar for V3N0M

Hi I am learning python and there is these two code snippets but I keep getting an error when I try to run the program. # survey.py class AnonymousSurvey(): # Collect anonymous answers to a survey question. def __init__(self, question): # Store a question, and prepare to responses. self.question = …

Software Development python
Member Avatar for V3N0M
0
280
Member Avatar for AmrMohammed

Greetings, I have an error when start debugging an application "Retrieving the COM class factory for component with CLSID {00853A19-BD51-419B-9269-2DABE57EB61F} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))." I'm using a DLL "Interop.zkemkeeper.dll" in my application it was working fine on windows 7 …

Software Development visual-studio
Member Avatar for Taz_1
0
5K

The End.