|
|
can a tftp be provided with security features such as encryption using linux.
please suggest some projects of 6 months duration.
|
|
|
|
|
Hi, My reqirement is to identify a self registering dll for packaging purposes. I'm looking for a logic to identify the self registering dlls from others by running them. It can be done using a dependency walker, but i need to understand how its done!
Thanks in Advance for the idea....
|
|
|
|
|
1. Use LoadLibrary API to load the desired DLL
2. Try get a handle to DllRegisterServer function and also for DllUnregisterServer function of the DLL you loaded in step 1. Please refer MSDN for signature/prototype of this function. I think the API you will need to use is GetProcAddress API
3. If you could succesfully access these functions then you hav a Self Registering DLL (basically a COM DLL).
I hope this helps.
Have a great day ahead!
Regards,
Sohail Kadiwala
(My Blog - http://blogs.wdevs.com/sohail/[^])
modified 21-Apr-21 21:01pm.
|
|
|
|
|
TECHNICALLY any DLL that is self registering is supposed to have the string value 'OleSelfRegister' in the version resource without any associated text.
Loading the version information for the DLL and seeing if this value exists is SUPPOSED to be sufficient. Alas, many software developers are completely oblivious to this recommended guideline for distributing software.
Therefore, as the correct method is completely unreliable, you are left to parse the export table looking for DllRegister or to load the module and try GetProcAddress as has already been mentioned. Loading it to discover this information sucks, because then you have executed code of the module's DllMain function.
|
|
|
|
|
I like "The Code Project" site. A lot of articles have information and code that i don't need directly, but i already have a purpose for them in the future.
So i like to keep those articles on my localdrive.
The proces of storing all the wanted data of the article in the format and location i like is rather timeconsuming.
-First i create a Worddocument
-then i start scraping the header of the article from the screen and paste it in this Worddocument
-then i scrape the content of the article from the top inluding downloadlinks to the bottom just after the author's profile (i dont want links of other interresting articles in this document) and paste it in this Worddocument.
-then i save the worddocument in a subdirectory at a predefined location with the name of the title of the article (the subdirectory is also named after the title of the article)
-then i start downloading the files on the top if any are included and place them in the subdirectory mentioned earlier.
This problem is the same with other websites, mostly the way they present the data is different.
Wouldn't it be great to have a tool where you can automate this task after you first explain the tool how to gather the data from a particular webpage, in which format and where to store it. It's pretty much how they program a robot in the car industry that has to paint the chassis of a car model (once programmed the robot does it exactly the same every time for that car model).
The tool should eventually recognize if a presented page has been scraped before or that something has changed!
The tool should also try to scrape the name of the files from the screen and use them instead of the suggested files in the download dialog.
I would very much like to participate in a project for such a tool.
Zitniet
|
|
|
|
|
Hi Alfi,
i liked ya talk2me application very much and i wanted 2 ask ya kind permission 2 use ya application as my miniproject in my college. AS 4 me i'm doin my IVth yr seventh semester in information technology. i also have a few queries abt de appln. i'd be grateful if u cud mail me wit ya consent as soon as possible. my email id is basherbullz@yahoo.com. also pls include ya fone number .
i'd like 2 add sat im gr8ly inspired by ya work man.
regards
basher
|
|
|
|
|
hey,
firstly, your are on a forum, that means you must write that anybody here can understand you ; your english's awful
secondly, why posting on a forum if you don't want anybody to see the answer ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 7:22 Friday 2nd September, 2005
|
|
|
|
|
hey @##$#$#$,
i hope ya dint read duh subject lyn praperly... speak unly if ya spoken 2 awryt!! now go get a life!!
wit kind hatred
|
|
|
|
|
hey a**hole, you can say whatever you want, it seems that i'm not the only one who think like i do 'cause you get - at the moment i write this - 3 votes to 1... congratulations... continue like this !
|
|
|
|
|
|
I am looking around for help, articles, discussions, etc. on Visual Source Safe 6.0: tools that people have made, how-to articles, command-line help - any of those would be great.
Specifically, I was trying to figure out how in heck you recursively roll back a project tree. The best I came up with was using the SS.exe command line utility provided with vss. I wanted to create a tool that would look in a vss directory structure (somehow) and create a batch file that would go through each project subtree and call a Rollback command-line:
SS.exe Rollback "$/MyRootProject/*" "-VLProj Label w Spaces"<br />
SS.exe Rollback "$/MyRootProject/SubProject1/*" "-VLProj Label w Spaces"<br />
SS.exe Rollback "$/MyRootProject/SubProject2/*" "-VLProj Label w Spaces"<br />
... etc.
However, I cannot get that command line to work with Labels. I don't know why, and that's what help I'm trying to find. I have looked here and on Google and so far have not come up with much VSS help.
Anyone who can point me in the right direction, your help is greatly appreciated.
Susan
|
|
|
|
|
Hi,
We all know URL's like this:
default.aspx?code=1234
What we don't want is that visitors change the URL like this:
default.aspx?code=1235
There are a lot of solutions for this. Like decrypting, post variables, etc..
What I want is a pagemanager. The pagemanager saves all the requested pages (for example the last 2 or 5) inside the session of the current browser client. For this you may need to use of the C# LIFO (Last in, first out) stack-statement.
All requested pages will be added to the stack, this means the complete url (path, page, params.). Each page can access the params.
The asp.net 2.0 webconfiguration (ASP.NETWebAdminFiles) is using this technique ( here you can find a screenshot). You can find more information inside the WebAdminPage.cs file. There are a lot of methods in there, I can't figure it out how it works.
I hope that somebody is interested and motivated for writing an article about the pagemanager as I described here. Where each page knows the last page (for example for backbutton functionality), knows the current page with params (for example for database access), all this without seeing the querystring (?code=1234).
Thanks ! ! !
|
|
|
|
|
How to make our winform application custom skin like yahoo change its skin base on different images and ini file setting.
I mean Form Title Window and whole skin color change shape does'nt matter.
If any Body have any Idea. Please Tell Me
Muhammad Waqas Butt
waqasb4all@yahoo.com
Muhamad Waqas Butt
waqasb4all@yahoo.com
|
|
|
|
|
Does any body have idea how to do time scheduled task in c#.Net.
1: Calculating Time Spam Exp: 10 PM - 3AM (How many time spend)
2: If time equal to 10 PM then occure some evet.
Muhamad Waqas Butt
waqasb4all@yahoo.com
|
|
|
|
|
Use a timer (System.Timers.Timer), and check DateTime.Now for time.
public class TimerExample
{
static bool EnableEvent = true;
static TimeSpan ElapsedTime;
static DateTime StartTime = DateTime.Now;
public static void Main()
{
// Create a new Timer with Interval set to 60 seconds.
System.Timers.Timer aTimer = new System.Timers.Timer(60000);
aTimer.Elapsed+=new ElapsedEventHandler(OnTimedEvent);
// Only raise the event the first time Interval elapses.
aTimer.AutoReset = false;
aTimer.Enabled = true;
Console.WriteLine("Press \'q\' to quit the sample.");
while(Console.Read()!='q');
}
// Specify what you want to happen when the event is raised.
private static void OnTimedEvent(object source, ElapsedEventArgs e)
{
ElapsedTime = DateTime.Now - StartTime;
if (DateTime.Now.Hour >= 22 && DateTime.Now.Hour <= 23)
{
if (EnableEvent)
{
ProcessYourEvent();
EnableEvent = false;
}
}
if (DateTime.Now.Hour > 22)
{
EnableEvent = true;
}
}
}
Eduardo Diaz
site | english blog | spanish blog
|
|
|
|
|
Hi All,
I'm doing some research on migrating existing vb6.0 appliation to vb.net. I would like to know what all tools available apart from migrate tool, which come along with .NET IDE, to upgrade vb6.0 application. Any suggestion/ Idea would be appreciated.
Thanks & Regards,
Shiby
|
|
|
|
|
I understad the migration tools are not desired, I understand, I had my share of bad time with the JLCA for Java...
I would assume time is the main concern you have so I have only one suggestion really...
Would you consider wrapping your existing VB methods as business objects to live as a separate tiered COM components and rewriting just your frontend to interact with those objects via COM interfaces?
Disadvantages:
Not REALLY native .Net, but any conversion tool wont give you true powerful usage of .Net capabilities
Advantages:
Quick to develop, n-tier architecture, easier to track bugs, the ability to convert object by object slowly while having your application running
Good luck,
Shimron Shimla
|
|
|
|
|
How can i add a combobox in datagrid and editing the cells
and combobox
haneesh
|
|
|
|
|
Hello,
I am writing a simple program that find a specific user in Active dictory and changes of the the attribute of the user
' constants declaration
Const strADsPath = "LDAP://OU=CRM,OU=Projects,OU=People,OU=Eagan,OU=West-TLRCorp,DC=TLR,DC=Thomson,DC=com"
' database connection
Set objConnection = CreateObject("ADODB.Connection")
objConnection.Open "Provider=ADsDSOObject;"
Set objCommand = CreateObject("ADODB.Command")
objCommand.ActiveConnection = objConnection
strCommand = "<" & strADsPath & ">;(&(objectCategory=person)(objectClass=user)(name=APPCRMDEV_SHARED))" & _
";Name,TLRCustomAttribute1"
objCommand.CommandText = strCommand
Set objRecordSet = objCommand.Execute
Do Until objRecordset.EOF
Set objUser = GetObject(objRecordset.Fields(0))
objRecordSet.MoveNext
Loop
objConnection.Close
the process fails at GetObject and says it 'ActiveX cannot create the component GetObject'. Can anyone help me?
Thank you in advance
|
|
|
|
|
Kamala,
check what you are exactly getting with objRecordset.Fields(0)
print statement or alert to see the value .
that might help you ,
Reason for error could be
1. Zero records
2. Improper Value into GetObject.
let me know if you need help
thanks,
+V
|
|
|
|
|
In VB, I have a two text box, In 1st i have a english data such as Ajit Kumar and i want to change in Hindi language just as Ajit kumar. how i will write the code in VB, & how i will solve this problem.
plz help me .
Your faithfully
Bablu Kumar
mobile no-+919868720551
|
|
|
|
|
You need to work with the globalization class and Culture
Thanks for help
Regards
______________________________
Serge Calderara
MCP(XP & VB.NET)
|
|
|
|
|
My team a currently implementing a system which needs to provide a facility for the user to search for Users or Groups from Active Directory. For the time being we are creating a form for the user to enter criteria which is then used to execute LDAP queries against A/D, with the results being displayed accordingly.
What would be really nice is to be able to utilise the same functionality exposed by DSQUERY.DLL, but I cannot find any resource on the Internet giving examples of this or even the appropriate P/Invoke definitions for this DLL.
So, what I'm after is an article showing;
1) the p/invoke definitions for this DLL (as per the C++ definitions on the MS web site, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/icommonquery_openquerywindow.asp),
2) code to open the query window (using OpenQueryWindow),
3) capture and handle the selections.
It may be that the reason I can't find anything is that it is not possible, but I thought I would ask anyway.
Cheers,
Phil
|
|
|
|
|
http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.2
|
|
|
|