43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Deep Modi

I want to try this: I want that the look of my textbox must be like the coding in the visual Basic. I mean When we type the code in the vb then we get the look like: "if", "else", "end if" is in colourful and all other... In Short …

Software Development vb.net visual-basic
Member Avatar for Deep Modi
0
271
Member Avatar for flebber

Hi I am struggling with assigning values to a list of a list. This is my full code. import random #get user input as to size of range range_size = 0 if range_size == 0: try: range_size = int(input('Size of Range?: ')) except ValueError: print('That was not an integer!') range_size …

Software Development python
Member Avatar for flebber
0
542
Member Avatar for bryann

Can someone please help me with this because it is driving me crazy. I wrote a program which prompts the user to enter a number I convert the string to an integer when i print the value it sometimes comes out as a decimal e.g. 3.0 I thought an integer …

Software Development python
Member Avatar for bryann
0
321
Member Avatar for kyle.mace.35

How would one make one word of out put bold. I am making rock paper scissors using threads and I want to make the choice of either rock, paper, or scissors bold. So for example the output of the program would be "Player 1 chose **Rock**. How can I do …

Software Development java
Member Avatar for JamesCherrill
0
169
Member Avatar for DM Galaxy

no idea on this, I just watch an article on this but it for C#. So I want to know How can I check the internet connection available or not? If Possible then please include the following points: ► Network Speed. (To determine the Speed Plan) ► Download Speed. (As …

Software Development vb.net
Member Avatar for Deep Modi
0
856
Member Avatar for DM Galaxy

I am trying to create the application in which I can add the Data in this Manner: 1st column: Sr. No ; 2nd Column: Downloads Name ; 3rd Column: Download URL ; 4th Column: Uploader ; 5th Column: Date And then all the rows get startedarrange in this manner. I …

Software Development vb.net
Member Avatar for DM Galaxy
0
229
Member Avatar for .............

My application requires a dialog box and a parent window, from the window proc of the parent window I'm trying to draw on the dialog box. How might I do this? Thank you for reading :)

Software Development api c++
Member Avatar for .............
0
555
Member Avatar for Deep Modi

I want to create a Contact Info Application in vb.net now I am having with the trouble that how can I generate a new exe file from main file? I design the Form: label (1: 1stName 2:Last Name 3:nickname 4: emailid1 5:emailid2 6:skypeid 7:facebookid 8:contactno .... ... .. ) and …

Software Development file-system vb.net
Member Avatar for Deep Modi
0
180
Member Avatar for Trekker182

Hi everyone I had a few more quick questions...I'm trying to right the function that puts the correct letters in the right positons being reported from my previous compareletter function for my game of hang man and its not updating the word in progress array. Here's my function: //updates the …

Software Development c
Member Avatar for Trekker182
0
168
Member Avatar for johnrosswrock

Thank you all for helping me in completing my collage mini-project //form1 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; using System.IO; using Microsoft.Office.Interop.Excel; using ClosedXML.Excel; namespace merge_excel { public partial class Form1 : Form { public Form1() { InitializeComponent(); …

Software Development dataset microsoft-office
Member Avatar for Warrens80
0
179
Member Avatar for paul.rothenberger

I'm running a search query that pulls the search string from one textbox then searches a listbox for the string and displays the results in a second listbox. I would like to define the number of items that it returns based on a second text box. So far I am …

Software Development seo vb.net
Member Avatar for paul.rothenberger
0
194
Member Avatar for castajiz_2
Member Avatar for princessophia

This is the assignment: Assuming that a year has 365 days, write a class named DayOfYear that takes an integer representing a day of the year and translates it to a string consisting of the month followed by day of the month. For example, Day 2 would be January 2 …

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

see these class: class test { public: void Created(){}; test() { Created(); } }; now we can create objects from it. ok. but can i overloading the scope-resolution ('::') for the object accept and change the Created() function?

Software Development c++
Member Avatar for Ancient Dragon
0
246
Member Avatar for Ikanda Simeon

Am having problems converting from if-else statements to switch statements and vice-versa

Software Development c++
Member Avatar for L7Sqr
0
205
Member Avatar for Remy the cook

I have been trying to find the frequency distribution of nouns in a given sentence. If I do this: text = "This ball is blue, small and extraordinary. Like no other ball." token_text= nltk.word_tokenize(text) tagged_sent = nltk.pos_tag(token_text) nouns= [] for word,pos in tagged_sent: if pos in ['NN',"NNP"]: nouns.append(word) freq_nouns=nltk.FreqDist(nouns) print …

Software Development python
Member Avatar for Remy the cook
0
1K
Member Avatar for Mr.M

Hi Dw I'm currently doing a research in how to create a system application file, the program that I'm creating will be visible to screen only when it has been called by the user other then that it will be running but doing nothing other then waiting to be called. …

Software Development vb.net
Member Avatar for Mr.M
0
250
Member Avatar for Mr.M

Hi Dw I've created a program which I don't want it to be visible by any means, I don't want it to be visible to people who will be using Group View tools to manage the computer, I want it to be like the windows system files which does not …

Software Development vb.net
Member Avatar for Mr.M
0
206
Member Avatar for beastie805

hello, I am having problem with selection sort, I am trying to sort the students name alphabetically.I compile it and it shows me whole bunch of errors in VS. I dont think it has do to do with my display all students function, I think it has more to do …

Software Development c++
Member Avatar for beastie805
0
2K
Member Avatar for overloaded

Unhandled exception at 0x561330d9 (msvcr100d.dll) in main.exe: 0xC0000005: Access violation reading location 0x440b4bd8. i try my best to debug it, but don't have clue on it. **fft.h** #include <math.h> #include <stdio.h> #include <stddef.h> #include <stdlib.h> #define NR_END 1 #define FREE_ARG char* #define M_PI 3.14159265358979323846264338327 static double sqrarg; #define SQR(a) ((sqrarg=(a)) …

Software Development c++
Member Avatar for overloaded
0
328
Member Avatar for v.r.t

how to write a recursive function to read and print all the data from a file

Software Development c
Member Avatar for vegaseat
0
158
Member Avatar for Trekker182

Hello everyone, I'm trying to do a game of hang man by comparing whats in one char array with another with a for loop with the compareword function. I tested it out with the wrong letters and had it return -1 so that parts working. What isn't fully working is …

Software Development c
Member Avatar for Trekker182
0
256
Member Avatar for salah_saleh

Hi, I have faced a problem that I have a vector in my class which I would like to initialize using constructor initialization list with some thing like this std::vector<double>({1,4,5}) which is only allowed in c++11 which is not what I am looking for. I could only intialize it with …

Software Development c++
Member Avatar for salah_saleh
0
352
Member Avatar for Remy the cook

I have to append first 3 sentences of this sample text to a file(data.txt). So far I've done this: import nltk text="""First patented in 1876 by Alexander Graham Bell and further developed by many others, the telephone was the first device in history that enabled people to talk directly with …

Software Development python
Member Avatar for vegaseat
0
272
Member Avatar for mavtcr

Friends Please any body explain the difference between VISUAL BASIC and VB.net What are the advantages over the other Which is better?

Software Development vb.net visual-basic
Member Avatar for Deep Modi
0
278
Member Avatar for Deep Modi

I create the application and set the untick/unchecked on "Make single instance application" as if i do then I can not open the multple window... Now the another thing is what the main thing that is used in the Publishing the application? if I used only Bin Folder then is …

Software Development publishing vb.net visual-studio
Member Avatar for Deep Modi
0
147
Member Avatar for cambalinho

when we create the window, we can choose some styles. but i see 2 problems: - how can i hide the border?(i have seen the msdn styles, but theres no const for that) - how can i change the styles after create the window?

Software Development c++
Member Avatar for cambalinho
0
821
Member Avatar for Banfa

Consider this piece of code class Example { }; class ExampleAccessor { public: struct ConstructionFlag { ConstructionFlag() { } ~ConstructionFlag() { } }; explicit ExampleAccessor(Example&) { } ExampleAccessor(Example&, const ConstructionFlag&) { } }; int main() { ExampleAccessor accessor(ExampleAccessor::ConstructionFlag()); } Which is the minimal example of something I found in our …

Software Development c++
Member Avatar for Banfa
0
154
Member Avatar for renierdbruyn

Hi, I am new to Python and am looking into web development frameworks i.e. Pyramid. Is there anyone here who is familiar with this Framework using MongoDB? I am using pymongo and Ming I follwed a tutorial [here](http://pieceofpy.com/2012/01/10/working-with-pyramid-and-ming/). I am getting an `AttributeError: 'str' object has no attribute '_auto_ensure_indexes'` in …

Software Development mongodb python session
Member Avatar for renierdbruyn
0
531
Member Avatar for ferizhandi

I am writing a application.and i need to draw line in jpanel.but it is crash when jpanel add to jframe.this is my code: public class Simplification extends JFrame { JPanel panel; public Simplification(List<List<Integer>> transmitionTable , List<List<Integer>> outTable) { this.setTitle("Simplification Result"); this.setSize(500, 300); this.setLocation(50, 50); this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); this.setVisible(true); // do other jobs …

Software Development java
Member Avatar for JamesCherrill
0
225
Member Avatar for mavtcr

Friends, Please help me I have a form having 3 text boxes of data type number one text box for display- also number type one command button I want to add the figures of the three text boxes my code is as below Private Sub Command1_Click() Dim Total As Long …

Software Development visual-basic
Member Avatar for rishif2
0
214
Member Avatar for kerek2

Hi All's, i'm stuck in create the Chart from my Access Database. My DB got Date with Datetime format , CLICK with Integer Format. Axis X must display a Date with Click Value , but the Date is not align correct like this picture : Please help me to arrange …

Software Development vb.net
Member Avatar for kerek2
0
128
Member Avatar for victor_3

The game is to play hangman, if guessed right or wrong it will ask the user if they want to play another game (w/ a different word). My code repeats the game with the user enters anything (even q) but doesnt quit when 'q' is entered. I've been trying to …

Software Development c
Member Avatar for victor_3
0
208
Member Avatar for CodingCabbage

Are there any built in modules in python 3.3.0 that can handle images?

Software Development image python
Member Avatar for vegaseat
0
266
Member Avatar for mixelplik

I was working on a praxctice program and wanted some numbers fixed dollar amounts to 2 decimal places while others to be displayed as plain old ints. I used this code, but noticed that now ALL numbers are set as fixed 2 place decimals. Is this how fixed and setprecisioun …

Software Development c++
Member Avatar for mixelplik
0
136
Member Avatar for 9tontruck

class Base{ Base(); ~Base(); void doSomrthing(); } Class MyCLass : public Base{ std::string name; MyCLass(); ~MyCLass(); void init(); } MyCLass::MyCLass() { init(); //runtime error occurs with this line } void MyCLass::init() { name = "MyClass"; doSomrthing(); } I am having a trouble on calling child class' contructor. What is wrong …

Software Development c c# c++
Member Avatar for Moschops
0
205
Member Avatar for theashman88

![3a451fbd93eb17f84f06c7ac648bdcab](/attachments/small/2/3a451fbd93eb17f84f06c7ac648bdcab.PNG "align-left") I need to create this program for class. I'm not looking for the answer. I'm simply confused on how to create a batch file where I input a number and it gives me an option. Would I use the IF command if so how would I do it. …

Software Development programming-construct shell-scripting
Member Avatar for brooks.johnson.54
0
376
Member Avatar for cambalinho

how can i test if the wheel move was negative or positive? i belive these detect the mouse position: xPos = GET_X_LPARAM(lParam); yPos = GET_Y_LPARAM(lParam); but how can i test if any key(like alt\control\shift) was pressed? (i'm talking in same message)

Software Development c++
Member Avatar for cambalinho
0
292
Member Avatar for Mr.M

Hi Dw I'm working with ASPX.NET under VB.NET, I've created some pages one is registering the user domain that the user want to register like "www.mydomain.com" and once the user clicked the button then his domain is registered to the server and then he/she will then be transferred to another …

Software Development vb.net
Member Avatar for Mr.M
0
227
Member Avatar for Deep Modi

I create the notepad, and now I want to create my notepad as Default Application so that when someone going to click on txt file then it will run/load From application not by Windows Notepad.. I know How to open the text file by getting right click and run as …

Software Development vb.net
Member Avatar for Reverend Jim
0
244
Member Avatar for asaidi

HI just starting learning c++ and i think it is a good choice what youn think ? my question why are we using vectors of objects..we can store infos inside a vector and the we can display them the problem if i quit the program everything is gone..work on memory …

Software Development c++
Member Avatar for asaidi
0
117
Member Avatar for apohbakuteh

Does anyone have any example related to the topic?I new to it.Kinda need help on it ty =)

Software Development vb.net
Member Avatar for apohbakuteh
0
149
Member Avatar for mollyorgasm

i need help with my code Give the class methods to provide name and SID to a newly created Object (a constructor) and a method to determine the Grade of a piece of work. and to Write a Main method in another class which creates an instance of this class …

Software Development
Member Avatar for castajiz_2
0
152
Member Avatar for Lethugs

Hi, is it possible to combine Stored Procedure and Text Command Type in Select Statement? I have a stored procedure that compute available items, it quite a bit long select statement, now i need to call this statement in another select statement which is in text command type, how will …

Software Development sql vb.net
Member Avatar for ryanjayson
0
498
Member Avatar for glao

hello, I want to compare 2 strings.I want to find if a list with characters contains all the letters in a string. If **all** the letters in the string are in the list. For example: > mystring='abc' > mylist=['a','b','c'] must return True > > mystring='abc' > mylist=['a','c','b'] must return True …

Software Development python
Member Avatar for glao
0
505
Member Avatar for murali2489

Dear Team, I am writing a Swing application for my project which gets the user information and saves it in a database and then displays in a JTable. I thought like, instead of manually updating the data from our client website, why not read the data from the site and …

Software Development java java-swing
Member Avatar for murali2489
0
253
Member Avatar for glao

Hello, my code works fine when I don't have white spaces but I can't make it work when the string has. I am trying sth like: def lengthR(mystring): count=0 if mystring=='': return 0 while (mystring!='') and (' ' not in mystring): mystring=mystring[0:-1] lengthR(mystring) count+=1 return count but it returns 0 …

Software Development python
Member Avatar for glao
0
193
Member Avatar for foxhatxd

The following is a function I wrote to go along with a minesweeper program. For some crazy reason, the inner loop gets skipped after i begins to increment. For example, after i and j have been reduced by one: n = 3, k =3 i = 0 j = 0, …

Software Development c
Member Avatar for foxhatxd
0
167
Member Avatar for cambalinho

see my windows procedure: LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { bool blnMouseEnter=false; switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); break; case WM_KEYUP: if (wParam ==VK_ESCAPE) DestroyWindow(hwnd); else { char strDataToSend[32]; sprintf(strDataToSend, "%c", wParam); MessageBox(NULL,strDataToSend, "keyselected",MB_OK); } break; case WM_MOUSEMOVE: SetWindowText(hwnd,"hi"); break; case WM_MOUSELEAVE://is ignored :( SetWindowText(hwnd,"bye"); break; …

Software Development api c++ windows-api
Member Avatar for cambalinho
0
3K
Member Avatar for kkjaykamau

I have the following code that is returning an error - not all code paths return a value. static class Products { public static List<ProductResponse> GetProducts(string productsURL) <---- error thrown here. { //List<ProductResponse> products = new List<ProductResponse>(); try { var w = new WebClient(); var jsonData = string.Empty; // make …

Software Development json
Member Avatar for ddanbe
0
264

The End.