1,432 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for PM312

hi I have datagridview which i want to add on several forms. Number of columons and all ather functionality remains the same. to avoid creating size, columns, column names each time, i am trying to create class control for datagridview which will give me by default number of columns and …

Software Development vb.net
Member Avatar for xrjf
0
4K
Member Avatar for sadiyah_1

Hey!!!!I'm looking for the perl to java conversion!!!! Can Someone please help me with the snippet!!!! As soon as possible!! Its very important!!!! my @hosts = get_hosts_ips_bymkt(); for(my $i = 0; $i < scalar(@hosts); $i = $i + 1){ my $ssh_true = eval { Net::SSH::Perl->new($hosts[$i]) }; // # $success = …

Software Development java perl
Member Avatar for JamesCherrill
0
1K
Member Avatar for runIT.py

Hello, I don't know too many things of programming, I've barely started with some online courses, but am at the very beginning. This is what I need to do: 1. From a folder that contains multiple files I need to copy a particular file. 2. Paste that particular file in …

Software Development python
Member Avatar for rproffitt
0
476
Member Avatar for junex_1

Hello, im glad to have this forum. Please help me with my problem, I am developing a pos system and my problem is i want to display my data including the picture of my product, and i want to display in a datagridview like a thubnail display. I have table …

Software Development
Member Avatar for rproffitt
0
364
Member Avatar for tjsilver

Hello, I found this code in a thread from about 18 months ago in a post by 'woooee' - [CODE]def func_1(): print " func_1 test" def func_2(): print " func_2 test" def func_3(): print " func_3 test" def func_4(): print " func_4 test" ##---------------------------------------------------------------- ## dictionary = list of function …

Software Development python
Member Avatar for August.Garcia
0
3K
Member Avatar for Mike1986

A palindrome is a phrase that reads the same forwards as it does backwards. For example, “a man, a plan, a canal, Panama,” is a palindrome. Write a program that uses a stack data structure to check for palindromes in each line of a text file. Test your program on …

Software Development data-structure java queue
Member Avatar for JamesCherrill
0
2K
Member Avatar for NUGA_1

So given the following code (not my actual code since it would add unnecessary lines): typedef struct block{ int a; int table[64]; }block; typedef block* block_ptr; void getValues(block_ptr node){ int i, j; for(i=0; i<5; i++){ for(j=0; j < 15; j++){ node[i].table[j] = j; } } } int main(){ block node[10]; …

Software Development c
Member Avatar for Reverend Jim
0
512
Member Avatar for mike888

Hi, I have a problem with my homework assignment. I am able to access the database and insert new customer but it doesn't work when i try to update any record. if anyone can tell me what is wrong with my code. thank you so much this is all my …

Software Development asp.net c# client-server sql
Member Avatar for vishal_30
0
11K
Member Avatar for tony75

Hello there ! Which python books do you recommend for system programming?

Software Development python
Member Avatar for Reverend Jim
0
417
Member Avatar for Nicholas_14

Has anyone experienced the "Not Found" error usin the shiny package in R? I keep seeing 'Not Found' when trying to load my Shiny application, it seems to be that R cannot find the Shiny server, I have tried reinstalling all packages and still no luck. The strange thing is …

Software Development
Member Avatar for Nicholas_14
0
370
Member Avatar for Murali_3

Hi , Im looking for c++ design for tools like abode photoshop. Can you point me any URLs/source code where i can refer c++ design for photoshop?

Software Development c++
Member Avatar for Reverend Jim
0
311
Member Avatar for Deepak.G

Hi everyone, i am in need of ideas and want a bit of advise...i want to make a serial port sniffer which will be able to read the data goin in and out of the serial port between two other programs..... im not sure how i will be able to …

Software Development python
Member Avatar for vegaseat
0
5K
Member Avatar for vegaseat

This short Python code gets the local time from the PC as a formatted string using time.strftime('%H:%M:%S'). The time string is displayed in a label using a larger font. A recursive function checks the time five times per second, and updates the time string, if it has changed. Five times …

Software Development python tkinter
Member Avatar for Vinay_17
2
26K
Member Avatar for Fernando_14

What useful plug-ins / debuggers for Visual Studio do you use (for Windows)? P.S. I know Visual Studio has a good debugger)

Software Development c++ visual-studio
Member Avatar for bob.clarke.16
1
3K
Member Avatar for Weird Nerd

Hey everybody, I was just wondering, how do you create Lens Distortion in OpenGL? As in, the rendered image looks bloated or sucked in when you implement it. I would typically want it in a simple format that works nicely and doesn't eat up too much CPU. As an extra, …

Software Development c++ opengl
Member Avatar for WaszStary
0
2K
Member Avatar for talon88

using c# socket programming. For the program on computer A, i would probably need to create a windows form, to allow me to trigger computer B software to run by clicking. How do i implement the async socket into window form? How can i start the connection of both computer, …

Software Development c# socket-programming
Member Avatar for talon88
0
608
Member Avatar for rainmaker42

I have an assignment doing a constructor that accelerates and brakes the speed of the car (among other non-troublesome things) but when I run the program, the speed stays constant and spits out whatever the original number is rather than raising and lowering by 5 like I want it to. …

Software Development java
Member Avatar for rainmaker42
0
523
Member Avatar for overwraith

This may sound wierd, or easy, I just don't have a statistics background. How do I alter the statistical value of an array of emmitted random numbers? I am completely capable of using ranges, or creating an algorithim, I just need pseudo code or a brief description to guide me …

Software Development c
Member Avatar for overwraith
0
755
Member Avatar for sarfrazashfaq

HI All! I need to have some help. I have a python function name is abc.py and variable is declared in abc.py, variable name is 'uname'. How can i call variable name 'uname' of abc.py in my batch file name testing.bat and get uname value in my batch testing.bat file? …

Software Development python
Member Avatar for jaakdentrekhaak
0
5K
Member Avatar for FriQenstein

Greetings. I'm working on a small project using Visual Studio 2017. Basically I'm taking a small console based Banking Software program and porting it to a GUI based windows application. I'm having issues getting access to certain variables from within a private function. EX: MyForm.h has the following code: class …

Software Development c++ gui visual-studio
Member Avatar for rproffitt
0
427
Member Avatar for Maxpein

hello. I need some help in java 1.The program browse the filename of the text file to be counted 2.The contents of the file will be stored to a temporary storage. 3.Identifies if the c source code in a form of text file is physical lines of code, blank lines …

Software Development java storage
Member Avatar for rproffitt
0
405
Member Avatar for RemH

Hi Everybody, I Just started C# and have an issue with this: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace testurl { public partial class WebForm1 : System.Web.UI.Page { public void Page_Load(object sender, EventArgs e) { } public void Button1_Click(object sender, EventArgs e) { string …

Software Development c#
0
391
Member Avatar for Nezar Al-Akhras

Hi Mr Dani first i would like to thank you for help always for a lot of hard issues , i always check your site to have some help and now plz help me to get thime and date from server , becouse the clients in my school has a …

Software Development vb.net
Member Avatar for Reverend Jim
0
348
Member Avatar for miller anderson

Hi everyone, I'd like to ask you all to help me with this two questions and I've been faced recently, 1.What would be the algorithm which takes the pointers of two Binary Search Trees roots, if equal returns true if not FALSE. (both BSTs are the same as well as …

Software Development algorithm java
Member Avatar for Tarek_2
0
310
Member Avatar for JModak

hello sir getting error when run the loop and going to last value of row count please help and i can not use the 2nd loop in the place of cells(?????) number how can i use this **Index was out of range. Must be non-negative and less than the size …

Member Avatar for Reverend Jim
0
3K
Member Avatar for hollywoood69

Hey everyone of the c++ world. I am a little stuck. Here is what i am suppose to be doing. Write the program as an object-oriented C++ program that calculates and displays the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, …

Software Development c c# c++ oop
Member Avatar for Yasin_4
0
2K
Member Avatar for KLane

[CODE] //I need to make a class that calculate the mean and standard deviation. I have to test my program with an external file containing about 300 data. My program doesnt return the correct valuesAny help? #include <cstdlib> #include <iostream> #include <cmath> #include <fstream> using namespace std; class Statistics{ double …

Software Development c c# c++
Member Avatar for mellguth
0
1K
Member Avatar for cppgangster

Hi I am developing using C/C++ window application using winapi. I will be using some standard STL containers and some win api functions provided by windows.h. I would like use the app on different windows versions such as windows 7 and 10. The apps will be builded for x86 architecture. …

Software Development c++ microsoft windows-api
Member Avatar for zigale
0
574
Member Avatar for open2join

Hi I having trouble to export DLL which would contain one fucntion. The function would create an MFC dialog object, then the object is instantiated and then run method is invoked. The user input from the dialog would be the return value to the function and also it would the …

Software Development c++
Member Avatar for rproffitt
0
321
Member Avatar for open2join

Hi I am considering to use C++/CLI because of .NET. My aim is to create DLLs where these would be used by some language. Would I be getting any problems if I decided to export DLL containing managed code? Any portability issues? Thanks in advance

Software Development c c# c++
Member Avatar for rproffitt
0
290
Member Avatar for armur

Hi, I run an online shop selling T Shirts and we often need to produce tons of T Shirt mockup images in Photoshop. We basically enable the layer for different T Shirt colours, Save Mockup As a JPG file and then repeat the same process for all the other colours. …

Software Development
0
259
Member Avatar for dekker13

I'm trying to add insert functionality to a textbook code example. I have an "off by one" error and I can't think of a way to fix it. Here's my attempt below: template< class NODETYPE > void List< NODETYPE >::insertMiddle( const NODETYPE &value, int position ) { ListNode< NODETYPE > …

Software Development c++ linked-list
Member Avatar for Amanuel_1
0
4K
Member Avatar for EddiRae

Hi, I have checked all the prior forum questions on this topic, but none of the options seem to be working for me. I am creating an output file that goes into a specific folder for getting MP3 file information. When I run inside of Visual Studio Community 15, it …

Software Development file-system vb.net windows-10
Member Avatar for EddiRae
0
1K
Member Avatar for Jagruti22

Please tell what's wrong in this code.. I am using 3 DateTimePicker.. I think that line has some problem...Please Help.. ![Untitled.jpg](/attachments/large/4/f42d519e8bc5ead2edc0bf81395f227c.jpg)

Software Development vb.net
Member Avatar for Reverend Jim
0
746
Member Avatar for Jagruti22

"Error in Line 4- System.NullReferenceException: 'Object reference not set to an instance of an object." Private Sub btnsearch3_Click(sender As Object, e As EventArgs) Handles btnsearch3.Click Dim vSearch As String = InputBox("Enter Employee Id to search the details:") If vSearch <> "" Then cmdSearch.CommandText = "SELECT * from Employee_Details WHERE Emp_Id …

Software Development vb.net
Member Avatar for xrjf
0
452
Member Avatar for Kam_1

Hi, I have a problem, because I have a list, in which I'd like to be able to add and remove components, but in other thread I use components from this list. Is there a safe way to operate over this list? Would using synchronized functions (one for drawing, one …

Software Development java
Member Avatar for JamesCherrill
0
345
Member Avatar for catastrophe2

I have a table that contains some cubes with servers and active status (see attached image): note: CUBE1 is repeated intentionally. The idea is the same cube is getting synced from the same server 1 as a data source (process_server) onto different target servers (query_server; say server2 is in region …

Software Development dataset sql windows-api
Member Avatar for pinel
0
1K
Member Avatar for vegaseat

Let's say you want to send a short private message to your friend, but don't want grandma to snoop around and find it. One way is to use the Python Image Library (PIL) and hide the message in a picture file's pixels. Just looking at the picture you will barely …

Software Development image python
Member Avatar for JamesCherrill
5
10K
Member Avatar for Mike_63

Hello, I need help on getting solution for the below python code. The code gives the required output which is that it dispaly number of prime number that user wants. if user inputs 4 Actual Output: 2, 3 , 5 , 7 The main question is that I do not …

Software Development python
Member Avatar for vegaseat
0
637
Member Avatar for Kerdon

I'm trying to make this queue program for school to take the next packet out of my queue (therefore delete it) in the queue function : struct packet_t *queue_retrieve(struct queue_t *queue) in line 73. I know that i have to use my write and read but i fail to understand …

Software Development c queue
Member Avatar for rproffitt
0
603
Member Avatar for omi4u

Hi All Brothers I am working on ERP system and i need one help I wrote code for Datagrid auto complete. this code is working perfect but it only showing one Column record from database what i need is i want first column is to autocomplete as i did and …

Software Development dataset vb.net
Member Avatar for rproffitt
0
593
Member Avatar for SaRaVaNaN_2

import csv import xlwt import os import sys #import openpyxl # Look for input file in same location as script file: inputfilename = os.path.join(os.path.dirname(sys.argv[0]), 'book2.txt') # Strip off the path basefilename = os.path.basename(inputfilename) # Strip off the extension basefilename_noext = os.path.splitext(basefilename)[0] # Get the path of the input file as …

Software Development file-system python
0
357
Member Avatar for Kam_1

Hi, I have the program, which is a traffic simulation, and I have a few linked lists in it. I'd like to ask you what is the easiest way to check if I don't have duplicats in them? The code which runs it looks like that: public static void main(String[] …

Software Development java
Member Avatar for JamesCherrill
0
287
Member Avatar for DeanMSands3

Background: I'm looking to program and sell (on the Mom & Pop circuit) some internet-enabled devices. They need to be pre-configured in-store by a non-techie. The device will come online with a DHCP address. I need to find it, send it customer-specific configuration changes, then wrap it up for the …

Software Development
Member Avatar for rproffitt
0
2K
Member Avatar for Braden_1

I have a text file with the following contents: Andrew Law 32 6'1 123 Pounds Tom Harris 19 5'5 180 Pounds Randy Poffo 45 5'3 141 Pounds Now on my form i have a listbox and four labels. What i would like to do is have the listbox show only …

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
868
Member Avatar for JModak

Getting error when showing data in list view, please help me..... Error :* Cannot add or insert the item '10-07-2018' in more than one place. You must first remove it from its current location or clone it. Parameter name: item* I use Vb.net 2010 visual basic sql server 2008 r2 …

Member Avatar for JModak
0
643
Member Avatar for Braden_1

I would like to create a Microsoft Access database and integrate it into my VB.net application. I am also hoping to distribute this application to others. My concern though is whether or not users who download my application will also need Microsoft Access in order for the database (and app) …

Software Development microsoft-access vb.net
Member Avatar for rproffitt
0
397
Member Avatar for SharonP123

Hi, I'm working as a Software Engineer. You can imagine, how will be my work? I used to work when I'm in my home too, especially, during the month ends. The problem is, I'm not able to access my internet during the day time .there will be a connectivity problem. …

Software Development
Member Avatar for rproffitt
0
335
Member Avatar for omi4u

i have a mssql datagridviewer. i only need when user load the form..they must get empty datagrid...data only show when they search any item or add item....i worked on search and add but i am confused on load event ....please help with code

Software Development mssql vb.net
Member Avatar for adam_k
0
330
Member Avatar for Kam_1

Hi, something weird happened with my program, I mean when I run it I see only grey frame (like I had only JFrame object in my app), then I minimalize application, maximalize it and only then I see all components painted (JButton, rectangels and lines inside Jpanel,...). Changing of frame …

Software Development java
Member Avatar for JamesCherrill
-1
2K

The End.