|
Hi,
how to rewrite the url some .aspx to .htm or my own way
i.e
in my application url is(http:/localhost/country.aspx?countryname=india)
i want to rewrite it as(http:/localhost/india.htm)
plzzz helpp me.... thx,
icanmakeiteasy
modified on Thursday, January 29, 2009 2:44 AM
|
|
|
|
|
Get it from here Use google[^]
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
i have developed a windows application using c#,now i need to run the
application by checking the MAC id of the system..if the MAC id is matching
with which i gave in code,the application should run or else it should get
turminated with a message.
Any help?
Thanks in advance..
|
|
|
|
|
Check the MAC address in the Main method before the Application.Run()...
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
ok..
can u tel me how to check by code,am new to c#
|
|
|
|
|
Try google for the code...
I think MAC address can be obtained through ManagementClass
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Ya i have got it...but it is saying the type or namespace name 'ManagementClass' could not be found.r u missing a using directive or assembly reference?
which directive should be added?
|
|
|
|
|
Add the reference of System.Management dll to your project.
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Thanks for ur fast reply..Its working fine
|
|
|
|
|
Hello everybody,
My application reads properties for files within a specified folder and stores them in a database. It reads the following properties:
Music Properties (Artist/Title/Album so on...)
Audio Properties (Bitrate/SampleRate so on...)
Video Properties (Dimensions only)
Document Properties (Subject/Title/Author/Description so on...)
and basic file properties such as attributes/dates etc.
Currently I'm using a combination of .Net framework libraries and Taglib sharp library to read this info. But my problems are:
1. I've not yet found some way to read most of the document properties.
2. The TagLib Sharp library ready audio files well, but throws UnsupportedFormatException for most of the video files.
Please suggest some library or any other alternative to read this info reliably. The TagLib library failed to read dimensions for files that Windows Explorer successfully reports the dimensions of.
Thanks.
|
|
|
|
|
Unlike audio files, none of the major video formats (MEPG, AVI, FLV) support tags such as artist/album/track info - AFAIK.
Cheers,
Vıkram.
I've never ever worked anywhere where there has not been someone who given the choice I would not work with again. It's a job, you do your work, put up with the people you don't like, accept there are probably people there that don't like you a lot, and look forward to the weekends.
- Josh Gray.
|
|
|
|
|
Dear, I'm not trying to read artist/album/track info for video files. I've already mentioned that I only need to read the Video dimensions.
|
|
|
|
|
lm using a Epson u220 printer and need to print Continues paper, when ever I generate invoice Report.
Now I have a hard time on how to set my Paper Size to Width = 5 and the Length to be a dynamic.
Meaning If the Data of the Invoice Report can fill up a Lenght 25 inches then the Custom paper size will be
5 X 25. and If the Data of the Invoice Report can fill up only to the length of 10 inches then the Custom paper size will be
5 X 10.
So is there anyway possible to set the Length of the Paper Size to be Dynamic.
FYI,
i am using crystal report's
report.PrintToPrinter(1, false, 0, 3); for print the document.
|
|
|
|
|
Not sure, but I believe that the simplest way would be to select the appropriate pagesize in the properties of the printer-driver. If I'm correct, then CR (and most other report generators) base their print-preview on those settings. The printerdriver "knows" what size paper is available, per drawer (some printers feature more drawers with different papersizes)
Should be somewhere under Start-menu / Printers and Faxes / <your printername="">
Right-click on the printer, and select "properties". There should be a tabpage with information on the paper-sizes, along the lines of "Advanced Options", "Paper Size", "Continuous stationery (US)".
I are troll
|
|
|
|
|
there is no option like continuous... it have fixed length only.
i want to know how to achieve this in c#????
it is urgent.......... pls help
|
|
|
|
|
Have you find any solution.. regarding this matter...
|
|
|
|
|
tab skip the controls inside panel in winforms!!
How to set tab index so that it go through all controls in panel and then to next control on form??
|
|
|
|
|
I'm using trim function and supposed to have my string trimmed. But my string remains same. For example : " hello", the result is : " hello". But I suppose the result is : "hello". Is anyone have same problem? Anyone knows the replacement function? If using VB, I don't have problem on string operation
No one can prevent me to learn something
|
|
|
|
|
Are you assigning the result of Trim to the original string? Strings in .NET are immutable, which means that you must take the return value and assign it to a different (or the same) variable. Like that:
string s = " hello";
s = s.Trim();
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
It's impossible to definitely say what you are doing wrong without actually seeing the code.
My guess is that you think that the method changes the string that it's applied on, when it actually returns a new string with the modified value:
s.Trim() // creates a trimmed string and throws it away
s = s.Trim() // creates a trimmed string and assigns it to the variable
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
thank's. Maybe that's why sometimes it work and sometimes not
No one can prevent me to learn something
|
|
|
|
|
Dear All,
how can i access my office PC in home by Using TCP/IP Port, or can we make serial link b/w them using Port Listener Program.
thanks in Advance.
|
|
|
|
|
Hi,
could you please be a bit more specific about what you want to achieve?
Generally spoken there is no reason why you can't connect to your office PC via TCP/IP.
Regards
Sebastian
P.S.: What is a serial link with a Port Listener Program?
|
|
|
|
|
Hi,
I need to build file (any files) based caching algorithm for this i'm looking for a well proven and extensible Open Source which supports C#, can you please address some good open source.
Thanks...
|
|
|
|
|
Dear All,
I am running an windows application, which is used to create a public queue and send and receive messages from it.
Environment
The application runs on my development machine which is under a AD.
The application has to create a public queue in another (destination)
machine which is in the same domain and has the message queue.
In destination machine I have the admin rights too.
Issue:
When I ran the application it checks whether the queue exists in the
destination machine or not - Working.
When the queue doesn't exists it tries to create the queue - Not Working
Error:
"Access to Message Queuing system is denied."
Kindly give me the solution to rectify the same.
Thanks a lot in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|