Type: Posts; User: Arjay
Search took 0.20 seconds.
Rather than coding a .net ASP web app, I would start with an MVC/Razor 5 application. You'll see this option as a new project (not a new web project).
January 23rd, 2015, 03:52 PM
From the docs "To stop the local computer from shutting down, the calling process must have the SE_SHUTDOWN_NAME privilege. To stop a remote computer from shutting down, the calling process must have...
January 23rd, 2015, 02:59 PM
No need to bump your posts. That being said, search bing or google for examples on using SendInput.
Learn how to send simple characters to a window like notepad. Next, form a complex input (like...
January 23rd, 2015, 02:55 PM
I'm wondering about the whole writing your own string class, but using other parts of the std library.
January 23rd, 2015, 02:00 PM
Most likely, your connection string is invalid. This doesn't look like it's valid:
ConnString = "SERVER='MYSQL5002.Smarterasp.net';UID=USERID;pwd='PASSWORD';database='DATABASE';"
Is USERID a...
January 22nd, 2015, 05:35 PM
Search bing or google for "SendInput function examples"
January 22nd, 2015, 04:49 PM
See SendInput function in msdn.
January 22nd, 2015, 12:49 PM
It isn't about questioning your skills - it's about trying to help you solve the problem. If we understand what you are attempting to do in more detail, we might be able to help you solve it in a...
January 21st, 2015, 05:32 PM
Got it. It actually asks the user a bit more - namely to create an analog clock with movable hands. Do you think it's a bit of a stretch for someone learning C++ to pick up UI programming and be...
January 21st, 2015, 04:45 PM
I don't mean to sound flip, but why would you care?
I say this because unless you are trying to automate the app, having to determine which window is on top could be an indication of a design flaw.
January 21st, 2015, 04:42 PM
Unfortunately, I didn't have time to read through the book.
As I suggested earlier, maybe it's time to get this working without the analog clock if the goal is to learn about clock and sleep.
January 21st, 2015, 03:41 PM
Reduce the sleep time and pump messages inside the loop. Use a timer. Use a thread. Handle onIdle processing. Lot's of ways to skin this cat.
January 21st, 2015, 02:32 PM
Fantastic. The OP probably needs to jump back a few chapters to get how to use the graphics library.
January 21st, 2015, 01:27 PM
One problem that we have (without reading the whole book) is knowing what type of sample code is included in the book. So when exercise 6) states: 'Make an "analog clock," that is, a clock with...
January 21st, 2015, 01:07 PM
You don't link them per se, but what you do is make the data available across processes (search bing or google on "interprocess communication" for the several different approaches to passing data...
January 20th, 2015, 08:56 PM
I've discovered that 32-bit dlls may not show up on a 64-bit system (providing you are running a 32-bit app on a 64-bit system). If this is the case, run the ListDlls tool from here:...
January 20th, 2015, 04:55 PM
Since this thread is nearly 15 years ago, you may want to start out by posting a new thread with the relevant details. What the problem is? What OS are you running on? What compiler, etc.?
January 20th, 2015, 04:53 PM
I've looked at the code and see where you've added the two functions.
Are you sure the value is getting set? In other words, are the DoCallback and SDKGauge_DispatchProcDLL functions getting...
January 20th, 2015, 01:48 AM
As we've discussed before, be careful with calling SendMessage from a worker thread. One reason not to do it is because, unlike PostMessage, SendMessage is synchronous, so if the main thread is hung,...
January 20th, 2015, 01:33 AM
Port the classes that are used by other classes starting with the classes that do not have any dependencies and then work your way out.
January 20th, 2015, 12:28 AM
WCF doesn't care that it's hosted in a console.
Code that runs an LDAP query doesn't care if it's executed within WCF (as long as the process hosting WCF has permission to run the LDAP query).
January 19th, 2015, 07:34 PM
The library you are using is creating a Windows GUI app under the covers in spite of you simply declaring a class and calling a method in the main() function.
Given that this is now a Windows app,...
January 19th, 2015, 07:08 PM
What hosts the WCF service is something called the ServiceHost class. To do this inside your existing WCF Service library solution, you simply add a new project (i.e console project) to your...
January 19th, 2015, 06:57 PM
Instead of declaring the motor as an object, declare it as an interface.
public class Motor
private string _version;
public void InitMotor(string version)
January 18th, 2015, 10:00 PM
Assuming that first is a string variable, the for loop gains nothing.
Just code it as..
newStr = first.replace ("*", second);
Notice "*" is used rather than '*'.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.