Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Rmck87
  • Content: Threads
  • Order by date
  1. Rmck87

    How to get tab character (\t) to work in MFC?

    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...
  2. Rmck87

    Convert CString to unsigned short in MFC?

    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"...
  3. Rmck87

    Convert CString to unsigned short in MFC?

    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"...
  4. Rmck87

    Using PlaySound in MFC? Possible???

    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...
  5. Rmck87

    Run an application from inside another in MFC

    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.
  6. Rmck87

    Determine if external application is running in MFC

    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...
  7. Rmck87

    Submitting results from text boxes to table in Database

    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...
  8. Rmck87

    Using 'Format' in a query....

    This is what i want to use in a SQL Server Query: Format([p.date_start],&quot;mmmm&quot;) 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...
  9. Rmck87

    alright, here is my problem. I have

    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...
  10. Rmck87

    Using IIF function without aggregates. . . Possible?

    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 <> &quot;F&quot; . But, if pm.pm_billing_method_id = &quot;F&quot; then i want to just bring the straight value of...
  11. Rmck87

    Error with my combo box and using mouse over event

    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...
  12. Rmck87

    Setting the rowsource of a cbo with months instead of dates.

    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],'&quot; & mmmm & &quot;') 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...
  13. Rmck87

    Personalizing the Form any tips????

    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...
  14. Rmck87

    Should this be done as a subquery or how else should i do this?

    I have a table with these columns in it that i need: Time_Entry Hours_Actual Billable_Flag Date_Start 4.0 0 7/30/2002 .25 -1 12/11/2002 8.0 -1...
  15. Rmck87

    Should this be done as a subquery or how else should i do this?

    I have a table with these columns in it that i need: Time_Entry Hours_Actual Billable_Flag Date_Start 4.0 0 7/30/2002 .25 -1 12/11/2002 8.0 -1...
  16. Rmck87

    Need way around using Distinct with Aggregate function in Access 2000

    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...
  17. Rmck87

    Can i have 'Sum(Distinct table.fldname)' in a query?????

    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...
  18. Rmck87

    Save As msgbox after Query is run????/

    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...
  19. Rmck87

    Open a query, run in acces, in Excell

    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...
  20. Rmck87

    Using Right and Left Joins in Access 2000

    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...

Part and Inventory Search

Back
Top