|
Are you talking about your own application or other Windows governed applications? If its your own then you can certainly code whatever you want in there but if its the other, I don't think it would be feasible (not impossible, just sufficiently difficult and lengthy to make it not worth while)( because you would be dealing the underlying windows API.
You might, if you enjoy headaches, try to do this through windows hooks : http://msdn.microsoft.com/en-us/magazine/cc188966.aspx[^]
The point is to stop unwanted access, correct? Then its much easier (a few simple clicks) to do that through group/user policy.
If the post was helpful, please vote!
Why won't the worm just leave me be?
|
|
|
|
|
Thank You Once again
Actually sir,
i want to make a service to install in interested user's system.
AS they start their Pc my sevice should restrict them from opening MyNetworkPlaces and Network Connections ....Once they provide with the correct credentials they are allowed to access those...
Please Help me in..how to proceed or any suggestions to do further and to do R&D
I thankfully welcome the ideas ....
ThankYou
|
|
|
|
|
Why do you need to do this? You keep repeating your question, but you haven't stated why you want to do this - not what, why - and you haven't stated why the group policy isn't the best way to do this.
"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
|
|
|
|
|
Hello,
Thanks for the reply,
Let me clear with task.....
ok....first let me know, How to lock or hide the folder(its ok any folder) so that it cannot be seen through Dos Commands or at windows option :Show hidden folders/files.
please let me know .....How to proceed
Thank You
|
|
|
|
|
And still you haven't answered the question - WHY DO YOU WANT TO DO THIS? Plus, why can you not use group policies to control this?
"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
|
|
|
|
|
sir,
Local Group Policy Objects Cannot Be Set on a Per-User Basis.
Just am asking is it possible to hide or lock the folder.
If so....in what manner?
I didn't mention about any Group policy even i dont want...
Thank you
|
|
|
|
|
here is a trick, hide the Network Place and disable the connection(for better security) and when user submit the appropriate info...Enable/Show everything you hide.
http://windowsxp.mvps.org/hidemnp.htm
|
|
|
|
|
Hi everyone,
I've been searching cp and googling for one simple voice chat application and I just cant find one!! I just want a very basic example on how voice can be sent using a udp socket and would be thankful if you can link me to a good example (in C#)
Many thanks guys!
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
|
Hey Mustafa,
Thanks for the links but unfortunately, I've been to all of them before posting here and they're either using someone's library or useless for my case.
Thanx though Ya Sadiqi
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
I am trying to implemnt adaptive thresholding for extracting the license plate from a vehicle .
I still am not very clear with the concept .
Can anyone please help me how to do adaptive thresholding?
Thanks in advance
|
|
|
|
|
Try googling for adaptive thresholding.
It brings up 25000 hits in English.
Regards
David R
|
|
|
|
|
Hello All,
I have a question relating to testing methods in classes within the 3 tier architecture (ie Business Logic Layer, Data Access Layer, UI);
I am not asking for the complete solution here, but how can one go about testing the methods, values in both the BL and DA layer without using the User interface or the database. This is how my teacher wants me to do it, yet I have tried to a find a solution without avail unless I not include sql code in the database.
I have looked at NUnit Testing, although I believe that requires a dummy database to test it.
How can one go about doing this?
Many thanks.
|
|
|
|
|
|
thanks for the reply Eddy,
I have been reading up on the assertions, although how do you just run it when it is in a class alone. ie would you need to do it so you have the console.write(test) active?
|
|
|
|
|
I tend to build a console-application that does the testing. You can use the "Add new project"-menu item to create a new console-application to your project. Don't forget to add the references to the original project
Again, there are multiple roads that lead to Rome. I'm using console-applications because they are simple, yet effective.
I are troll
|
|
|
|
|
I think I may try that Eddy, Thanks again for your timely advice.
|
|
|
|
|
My pleasure
I are troll
|
|
|
|
|
Dear All,
I am looking to convert .mdb access file into xml file using c#.
I have googled,but i didnt find any topic related.
I am sure about java which does this conversion, but i dont know about c#.
such features is available in c# or not?
|
|
|
|
|
Member 6059028 wrote: such features is available in c# or not?
you mean as an inbuilt command export_mdb_to_xml() ?? er, no
you'd have to write code that "-
either reads a single table or loops through the tables in an mdb,
read each row in the (current) table,
export each field in row as xml
'g'
|
|
|
|
|
conversion in a table level is simply done using DataTable methods.
but i am looking to fully convert .mdb file into .xml file, including all object in .mdb file.
|
|
|
|
|
Use SSIS(Sql Server Integration Services)
this service has powerfull abilities for transfering full database or database objects to another database server.
You must install sql server 2005 or 2008 and then use this service.
|
|
|
|
|
If I remember correctly (not used Access for about 5 years) you can get this information from the MSysAccessObjects table - you may need to look at other MSys* tables as well. You can see what there is by going to Tools|Options and turning on 'Show System Objects' in Access.
Of course you'ld have to iterate through these and through whatever table/queries/Reports/Modules you're interested in. (Do you really want to convert VBA code in Modules?)
Regards
David R
|
|
|
|
|
Hey,
If you would like to use a dataset and if you are not trying to write the XML document in any specific format, try this.
constr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\db.mdb;";
OleDbConnection conn = new OleDbConnection(constr);
conn.Open();
DataSet ds=new DataSet();
OleDbDataAdapter da = new OleDbDataAdapter();
OleDbCommand dcmd=new OleDbCommand("select * from table",conn);
da.SelectCommand = dcmd;
da.Fill(ds);
XmlDocument xld = new XmlDocument();
ds.WriteXml("xmlpath");
Jack Sparrow
--------------------------------------
Defeat is not the worst of failures. Not to have tried is the true failure.
|
|
|
|
|
currently I am using the following code and it works when the site I'm trying to click on is a regular site.
But it's not working for the site I want it to, which is a flash game, I don't think the game recognizes that a click is being sent to it because it doesn't respond
int x = 283;
int y = 342;
IntPtr handle = two.Handle;
StringBuilder className = new StringBuilder(100);
while (className.ToString() != "Internet Explorer_Server")
{
handle = GetWindow(handle, 5);
GetClassName(handle, className, className.Capacity);
}
IntPtr lParam = (IntPtr)((y << 16) | x);
IntPtr wParam = IntPtr.Zero;
const uint downCode = 0x201;
const uint upCode = 0x202;
SendMessage(handle, downCode, wParam, lParam);
SendMessage(handle, upCode, wParam, lParam);
oops I meant to preview but posted by accident, so here is the rest of what I wanted to say:
I'm using the win32 imports to click but I'm not sure how those work since I'm still only a student and the things I am trying to do are outside of anything I have learned.
Someone told me that the SendMessage I was using is clicking on the webbrowser object and not the flash object within the browser and that that may be my problem, what can I do about this?
|
|
|
|