If not even Google itlsef managed to determine the content of an image from the internet without the description, why do you think it should easy enough for you to do?
The best is to use Google mage search with the passed phrase (in this case "red rose"), then temporarily save a number of the pictures. (I don't know how to connect to google and retrieve images programmatically).
Next you calculate the random number and pick the 10 (or whatever number) images accordingly and throw the rest away.
Finally, you use PictureBoxes to display the kept images on your form.
I am using one c# dll.I want to use it or say register it.
But when I run my site thru iis ,it is not reading my dll functionality.
I think i have register my dll.
I followed following step :
1. Made rdkey.snk in my bin folder
2.Registered my dll through gacutil .In commmand prompt it say successfully registered though dll do not get copied in assembly folder.
where I am wrong ?
Can someone repeat the steps involve to register dll?
See,I have a dll that I am using in my web application(asp.net 2.0).
It is working ok in localhost but its not function in iis server.
I want it to function from iis server too.
What should i do ?
Can someone repeat all those step involve?
I have tried following steps:
1.my working folder is in d:\web1
2. i am publishng my project in c:\inetpub\wwwroot\test.
3.my iis\Home Directory\ is directed to this test folder.
i) made rdkey.snk in d:\web1\bin
ii) through property page ,selecting rdkey.snk
but still its not working.
If you get the exact error message you can do a search for it. As it is, "Woking" is a place in the south east of England near London.
Anyway, it sounds like a permissions problem. You have to ensure that all the files are accessible from the user account that your web application is running as. This will often be IUSR_.... But you can check that in IIS.
In MS SQL 2000, How can I check any row of database has updated or not through update query. My basic problem is that, same user has logged on two different system when they login at same time. I want to restrict the second user for login with same name.
The better option is to maintain a user session table and put an entry in it when user loggs in.. Then while logging in you can check whether that particular user id is already made an entry in the table and restrict accordingly. Remember to delete this entry on a session end or logoff
I have already done thats a way which you are suggested. It works perfectally in normal situation but when I login same user in two different system at same time, then the problem occurs. Both the system executes query at same time and retrives the same result from database. Thats the area where problem occurs.
You can use the database transactions properly to lock and allow only one user/transaction at a time. So the first user who get the access could login and the later will not. Since already one entry is there.
I am working in WindowsXP SP2. when am trying to connect through WBemTest its giving an error RPC server unavailable. I have checked RPC is running and firewall in my system and remote system are turned off. The 2 systems are under workgroup named 'WORKGROUP'. I have changed 'Control Panel>Administrative tools>Local Security Policy>Security Options>Network Access : sharing and security model for local accounts' to 'Classic - local users authenticate as themselves'. And again in Computer management's WMI control's property - CIMV2's security for 'everyone' Remote Enabled'.
Still am getting an error access denied when trying to access remote machine through my C#.net code. and getting RPC server unavailable in WBemTest.
I am trying to display a list of reports from SSRS in a WebBrowser control in C# windows application.
I have added "http://localhost/reportserver/reportservice.asmx?wsdl" as the Web service reference.
The following code works perfectly with the above
ReportService.ReportingService rs = new ReportService.ReportingService();
rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
rs.Url = "http://localhost/reportserver/reportservice.asmx";
I am facing a strange problem, i am writing an application to download
web page content into a excel file. The code snapshot is below
//WebClient dwSolClient = new WebClient();
//dwSolClient.DownloadFile("http://sunsolve.sun.com/ search/document.do?assetkey=1-66-201341-1", "C:\PatchGenarator\Solaris\Suppdata.xls");
//MessageBox.Show("Data downloaded succesfully.
Formatting of data and report generation will start.It may take
several minutes to complete based on the density of data.");
while with some other links it is working properly, i am unable to
find reason why this link cannot be downloaded.
WebClient dwSolClient = new WebClient();
MessageBox.Show("Data downloaded succesfully. Formatting of data and report generation will start.It may take several minutes to complete based on the density of data.");
i hope there was some copy paste problem. I am again posting the link