132,726 Archived Topics
Remove Filter ![]() | |
![]() | As a part of my assignment I need to solve a problem in which I have to take space seperated inputs. I have already done my homework and stuck at a point where I have to take space seperated integers when number of integers are not predecided i.e whether there … Software Development c ![]() |
I start programming in Vb6 a few weeks ago, and I have a big problem now… When I like to insert Date in .dbf table from my VB6 Application, I get the error: [COLOR="Red"][B]Malformed GUID. In query expression[/B][/COLOR] My SQL string: [COLOR="Green"]strSQL = "[B]INSERT INTO stok_sme (Date_time) VALUES ({^" & … Software Development visual-basic | |
I was just poking around the C# forum, (and some others) and I noticed that there's a lot of people that are reading and writing data from text files in C#. When in python you could do in ten lines when in C# it takes fifty. HECK PERL IS BETTER … Software Development perl | |
Hi.....I am a newbie...really confused with do while loop in python. Does it even exist? [CODE] J=[] do: finished = "false" while finished != "true": finished="true" for j in xrange(len(lis2)): cenP2 = G[i+G0] if ((cenP2 == 0) & (sigma2 > 0) J.append(1) finished = "false" print 3 # test code … Software Development python | |
This sort of works but my tkinter window kees freezing. heres my code: import pygame, sys, time, random#Imports the modules pygame, sys, time and random form the python libary from pygame.locals import *#Imports all of the pygame modules global randomNumber #randomNumber = random.randint(1,4) redandBlackCounters = [120, 735, 250, 735, 560, … | |
hey guys im tring to list whats in my collection base but no output.. by the way is there a way to load info from TXT file in collectionBase? by the way this is just a project i have : class ATM public void AddClient(string ClientID, string Full, string Type, … Software Development | |
One thing. Why aren't there any high-level languages capable of low-lovel programming? I understand that pointers and such are a difficult concept. But why hasn't anybody made a systems programming language like python (I.e. a high-level syntax) Software Development | |
i did these function for uppercase: string Upper(string text) { string result; result.resize(text.size()); for(int i=0; i<text.size(); i++) { if(text[i]>96 && text[i]<123) result[i]= text[i]-32; result[i]=text[i]; } return result; } but i'm getting the wrong results :( what i'm doing wrong? Software Development c++ | |
Hi I am working on a simple C++.Net project which will allow me to run another program (e.g., I. Ex., Word etc.). However, I can't seem to find any working codes online. Here are the codes I have found so far; ShellExecute(GetDesktopWindow(), "open", "c:\myTestFolder\myfile.exe", NULL, NULL, SW_SHOWNORMAL); requires the inclusion … Software Development asp.net c c# c++ visual-basic | |
I understand its usually a header has been already sent type scenario but I'm starting to lose it. I have no idea how to sniff out where I mucked up in my code. I tried using a print sub routine that prints both to stdout and to a file. I … | |
![]() | I'm creating my first github repo in C# (compatability has only just been added), and I'm really unsure of how to structure my project. I know that many languages have folders like: /src /builds though i'm not sure how this would apply to C#. There's this C# project, although it … |
Hi guys I am facing issue in an array list where i am putting a value at specified index, but it is replacing all the index value in it. I am putting map inside a arraylist, now in a loop when i am putting value in list.add(i, Map).The value at … Software Development java | |
I've developed a simple banking system containing Deposite and Withdraw. I am using deposite,withdraw and balance are my database fields when i try to deposite the last balance fetched and then added with new deposite value i'm using (select last(deposite) from bank) this query to fetch last balance value . … Software Development visual-basic | |
I'm working with vb.net and entity framework. In my form , I have 2 comboboxes : Article and price. ( For both comboboxes , .Selectedvalue is an integer ) If I use this expression : Dim gj As IEnumerable(Of Myobject) gj = (From t In context.myobjects Where t.art = Article.SelectedValue … Software Development vb.net | |
#include "graphics.h" #include <stdlib.h> #include <stdio.h> #include <conio.h> #include<iostream> using namespace std; int main(void) { /* request autodetection */ int gdriver = DETECT, gmode, errorcode; int midx, midy; /* initialize graphics and local variables */ initgraph(&gdriver, &gmode, ""); /* read result of initialization */ errorcode = graphresult(); if (errorcode != … Software Development c++ | |
So i am making a registration program for conferences and when the user registers for a conference or workshop they have the option to print a schedule of what they have signed up for but i cant figure out how to sort the conference or workshop text files by the … Software Development | |
How can i start programming in objective c? I am aware with c#. Software Development objective-c | |
ok. for use menu shorcuts i must create a table accelerator and change my message loop. but can i process the table accelerator without use the HWND? Software Development c++ | |
I am wondering is assembly still used at all or is something else preferred Software Development assembly | |
I have a soap which I want to put into a vatrible in visual studio 2010 and then use that variable containing various elements from the soap. How do I do this? **Soap** <soap:Body> <ns:ProtectionOrderQueryRequest> <ns:ProtectionOrderQueryRequest ns1:id="?" ns1:metadata="?" ns1:linkMetadata="?"> <ns2:CourtFileNumber ns1:id="?" ns1:metadata="?" ns1:linkMetadata="?">?</ns2:CourtFileNumber> <ns2:ProtectionOrderID ns1:id="?" ns1:metadata="?" ns1:linkMetadata="?">?</ns2:ProtectionOrderID> </ns:ProtectionOrderQueryRequest> </ns:ProtectionOrderQueryRequest> </soap:Body> Software Development vb.net visual-studio | |
Hello All, I am working on writing a code to implement dictionary in C++. I have few functions to implement for my dictionary. Can someone please help me writing the definitions for my dictionary. Header file and cpp file is attached here. **Dict.h file is as below:** enum WordType{All, Animal, … Software Development c++ file-system | |
So I am trying to move a Folder on my desktop to a folder in my programming files. Everything is their that needs to be at least I think so but it still says it doesnt have access. I am very new to VB.NET like 3 days fresh. I am … Software Development assembly microsoft-access vb.net | |
I wanted to call a value in database[ms access]. I have a table named tbltable1 and there are three fields, i,d[autonumber], tablename[text] and status[text]. And i have 4 buttons. Each buttons represents the table name. what i want to happen is,status [available, unavailable], when the status is = "unavailable" the … Software Development vb.net | |
I cannot figur this out ive been researching. Changeing code structure, Everthing I could think of to get this to work but it keep giving me errors here is the error I get Im pretty sure somewhere in the code its holding onto the file but I dont know where … Software Development asp.net assembly file-system vb.net | |
Hello Daniwebers! I am trying to insert the values that were selected in a jtable. I know how to display the sql results in a table but don't how to add the selected values into it. Example: only display the items that the users has searched for and add them … Software Development java | |
Cannot find symbol for a basic java command? import javax.swing.J0ptionPane; public class HelloGUI { public static void main (String[] args) { J0ptionPane.showMessageDialog(null, "Hello, world!"); } } c:\Users\Nathanial\Desktop\myJavaPgms>javac HelloGUI.java HelloGUI.java:1: error: cannot find symbol import javax.swing.J0ptionPane; ^ symbol: class J0ptionPane location: package javax.swing HelloGUI.java:6: error: cannot find symbol J0ptionPane.showMessageDialog(null, "Hello, world!"); … Software Development java java-swing | |
#include <iostream> using namespace std; double polynome3(double a0,double a1,double a2, double a3) ` double y[21]; double z[21]; for (int k=0;k<21;k++) { y[0]=1; y[1]=1; y[2]=1; /* Bernoulli's algorithm */ y[k+3]=-(((a1*y[k+2])+(a2*y[k+1])+(a3*y[k]))/a0); // cout<<y[10]/y[9]<<endl; } double alpha1=y[20]/y[19]; cout<< "The first solution is alpha1 = " << alpha1<<endl; double b0=a0; double b1=a1+alpha1*b0; double b2=-(a3/alpha1); … | |
using namespace std; int main() { int l; cout<<"Select level: easy--->1 medium--->2 hard--->3"<<endl; cin>>l; int zero(char [][3]); int fonction(char [][3]); char tab[3][3]; for (int i=0;i<3;i++) for(int j=0;j<3;j++) tab[i][j]=' '; int k; do{ k=fonction(tab); zero(tab); } while(k==2); if(k==1) cout<<"win"; if(k==-1) cout<<"loose"; if(k==0) cout<<"tie"; cin>>l; }//end of main int zero(char t[][3]) { … Software Development c++ | |
I am very new to VB.net I am not look for someone to just do it for me just send me in the Right direction I want to learn but I keep tripping up on Conversion from string "C:\Users\Zach\Desktop" to type 'Integer' is not valid. Please shed some light on … Software Development vb.net | |
In my form I have a button and a label (and of course, a datagridview) in my form. What I want to accomplish is when the user clicks the button, it'll show how many certain text are in the datagridview column. I have column named "Domestic_Animals" and there are two … Software Development vb.net | |
Good day guys, I would just like to share my code and wanted to do something about it. This code shows a loop inside a loop initializing a two-dimensional array named arr with elements [2] and [5]. Here's my code: #include <iostream> #include <conio.h> using namespace std; int main () … Software Development c++ mathematics | |
Hi, I had a little problem dealing with this error. It's raised when i run the application on another pc.But the program works entirely perfect except at two places when closing the forms. Before getting this error I had another error that says: An error occured creating the form. Something … Software Development vb.net visual-basic | |
**Quick Sort Using Double Linked lIst** This code does not sort the data in first approach.When i enter the sorting option two to three time then it sort the data.I think the problem is in recursive part.I am trying to sort the linkedlist in the same way as we done … Software Development c++ linked-list | |
In one file we have employee number and salary and in another file we have employee number and designation . Now in the output file i want to print salary and designation with corresponding employee number ? Software Development file-system | |
Can anyone give me an idea how to do this? I have a list(C++) of bytearray and I want to fire a post request to the server using CURL library? I have searched a lot and they say to set the CURL_POSTFIELDS but that requires a char * field. I … Software Development c | |
Hello! I'm a programmer that mostly just writes code for operating system kernels, and device drivers. I was wondering how much most people would get paid for doing so. Software Development c operating-system | |
how do i develop a software for insurance database system Software Development vb.net | |
using the WM_KEYUP, can i see if the shift\control\alt keys was uped too? Software Development c++ | |
I need help with this program I am doing. I need to be able to select encrypt or decrypt(ive only done encrypt at the momment) and need to be able to select an offset here what ive got so far and I have a number of problems. http://imgur.com/a/N3Tul 1 is … Software Development python | |
Public Class Form4 Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click ListBox1.Items.Add(InputBox("Masukkan jenama baru anda:")) End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim s As New IO.StreamWriter("toner.dbo") For i As Integer = 0 To ListBox1.Items.Count - 1 s.Write(ListBox1.Items(i) & … Software Development vb.net | |
Hi. I am using xampp to set up a server. Now my problem is that how to connect program running on the other computer to the server computer. Software Development vb.net | |
Hello guys, I am trying to add date range with the combobox value when a user clicks the "Enter" button. This is my code so far: Dim con As New OleDbConnection(Get_Constring) Dim dt As New DataTable con.Open() Dim da As New OleDbDataAdapter("SELECT * from EncodingComplete where Date_Bill BETWEEN @startDate AND … Software Development vb.net visual-studio | |
Hey there everyone, I am currently working on and Assignment that is due tonight and I feel like I am close but can not exactly get to the end. I would appreciate any feedback possible. Kinda stuck at the moment. ---Modify the Inventory Program to use a GUI. The GUI … Software Development gui java java-swing | |
I am trying to change the first character of each word in a list to upper case using Python 2.7. I am able to change the entire list to lower case, but I am not getting what I want - i.e the first character of each word to be upper … Software Development python | |
According to JLS, the [grammer](http://docs.oracle.com/javase/specs/jls/se8/html/jls-14.html#jls-14.14.1) of basic for statement is for ( [ForInit] ; [Expression] ; [ForUpdate] ) Statement It's also said on the JLS that 'The Expression must have type boolean or Boolean , or a compile-time error occurs.' So to check if the syntax is valid, the parser … | |
I am new to java programming and I have to write an inventory program that can hold multiple items. I have my code from week 1 but I do not know how to write in the ability to hold multiple inventory items. Can anyone help with this? Software Development java | |
Hey everyone, im currently use this class for my small projects: https://www.daniweb.com/software-development/vbnet/threads/361868/disable-ctrl-alt-del Now i have problem, i want to hide my form and close jammer so i use something like this: Private Sub SystemTray() If NotifyIcon1.Visible = True Then KeyboardJammer.Jam() NotifyIcon1.Visible = False taskbar.HideStartButton() taskbar.HideTaskBar() Me.Show() ElseIf NotifyIcon1.Visible = False … Software Development vb.net | |
using namespace std; int main() { int l; cout<<"Select level: easy--->1 medium--->2 hard--->3"<<endl; cin>>l; int zero(char [][3]); int fonction(char [][3]); char tab[3][3]; for (int i=0;i<3;i++) for(int j=0;j<3;j++) tab[i][j]=' '; int k; do{ k=fonction(tab); zero(tab); } while(k==2); if(k==1) cout<<"win"; if(k==-1) cout<<"loose"; if(k==0) cout<<"tie"; cin>>l; }//end of main int zero(char t[][3]) { … Software Development c++ | |
Hello everybody, I'm searching for a book or a documentation that includes all the librairies ,and their functions, of the C++ programming language. thx | |
DISPLAY THE FACTORS AND THEIR COUNT FOR A GIVEN NUMBER. SAMPLE DIALOGUES: #1 Type a number: 9 The factors of 9 are 1,3,9. There are 3 factors. #2 Type a number: 12 The factors of 12 are 1,2,3,4,6,12. There are 6 factors. |
The End.