Search:
Type: Posts; User: pebmeister
Search:
Search took 0.02 seconds.
-
April 10th, 2017, 11:47 AM
I would use a Grid. This is what they are made for
-
March 20th, 2017, 12:07 PM
also make sure in C# you use
[StructLayout(LayoutKind.Sequential)]
-
February 22nd, 2017, 03:17 PM
For starters you have
filename = @"\this is a test\";
and
string test = @"/this is a test/";
2nd why are you using slashes unless you have a reason for them. They are not needed.
...
-
January 13th, 2017, 11:22 AM
Run your program in the debugger and break when the dialog appears. This will show you where you need to change your code to use the above code
-
January 12th, 2017, 02:42 PM
You can not modify the GUI from a outside the GUI thread.
You need to do something like this on WPF
/// <summary>
/// Execute an action in a GUI thread
///...
-
January 4th, 2017, 03:34 PM
https://en.code-bude.net/2013/10/17/qrcoder-an-open-source-qr-code-generator-implementation-in-csharp/
-
September 30th, 2016, 02:08 PM
FYI you print chocolate is 4.72 but charge 4.7. Customers wont like that.
-
September 30th, 2016, 02:00 PM
You are looking for Math.Round
Console.WriteLine("chocolate – $4.72 / lb jellybellies – $5.75 / lb " +
"lollipop - $.57 ea. gummy bears – $5.25/lb " +
...
-
September 2nd, 2016, 09:22 AM
TVINSERTSTRUCT tvInsert = { 0 };
tvInsert.hParent = TVI_ROOT;
tvInsert.hInsertAfter = NULL;
tvInsert.item.mask = TVIF_TEXT;
tvInsert.item.pszText = _T("Item Text");
HTREEITEM...
-
July 29th, 2016, 03:22 PM
You should probably do your homework assignment.
You are asking us to write the whole thing for you.
-
June 23rd, 2016, 06:49 PM
I use LINQ on lists and XML, not sure how to use it on a database query.
-
June 23rd, 2016, 05:58 PM
Hello,
I have a scrabble dictionary database. Originally I had the data in XML. I have moved the data to a SQLCe data base. When it was XML I used the following code to query based on the count...
-
I would bind the Text to a property and bind the Background to a property
<Window x:Class="WpfApplication1.MainWindow"
...
-
April 3rd, 2016, 06:59 PM
Thanks. I did get it to work using c++11
#include <cmath>
#include <iostream>
#include <thread>
#include <fstream>
#include <chrono>
-
April 3rd, 2016, 02:09 PM
I have written a Windows console app that uses some windows APIs.
Specifically it uses threads (CreateThread, ResumeThread) and signaling(WaitForMulipleObjects, WaitForSingleObject).
The program...
-
December 24th, 2015, 04:30 PM
FORCED UPGRADE?
What nonsense. Why should someone be forced to upgrade.
Microsoft's arrogance is amazing
Like I said I consider it malware and adware. I have stopped this on my machine
-
December 23rd, 2015, 01:42 PM
I use ReSharper. https://www.jetbrains.com/resharper/
-
December 10th, 2015, 12:41 PM
FYI Mike there are ways ways to remove this horrible built in ad to upgrade to 10. I consider it *malware*.
I am extremely pissed off and many others are to because of this. Good way to push...
-
December 10th, 2015, 11:08 AM
An array starts at 0 index.
So it looks like
double highest = iArray[filename.Length];
should be
-
December 10th, 2015, 11:01 AM
Can you post the code in your worker thread and how its called? I can debug Background worker threads in VS2015. Make sure your main thread in not in a tight loop.
-
December 4th, 2015, 10:23 AM
I changed it slightly and now I get no warnings.
/// <summary>
/// create Operator parnode
/// </summary>
/// <param name="oper">The operator.</param>
/// <param name="nops">The number of...
-
December 3rd, 2015, 10:52 AM
Wow found the real problem
[code]
size = nops * sizeof(parseNodePtr);
[code]
should be
[code]
size = nops * sizeof(parseNode);
[code]
-
December 3rd, 2015, 09:59 AM
Thanks for the response. I can now see how it could be a buffer overrun.
In the practical world nops will always be 0,1 or 2
I should special case 0. I will also do a range check on nops the entry.
-
December 2nd, 2015, 03:20 PM
FYI here is the parseNode data type
typedef struct
{
int value; /* value of constant */
int IsPC; /* TRUE is value is PC */
} conParseNode;
...
-
December 2nd, 2015, 03:14 PM
Hello
I am using Visual Studio 2015 and ran Code Analysis on my solution
It gives me this warning
1>
Warning C6386 Buffer overrun while writing to 'p->op': the writable size is 'size'...
|
Click Here to Expand Forum to Full Width
|