75 Topics

Member Avatar for
Member Avatar for misstj555

Hi. I am attempting to make a GUI program as a personal project in C++ using visual studio. This is what the program does: If you run the program at 2:30pm, the program will check off a box that says "you are in hour two" (because the hour of the …

0
921
Member Avatar for amvx86

Hey everyone, I'm looking to add a block / function within a C++ application that will search for open windows. For instance, wordpad and notepad. If either are open perform an action. I'm doing this within win32 API but my question is this. If I create something as such, this …

Member Avatar for rproffitt
0
606
Member Avatar for tnd2491

for (UINT wCount = 0; wCount < pMan->aAccounts.wNumItems; wCount++) { CUserAccount *pAccount = (CUserAccount *)pMan->aAccounts.aItems.GetAt(wCount); if (pAccount->csProfileName.Compare(pGroup->csProfileName) == 0 || pAccount->csSingleActive.Compare(pGroup->csName) == 0) { if (pAccount->_csUserGroup.CompareNoCase(_T("GrpAdmin")) != 0 && pAccount->_csUserGroup.CompareNoCase(_T("GrpOffice")) != 0) { pAccount->pFuncRestrictions->SetRestriction(Area1, Activity1); pAccount->pFuncRestrictions->SetRestriction(Area2, Activity2); pAccount->pFuncRestrictions->SetRestriction(Area3, Activity3); pAccount->CreateInDatabase(pConnec); } } } Here, my code is calling CreateInDatabase twice …

Member Avatar for tinstaafl
0
321
Member Avatar for team_ferrari22
Member Avatar for senadfok
0
175
Member Avatar for dshiells

Hi, In Windows 7 (and possibly older, can't remember off the top of my head), you can select which icons appear in your taskbar and which ones are only visible if you click the up arrow. Is there a way to set this default programatically? If it's relevant, my current …

0
147
Member Avatar for anuran

i'm trying to create a splitmenu but haven't found any tutorial, i would like to know after creating a splitmenu button with createwindow function, how to populate the menu and what will be the change in switch case of callback function?

Member Avatar for Ancient Dragon
0
326
Member Avatar for anuran

im using this code to send strings to serial port but this is very slow,the other end of communciation arduino board is not able to get those strings at realtime,how can i fasten this communication? there is no problem in arduino board or arduino code,it works fine for its sample …

Member Avatar for anuran
0
321
Member Avatar for sharath27

In my project I've 8 edit boxes and i need to set each box with different font. But my code is setting all the boxes single font.. So how can i modify it?? void CTrail3Dlg::OnBnClickedButton1() { UpdateData(TRUE); CFontDialog dlg; // get font for current dialog, just to fill in LOGFONT …

Member Avatar for Ancient Dragon
0
255
Member Avatar for anuran
Member Avatar for anuran

im using this code to send strings to serial port but this is very slow,the other end of communciation arduino board is not able to get those strings at realtime,how can i fasten this communication? there is no problem in arduino board or arduino code,it works fine for its sample …

Member Avatar for Ancient Dragon
0
319
Member Avatar for cool_zephyr

hello everyone..i've vs2010 in my system..and i'm trying to build a simple web browser using webkit..could anyone please tell me what do i need to install to be able to work on vs2010?? and a simple demo code about how to use the webkit sdk..i've searched a lot on google..but …

Member Avatar for cool_zephyr
0
497
Member Avatar for MrEARTHSHAcKER

Hi, Can you tell me how can I make my application recognizes when the user presses a button on keyboard? *For example*: presses 'S', application prints "Hello.". I need this information for BorlandC++, but it would be useful even though you provide the same for VC++ :) *(I am not …

Member Avatar for triumphost
0
328
Member Avatar for cent91

hello everyone. i am at such a stage where i need to make a decision. i have gained enough basic programming skills withn c++ and now i want to start with something a little professional. i dont like web programming and i would love to do system programming or game …

Member Avatar for thines01
0
612
Member Avatar for f4fjks

hi guys! today i tried file writing through VC++ 2010. suddenly a point stroke in my mind to create a file which may not be read by notepad or it gives error or some wrong output as it is mostly seen on opening a pdf file in notepad. for this …

Member Avatar for NathanOliver
0
234
Member Avatar for PrimePackster

Problem: "Error highlighting on the go" not working (Syntax, Semantic & Type errors). IDE: Microsoft VC++ 2010 Express Edition + MSQL Basic. So far: Googled & Went through options in Options>>Text Editor>>C/C++>>Advanced. So please help me.... How can i turn it back on???

Member Avatar for Ancient Dragon
0
170
Member Avatar for anuj.juthani

i have a combo box control in a INTERNET EXPLORER TOOLBAR. the backspace key of keyboard works fine if this combobox is made dropdown enabled But if i disable the drop down feature of this combo box then backspace doesn't work . Moreover if i add a EDIT CONTROL instead …

0
112
Member Avatar for nuclear

I'm trying to use Box2D lib with SDL lib. NOTE that I only get the errors below after I link in SDL too. I think i link everything accordingly but in the end when I write up some code i get errors like: 1>------ Build started: Project: box2d test2, Configuration: …

Member Avatar for Ab000dy_85
0
534
Member Avatar for sathya88

difference between setdialogitemtext and update data??? in mFC VC++ application; both way we changing item values.. in some app one working another not working.. ex modal dialog update data not working.. any body explain???

Member Avatar for thines01
0
184
Member Avatar for sathya88

am want to develop a file transfer program in vc++.. normal text file it is possible.. but is it can read for multimedia file.... like java here byte read is possible...

Member Avatar for sathya88
0
143
Member Avatar for paulmcco

Hello, I have what seems to be a very common problem but after doing much research and trying to fix myself, I am unable to resolve the issue. I receive the following error when compiling my win32, directx 9 program: e:\...\game.cpp(228) : fatal error C1004: unexpected end-of-file found I receive …

Member Avatar for nezachem
0
418
Member Avatar for Basteon

So, I need to make a program that draws a [URL="http://en.wikipedia.org/wiki/Automata_theory"]finite automata[/URL] from the input data. I had some experience with the [I]graphics.h[/I] header but as far as I know it's a Borland only header and VC++ doesn't support it. So I was wondering, is there a way to draw …

Member Avatar for sathishraji
0
1K
Member Avatar for v3ga

Hi everyone just started Daniweb! I have been using devcpp for some time.I am trying to make a switch from DevCpp to Visual Studio but find the latter confusing having so many options. Recently, I did a console application that will accept a word from user and prints its anagrams. …

Member Avatar for v3ga
0
258
Member Avatar for cent91

i have a code that uploads a file to ftp. i want it to add an exception in firewall when it executes so that the firewall doesnot request the user for permissions. i know how to add a registry entry but i dont know how to add a firewall exception …

Member Avatar for Satyrn
0
461
Member Avatar for cent91

i wanna use the Sleep fucntion in a CLR vc++ app, if i include windows.h it gives a huge list of errors, if i use _sleep() then it dowsnot work at many systems since its obslete. what should i do? i am bound to use CLR bcoz my code uses …

Member Avatar for cent91
0
388
Member Avatar for IndianaRonaldo

hi all guys, I have just started CURL programming in vc++.But I don't have a good place to start reading more about it.I do understand the basics of it,but I want a procedural tutorial to learn more about it. Is there any proper site to learn from basics to higher …

Member Avatar for IndianaRonaldo
0
185
Member Avatar for IndianaRonaldo

VC++ 10 gives error when libraries and headers related to libcurl are added to project.Even if curl.h is not included in the code, C2065 undeclared identifier _SH_DENYNO //this is in xiosbase... the above error comes. Is there a problem as there is no libcurl version for vc++ 10? ....libcurl works …

Member Avatar for raptr_dflo
0
251
Member Avatar for IndianaRonaldo

[CODE] #include "stdafx.h" #include<iostream> #include<string.h> #include<fstream> #include<stdio.h> #include<cstdio> #include<curl\curl.h> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { return 0; } void main() { int p; CURL* curl; curl=curl_easy_init(); }[/CODE] The above is my code and I am trying to compile it in vc++ 10.But the error is: error LNK2019: …

Member Avatar for vijayan121
0
324
Member Avatar for IndianaRonaldo

I want to learn basic web query vc++.I googled around and found that libcurl was the library needed.I have downloaded the necessary files from curl.haxx.se .I do not know how to use these files and make the actual header file and then actually include it in my project. Any help …

Member Avatar for Ancient Dragon
0
187
Member Avatar for IndianaRonaldo

Hi, I made a program that lists all possible anagrams of a word.Now I'd like to include anagrams of subsets of letters in the word.I have the code for making the subsets also now.But i do not want merge them as a single code.So I'd like to know if there …

Member Avatar for thines01
0
207
Member Avatar for becool007

Hello DaniWeb :) For very long I've wanted to develop and venture into the Win32 API and make programs like I find on the internet. Show the world my creativity. I made a simple calculator with a GUI and Menu bar from scratch. I was proud but I was shattered …

Member Avatar for Frederick2
0
299

The End.