1,430 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for omi4u

Dear all I am working on a project for my customer . I wrote code to search items from sql using vb.net Now my code working fine.....when I search data using itemid it show me data in all related textboxes but not in datagrid here my code Dim connection As …

Software Development vb.net
Member Avatar for SeanDevoy
0
508
Member Avatar for ABaileyRush92

Hi i am new to java and just learning as i go , I the basic of calling mothod arguments and so forth but i am having difficulties calling my array method so it would come up to the terminal to the user when the code is running . i …

Software Development java
Member Avatar for JamesCherrill
0
462
Member Avatar for Isaiah_4

You must then use a loop (for or while) to find the sum of all the numbers in the geometric sequence of 3 less than N. The geometric sequence of 3 looks like this 1, 3, 9, 27, 81, 243, ... where you start with the number one and multiply …

Software Development python
Member Avatar for vegaseat
0
462
Member Avatar for Pk11

Hi, I have two problems with application I write in Java. Now it looks like that: import java.awt.*; import javax.swing.*; public class Main{ public Main() { JFrame frame = new JFrame(); frame.setSize(1200,900); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); JPanel background = new JPanel(new GridBagLayout()); background.setBackground(Color.lightGray); LeftPanel lp = new LeftPanel(); background.add(lp, new GridBagConstraints(0,0,1,3,3.0,1.0, GridBagConstraints.WEST, …

Software Development java
Member Avatar for JamesCherrill
0
437
Member Avatar for Amruta Sriram

If Anyone Knows , can you please help me how to import the text file to JTable by using JFilechooser ? Even the text file contains the specific charecters line length eg: idUsernamePasswordEmailAgeGender ( ID = 2 Chars, Username = 10 chars ( if username not having 10 chars means, …

Software Development java
Member Avatar for JamesCherrill
-1
641
Member Avatar for coldkiller

I am working on a equation balancer for my 12th class computer science project.But somehow i am not able to balance the chemical equation.Please if anyone can provide me the source code it will be a great help.Urgently needed!

Software Development c++
Member Avatar for Hariharan_1
1
7K
Member Avatar for Fernando_14

Hello! I am interested in the issue of protecting the code from hacking. Do you protect your code from decompiling and hacking? Why did the question arise? I worked in a team that developed games for Android. They all used obfuscators! So almost no one could hack their application. Now …

Software Development c++
Member Avatar for StarDrago
1
3K
Member Avatar for purplegerbil

I am writing an application which will process data over night. When it's finished a report is printed out. I am wanting the report to be printed to 3 different printers on the same network. Is it possible to do this? All three printers are installed on the pc. Thanks …

Software Development visual-basic
Member Avatar for TwoFeetDown
0
3K
Member Avatar for cambalinho

i create the read(...) function for read to variables. but i need too the read()(without arguments) for press enter before continue\exit. void read() { //wait if the enter key is pressed: cin.ignore(); cin.get(); } template<typename first_t, typename... rest_t> void read(first_t &first, rest_t... rest) { std::cin >> first; read(rest...); //function is …

Software Development c++
Member Avatar for cambalinho
0
2K
Member Avatar for cambalinho

i'm trying using the GNU compiler with command lines( using the ShellExecuteEx()). when i do: string FileName1="C:\\Program Files\\mingw-w64\\x86_64-7.2.0-win32-seh-rt_v5-rev1\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe"; run(FileName1,"-c \"C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.cpp\""); the object file is created. these line creates the exe: run(FileName1,"-o C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.exe C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.o"); (tested) but the exe have some dependencies... so seen the Code Blocks: x86_64-w64-mingw32-g++.exe -Wall -g -std=c++14 -c …

Software Development c++ windows-api
Member Avatar for cambalinho
0
2K
Member Avatar for HiHe

A simple way to create a toggle button for the Tkinter Python GUI toolkit.

Software Development gui python tkinter
Member Avatar for martineau
1
21K
Member Avatar for Sara Tech

[B][COLOR="Green"]Hi Guys :).. I hope you fine :), I need the best and easist way for printing the form ,nested of PrintForm tool coz it is very bad :angry:,it prints the form [U][COLOR="Red"]like screen shot :angry:[/COLOR][/U] ,what I want print entire form on A4 ... Any suggestions ? :( Thanks …

Software Development vb.net
Member Avatar for Nezar Al-Akhras
1
4K
Member Avatar for John221

Hi, I need your help with my project. I'm doing traffic simulator, but I don't want it to be static map with moving cars, I want it to have methods to generate the roads with intersection (for now I have few simplifications like the roads are straight vertical or horizontal …

Software Development java
Member Avatar for JamesCherrill
1
3K
Member Avatar for PM312

Hi, I Have below table I want all rows with all coloumn from below table where ActCode is 1162828 and sum of DocAmount for DocNo. i.e where the docNo is repeated i want only one row with sum of amount of all repeated rows. ** "Select *, Sum (DocAmount) from …

Software Development vb.net
Member Avatar for SeanDevoy
0
3K
Member Avatar for COKEDUDE

I am doing a team project with some people that prefer Linux and some people prefer Windows. We are also not allowed to share code for security reasons. One thing the Windows people love to whine about is a way to hold the window open. So the way they usually …

Software Development c
Member Avatar for liammasson33
0
2K
Member Avatar for Aild

Hi all, I'm having a little problem with array and some "unqualified-id" problem. I've created gazillions (okay, maybe 80) arrays before but I had never encountered such problem. Especially with static arrays. [CODE] #include <stdio.h> #include <cstdlib> using namespace std; int main() { // with addition of buffers for 3x3 …

Software Development c++
Member Avatar for Andy_20
0
13K
Member Avatar for Sergei_1

I have to get from user up to 8 letter to string, and print the string in reverse. There is my code : STA SEGMENT STACK DB 100H DUP (0) STA ENDS DATA SEGMENT MSG1 DB 'ENTER STRING (Maximum is 8) : $' MSG2 DB 'REVERS IS : $' ISTR …

Software Development assembly
Member Avatar for rproffitt
0
1K
Member Avatar for networkZombie

Ok so I have been trying to do project euler problem 1 which finding the sum of all the multiples of 3 and 5 that are less than a thousand. i dont know why my program is not working. here's my program - [code=c++] #include <cstdlib> #include <iostream> using namespace …

Software Development c++
Member Avatar for memson
0
523
Member Avatar for Petcheco

Hello, friends. I did the fourth challenge on Project Euler and I'd like to know what I can do to improve the efficiency of my code. Right now it takes 1.562s to run and the source code is as follows: #include <iostream> #include <string.h> using namespace std; int Number = …

Software Development c++ mathematics
Member Avatar for memson
0
417
Member Avatar for Yoni_2

hello. how can i print out in textbox a void * value ? here is the code: uintptr_t offsetFromBuffer = (uintptr_t)internalAddress - (uintptr_t)&buffer; void * healthDecAddress = (void*)(currentChunk + offsetFromBuffer); richTextBox1->Text = healthDecAddress; // how can i do it right ?

Software Development c c++
Member Avatar for Yoni_2
0
415
Member Avatar for simm3

Hello everybody, I want to convert python to c but ı did not find any converter. Is it possible to convert

Software Development c python
Member Avatar for Reverend Jim
0
346
Member Avatar for COKEDUDE

I am trying to replace a string in a function with double pointers. I would like to see this change back in main. What am I doing wrong? These are the warnings my compiler gave me. $ gcc *.c -Wall main.c: In function ‘replacevalue’: main.c:10:12: warning: passing argument 1 of …

Software Development c
Member Avatar for nullptr
0
2K
Member Avatar for Ilia_2

Hi, I have a C++ program : // ConsoleApplication14.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <list> #include <queue> #include <vector> #include <string> using namespace std; class RectangularVectors { public: static std::vector<std::vector<int>> ReturnRectangularIntVector(int size1, int size2) { std::vector<std::vector<int>> newVector(size1); for (int vector1 …

Software Development c c++
Member Avatar for Nutster
0
603
Member Avatar for chopsthescot

So I'm trying to create a UI that allows multiple buttons in the same window. All of the are toggles to control GPIO outputs to control relays. I've managed to get them to all work individually in their own files, but when put into the same file is all on …

Software Development python
Member Avatar for rproffitt
1
2K
Member Avatar for PM312

I am traying to filter Datagrid view based on user type in TbxGlCode (TextBox) Initialy Datatable is populated from SQL table to TempTable (DataTable) getting error at **runtime** at below line Dim Rows As DataRow() = TempTable.[Select]("Code like '%" & VerCode & "%'") Exception Unhandled **System.Data.EvaluateException: 'Cannot perform 'Like' operation …

Software Development vb.net
Member Avatar for tinstaafl
0
17K
Member Avatar for restrictment

Pretty neat text-based RPG that I made. Currently my first game.

Software Development c++
Member Avatar for emeraldamerican
0
6K
Member Avatar for sgw

When I try to display the address of a char type variable, I don't get the normal hexidecimal address, but some strange symbols. I don't have the same problem with int or string, etc.. Example: char x='#'; cout << &x; The output of this is: #( ( What's the explanation?

Software Development c++
Member Avatar for sgw
0
568
Member Avatar for killerqb

I know an AVL Tree guarantees a time of log(n), but what is the time cost of the actual re balancing of the tree and why is this ignored?

Software Development c++
Member Avatar for Herbert_3
0
498
Member Avatar for JModak

I create a project on vb.net 2010 and SQL server 2008r2 I showing a report in listview report am show fine and error free. But now I want to add a sub total column every end of the category. How it is possible please help me sir Please see the …

Software Development listview vb.net visual-basic
Member Avatar for Santanu.Das
0
456
Member Avatar for cppgangster

Hi I am trying to get windows positioned in specific order as show below ![desired.PNG](/attachments/large/3/6447240b1491d04046fa904f31659f9b.PNG) but I am unable to get and get always this ![wrong.PNG](/attachments/large/3/71f4b92c4f40a6afeeab7e3c2f136526.PNG) the code below is shown HDWP cmdWnds; cmdWnds = BeginDeferWindowPos(col.size()); for (int i = 0; i < col.size(); i++) { if (i == 0) …

Software Development c c++ windows-api
0
341
Member Avatar for sabiut

hi, i am trying to read from a text file and store the data in an array but i don't know how to get started with my code. can someone please get me started here. i have start with the code for locating the file, but i am having difficulty …

Software Development vb.net visual-basic
Member Avatar for LordPike
0
13K
Member Avatar for s_ghonem

i am using zk sdk to connect to fingerprint i tried Connect_Com(1, 1, 38400) BaudRate is the same in the application and the fingerprint i am using com1 the deviceid =1 but the connection between fingerprint and pc failed do u have an idea about configurations needed to the serial …

Software Development c#
Member Avatar for Rupesh_3
0
11K
Member Avatar for babi.meloo

I need to create a class that represents one crayon of a particular color and height(length). Then, I need to design an applet that lets me draw a box of different colored crayons. This is what I have so far: **CLASS:** import java.awt.*; public class Crayon { private final int …

Software Development java
Member Avatar for Paul_65
0
2K
Member Avatar for it@61@sec

I'm using Gambas as my language.. :-) Now I have a problem getting some values from an XML document. I'm using xml.gb as my "plugin". The XML document is: "<ns1:Event> <ns1:Number>1</ns1:Number> <ns1:Name>Home Team - Away Team</ns1:Name> <ns1:Status Id="100">End</ns1:Status> <ns1:Results> <ns1:Result Id="0" Name="Result">2</ns1:Result> <ns1:Result Id="1" Name="Fulltime">2</ns1:Result> <ns1:Result Id="2" Name="Halftime">0</ns1:Result> </ns1:Results> </ns1:Event>" …

Software Development xml
Member Avatar for Joris Claassen
0
2K
Member Avatar for browneyeguy25

I trying to write a code that reads a set of integers and then finds and prints the sum of the even and odd integers. The numbers will be read in from the user via the cin statement. You do not know how many numbers the user may enter. When …

Software Development c++
Member Avatar for Reverend Jim
0
441
Member Avatar for Nbrase

i'm trying to make price lable printer and i was able to print a single page for a single id, but my problem is when i'm trying to print more that one id i was not able to make it work, i'm still learning but i was hoping that someone …

Software Development vb.net
Member Avatar for Minimalist
1
2K
Member Avatar for xuele91

Visual studio cannot start debugging because the debug target 'C:\users\lizane\desktop\project\peek-ture\peek-ture\bin\x86\debug\peek-ture.exe' is missing. please build the project and retry, or set the outputpath and assemblyname properties appropriately to point at the correct location for the target assembly. How to solve this? ( Using Microsoft Visual Studio 2008) thank you

Software Development visual-studio
Member Avatar for Caroline_4
0
2K
Member Avatar for JustinRunyon

Hello, have the following program code: #include <stdio.h> #include <stdlib.h> #include <ctype.h> int main (void) { char c; while( (c = getchar()) != '\n') { putchar(c); } putchar ('\n'); return EXIT_SUCCESS; } At the moment he reads in entered characters and outputs them again. I should [write](https://prowritingservice.com/write-my-essay/) it so that …

Software Development c++
Member Avatar for nullptr
0
250
Member Avatar for prakash2813

Hello everyone. I have been trying to get desired output since last 4 days and so far very near to it. I am really stucked in the logic. Please help me or help me in writing proper logic. Open the attached zip file for whole eclipse project. No need to …

Software Development ide java
Member Avatar for jwenting
-4
454
Member Avatar for Ethan Marr

Im Stuck With Something, Iv Been Searching, And Searching And I Canot Find Any Information On How To Make SQL Database Show The Samething For Everyone, When Updated Of Coarse... I Can Make The DataTable And Put It On A Form But I Cannot Make It To Where I Add …

Software Development vb.net
Member Avatar for Ethan Marr
1
1K
Member Avatar for Shkelzen_1

I need to Retrieve the values from a XML file i have seen many example but none of them is like the XML I have. My XML look like this <component> <section> <code code="31011" codeSystemName="Codifica Interna Laboratorio" displayName="Etanolo (urine)"> <!--TRASCODIFICA ANALISI NON DISPONIBILE--> </code> <text> <paragraph> </paragraph> <table> <thead> <tr> …

Software Development vb.net xml
Member Avatar for xrjf
0
576
Member Avatar for gahhon

Hi, I'm using NetBeans with Java. I have create a JFrame with some checkboxes and a button to open browser go to the specific URL based on the checkboxes' values. But how do I auto-login/auto fill the username and password textbox then trigger the login button? Please kindly advise. Thanks.

Software Development java java-netbeans
Member Avatar for rproffitt
0
481
Member Avatar for ZombieKnight93

So I have a poker type program where it should shuffle and deal a deck of cards using arrays of pointers. I have to write a function that uses a pointer(s) to determine if the hand contains an Ace. If I can understand this one, I'd be able to do …

Software Development c c++
Member Avatar for tinstaafl
0
1K
Member Avatar for Rooro

Hello everyone : ) i'm working on : [quote]Write a program that takes an input sentence from the user and on next line display the number of capitals letters in the sentence. Note: · User is not allowed to enter a sentence with more than 9 Capital letters. [/quote] what …

Software Development assembly
Member Avatar for Ebru
0
7K
Member Avatar for snigger

Hi I need to show an image thumbnail in one of jTable cells But I don't know how to do it! I'm using netbeans to design GUI . How can I do that? Thanks

Software Development image java
Member Avatar for JamesCherrill
0
4K
Member Avatar for Roland_6

Hey folks, I've just started a CS class, and i need help with this material. I accept any feedback and advice to complete this assessment. [Tasks](https://imgur.com/a/jwHrmhR) What I did so far: Task 1 – Problem Decomposition a) b) PROGRAM <ATM_WITHDRAWAL> 1. DISPLAY 'Enter amount to withdraw’; 2. INPUT amount; 3. …

Software Development
Member Avatar for Reverend Jim
0
2K
Member Avatar for Zeeshan_10

How much day's require to learn C++ ?

Software Development c++
Member Avatar for udayaprakash1
0
742
Member Avatar for JModak

I create a project encrypt and decrypt data in vb.net how to use this code as a function please help it is work only on a textbox i want to send a string value then return encrypt value and when i send encrypt value then send me decrypt value. [Click …

Software Development encryption vb.net
Member Avatar for rproffitt
0
567
Member Avatar for Mike_63

Can you please help me with write a python program to read five scores and output the average score and also output the amount by which that score differes from the average. I have done the average part but I don't know how to get the difference of all the …

Software Development python
Member Avatar for Reverend Jim
0
311
Member Avatar for 404notfound

In my access database, I have a table for the master list of items discussed in a training meeting. If a certain item was discussed in a meeting, then the value in the database is 1, if it was not discussed, then the item is 0. I'm trying to get …

Software Development
Member Avatar for tinstaafl
0
466

The End.