Type: Posts; User: Arjay
Search took 0.17 seconds.
Check how XmlLite is loading the file. Is it being loaded for exclusive access? If so, copy the file before loading it.
Or you can mount it to a drive and install from there.
September 20th, 2014, 01:59 AM
It may not be your code, but more of your data within the table dbo_TABHD. Your destination table expects a date that has a certain range of values. Check the source data to make sure the dates...
September 20th, 2014, 01:55 AM
Generally for a point class, two classes are considered equal if their x and y values are the same. For the object overload, (in Java), the object type probably is checked if it is of type Point...
September 20th, 2014, 01:48 AM
Yes, that code can definitely be cleaned up.
September 19th, 2014, 01:24 PM
Another consideration is where these apps will be used. Are they only used within a corporation? If so, would a web app be appropriate or do they need they need to interact with the hardware on the...
September 19th, 2014, 11:37 AM
Btw, to help reduce the number of calculations, I would keep the widths and heights of the buttons constant. I would make constant variables for the button widths and heights and use the ratios...
September 19th, 2014, 11:29 AM
The positions should end up close enough using ratios. Otherwise it would be a nightmare to maintain a table of possible resolutions.
To figure out the ratio, start by doing this for one button...
September 17th, 2014, 06:53 PM
You need to set your values based on a percentage of the screen size rather than hardcoded values.
So rather than a button starting from x pixels from the left you need to start the button x...
September 17th, 2014, 02:32 PM
Please format your code with code tags
sMsg = sMsg + acol.ColumnName + ": " + arrow[acol.Ordinal].ToString + "\r\n";
September 17th, 2014, 12:23 PM
Okay. To make this program more interesting, I would make it data driven - that is, store the 'links' to the program in a local database.
You would provide some base programs and give the user...
September 16th, 2014, 11:55 AM
Can you summarize what the program does and the benefits to the user?
September 16th, 2014, 11:52 AM
I did a bing search for "Post parameters to RestClient" and came up with.
September 15th, 2014, 11:52 PM
Try setting the SplitterDistance property after setting the Width property.
September 15th, 2014, 09:38 PM
Looks like the x86 installer detected the 64-bit system and installed the 64-bit version. If it had installed the 32-bit version, it would have installed to C:\Program Files (x86)\etc, not...
September 15th, 2014, 09:31 PM
Set a breakpoint on where you save and load the value and debug it to find out what's going on.
September 15th, 2014, 05:11 PM
Yes, as semaphores aren't tied to threads.
September 15th, 2014, 05:08 PM
Definitely not Notepad.
You can get the Visual Studio 2013 Express version from Microsoft for free:
Microsoft Visual Studio Express 2013 with Update 3 for Windows Desktop
It includes an...
September 15th, 2014, 05:01 PM
How about debug it?
For example, put a breakpoint on the Enable call.
void CDummyView::OnUpdateMenuItem2(CCmdUI* pCmdUI)
September 15th, 2014, 01:18 PM
September 15th, 2014, 01:16 PM
As far as I remember, you can use ON_UPDATE_COMMAND_UI_RANGE even if your menu items are consecutive (as long as they are contained within the range). I believe the menu id gets passed to the range...
September 15th, 2014, 01:12 PM
Since the menu strip is a container that takes different types of items, you need to cast Items to ToolStripMenuItem to access the DropDownItems list.
foreach (var item in...
September 15th, 2014, 12:01 PM
foreach (var item in cms.Items.DropDownItems)
September 15th, 2014, 11:57 AM
You need to get the root menus from the main frame via AfxGetMainWnd and locate the menu you want to manipulate.
September 14th, 2014, 11:10 PM
In the foreach loop, change cms.Items to cms.Items
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.