132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lewashby

python3 pythonscript.py Traceback (most recent call last): File "pythonscript.py", line 1, in <module> import pysftp as sftp File "/usr/local/lib/python3.4/dist-packages/pysftp/__init__.py", line 12, in <module> import paramiko File "/usr/local/lib/python3.4/dist-packages/paramiko/__init__.py", line 30, in <module> from paramiko.transport import SecurityOptions, Transport File "/usr/local/lib/python3.4/dist-packages/paramiko/transport.py", line 32, in <module> from cryptography.hazmat.backends import default_backend ImportError: No module named …

Software Development python
Member Avatar for Gribouillis
0
2K
Member Avatar for Violet_82

Hi, I'm thinking to upgrade from java sdk 7 to 8 (JamesCherrill will be pleased,lol!) and I was just wondering if there is anything I need to be careful with, especially in eclipse. I will start first with Windows, and then do the same thing in Ubuntu. My eclipse seems …

Software Development java ubuntu
Member Avatar for JamesCherrill
0
300
Member Avatar for vegaseat

Use Python module threading to count intervals (in seconds) in the background. You can use this to time any relatively slow event like the time it took to finish a game or play some music. You can also peek at the current interval value as the event goes on. Go …

Software Development python
Member Avatar for Viresh_2
0
9K
Member Avatar for Ghast

I want to create a program to delete a partition using VB.NET or CSharp.NET But I have no idea how to do it. I know a big portion of VB.NET now and not this. I can“t find it on the whole internet and this website is my best bet.

Software Development vb.net
Member Avatar for Ghast
0
299
Member Avatar for Raul_4

Hello, im working with Arduino UNO and im triying to get temperature and pulse from two sensors and send it to a data base. Mi problems when im triying my code is that: exit status 1 'interruptSetup' was not declared in this scope and my code are: #include <DHT.h> #include …

Software Development
Member Avatar for Raul_4
0
888
Member Avatar for Isky

Hi, I'm new to this Java world, and just can't figure out this problem. After I use nextInt or nextDouble, and try to use nextLine, it won't work unless I put nextLine twice. What's the problem there, and what would be the good way to handle this? Just gave a …

Software Development java
Member Avatar for stultuske
0
21K
Member Avatar for jazzyb

I am creating one application visual basic and sqlce I have two forms name Form1 and Form2. I used Form1 to add data to database using OLeDb command and used Form2 to show data in datagridview by using dataset I used following code: FFORM1 CODE is as following [code] Private …

Software Development asp.net dataset vb.net
Member Avatar for spandan_1
0
3K
Member Avatar for Tom_15

Hi: I wasn't able to find the exact solution to my problem on Daniweb, although there are several posts regarding the game of life. This situation came the closest: http://www.daniweb.com/software-development/cpp/threads/242338 My situation is a bit different because I HAVE to use a combination of functions and a class in the …

Software Development assembly c++
Member Avatar for Reverend Jim
0
2K
Member Avatar for Benny Adams
Member Avatar for rubberman
0
109
Member Avatar for shazeem

I have a few excel files and i want to merge all the files into one. All the data can be merged into one sheet in the final excel file. I have searched a lot but coudn't find a working answer.

Software Development vb.net
Member Avatar for shazeem
0
2K
Member Avatar for Mr.M

Hi Dw. I'm a bit new to C# I'm used to program with VB.NET and one of my project had force me to do it with C# as I'm sure you are aware that VB.NET it lack with Windows Phone Socket programming APIs or support and C# does support it …

Member Avatar for Mr.M
0
904
Member Avatar for Prafull_1

Hi Team could you please tell me could I directly convert VB5 code to VB.NET? if yes what about the controls used into the application it is alo replaced automatically is there any freeware tool we have to do it if NO what is the option for doing it Thank …

Software Development vb.net visual-basic
Member Avatar for Mr.M
0
666
Member Avatar for tonykjose

I have got a small problem with this program. It takes a user's input of numbers and sorts them by merge sort in increasing order using linked lists. Unfortunately, a segmentation fault appears immediately after I input the numbers. Probably something to do with the merge sort function. Help! [code] …

Software Development c++ linked-list
Member Avatar for rcgldr
0
367
Member Avatar for Tom_15

I need help getting my neighborcount function to work correctly, as follows neighborCount:Given two arguments that indicate the row and column of a particular cell in the matrix, this function returns the number of neighbors that have the value "true". Most positions in the grid have 8 neighbors like the …

Software Development assembly c++
Member Avatar for Tom_15
0
558
Member Avatar for Suzie999

Here is example class, the commented code in constructor works as well as the initializer. My question is, what is the correct way? class NClass { public: int _pid; std::wstring _name; NClass(int pid, wchar_t * name) : _name(name) { //_name = name; } void Print() { std::wcout << _name; std::getchar(); …

Software Development c++
Member Avatar for Suzie999
0
3K
Member Avatar for Andre_5

I use VB.net 2012 and Newtonsoft.Json Here my code Public Class Order Public Property nb As Integer Public Property product As String Public Property price As String End Class Public Class Person Public Property nb As Integer Public Property name As String Public Property address As String End Class Dim …

Software Development json vb.net
Member Avatar for PerplexedB
0
3K
Member Avatar for Mr.M

Hi Dw. I'm using this code available from [here](http://www.coderslexicon.com/using-hashes-to-check-if-a-file-changed-in-vb-net/) and I have changed it from keeping the hashs on a variable(array) to writing it on a file. Now what I want to do is to read this file. Basically I'm scanning through all my drive file and for each file …

Software Development vb.net
Member Avatar for Mr.M
0
529
Member Avatar for Jim_11

Hello, I need to keep the exe's window (for example Notepad) always on the foreground of the form, it means that even if we click on the form , the exe's window will always be ahead of the form.In other words,I have a button which when we click on it, …

Software Development c#
Member Avatar for tinstaafl
0
2K
Member Avatar for Tom_15

I need help inserting the assert function within my code, and creating the neighborcount function as listed below, heres the guidelines: default constructor: initialize all of the array elements to false get: return the current contents of a single array element. Use arguments to indicate the row and column of …

Software Development c++
Member Avatar for Tom_15
0
696
Member Avatar for Tamal_1

I'm looking to build a simple text string replacement tool using visual studio 2015 community tool, which will do the below replacements on all *.txt files whose path is given in a textbox: > Find: \<figure (\d+)\> Replace: <a href id="fig\1">figure \1</a> > Find: \<table (\d+)\> Replace: <a href id="tab\1">table …

Software Development regex vb.net visual-basic visual-studio
Member Avatar for Mr.M
0
564
Member Avatar for Jann_2

hey there i'm stuck in this particular problem. the table in my rdlc report doesn't update. i have updated my table in database but when it comes to the rdlc report the table doesn't update. any suggestions? im using vb 2010 by the way with ms access as database

Software Development vb.net
Member Avatar for rproffitt
0
182
Member Avatar for Mr.M

Hi Dw. I have a MySql server database, and I'm polling data from the database. The problem I'm getting is that when I'm retrieving users activities I only get the first record only which is on `Row(0)` or the first record with that username. Suppose I have a database like …

Software Development mysql socket-programming vb.net
Member Avatar for Mr.M
0
328
Member Avatar for Jann_2

hey there guys. I want to know how to Print the data from a listview into a receipt. I have found a question here which solves the printing but it only prints the listview items and not the other texts from the Receipt Form. Like the Header and total amounts …

Software Development listview vb.net
Member Avatar for Jann_2
0
3K
Member Avatar for PM312

I Am uploading excel data into DataGrid cell . Once uploaded date changes from uk to US date format in datagrid. What could be the reason.

Software Development vb.net
Member Avatar for rproffitt
0
143
Member Avatar for Hans_1

Hello fellas, I am making a project where modem's is the main concern.. but i really don't know where to start. I have tried google how to make or detects a current modem that is existing. but i don't get what google is giving me. and most of them are …

Software Development vb.net
Member Avatar for rproffitt
0
1K
Member Avatar for jeffersonalomia

is it possible to apply this kind of alignment in vb6 listbox? Ex. aaa bbfawdawd bbbb adwadwa cc dawdawda if it is possible. Please specify the solution. thank you

Software Development visual-basic
Member Avatar for Minimalist
0
296
Member Avatar for Mr.M

Hi, I get "first-chance exception at 0x1000161f in myapp.exe: 0c0000005: Access violation reading location 0x00000000." If i execute the WFSOpen command. To be able to receive the error pointing to the correct error value I've done this: LPHSERVICE lphService; lphService = 0; // I put 0 because the EXIT_SUCCESS is …

Software Development api c++ visual-studio
Member Avatar for Mr.M
0
2K
Member Avatar for Yuna_1

Hello I am almost finished with my assignment but I just need it to do the math correctly and I need help!!! I can easily do the problem on paper just fine however I can't get Netbeans to create the right answer. Here is the problem I need it to …

Software Development java java-netbeans
Member Avatar for JamesCherrill
0
342
Member Avatar for tan_1

# Cs # if (DDlLoanType.Text == "Home") { interestRte fmLoanRte = new interestRte(); List LoanRteList = new List(); LoanRteList = fmLoanRte.getCurrentLoanRte(); // Step 3: propogate LoanTerm as dropdown list text , propogate intRte as dropdown list value DdlTerm.Items.Clear(); DdlTerm.Items.Insert(0, new ListItem("--Select--", "0")); //AppendDataBoundItems property allows you to add items to …

Software Development
Member Avatar for tinstaafl
0
270
Member Avatar for Papa_Don

Hi Group, I'm attempting to pull info from our database to populate a combo-box in VB.net (Visual Studio Express 2015). Here's my first attempt at the connection: Dim conn As New Oracle.DataAccess.Client.OracleConnection() conn.ConnectionString = oraDB From here I'm not sure how to pull the data into the combobox. I do …

Software Development oracle vb.net visual-studio
Member Avatar for Papa_Don
0
1K
Member Avatar for Saboor880

Hello to all! I know well how to access database and its tables from sql server in Netbeans, But know I need to access a report from sql server in Netbeans. For example if I have a table named "MyTable" in sql server 2008 and then I ran a query …

Software Development ide java java-netbeans sql
Member Avatar for stultuske
0
217
Member Avatar for bprosic

Hello, I have an array in c# identical values in it. But, sometimes, it can happen that one value gets mixed and then array should be considered as invalid. Let say, I have an valid array of values: [0]=N,[1]=N,[2]=N; And this is an example of invalid array: [0]=N,[1]=K,[2]=N; To determine …

Software Development c#
Member Avatar for tinstaafl
0
5K
Member Avatar for Nathan_7

[This recently published article](http://techbeacon.com/how-learning-smalltalk-can-make-you-better-developer) seems to suggest so. However, since JavaScript is eating the world, I don't know that *any* "new" programming language today can gain traction. Am I wrong?

Software Development
Member Avatar for rubberman
0
257
Member Avatar for Simple man

Hi, I want to use global keyboard hook in Rad studio c++. So, anyone please give me the code. I want to handle the key input with hook in c++

Software Development
Member Avatar for AssertNull
0
275
Member Avatar for Simple man

I can't use the new hand cursor in vb.net form app. it is the old hand cursor of win 7

Software Development vb.net
Member Avatar for rproffitt
0
114
Member Avatar for Hari_13

I am unabe to send email. The page is hanging and it is not displaying any error. Please help me fix the issue thank you in advance.

Software Development api email java
Member Avatar for JamesCherrill
0
118
Member Avatar for Violet_82

Hi guys, I have a question about error handling. Still working on the addition application and now that I've learned what are the correct exceptions to handle I'm not sure what to do when I've established that the my inputs are all valid and print my result. Let's have a …

Software Development java
Member Avatar for Gribouillis
0
418
Member Avatar for Abraham_7
Member Avatar for jessicacyrus1
0
159
Member Avatar for Krishna_20

Hi All, Can some one please assist me. How to get rid of this error. concurrency violation the update command I have been struggling from the last couple of days. Tried many solutions from the internet but unable to resolve this issue. May be, I am completely rookie. Imports Microsoft.Office …

Software Development microsoft-office open-source vb.net
Member Avatar for rproffitt
0
286
Member Avatar for Violet_82

HI guys, I'm really new to SVN and today I've installed tortoise as I'm working in windows at the moment and I'm following this tutorial https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-qs-guide.html. So, I have a java project in Eclipse: I have created a local repository folder on my machine and imported a project in it. …

Software Development ide java
Member Avatar for Violet_82
0
290
Member Avatar for will_9

hi guys thanks for viewing and helping me out!! here are the example what the things will looks like Enter problems per set: 3 Set #1 ---------- What is the maximum number for this set? 100 45 + 21 = 66 correct 0 + 100 = 100 correct 54 + …

Software Development c++
Member Avatar for rubberman
0
359
Member Avatar for Suzie999

I'm having trouble calling unmanaged dll function from the windows win32 apis. I've tried many ways, but the following was my first and what I think should work. using System.Diagnostics; using System.Runtime.InteropServices; namespace Win32DllImports { class Program { [DllImport("Urlmon", EntryPoint = "ObtainUserAgentString", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Ansi)] private static …

Software Development
Member Avatar for Suzie999
0
386
Member Avatar for Jim_11

Hello, I am doing an application in C# but I have a problem. I need to show the volume status of the computer. I created two pictures to show if the volume is muted or not. I found this code but I get errors: MMDeviceEnumerator devEnum = new MMDeviceEnumerator(); MMDevice …

Software Development c c# c++
Member Avatar for rproffitt
0
465
Member Avatar for Altjen_1

I am designing a software and want to save data in a txt file. but dont want the user to open them as txt file, only the app should do it. Is this possible? if yes, how? I've searched in google, but not any good reason to help me out.

Software Development
Member Avatar for tinstaafl
0
1K
Member Avatar for Violet_82

Hi guys, I have a simple application which allows users to input a divisor, a divident and then calculates the quotient. I'm using vaadin as framework but I don't think that matters. So I've been thinking about the exceptions that can occurr and these are the ones i have identified: …

Software Development apache java websocket
Member Avatar for JamesCherrill
0
406
Member Avatar for Saurabh_13

THE CODE BELOW IS FOR SAVING FORM DATA FROM HTML FORM TO A TEXT FILE IN THE LOCAL COMPUTER. BUT, THE TEXT I AM GETTING IN THE TEXT FILE IS ALWAYS IN A SINGLE LINE AND I CAN'T ORGANIZE IT. THE CODE BEING USED IS AS BELOW. <!DOCTYPE html> <html> …

Software Development html-css java
Member Avatar for stultuske
0
488
Member Avatar for AssertNull

Okay, I am trying to learn Windows programming and there are all sorts of new data types that I am running into and need to learn. I'm trying to understand the point of it all and failing. If there is no point and it's just Microsoft making things difficult for …

Software Development c c# c++ microsoft
Member Avatar for rproffitt
0
369
Member Avatar for Altjen_1

Hi daniweb community, this sounds really weird question but I'm having a problem finding a page/portal. has been about 2 days and I've been searching literally for more than 30 hours. From the desperation I am asking any of u if they know it. Inside microsoft page, or microsoft azure. …

Software Development java microsoft-azure vb.net
Member Avatar for AssertNull
0
203
Member Avatar for _1_32

I have spent about 40 hours on this code so far. I have finally cleared the faults from it. I am a new coder. What I am trying to get it to do is to display the users name is the "type your guess " box as in "type your …

Software Development vbscript visual-basic
Member Avatar for Reverend Jim
0
490
Member Avatar for AssertNull

OK, I programmed a few DLLs using Linux years back. My memory (and my memory could be faulty), was that I had the program decide which dll to load based on user input. So I had two dlls, each with a `string encrypt(string, string)`function. The user was asked to specify …

Software Development c++ encryption visual-studio
Member Avatar for AssertNull
0
238

The End.