Type: Posts; User: Craig Gemmill
Search took 0.11 seconds.
Here is a quick example that should give some insight:
Private Sub LoadDataToListview()
Dim filePath As String = "C:\myfile.txt"
Dim streamReader As New...
You're likely going to have to use either Integer or IntPtr in the place of any Long data types.
This can essentially be a guessing game without full documentation. Based on the names of the...
I see you mention performance, but I don't really see how LINQ could be quicker in this case. A loop will almost always give significantly better performance when compared to a LINQ method.
This could really be anywhere in that code, but based on your testing I'm going to say that it's a x86/x64 issue.
Try changing the build platform to x86.
Right click on the solution, select...
Don't know if you're still working on this, but you would want to look at dynamically loading the dll's.
See the links below:
September 25th, 2013, 06:31 PM
Post your code and where the error is encountered. Are you sure the first client is successfully receiving the data?
September 24th, 2013, 04:08 PM
There is still some ambiguity here, but let me try to point you in the right direction:
1) Globally, this is possible using "Reflection", but you shouldn't do this. It's a very resource expensive...
September 24th, 2013, 03:11 PM
I'm sure what you want to do is possible, but you leave some of the context open for interpretation, so we need to clarify some things.
Let's start by getting a better understanding of what you...
September 24th, 2013, 02:31 PM
Assuming that the packets are flowing ok to the first client without issue, then the issue is most likely caused by trying to re-use an open connection. You need to close the connection before...
February 27th, 2012, 11:45 AM
Ok, so you don't have a problem with non-pnp devices, you just don't have the NO_SHOW_IN_DM flag available...
Like I mentioned before, just hide devices with the "LegacyDriver" flag on. Using the...
February 27th, 2012, 08:34 AM
What happens (contrarily) when you call CM_Get_DevNode_Status on a non-pnp device?
February 26th, 2012, 02:34 PM
It would help to know exactly how you're querying the device information, as there are a few ways to do this. Post your code if you're comfortable.
Like you said, you can look for the...
January 26th, 2012, 03:38 PM
There are a few tricks you can use to speed this up. I would start with the drawing. You can obviously gain much greater performance by using DirectX and/or WPF/WinRT, but you can also speed things...
November 22nd, 2011, 12:42 PM
I am able to get this to run. Are you absolutely certain that the target hwnd is correct and that the struct definition is identical on the native side?
At the very least, you should be seeing the...
November 19th, 2011, 06:53 PM
What immediately pops in to my head is that you should change the way that you're declaring the lpData member of CopyData, and then change the way that you pass the data along.
Declare the lpData...
November 19th, 2011, 05:51 PM
You can also look at...
October 24th, 2011, 11:59 AM
That's a pretty ambitious project, and without knowing exactly what data they're after, I'll provide these options:
- Handle the requests using precise permissions in AD. The permissions are very...
October 24th, 2011, 08:28 AM
Ok, then we need to know more details about what you're trying to accomplish. Your first post hints at the desired functionality, but itís not entirely clear what the objective is.
October 23rd, 2011, 05:35 AM
When you say listener, do you mean:
1) An external entry point for your AD services?
2) A proxy listener that redirects LDAP requests?
3) A completely new LDAP server that is not AD?
September 20th, 2011, 08:43 AM
That's usually a certificate issue.
Check the system event log on the client machine and see if there are any ssl/schannel errors.
In case these errors are being suppressed: Make sure that the...
I'm just going to spit it all out, as I don't have it cute yet:
Must be very fast and efficient with CSS.
Should also be familiar with the HTML generated from ASP.NET WebForms.
January 6th, 2011, 09:32 AM
Sounds like you may have deleted the account, although I'm not sure what version of Windows you're using, so I can't attempt to replicate.
You can try to "Copy" the profile:
1) Create a new...
December 24th, 2010, 09:12 AM
Use this tool to help you track it down:
December 21st, 2010, 09:23 AM
Make sure you're opening the full group policy, and not just the local policy:
Then, navigate to:
\Computer Configuration\Administrative Templates\Windows...
November 26th, 2010, 09:36 AM
Any event log entries?
Are your network interfaces configured correctly to work with your other network gear? Duplex, speed, teaming, etc.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.