Windows Programming - May 2017 (Page 2)

by erik85
Pass main() Commands In WinMain() Function
 
Hello everyone, I have the following: int main(int argc, char* argv ) { if (argc!=3) { exit(1); } in=fopen(argv , "rb"); if (!in) { ...
[3 replies] Last: Thanks for the responses guys. I will give these suggestions a try an... (by erik85)
WinAPI and windows 10
 
I had developed a win API application with different types of controls (windows, buttons, editbox, combobox, view lists, ...) The application was running prope...
[2 replies] Last: I've never experienced that phenonomen Ahmad, and I use all Microsoft'... (by freddie1)
Run 2 function at the same time
 
Hi, I have a problem here. I want to make a program where when I click button it appear a new window and run a function at the same time. But when I write like ...
[5 replies] Last: Why do you need a second window? You could do everything in the main ... (by Thomas1965)
Qt project & Amyuni PDFCreator
 
Hi guys, First of all I want to know you I am beginer with Qt proj. So I need to implement Amyuni PDF library to existing Qt proj. So in documentation they s...
[1 reply] : You are not accessing an activex like a standard library. See: http:/... (by coder777)
Dining Philosopher - Only Locks
 
aaaa
[1 reply] : The point of mutexes is that they protect shared resources. The only r... (by coder777)
by tom457
date /f >ping.txt
 
This is sample code in a book on the command line. I have no idea what the /f switch is doing and I cannot find anything about it online (nor in the command lin...
[1 reply] : Are you sure it's not supposed to be date / t . Without arguments th... (by Null)
by c00012
Keydown event doesn't work properly....
 
Hey guys, I'm writing a code for simple calculator to study UWP app development. I wanted to input number and operator through keyboard. Here's the code: / ...
[4 replies] Last: I am afraid not many people around here you know this stuff. Maybe try... (by Thomas1965)
by yohkot
How to print the whole listbox out in a list in a printed document in Windows Forms Application?
 
How do you print out all the items in listbox to a document, so that the items will all get in a list after each other vertically. this is my code in C++ vi...
[no replies]
by yohkot
How to print a document when i press a button in Windows Forms Application?
 
I need help in making this code which was writen i VB, into C++ in windows Forms Application. This is the following code: private: System::Void printDocum...
[2 replies] Last: I tested your code but I cannot print all the items on after the other... (by yohkot)
by yohkot
How to delete a specific text in a textbox in Windows Forms Application?
 
I need help in creating a shopping list in Windows Forms Application C++ in Visual Studio 2015. I have learned the basics about C++, but they dont seem to help ...
[3 replies] Last: Adding an item to the listbox: // add item to listbox listBo... (by Thomas1965)
by yohkot
How to make a shoppinglist using a listbox instead of a textbox in Windows Forms Application?
 
Ok if I where to use a ListBox instead of textbox then how do I then input different groseries into the listbox and then how do I specificaly delete a chosen gr...
[no replies]
by yohkot
How make a new line in textBox in Windows Forms Application?
 
I dont know how to create a shopping list in Windows Forms Application C++ in Visual Studio 2015. I have learned the basics about C++, but they dont seem to hel...
[3 replies] Last: I need help in how to delete a specific text in my shoppinglist. I kno... (by yohkot)
by Marth
Finding an unknown path
 
There's a few files i need to get to from a game's dir that has more than one version and there's no telling which path the user installed the program to. My...
[3 replies] Last: a really lazy way could just let windows do the work... system("dir /... (by jonnin)
Quicksorting with Recursion
 
This program uses recursion in order to quickly sort an array of integers. The program sorts the integers but I'm unsure if it was done correctly due to it not ...
[no replies]
Need help with C++ functions and classes code!
 
Hi, I am an EXTREME beginner in C++ programming and I wish for some help on where to start for my code for my program assignment. I will post the code in anothe...
[4 replies] Last: Okay, that works great! Although there are a few things I wish to add/... (by Sir Cumference)
Is it possible to install Visual Studio on an externa HD?
 
Hi all, I am asking this because I think it could a useful thing for everybody. It could be interesting to know (if possible) how to install a Visual Studio 2...
[1 reply] : You can install VS to an external hard drive, but you're not going to ... (by AbstractionAnon)
Excel Automation - Using Goto() Method
 
I want to put specific cell top left of worksheet through moving scrolls. So I searched, in some VBA document, found _Application::Goto() Method. But I don't kn...
[2 replies] Last: Thank you for your kind reply. Now I finally know the reason why I mes... (by furthest90)
by Rob190
ofstream: overwriting files gives inconsistent results.
 
Not sure if this is the right forum for what could be a windows bug. Running the following code compiled with VC14 and running on windows 10 gives different re...
[4 replies] Last: More info: The correct result is produced on windows 7. Compiling fo... (by Rob190)
Yahoo add-on to interface with Windows
 
Hello everyone I'm looking for some opinions/advice. I have to be awake long hours and I use yahoo messenger to keep in touch with both friends and business con...
[no replies]
how to directly store cmd/prompt outputs to a variable without creating file??
 
I'm new here so forgive me if I post my question in the wrong place. Part of one of my programs filters the CMD output of "netsh wlan show networks bssid" into ...
[1 reply] : How might one go about trying something like ... string cmd_output =... (by Cubbi)
May 2017 Pages: 12
  Archived months: [apr2017] [jun2017]

This is an archived page. To post a new message, go to the current page.