Ok, so I have been trying to get a tab in a CString of an edit control, but no matter what method I use, I get the little square character that appears instead. What's going on? How do I get a tab?
Of course I have tried using \t in my CString, and I have tried other things as well. I have...
Hello, I am attempting to convert a CString variable (strTemp, which is coming from an edit control) into a WORD (m_cmd, aka unsigned short). I have been trying to figure this out for over a week now and have come to nothing.
I am familiar with sscanf and was using:
sscanf_s(strTemp, "%x"...
Hello, I am attempting to convert a CString variable (strTemp, which is coming from an edit control) into a WORD (m_cmd, aka unsigned short). I have been trying to figure this out for over a week now and have come to nothing.
I am familiar with sscanf and was using:
sscanf_s(strTemp, "%x"...
Hello, I would like to play a wav file whenever I press a button in a dialog-based MFC Application. So, I have used this code in my include block:
#pragma comment(lib, "Winmm.lib")
#include <Mmsystem.h>
...
and this code to play the file:
if (!PlaySound("C:\\...filename...\\song.wav, NULL...
I'm trying to run another application(app1) I have written from inside app2. how do I do that using MFC in C++???
One Ring to Rule Them All, One Ring to Find Them, One Ring to Bring Them All, and in the Darkness Bind Them.
Hi, I'm programming with C++ using a dialog-based MFC application. I need to create a program with a button that when pressed, will tell me if another application is currently running. I'm not sure if there is a function to use to figure this out or not. But, I was reading something that said...
Hi there. I want to create a page that when the user inputs values into the text boxes and hits submits, the results go straight into a table in a database, so that I can read them later. If anyone could help me with this, that would be great. Thanks in advance.
One Ring to Rule Them All, One...
This is what i want to use in a SQL Server Query:
Format([p.date_start],"mmmm")
But, it says that 'Format' is an invalid function, i have used this function in Access Queries before, and it works fine, what function do i use instead of 'Format'? ? ? anyone know? Thanks alot.
-Ryan...
alright, here is my problem. I have a fairly large query that i am running. It has an IIF statement in it, and if the statement is true then it will print a column from another query, if it is false, then it will print a column from a query. The problem is that whenever i print the column from...
i want to use the IIF function without the aggregate in my query, so i can accomplish this. I want to get the sum of b.hourly_rate*e.hours_actual if pm.pm_billing_method_id <> "F" . But, if pm.pm_billing_method_id = "F" then i want to just bring the straight value of...
I have a combo box that brings up the projects that were worked on. But, whenever i put this code in to show that the user is hovering over the combo it doesn't let me select the combo drop down arrow. Whenever i select it, the drop down box comes up, but doesnt stay dropped down. Why not? Heres...
Alright this is the code that i am using to convert the numerical date to the text month of a column in table p.
Format([p.date_start],'" & mmmm & "')
But, whenever i try using this same code to set the Row source for a combo box so i get the months to come up, it seems to have a...
I was wondering if anyone had any tips for me. I have a form with some combo boxes, and option groups, and one button. Are there any tips that anyone has for me to make my form look appealing? I have a company logo that i would like to put on the form, does anyone know if i can manually paste...
I have seen a thread with this same problem, but it hasn't helped me at all, and i was wondering if anyone could help me with this.... I need to get the Sum(Distinct e.hours_actual) But this doesn't work, and it is because distinct cannot be used with an aggregate function in JET SQL. So, is...
Alright i am trying to create a query in Microsoft Access 2000. The query i want to create is to sum up all of the hours for a specific time period. It works fine, but the hours are huge. I found the problem, i was debugging in the SQL Server Query Analyzer and i found that i needed to place a...
Alright, i have a form that has option groups and comboboxes on the same form. It also has a search button on it. Whenever the search button is selected a query is run that selects records that correspond with the users selections in the comboboxes, and option groups. The question is: Whenever...
Ok, i have a form that on the users selections runs and creates a query. Then it saves it. Then what i want to be able to do. Is when the user opens Excell he/she should be able to open the Query that was saved before in access. If anyone knows how to do this please let me know. Or if i am in...
Whenever i try to use a right and left join in Microsoft Access 2000. The access message box comes up saying. 'Join Expression Not Supported' Does this mean that i cannot use right and left joins? If so, what else can i use? Because i need to use it to connect specific tables and fields...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.