132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kumar.gaurav.7771

Hi All, I have Code on PC1. and Access DB on PC2 . I have shared Folder on PC . And very much able to access from PC1 with full ownership. Now I was trying to connect Msaccess from PC1 using below code. cnn.Provider = "Microsoft.ACe.OLEDB.12.0" cnn.Open "Data Source=\\192.168.0.1\Public\tels.accdb;Persist Security …

Software Development microsoft-access open-source vb.net
Member Avatar for kumar.gaurav.7771
0
248
Member Avatar for shreya19

Which command is used to copy all files having the string chap and any two characters after that to the progs directory?

Software Development shell-scripting unix
Member Avatar for Watael
0
103
Member Avatar for Matigo

Hello everyone Anybody to help me with this please How can make an app that will check the server/URL if it's Online/offline using visual basic 2010 I know that i can just ping it using the CMD but i want something that will be in the app i'm aiming to …

Software Development vb.net visual-basic
Member Avatar for Matigo
0
5K
Member Avatar for Alexkid

Hi there, I have an array of unsigned chars that hold hex values, I’m interested in values [5] and [6] of the array. Say [5] = 0x5b = 0101 1011 and [6] = 0x7b = 0111 1011 I'm trying to get all of [5] and the first half of [6], …

Software Development c++
Member Avatar for L7Sqr
0
194
Member Avatar for harpoon35

Hello, I was trying to combine some commands but having a little trouble. In a single command I want to call the script dvdcoll2 and accept input from dvdcoll1. Then I want to put stdout into dvdcoll3, and stderr into dvderror. How do I string together four commands in a …

Software Development shell-scripting unix
Member Avatar for Watael
0
105
Member Avatar for MugANDGlass

can anyone help me? i got problem count the monthly installment. //class class vehicle { public: char model[20], color[20], brand[20]; float price, deposit, rate, monthly_installment, newprice; int term; public: void calculate_installment(); }; class car:public vehicle { private: float installment, newprice; public: void calculate_installment(); }; //main program #include <iostream> #include <string.h> …

Software Development c++ oop
Member Avatar for DeanMSands3
0
177
Member Avatar for LucianAdamson

Not sure what I am doing wrong but let me try to explain my issue. I have a single combobox on my form that I use to load external settings. If I load, lets say, 100 settings in to this combobox then I clear the combobox via Combobox1.items.clear(), then try …

Software Development vb.net
Member Avatar for LucianAdamson
0
463
Member Avatar for shayallenhill

I think I can learn a lot from any answer to the two questions in this post. OK, I’ve got a large object. That object has attributes and does things. Those attributes also do things. MOST of what they do is sit there like a list, int, or np.array and …

Software Development oop python
Member Avatar for shayallenhill
0
131
Member Avatar for Malymieczek

Hi all, Im having trouble with a program wheree a person starts in the middle of a 7 foot bridge. Heres the description: Someone is standing at the center of a bridge that is 7 ft bridge long. Their stride is exactly one foot. They can’t control the direction they …

Software Development java
Member Avatar for Taywin
0
949
Member Avatar for john200000005

I have specified the path variable as C:\Python27\Lib\site-packages;C:\Python27\Tools\Scripts. To recall this on MS DOS I used python myScript.py'so the program till reponds error syntax please could you help me.

Software Development python
Member Avatar for rrashkin
0
65
Member Avatar for kandarpa

Hi there, I want to check whether a file is a link or not. Eg: I have a directory structure as follows: mkdir -p abc/bcd/cde/def touch abc/bcd/cde/def/file cd abc/ ln -s bcd link Now, abc/link/cde/def/file is actually not a file. Its a link Now I want to remove this file …

Software Development file-system seo shell-scripting
Member Avatar for Watael
0
210
Member Avatar for vicky30312

I cant figure out why my second switch stament is not working. Can you please help? I am still new at this still. // Project 8.4. Guesses the number the user enters between 1-100. #include <iostream> #include <ctime> using namespace std; char H,L,Y,N; int UsersNum, YesNo, HighLow, Re_Use; int n …

Software Development c++ visual-studio
Member Avatar for vicky30312
0
151
Member Avatar for Memo143

#include<iostream.h> #include<conio.h> #include <stdlib.h> int main() { int *ptr[5]; int a[] = {1,2,3,4,5}; //declaring and integer array char b[] = {'a','b','c','d','e'}; //declaring and Character array *ptr=a; //assign values of integer array to integer pointer array for(int i=0;i<5;i++) //by looping, Print values of array a, pointing to pointer { cout<<"A["<< i+1 …

Software Development c++
Member Avatar for Schol-R-LEA
0
127
Member Avatar for blanco.mop

I would like to know how to open any file by using the codes!!!

Software Development vb.net
Member Avatar for khair.ullah
0
69
Member Avatar for salman.k.srabon
Member Avatar for yousafc#
0
90
Member Avatar for anukavi

*Hi, Greetings to u all ... I am new to this website as well as in C++. I got a question in c++. I need to remove decimal point from amount (declared as CString) Eg. Amt is 145.76 I need the final output as 014576 and same to be stored …

Software Development c++
Member Avatar for anukavi
0
102
Member Avatar for paoi00

hello! i have one button . i want when i click it it will print preview a microsoft document from my desktop. is it possible? how to do it? thank you~

Software Development display microsoft vb.net
Member Avatar for paoi00
0
163
Member Avatar for jemz

Hi, I am stuck on this two sqldatadapater and sqldatareader,we can display records in listview by using this sqldatadapter and sqldatareader.my question which is more effecient and secured to use?does this two matters in populating data in database?

Software Development listview vb.net
Member Avatar for M.Waqas Aslam
0
115
Member Avatar for TeaAnyOne

I made this code which outputs . ... ..... ...*****. ....***... .....*..... but its supposed to output . ... ..... .*****. ...***... .....*..... Any ideas what im doing wrong? To output the triangle myChar1 = * myChar2 = . myLen = 3 myChar1 = input("Select first character: ") myChar2 = …

Software Development python
Member Avatar for TeaAnyOne
0
126
Member Avatar for cynfudi

the value of length is seven, word in file is hello, chosen_letter can be any that user guesses. chosen_letter is char ofcourse. my problem is when we type in character 'l' for chosen_letter and it only counts it once. also, the if-loop in the second while loop doesnt work. please …

Software Development c
Member Avatar for cynfudi
0
133
Member Avatar for sujskiez

I need help with this program where i need to create a book record program where the program can view, update, add and delete books. Now this is the main menu: MAIN MENU 0. Exit 1. Search for a book 2. List books of a category 3. List books in …

Software Development c++ ecommerce user-interface
Member Avatar for arghasen
0
247
Member Avatar for georget1011

This is my Java code at the moment (using netbeans IDE), I have tried to set th value of cell 4,4 to A in the following code, `outputCadence.getModel().setValueAt(items.A[5], 4, 4);` , however this does absolutely nothing, I'm a bit of a noob so I'm not sure if I'm missing something …

Software Development ide java java-netbeans java-swing
Member Avatar for mKorbel
0
1K
Member Avatar for wanu

Please, help me about bisection method in C +? Obtain the local minimize of the function f(x) = X5-5X3-20X+5 on [-3,O] and [0,3] by bisection method >> and run it in a loop help me++++

Software Development c++
Member Avatar for arghasen
0
83
Member Avatar for xixi.li.7

I have a c# linq assignment to add a data from the csv file, here is my code: struct DailyValues { public DateTime Date { get; private set; } public decimal Open { get; private set; } public decimal High { get; private set; } public decimal Low { get; …

Software Development c c# c++
Member Avatar for Momerath
0
247
Member Avatar for 41906934@UNISA

SYTAX ERROR ON UPDATE STATEMENT, PLZ HELP, I CNT FIGURE IT OUT GUYZ Private Sub SubmitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SubmitButton.Click Try conn.Open() mystring = "UPDATE ClientLogIn SET Password = '" & PasswordTextBox.Text & "' WHERE ClientID = '" & ClientIDTextBox.Text & "' AND Username = …

Software Development vb.net
Member Avatar for 41906934@UNISA
0
151
Member Avatar for Blousey17

1. I need to store numerous records in one binary file. Each of the records needs to include a name and an answer to a question. I know how to set up and add one record but how do i set it up so that I can add others at …

Software Development pascal
Member Avatar for pritaeas
0
584
Member Avatar for lulu79

Hi, Is it possible to send an email from SMTP server, for example from do_not_reply@xxxx.xxx.com, without have the server credential (username and password) inside my code? I tried one code, it works, but it send from my email account. Not from SMTP server. I also tested several code but I …

Software Development email vb.net
Member Avatar for lulu79
0
2K
Member Avatar for fdkallday_1

hi. im developing an inventory system. my problem is i need to create a datareport with date range so i created a query in ms access and i got the result but to get the result i should run the query first then a dialog box will pop-up to get …

Software Development visual-basic
Member Avatar for AndreRet
0
158
Member Avatar for slygoth

I am trying to store some values return from a function. Its returning three values that i want to use in the main function. int display() { int iter; int num[4]; if(dl!=-1) { for(iter=0 ; iter<=al ; iter++) { cout<<t[iter]<<", "; num[iter]=t[iter]; } } else cout<<"EMPTY"; return num[0]; return num[1]; …

Software Development c++
Member Avatar for Despairy
0
204
Member Avatar for sneha_07

i am working on making a scientific calculator in netbeans using wing components and i used combo box for conversion purpose but the handler code i wrote isnt working for all conversion, it only works for the 1st item. and please help me with "action" and "item" on the right …

Software Development java
Member Avatar for stultuske
0
132
Member Avatar for jamd200

Someone asked me to code a program that translates French-language PDF files to English, and I thought that maybe I could convert the PDF files to Word documents or some other text document with a program I coded in C++, and then translate the text using Python's xgoogle library. Is …

Software Development c++ pdf
Member Avatar for zarfishan
0
2K
Member Avatar for daino

I'm tryhing to configure, then build f**ontconfig version -2.10.1** on **Windows XP**. My compiler is **MinGW 4.4.1.** Initially I try to configure this using MSYS and I get an error telling me I'm missing **intl.dll** . I eneded up downloading this then runing the **./configure** command again and I get …

Software Development c++
Member Avatar for daino
0
299
Member Avatar for moneypro

Hi, Thanks to all in advance. I am a newbie java learner. I have to create a project on java for my final term exam. But I cant find the topic of the project. Please suggest me some good but unique project topic. note: I would not like to create …

Software Development java
Member Avatar for moneypro
0
130
Member Avatar for daniel.moore.5099940

okay so i have this program that is basically like moving the sides to a 2 dimensional rubiks cube. for example 111 222 333 is a 3X3 two dimensional array and when coordinate (0, 1, 2 being 1, 2, 3) 1, 1 (meaning in our number system as 2, 2) …

Software Development algorithm c++ puzzle
Member Avatar for daniel.moore.5099940
0
3K
Member Avatar for hotblink

Hi, I need some help to make a program where python reads each line(a string) of a .txt file. -sample txt file-(EOF stands for 'End of File) I need it to be able to read up to 300 students. ID , Last , First, Lecture, Tutorial, A1, A2, A3, A4, …

Software Development file-system python
Member Avatar for snippsat
0
428
Member Avatar for syfyguy

i need help with changing a text box for a calculator ex: 1. if (textbox3.text = 0) then (textbox.text = 1) 'i need help with that thx

Software Development vb.net
Member Avatar for Reverend Jim
0
157
Member Avatar for raghuvbhat

Hi.. i am new to python and I want to put logfile to get the logs for every function including that function name with arguments. could any one help on this. Thanks raghuvbhat

Software Development python
Member Avatar for woooee
0
64
Member Avatar for sean.walker.3785

I am making a maze that consists of 48 nodes and the user needs to start in A1 and make there way to H6. The maze is created by reading a file, each line in the file looks something like A1 A2 B1 - - - where A1 is the …

Software Development c++ ios open-source
Member Avatar for sean.walker.3785
0
189
Member Avatar for Brick Wall

Hi im wondering if someone can help me i have to create the following program but dont quite know where the hell to start here is the scenario Operation • A local recording studio rents its facilities for £200 per hour. Management charges only for the number of minutes used. …

Software Development
Member Avatar for Brick Wall
0
128
Member Avatar for rocket3443

Hi, I am having a problem when I'm trying to open and read a file with python. My code goes as follows: def main(): f = open('nummer.txt', 'r') text = f.readlines() print(text) main() But when I try to run the code, I get an error. (No such file or directory). …

Software Development python
Member Avatar for woooee
0
448
Member Avatar for Dili1234

Please help me I got a error:Incorrect syntax near ')'. It pointed to the update_product.ExecuteNonQuery() Dim update_product As SqlCommand = New SqlCommand("Update sell Set Mode_Of_Payement(Cash)='" & TextBox9.Text & "',Payement='" & TextBox6.Text & "',Balance='" & TextBox8.Text & "', Mode_Of_Payement(Cheque)='" & TextBox9.Text & "',Cheque_No='" & TextBox4.Text & "' where Bill_No='" & txtbillno.Text …

Software Development sql vb.net
Member Avatar for Dili1234
0
117
Member Avatar for sapure

I've been studying C++ for two years, then started Java two months ago. My performance in C++ wasn't good at all although I study hard. I thought that the problem is in not understanding the language concepts but when I started a new language with the intention of building up …

Software Development java
Member Avatar for sapure
0
181
Member Avatar for pjh-10

trying to do a 2D array of a square sorta shape, and want to display it in the format 1-12 in the order 1 2 3 4 5 6 7 8 9 10 11 12 im an absolute novice if you cant tell, just wondering how i go about this.trying …

Software Development c c# c++
Member Avatar for pjh-10
0
135
Member Avatar for Kronolynx

the applet compiles fine(no errors) but while running when i press the accountButton(only button in the applet) i get errors, what is wrong with my applet ? thanks in advance Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException at AppletMetodos.actionPerformed(AppletMetodos.java:96) at java.awt.Button.processActionEvent(Unknown Source) at java.awt.Button.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at …

Software Development java
Member Avatar for Kronolynx
0
311
Member Avatar for TexasJr

I'm writing a program for my class that is due tomorrow. I thought I was done, but as I starting using it to get an output file, I ran into a problem, and I can't get past it. I have also gone over my code to see if I made …

Software Development c++
Member Avatar for TexasJr
0
176
Member Avatar for Tsaou

Hi, recently i started taking lessons on c programming and my first assignment was to make programm which would name all the perfect multiperfect or superperfect numbers within a set (whose limits will be given as #define constants) and their percentage. Anyway apart from any logic errors (which i would …

Software Development c programming-construct windows-vista
Member Avatar for Gonbe
0
319
Member Avatar for vjjohnson04

public class hello_world { public void sample(){ System.out.println("Hello World"); } }; /*Now I can access this method using an Instance of it in my Main Class or by inheriting it.* Public Class main{ public static void main(String args[]){ hello_world sam = new hello_world(); sam.sample(); }; } /*Class using inheritance Public …

Software Development java
Member Avatar for Taywin
0
311
Member Avatar for Growl

Hi, friends! I got a serious problems... Tomorrow I need to send this assignment to my professor. I tried a lot of hours but still no useful results.. :( You guys are my last hope :(! > There is an integer n. > Find numbers that: > *can be expressed …

Software Development c++
Member Avatar for NathanOliver
0
124
Member Avatar for techgeek420

Hey Guys, This is my first program where I have used JLabel and JText. Im trying to create a program that will solve a simple quadratic equation. I have the program to the point where it will solve the equation, I just cant get it to display in the window. …

Software Development java java-swing
Member Avatar for stultuske
0
188
Member Avatar for samsonmitu

Public Class txtSurname Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cn As OleDb.OleDbConnection 'Dim con As OleDb.OleDbConnection Dim dbProvider As String Dim dbSource As String Dim DS As New DataSet Dim DA As OleDb.OleDbDataAdapter Dim sql As String dbProvider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" dbSource = "Data …

Software Development dataset open-source vb.net
Member Avatar for Reverend Jim
0
218

The End.