Recent content by sweetjones
-
S
C# Loops to compare many rows between 2 worksheets in C#?
Hello All, I took it upon myself to create a tool for my job that xref 2 excel worksheets on 2 different workbooks. Customers send us parts and they're wanting the leadtimes for them. We have a weekly report that has all part numbers with their leadtimes. My goal is to create a GUI in C# that...- sweetjones
- Thread
- C++ Compare Loops
- Replies: 3
- Forum: Programming and Computer Science
-
S
C/C++ Is it possible to create a C++/C# app for monitoring CPU temperature?
Hi All, I have done a lot of searching and it seems like a lot of people ask this same question but no real answers. I'm wanting to create an app that reads the cpu temp constantly. I want to create this in a windows form gui, but since this information is so scarce i'll settle for a console...- sweetjones
- Thread
- App cpu
- Replies: 1
- Forum: Programming and Computer Science
-
S
Delete a specific number from beginning of string of numbers
WOW! Yours is much safer than my messy junk, as mXSCNT pointed out. I will try to implement your example instead since my original datatype is a string, well a CString. The way i was doing it, was making me convert a CString to char. So I like your method better. Thank you all for your input...- sweetjones
- Post #8
- Forum: Programming and Computer Science
-
S
Delete a specific number from beginning of string of numbers
Yeah i noticed that, but the way this little piece of code is going to be used is in 4 limited numeric textboxes. The user won't be able to input no more than 9 numeric characters. Of course I will be doing a lot of testing, since this is will be used in a calculator. thank you for your reply. i...- sweetjones
- Post #7
- Forum: Programming and Computer Science
-
S
Delete a specific number from beginning of string of numbers
For those of you who has the same problem I had, here is the solution I came up with: #include "stdafx.h" #include <iostream> #include "conio.h" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char num[9]; cin >> num; if(num[0] == '0') { for(int i = 0...- sweetjones
- Post #4
- Forum: Programming and Computer Science
-
S
Delete a specific number from beginning of string of numbers
Thanks for the pseudo Code, but that's about all I have done so far. I can't seem to figure this out. I am sure I would need something like a 'for loop' for an array, but what function is able to delete a specific digit in a specific position? PLEASE SOMEONE HELP!- sweetjones
- Post #3
- Forum: Programming and Computer Science
-
S
Delete a specific number from beginning of string of numbers
I am creating a calculator and have 4 textboxes. I need to know what functions I need to delete the number '0' from a string of numbers such as, "0852" so it can look like "852." My goal is for the program to check the user input after the user has pressed the 'enter' button to go to the next...- sweetjones
- Thread
- Beginning Delete Numbers Specific String
- Replies: 8
- Forum: Programming and Computer Science
-
S
How to Implement Automatic Update Checks in MFC Applications?
I have a dialog-based application in MFC, and I was wondering what class or component do I need to implement in the app to check for new updates? For example, on start-up have the app check for a new update from a designated website. I am using VSC++2005. Let me know if you need more info or a...- sweetjones
- Thread
- Automatic
- Replies: 1
- Forum: Programming and Computer Science
-
S
WM_LBUTTONDOWN for edit controls?
Hi, I have 4 edit control boxes that I need to except the WM_LBUTTONDOWN message to set focus to them when clicked with the mouse. I have the setfocus events working perfectly. I even manipulated the OnOK override event with the "Enter" key to go to the next edit control box when pressed and...- sweetjones
- Thread
- Controls Edit
- Replies: 1
- Forum: Programming and Computer Science
-
S
Access members of another class?
I figured out my problem. I was using the wrong *pointer object.- sweetjones
- Post #2
- Forum: Programming and Computer Science
-
S
Access members of another class?
I'm using VS C++ 2005 in MFC, and I'm trying to access a member of another class. I'll try and make this as short as possible and still give the whole picture of what I am trying to do. I created a SDI with the CFormView Class. I have a dialog with an edit control box with a CString...- sweetjones
- Thread
- Class Members
- Replies: 1
- Forum: Programming and Computer Science
-
S
Toolbar capabilty in dialog window?
Great point! Thankx for the help and reference once again.- sweetjones
- Post #5
- Forum: Programming and Computer Science
-
S
Toolbar capabilty in dialog window?
I meant toolbars. I am going to have to print something from an edit control so I'm going to need a print function. I want a system menu option, which I can figure out how to insert, and I want a toolbar, which I cannot figure out how to insert. I'll take a look at the link you provided. Thanx...- sweetjones
- Post #3
- Forum: Programming and Computer Science
-
S
Toolbar capabilty in dialog window?
I've searched this sight but to no avail. I am wondering how can i implement printing capabilty in my MFC dialog window. I've tried creating a SDI with the CFormView Class, but there is no printing support that way. If I try to make a Dialog-Based Application the "Standard Toolbar" option cannot...- sweetjones
- Thread
- Window
- Replies: 5
- Forum: Programming and Computer Science
-
S
Why can't i sent parameters to an IDC(I.D. Control)
Ok! I think I know what you mean. I tried that before, but I think I put in the wrong function call. I'll try it again your way. I would have move some things around to get the right results, though. I'll keep you posted. Thanks for your help.- sweetjones
- Post #3
- Forum: Programming and Computer Science