|
Could you write here what error you are getting while clicking.
|
|
|
|
|
i installed a windows service developed in xp
when i run that service
I receive a popup stating Interactive Services Dialog Detection
A program can't display a message on your screen - the program may need
information or permission to complete a task.
how to over come this? please help me out
thanks in advance..
arun
|
|
|
|
|
You're trying to display a message and the user the service runs under, can't do that. Vista is just telling you.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
is there any method to avoid this message by giving some permissions or something else...
thanks in advance
arun
|
|
|
|
|
Don't show message boxes in your web service.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i m using windows service
i m not showing any message box
i m just loading an exe
|
|
|
|
|
Don't do that either. You can't circumvent the windows UAC, there is a reason for that.
|
|
|
|
|
From which link i can get MONO IDE.
krishna
|
|
|
|
|
www.google.com
Mono is a framework tho, it's not an IDE, you'll have to find an IDE that supports it ( I am sure there is one )
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
monodevelop.com?
I are troll
|
|
|
|
|
|
anupmadathil wrote: ts verry urgent
Funny, it's not urgent to me at all.
anupmadathil wrote: if anyone know the code plz mail me on anupmadathil@gmail.com.
You're not too bright, are you ?
1 - advertising your email is a good way to get spam
2 - if you registered on CP with this email, you'd get email replies when people reply
3 - why should we email you if you're not interested enough in this community to watch for replies here
4 - no-one is going to mail you code
I just checked, and google would love to help you download sample code to do this. Why didn't you try to find your own solution before asking us to do it for you ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thank you for your reply.
I am not so bright,Thats why i m contacting a bright man like you.
I am only a beginer in C#.Net. I search Google to get my requirement,
but i didnt get good output... if you know any links or anything related to this plz help me..
Regards
AnupMadathil
|
|
|
|
|
anupmadathil wrote: I am only a beginer in C#.Net
OK - then choose an easier task. If this is homework, talk to your teacher. If this is paid work then you are a disgrace.,
anupmadathil wrote: I search Google to get my requirement,
I found several examples of source code. If you could not understand them, you won't understand anything you get here.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I love the crappy attempt to boost your ego in attempt to get code.
"That's why I contact a bright man like you", is that little compliment supposed to get him code or something?
|
|
|
|
|
Welcome in the CP's Memorable Quotes page, Christian [^].
BTW the C# forum is a treasure hous of memorable quotes.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
you cannot miss this one. Check the reply Chris gave.
|
|
|
|
|
Hi all,
I have a C# desktop application and I am using MS-Access database.
I am using below code for update operation.
string SqlString = "UPDATE table_name SET Bdate = @Bdate WHERE SrNo = @SrNo";
OledbCmd = new OleDbCommand(SqlString, OleDbConn);
OledbCmd.Parameters.AddWithValue("@SrNo", intSrNo);
OledbCmd.Parameters.AddWithValue("@Bdate", DateTime.Now.ToString());
Same approach is used for Insert operation also.
All working fine...
But I have read in one article that, DateTime should be enclosed withing single quote or #, when you are working with MS-Access. Right now, my code is working fine.
Please, explain me if there is any difference between the approach I am using and the approach that I have read..
Thanks,
Regards,
-SIFAR.
|
|
|
|
|
What is the field type of "@Bdate" in the database ?
# and quote are date delimiters in MS-Access. The older versions only supported # but the newer version support quotes as well.
|
|
|
|
|
If Bdate is a date then don't call ToSTring() when setting the parameter
OledbCmd.Parameters.AddWithValue("@Bdate", DateTime.Now.ToString());
|
|
|
|
|
Hello all!
I'm trying to launch a track in my music player of choice.
the command line is something like the following
c:\OtsLabs\OtsPlay.exe c:\track to be played includes spaces.ots|3 /play
the "|3" is the track within the album file to be played.
I can get Windows Media player to load a wav track without spaces, but not with, and the extra bits of command arguments... I can't seem to get them to work at all with my app.
The best I can do with this app is to open the playing app, empty.
The filetype in windows explorer has the following play action...
"C:\OtsLabs\OtsPlay.exe" "%1" /play
Thanks for your assistance.
|
|
|
|
|
Try putting the filename in quotes. That should help.
Kristian Sixhoej
"You can't undo the past... but you can certainly not repeat it." - Bruce Willis
|
|
|
|
|
My appologies, but using the startinfo arguments, it is in quotes.
If I put it all in quotes, it won't load, if I put just the filename in quotes, and put the |3 /play outside, I get a compile error. With only the filename (in quotes), it still won't open the file. Just the application.
|
|
|
|
|
To prevent compiler errors, you need to escape your quotes. How you escape them depends on if you're using normal (use \") or literal (use "") strings here. I recommend literal strings here.
Normal string:
myarguments = "\"C:\\track to be played includes spaces.ots|3\" /play";
Literal string:
myarguments = @"""C:\track to be played includes spaces.ots|3"" /play";
|
|
|
|
|
Interesting!
I'll give that a shot!
Thanks!
|
|
|
|