|
Hi,
How can i get the list of dhcp clients.
Tried using DhcpEnumSubnetClients() butwas not able to get that. The API return success but the DHCP_RESUME_HANDLE is always 0 and it didn't return any client.
cheers
Ganesh
"A winner is not one who never fails...but the one who never quits"
|
|
|
|
|
Hi Ganesh!
Any success in getting the Subnet Clients? I'm also facing the same problem i.e; no error but I get 0 clients. I've used DhcpEnumSubnets and DhcpGetSubnetInfo successfully but DhcpEnumSubnetClients isn't returning me the results.
I'd really appreciate if you share the solution if you've got it working.
Thanks.
Zeeshan.
Nature coded us,
we code things for us...
Zee_Zee
|
|
|
|
|
Hi
I am trying to use a propertygrid in my project, but I am facing an issue, where I need to get the collection of griditems, which are defined for my propertygrid in order to populate data within the propertygrid. As I see it you can get the selected Griditem, but not all griditems or ? Does anybody has an idea on how to get the collection ?
Many thanks in advance
Best regards
Jakob
|
|
|
|
|
Hi
For thoose interested the issue is solved. Use the selectedItem event on the propertygrid, which will give use a griditem object, this griditem object has a property called parent, which also is a griditem. From this parent griditem it is possible to get the GridItemCollection.
Jakob
|
|
|
|
|
Hi,
I have a program called little registry cleaner. I currently have a bug in the program that is being a pain in the behind. I have had a couple of people using Windows XP that are saying the activex/com scanner is causing the program to suddenly crash and not display anything. I have searched all over msdn and google for a fix to this problem but I cant find anything nor am I able to reproduce it. It looks like its a stack overflow and is caused when it calls CLSIDFromProgID. I have included the crash log that I was able to obtain.
Bug: https://bugs.launchpad.net/lilregcleaner/+bug/398648[^]
Crash Logs: http://hotfile.com/dl/14381551/e71bd57/Crash_Mode__Date_09-03-2009[^]
Thanks!
|
|
|
|
|
ub3rst4r wrote: Bug: https://bugs.launchpad.net/lilregcleaner/+bug/398648[^]
If the people who wrote this code will not fix it, how do you expect anyone here to do it?
|
|
|
|
|
I am the one who is trying to fix it... I was just wondering if this is a common problem and easy to be fixed.
|
|
|
|
|
ub3rst4r wrote: I am the one who is trying to fix it... I was just wondering if this is a common problem and easy to be fixed.
Sorry, no idea; Google seems the only choice here.
|
|
|
|
|
hello
Can any one suggest me an IEEE project
in .net and C# for my graduation
or else guide me
came out of hardwork
|
|
|
|
|
How about an application to prevent posts from people too lazy or unqualified to do their own assignments
only two letters away from being an asset
|
|
|
|
|
I am just asking suggest an topic
to proceed with...
came out of hardwork
|
|
|
|
|
You're not the first idiot to ask this, nor will you be the last. Here are the issues:
1 - if you can't think for yourself, how can you hope to write code ?
2 - if you can't think for yourself, how is it likely your experience is so broad that any topic we suggest will show of the strengths of your experience ?
3 - how is it that whatever we suggest will be something that's likely to be at the right level to impress your teachers ?
It's a dumb question. You know what you're good at ( if anything ) and you know what you've been taught. You're the one who should decide the best project to give you a good mark at the end
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
I think you should aim to write a system that is fully capable of passing the Turing test. Don't let people put you off by saying it's defeated the finest minds in the industry - keep at it, don't sleep, eat, attend lectures, interact with humans in any way until you've completed this task.
Good luck.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Pete O'Hanlon wrote: write a system that is fully capable of passing the Turing test
Yes, but what will he do after lunch?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Choosing a project for a dissertation (or even at the undergrad level) can be much harder than it sounds. I suspect many of the people criticizing your question have never selected a project for a dissertation themselves.
There must be an element of originality in your project; the more the better. The best topics are those that solve a previously unsolved problem, or that open up an entirely new area for research. Your own background, strengths, and interests are factors, as well as the current state of technology.
You want to find an area where you can make a contribution. Obscure corners of technology that haven't been extensively studied are good candidates. So is applying an existing technology to a new area where it hasn't been used before.
Another is areas that are cutting-edge, and so new that they haven't been extensively explored. In these new areas, discoveries you make probably haven't been made by others yet.
Look at areas you're interested in learning about first. This will provide more motivation for you to explore. Once you have an area, keep working on it, even though the end isn't in sight yet. You can make progress even when it looks like you're not making progress.
|
|
|
|
|
I need a way to pass messages inside my application in a queued fashion just like a Win32 message pump.
I need to insert the messages with one thread and retrieve them with a different thread.
Should I use the MessageQueue .NET class, or is there a way to send Window messages in Windows Forms?
Thanks for reading my post.
|
|
|
|
|
Are these messages for internal use in your application, or external also? If it's for internal you could use a Queue.
only two letters away from being an asset
|
|
|
|
|
They are completely internal to the application.
I was looking for something where I didn't have to implement the object locking and thread waiting parts involved in message passing between threads.
Do you know how to send a windows message in .NET? I already see how to receive them - override the WndProc method in the form.
|
|
|
|
|
Hi,
you could use P/Invoke to call SendMessage or PostMessage, providing a message code, wParam, and lParam.
however using a Queue, and adding a lock, would probably look easier.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
You're right about the easier part.
Plus, any data passed with the WM_COPYDATA message might be garbage collected before it gets used, so that would be a problem.
Thanks for the help!
|
|
|
|
|
If one instantiates a form by: myform = new asssetinq(), what 'variable' holds "myform"? In other words, if I have a string variable "formname" defined, and I wish to set this to the form name, how would the command "formname = ????" be written so that formname has the value "myform"? Tons of searching has not yielded a result, so any specific help would be most appreciated!
|
|
|
|
|
The strict answer is string formname="myform"; but that is not what you were hoping.
Variables are defined when you generate the source code, and seldom used afterwards (it would take reflection to get access to some of them).
Abyway, if you have:
Form form1=new Form();
Form form2=form1;
Form form3=form2;
which variable is "holding" the one form?
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Point taken, although in playing with this, if you use "this" in various syntaxes, I'm getting the title bar verbiage. So things seem to know what form I'm working with. (This code is intended within the keydown event logic of a listview on a form, so even though a few forms may be in the works, the keydown event would be associated with a specific form. I'm just hoping there's a way to retrieve what the form name was. Long story short, I create the forms with a SCO unix process ID value, so these are variable. Short of setting a public string variable to my form name when I create the form, I was hoping there was something identifying that form name.)
|
|
|
|
|
When you create a form, you normally store its reference in a variable, as in MyForm myForm=new MyForm(); so you can always use myForm to act on that one Form.
Furthermore, event handlers associated to myForm get two parameters, the first one (object sender) can be cast to its owner's type to return the real sender, so MyForm me=(MyForm)sender; could be useful, although at the Form level, this most often is all that is required.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|