43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Xcelled194

Hi guys, I'm an experienced VB programmer, but recently started using C# and I like it. But what I need to do now, is get a list of all printers installed on the computer (not a problem) and print a page to all of them (also not a problem)... BUT …

Software Development adobe pdf printer xml
Member Avatar for sahil000005
0
1K
Member Avatar for Gus_19

I'm not even sure if I'm on the right track, but I am trying to count the excel rows for a worksheet and display them in a textox on my form. I've assuming it would be best to write the row count in the form load procedure and this is …

Software Development display vb.net
Member Avatar for Lethugs
0
222
Member Avatar for drgr33n

Hey Guys, Was reading a few posts on here and looks like a cool place to come and try to broaden my knowledge and try and teach myself C++. I've only been reading a few days and I decided to try and create a simple calculator. I wanted to see …

Software Development c++
Member Avatar for Juan_8
0
378
Member Avatar for glao

Hello , I am trying to implement this function: def getGuessedWord(theword, wordlist): for letter in theword: if letter in wordlist: print letter, else: print '_', For example: theword = 'hi' wordlist = ['e', 'i', 'o', 's'] must return : _i but it returns : _iNone I tried : for letter …

Software Development python
Member Avatar for glao
0
150
Member Avatar for pritaeas

I'm currently looking into the automatic generation of release notes (or change log) when we create a new release. I'm wondering how any of you tackle this. So far I've found these four interesting options: - https://tfsreleasenotes.codeplex.com/ - https://tfschangelog.codeplex.com/ - http://fromthedevtrenches.blogspot.nl/2013/04/automatically-generate-tfs-release.html - http://mskold.blogspot.nl/2012/05/generate-accumulated-release-notes-in.html Any insights greatly appreciated.

Software Development
Member Avatar for Ketsuekiame
0
176
Member Avatar for johnson_2

I have a text file points.txt which is formatted by Point2D/Point3D , X ,Y points.txt Point2D, [-9, -9] Point3D, [-9, -9, -9] Point2D, [-99, -99] Point2D, [-999, -999] Point3D, [-999, -999, -999] What I want to do is 1) retrieve the X and Y values that belong to Point2D from …

Software Development algorithm c++
Member Avatar for johnson_2
0
665
Member Avatar for Su Myat Naing
0
88
Member Avatar for ZER09

I tried to create a context menu for a griedview and when i test it it works greacefully private void gridView1_PopupMenuShowing(object sender, DevExpress.XtraGrid.Views.Grid.PopupMenuShowingEventArgs e) { ContextMenu c = new ContextMenu(); DevExpress.XtraGrid.Views.Grid.GridView view = (DevExpress.XtraGrid.Views.Grid.GridView)sender; DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo HitInfo = view.CalcHitInfo(e.Point); if (HitInfo.InRow) { view.FocusedRowHandle = HitInfo.RowHandle; c.MenuItems.Clear(); c.MenuItems.Add("sample", sampsss); c.MenuItems.Add("sample", sampsss2); c.Show(view.GridControl, …

Software Development
Member Avatar for Merletyco
0
387
Member Avatar for LucyLogic

Hey guys, I need assistance with my program need to write a program that writes a series of random numbers to a file. Each random number should be in the range of 1 through 100. The application should let the user specify how many random numbers the file will hold. …

Software Development file-system python
Member Avatar for LucyLogic
0
10K
Member Avatar for Remy the cook

I am trying to extract blogs related to economy using the RSS feeds in python. I have no idea how to get a specific number of blogs and how to get those blogs in a particular domain (like economy). My project requires analysing these blogs using NLP techniques, but I'm …

Software Development python xml
Member Avatar for Remy the cook
0
2K
Member Avatar for cambalinho

i'm building a class with std::function for recive several parameters or none: class event2 { public: typedef std::function<void(...)> OnSomethingHandler; void operator() (...) { eventwithoutarg (...); } event & operator = (OnSomethingHandler Handler(...)) { eventwithoutarg(...) = Handler(...); return *this; } private: OnSomethingHandler eventwithoutarg(...); }; what i'm doing wrong with '...'?

Software Development c++
Member Avatar for Ancient Dragon
0
7K
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a possibility to pass a dictionary to another program? What I want to do is send some information from one program to another, I want to use an array but I can't set keys and that is what I really need and …

Software Development vb.net
Member Avatar for joshl_1995
0
217
Member Avatar for smitty68503

I am currently working on a project that has a textbox I need to do a validation on. I want to actually do two validations: 1) Make sure it is an integer and 2) Make sure it is divisible by 10. I have done a lot of searching and have …

Software Development vb.net
Member Avatar for raidenx44
0
365
Member Avatar for WildBamaBoy

I'm trying to send data back and forth between two computers using a Socket (TCP). The data is in the form of serialized Packet objects. At an early point in the application, it must send 25 or so Packets of the same type to the other side. See Case 1 …

Software Development socket-programming
Member Avatar for Ketsuekiame
0
543
Member Avatar for strRusty_gal

Hi eVeryone, Please help me on below code. I don't know what's the erorr mean. Error Message *test.c: In function ‘main’: test.c:12:2: warning: passing argument 2 of ‘tokenise’ from incompatible pointer type [enabled by default] test.c:5:6: note: expected ‘char **’ but argument is of type ‘char * (*)[100]’ test.c: In …

Software Development c
Member Avatar for strRusty_gal
0
297
Member Avatar for iTechnnn

Let's say that i have an array of objects. So, I need to delete the count objects starting at the given index. Make sure to compress myObjects and update currentObject. You must also verify that the given index exists in myObjects and that there are count entries starting from there. …

Software Development java
Member Avatar for iTechnnn
0
273
Member Avatar for Xakzi

Hello! I got a neaty tricky situation here.. I have a picturebox1 and listbox1 and a few items in listbox1. I got images in resources.resx (bmp) and want to load different images depending on what index is selected.. I wanted for it to be something like this.. Bitmap bmp = …

Software Development image
Member Avatar for Xakzi
0
2K
Member Avatar for castajiz_2

I would like to know if there is a class wich generates RANDOM words which have sense(are in use in the daily language in englis). I am making a project where uppon a given random generated word i would like to collect letters for that given word so once i …

Software Development
Member Avatar for castajiz_2
0
284
Member Avatar for aVar++

Hello, I was revising for my exam and can't think what would go in this space... What do you guys think it is? Images can be stored as bitmaps. A bitmap is a description of the bits that make up an image. Each pixel is represented by a number that …

Software Development
Member Avatar for aVar++
0
207
Member Avatar for bnn678

So my code to test a prime number is as follows: PrimeTest(): test = input ( "What number would you like to test? " ) test = int(test) true = 0 divisor = 0 for divisor in range (2, 10): if ( (isinstance( test/divisor, int )== True) & (test/divisor == …

Software Development python
Member Avatar for bnn678
0
374
Member Avatar for vladimir.bednoi

Good day, I need help with my code. It's very simple and I was compiling it successfully at school, but at home I'm having problems with it. Here is the code. http://gyazo.com/dc78a310f529374338a244227b56215f and #include <cmath> #include <iostream> #include <conio.h> using namespace std; int main () { float a, b, c; …

Software Development c++
Member Avatar for Moschops
0
277
Member Avatar for chdboy

I want to open an Instance of a form in MDI Container here is my code I just want an instance of a form to Edit records in the database Private Sub BtnEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnEdit.Click Dim Emp As New Employee() Emp.MdiParent = Me …

Software Development vb.net
Member Avatar for deceptikon
0
3K
Member Avatar for iTechnnn

Let's say that i have an array of objects. So, I need to delete the object at the given index and make sure to compress myObjects and update currentObject. Also, I have to verify that the given index exists in myObjects. This is what I got: NOTE: I will just …

Software Development java
Member Avatar for JamesCherrill
0
171
Member Avatar for daino

Would anyone know of a C++ library which can enable me to encode and decode Ascii base 85 encoding? I'm having trouble finding one on the web. Thanks

Software Development c c# c++
Member Avatar for daino
0
1K
Member Avatar for 12344321

Hi, I am new to writing code and am doing a programming assignment for a class that has to be separated into different functions. I figured most of it out, but can't seem to get the validation part to work at all. could someone with more experience than me please …

Software Development python
Member Avatar for 12344321
0
177
Member Avatar for pc20912

I am using VB.Net 2008 Express Edition, I created project its works fine, Now I want to add Word File that Project and When run Setup File (from Publish) on another computer that Word file also autocopy with this project, Is possible to do this..? How I code to open …

Software Development file-system vb.net
Member Avatar for pc20912
0
504
Member Avatar for Guled_1

Based on the loan application records of a bank and the example of query, write a program that determines whether a loan applicant is to be approved or disapproved his/her loan application. Criteria of an application to be considered are assets, income and the loan value. Applicant with assets > …

Software Development c++
Member Avatar for Ancient Dragon
0
105
Member Avatar for castajiz_2

I was wondering is there any way to put my e.Graphics.DrawString() method into a variable(object) so that i can do some actions aftewards. The thing is that I ve got my words falling and rotating on the form. I ve also got a object wich is a Image which moves …

Software Development
Member Avatar for castajiz_2
0
142
Member Avatar for DM Galaxy

I just want to create an application where the user click on the "check for Update" button, My application start to check update. Uptill this I hav done so. I use this Code for this: Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("pastebin link") Dim response As System.Net.HttpWebResponse = request.GetResponse() Dim sr …

Software Development file-system vb.net visual-basic
Member Avatar for DM Galaxy
0
302
Member Avatar for Deep Modi

I create application (Notepad) and finished too. Last thing i am missing. That whenever I open the application 'Adv. Notepad.exe' double click the exe file on desktop I open with my project file but when i try to open again at that time I just get focus to my main …

Software Development vb.net
Member Avatar for Deep Modi
0
227
Member Avatar for aslam.junaid786

In this main class I used a **ListIterator** variable, **hasnext()** and **next()** method to print LIST memebers. I created litr variable of ListIterator, I performed some functions on the list i.e, sorting(ascending and descending) etc. I used the same litr variable and a while loop for outputing the list again …

Software Development java
Member Avatar for JamesCherrill
0
339
Member Avatar for lehlohonolo.mohaila

write c++ code that has a function int GreaterThan (int array [], int size, int searchItem). The fucntion should count and return number of elements in the array greater than SearchItem. you are free to generate the element randomly or let the user enter them, the size must be less …

Software Development c++
Member Avatar for happygeek
-1
393
Member Avatar for castajiz_2

I have a method which does something. However to do the desired thing i must call the CreateGraphics method. I Created a new class (added a new class) and now inside my method i can t call this method. What am i missing? I can call the CreateGraphics method inside …

Software Development image
Member Avatar for castajiz_2
0
196
Member Avatar for DM Galaxy

I wonder how the screen recorder and screen capture application capture the window screen.? As I know How to take Snapshot in this But the question is that their application were minimize/minimize to notify icons.... And by the one click: (F11) screen get capture... I tried this. Form1.hide() notifyicon1.show()... etc …

Software Development vb.net
Member Avatar for Deep Modi
0
353
Member Avatar for maxbummber

I want to know how CLIPS works so I thought of taking problems already solved and see how they work. It's this problem which I don't know how to get it to work. The requirements say: Fires are classified according to the principal burning material. Translate the following information to …

Software Development
Member Avatar for rubberman
0
277
Member Avatar for Anumitha

i need a program to implement stock maintainance system using c++

Software Development c++
Member Avatar for rubberman
0
232
Member Avatar for glao

Hello , I have the following code: count = 0 phrase = "hello, world" for iteration in range(5): index = 0 while index < len(phrase): count += 1 index += 1 print "index: " +str(index) print "Iteration " + str(iteration) + "; count is: " + str(count) I can't understand …

Software Development python
Member Avatar for glao
0
269
Member Avatar for cambalinho
Member Avatar for mike_2000_17
0
235
Member Avatar for raidenx44

I'm working on my capstone project. I really having a bad time thinking for the correct query for the search button function. VB.Net 2008 is my front end while I'm using MySQL as my back end database. Private Sub BtnSearch_Material_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSearch_Material.Click Try …

Software Development mysql vb.net
Member Avatar for raidenx44
0
313
Member Avatar for krystosan

Is there any way to start an application with python and count how much time does it take to completely load, any idea if I can do it with os.syste, or subprocess.Popen ?

Software Development operating-system python
Member Avatar for germ
0
275
Member Avatar for Labdabeta

Hello, I am wondering how libraries create graphics contexts in a cross-platform manner. Somehow libraries like SDL create graphical windows seemingly without using the system headers. I know how to set up a window for graphics using Win32API, and how to get input from it using the same. How do …

Software Development c++ opengl
Member Avatar for Labdabeta
0
355
Member Avatar for hulkishungry

Hey, there isn't really a general forum that I was trying to post this is, so I've had to stick it in the "most" relevant forum that is avaialble. I've been at uni for two years now and I still haven't found something that I'm particularly good at. I thought …

Software Development html-css web-design
Member Avatar for hulkishungry
0
170
Member Avatar for Labdabeta

Hello, I noticed that in c++ everything that can be done using a static function in a class could be done by using a public function in the same namespace. Assuming that you bind your classes in a namespace these functions do not take up names in the global namespace. …

Software Development algorithm c++
Member Avatar for mike_2000_17
0
204
Member Avatar for humorouscheese

This is my first full sized c# project, so I apologize if the answer if the answer here was obvious. I've got a program that runs a method called firstrun, which is called at the point that the form loads (if a value from a file is true). This method …

Software Development
Member Avatar for tinstaafl
0
240
Member Avatar for LucyLogic

Hello, everyone. I am taking a beginning python class and was wondering if anyone could help me out? We are writing a program that generates 100 random numbers (between 1 and 1000), and keeps a count of how many of those random numbers are even and how many are odd. …

Software Development python
Member Avatar for vegaseat
0
510
Member Avatar for CodingCabbage

Sorry, I posted this in software development not python. How do i make an auto-incrementing column? Heres my pseudocode/sql attempt c.execute('''CREATE TABLE <tableName> ( <columnName> <auto incrementing??!!>, <columnName2> text, <columnName3> text, <columnName4> text ) ''')

Software Development python sqlite
Member Avatar for vegaseat
0
615
Member Avatar for cambalinho

template <typename a, typename ... b> class events { public: typedef std::function<void( a arg, b ... argx)> OnSomethingHandler; events(OnSomethingHandler Handler) { handlers_.push_back(Handler); } void operator ()() { for(auto i = handlers_.begin(); i != handlers_.end(); ++i) (*i)(); } private: std::vector<OnSomethingHandler> handlers_; void AddHandler(OnSomethingHandler Handler) { handlers_.push_back(Handler); } void TriggerEvents() { for(auto …

Software Development c c# c++
Member Avatar for cambalinho
0
794
Member Avatar for mavtcr

I want to format today's date like this dd/mm/yyyy Please help me

Software Development vb.net
Member Avatar for G_Waddell
0
969
Member Avatar for castajiz_2

for (;n!=0;n/=10) { do something till n==0; } Is this something like a while loop or do while loop or some kind of imitation?

Software Development
Member Avatar for Ketsuekiame
-1
173
Member Avatar for Darkicon

I have a slightly malfunctioning mouse. My problem is that when my computer wakes up, often my mouse stops working. The light remains on and all buttons work but I cannot move my mouse until I unplug it and plug it back in. I've written programs to fix strange issues …

Software Development vb.net
Member Avatar for Darkicon
0
226

The End.