|
hi,
use Grid view for search result in my web page.when i click on search button if there is result it gives properly according to my page.when there is no result it becomes small and on my page there is menu it looks big and search result is attached to it.It looks small.I tried to increase height of grid view but there is no effect.How should i solve this
Thanks
|
|
|
|
|
Try setting the gridview height explicitly
Regards,
Lev
|
|
|
|
|
Hi,
I fixed the height=500px but there is no changes.And it attached to menu it should looks very small.I need both height should be same
Thanks
|
|
|
|
|
when there is no result then in FireFox it won't display properly.But in IE it display correctly.So how should i do this
|
|
|
|
|
Hi,
I am writing a Windows Service in Windows Vista. I need to start a process. Can anybody please help me in writing C# code to get it done?
Thanks in advance
|
|
|
|
|
queries365 wrote: I need to start a process.
using System.Diagnostics NameSpace, then use Process Class
cheers,
Abhijit
|
|
|
|
|
Abhijit Jana wrote: queries365 wrote:
I need to start a process.
using System.Diagnostics NameSpace, then use Process Class
Hey Abhijit,
Thanks for replying
I have already tried this and it works fine in Windows XP. But in Windows Vista, the service starts and the process doesn't start.
Can you please give some Windows Vista specific help ?
Thanks and regards,
queries365
|
|
|
|
|
There is no such thing as "Vista-specific help" for this. Have you tried running the service under the debugger and seeing where it's failing? Are you specifying the working folder in the process object? Are you specifying the fully qualified path and filename to the file you're tying to execute?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
It could be a permissions problem - Vista can be a bitch with that, I bet you're running with administrator privaleges in XP which is why it works. If so, try adding a manifest file and require your service to be elevated - this'll get you the annoying UAC prompt when your service starts but should fix the problem.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
public static void RunProccess(string ExePath)<br />
{<br />
System.Diagnostics.Process.Start(ExePath);<br />
}
I know nothing , I know nothing ...
|
|
|
|
|
Hello.
How can we get the position (X & Y) of taskbar in WinXP with C# ?
Thanks
|
|
|
|
|
You can use FindWindow api to find position of taskbar. You can call winapi functions by using P/Invoke[^] To find out class name of taskbar by using spy++
|
|
|
|
|
Additionally: The class for the taskbar is Shell_TrayWnd
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
I am aware about it, I just wanted him to find it himself
|
|
|
|
|
You can also use the Rectangle s obtained by Screen.PrimaryScreen.Bounds and Screen.PrimaryScreen.WorkingArea to compute the area occupied by the taskbar.
/ravi
|
|
|
|
|
I know it's not normally possible to browse for them in windows and that's why I'm asking this question in the C# forum.
Is there any way to read Firefox cached temporary files and identify them by names and get their contents in C#??
Please advise.
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
I don't think so, but if you know where they live, you could try. Working out what they are would involve working out the format their stored in, not sure how complex that would be.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks Christian, I found that if you type:
about:cache?device=disk
In the address bar and hit enter, you can read the cache files in a way but not browse them, please let us know if you find a way to work this out someday and I promise to do the same if I knew anything regarding this.
Merry Christmas Christian
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
|
Thanx, I found something here:
%userprofile%\Local Settings\Application Data\Mozilla\Firefox\Profiles\6brnkgoc.default\Cache
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
The source code for firefox is obviously avaliable... that should help you to solve your problem.
|
|
|
|
|
Is their a way to track what folders where navigated through.
I've seen this: http://www.codeproject.com/KB/files/MonitorFolderActivity.aspx
Where it's nice for detecting what paths files were created in, etc. but i'm looking for detection of "exploring" of folders.
|
|
|
|
|
|
|
Simply you can monitor the LastAccessTime of a System.IO.DirectoryInfo Object.
|
|
|
|