|
Hi buddy
I have to highlight search text from search results as it is in google or alibaba.com.
e.g. if I input paper as a searchtext in search results paper word should be highlighted. as it isin google help.
some one help me please.
I am working in asp.net2.0 using c#
Regards,
Shanti Bhushan
advancedsofts
Shanti bhushan
|
|
|
|
|
hi all,
is there anyways by which i can use customized shortcut keys in C#.net2005... normally it comes as a combination of Ctrl, shift or alt keys.... but i want to use text keys as shortcut keys.. not the combination of textkeys with ctrl, alt or shift....
thanks in advance..
|
|
|
|
|
You can't do that as sortcut keys are always in the combination of ALT, CTL, Shift keys. Otherwise how do the system will understnad you want to type simple text of it was a sortcut key.
Regards,
Amit Kumar
HDISM, PGDCA, MCP, MCAD, MCSD
amit_chikara2002@hotmail.com
|
|
|
|
|
You could enable Form.KeyPreview , register to any of the keyboard events e.g. Form.KeyDown . Then inside the event handler check for your custom shortcut keys and do whatever you want if one of them occurs.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
How to convert XML data to DataSet in C#.Net? Please help me.
Thanks in advance.
Reddy.
rr
|
|
|
|
|
If you want to read the xml file then you can use dataset.readxml method to fetch the xml data to the dataset.
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi
try this:
DataSet ds = new DataSet();
ds.ReadXml("Users.xml");
Tamimi - Code
|
|
|
|
|
|
Hi friends,
i need big help.. my programme generates a crystal reports by following view... for a given batch need to calculated the actual running time = ((starttime - endtime) - sum(temporally_stoptime - restarttime))
MY View is as follows.....
<br />
CREATE VIEW titles_view<br />
AS<br />
select A.transID,A.Machine,Qlityno,batchnno,b.BTDes,color,startime,endtime,Cast((datediff(n,startime,endtime)-<br />
(SELECT ISNULL(SUM(DATEDIFF( n , TStoptime , Restarttime )),0)<br />
FROM FINTransTempstops B<br />
WHERE B.tranid = A.transid and B.TStoptime is not null))as integer) as cf_TimeTook,exp_weight,actual_meters,specspeed,isrefish,next_process<br />
from finbatchinfo A left join FINTransTempstops c on A.transID = c.TranID <br />
left join FINBatchType B on A.BTID = B.BTID<br />
where endtime is not null --and startime >=convert(datetime,'2006-08-21',121) and<br />
--startime <= convert(datetime,'2006-08-31',121)<br />
group by A.transID,A.Machine,Qlityno,batchnno,b.BTDes,color,startime,endtime,exp_weight,actual_meters,specspeed,isrefish,next_process<br />
--order by A.machine<br />
GO<br />
this calculation is done in the view..... i take the actual time in minutes.. and then cast in to integer ....view gives the correct information
but when i generate the report it shows the value in datetime format .... but i need to print the numeric value in the report(even in minute format also fine).. I need to show the actual running time in minutes..
when i check the format of the field in crystal report it is numeric...but at run time it gives the value in datetime format.....
all the dates in above in Database is datetime datatype....
Pls how can solve this problem.....
Pls help meeee......
thanks...
anusha wickramaratne
|
|
|
|
|
Hi Anusha,
You have to do casting one more time for minute on the following line:
Cast((datediff(n,startime,endtime)-
(SELECT ISNULL(SUM(DATEDIFF( n , TStoptime , Restarttime )),0)
You need to cast it again to convert this resultset in the Minute format.
Let me know in case you are not able to do that.
Regards,
Amit Kumar
HDISM, PGDCA, MCP, MCAD, MCSD
amit_chikara2002@hotmail.com
|
|
|
|
|
Hi friends,
i need big help.. my programme generates a crystal reports by following view... for a given batch need to calculated the actual running time = ((starttime - endtime) - sum(temporally_stoptime - restarttime))
this calculation is done in the view..... i take the actual time in minutes.. and then cast in to integer ....view gives the correct information
but when i generate the report it shows the value in datetime format .... but i need to print the numeric value in the report(even in minute format also fine).. I need to show the actual running time in minutes..
when i check the format of the field in crystal report it is numeric...but at run time it gives the value in datetime format.....
all the dates in above in Database is datetime datatype....
Pls how can solve this problem.....
Pls help meeee......
thanks...
anusha wickramaratne
|
|
|
|
|
Hi,
I'm trying to get my Visual Studio compile .dll file to go into the debg folder but it is not. I checked the properties of this project and from the Build tab there is an Active (Release) selection. I have another project, which is not part of this project at, when I go into the properties there is no Active (Release) selection, but rather an Active (dDebug). In the second project mentioned, my files are put into the bin/debug folder.
How do I get the above mentioned project to put the "debug" version of the .dll file into the bin/debug folder. There where I see Active (Release) I selected the Debug option, and specified the bin/debug folder, but it's still putting it into the the release folder. I don't want to use any released version right now, just the debug version.
Please can someone help me in my confusion.
Regards
ma se
|
|
|
|
|
Hello
1- Clean all release and debug files from your projects output folders using windows explorer
2- Go to configuration manager
3- Choose debug version and press OK
4- Go to project's properties
5- Choose build, and choose Debug version from the configuration checkox above.
6- Set the output path in the proper textbox field to the lower end of the screen and press OK
Regards
|
|
|
|
|
Thanks, this worked just fine.
In the properties of the project, there are option you can tick, like:
Define DEBUG constant and
Define TRACE constant
What does this mean, they both are checked for Active (Debug). Why are they checked, and when do I not check them??
Regards
ma se
|
|
|
|
|
Hello
This enables you to use the Debug and Trace classes to monitor your programs excution. Typically when you are in debug mode you set both to true, but when you release your application, usually you only trace through your application. For more info about Tracing and debuging rvise Trace and Debug classes in your MSDN.
Regards
|
|
|
|
|
hi guys !
need some help.
im developing an enterprize deployment appplication which install client softwares on remote machines in a LAN . I m using WMI win32_product class's install() Method for this..
the problem is
i want to create a installation log file for the installed software on client machine ..
.. how can i do this install() method
sample code:
ConnectionOptions options = new ConnectionOptions();
ManagementScope scope = new ManagementScope("\\\\" + sRemoteMachine + "\\root\\cimv2", options);
scope.Connect();
ManagementPath mp = new ManagementPath("Win32_Product");
ManagementClass classInstance = new ManagementClass(scope, mp, null);
ManagementBaseObject inParams = classInstance.GetMethodParameters("Install");
inParams["AllUsers"] = true;
inParams["PackageLocation"] = sourceFilePath ;
ManagementBaseObject outParams = classInstance.InvokeMethod("Install", inParams, null);
how to options[] param for creating the log file .. or any other method..
abhinav
|
|
|
|
|
Sorry guys,
i am reposting this topic
I wish to fetch some video files from the server and convert those to a flash file and play them in the browser.
Please direct me to some good source for the same.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
Hello
Hmmm... This would take a lot of work. Take a look at the search link below!! Maybe it would give you a start.
Click here.[^]
Regards
|
|
|
|
|
Thanks but none of the links gives C# code to convert the
VIdeo file to Flash file.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
I am writing one appliacation through which I can send data from one pc to other and from pc to mobile phone via bluetooth communication,I want some hint to get started ,coz I dont know about any bluetooth APIs.I hope some will help me in right manner
<marquee>nishu
|
|
|
|
|
Hello
Take a look here[^].
Regards
|
|
|
|
|
Hi,
The subject says it all .
I have several controls on a tabed form. Included amongst those controls is a checkedlistbox. Whenever I select an item in the checkedlistbox, that control holds focus, meaning I can't navigate to any of the other controls EXCEPT those in the bindingNavigatorControl. In all other respects the controls, including the checkedlistbox work fine.
Is this intentional or function selectable?
Glen Harvy
|
|
|
|
|
Hello
Glen Harvy wrote: Is this intentional
Uhm.. I guess so!! What would be wrong with that?
OTOH if you want to change the focus manually and set it to the next control, it won't make much of a problem, would it?
Regards
|
|
|
|
|
Well, how would you like it if you typed some required info into a textbox and you had to click save before you can fill in the next textbox on the same form
OTOH, if there is a workaround that you would like to share with this very novice developer I would be greatly indebted to you if you did
Glen Harvy
|
|
|
|
|
In the original post:
Glen Harvy wrote: Whenever I select an item in the checkedlistbox, that control holds focus, meaning I can't navigate to any of the other controls EXCEPT those in the bindingNavigatorControl
I think I didn't get you right!! Did you mean that the CheckedListBox has the tab focus captured -ie. when you press tab you move to the next item in the CheckedListBox instead of focusing on the next control-, or did you mean that you have to submit -save- the data before changing the focus?!!
What exactly do you mean by navigate? and how many controls are DataBound -if any- beside the CheckedListbox? Workarounds are always there, but your problem is what exactly?
Regards
|
|
|
|
|