|
Hi
I want to see the list of all embeded resources available in the assembly in debug watch window. I am searching for it, but not able to locate it quickly.. can anyone please help me and let me know where i can find it?
thanks
|
|
|
|
|
in continutation to the last post, I am using following string to get the resource names,
GetType().Assembly.GetManifestResourceNames()
Thanks
|
|
|
|
|
hi
i was posted how to run first exe before main exe.anybody can't reply me correctly .
but i have suggestion . that is i want to megre 2 exe files and make 1 exe file and when end user run reuslt file both files run.but how to do that . (i was merge 2 exe in 1 exe but when i run result file only 1 exe run .. i used binary reading and writing )
How to Solve My Problem ?
|
|
|
|
|
You must write a third application that start first and second program.
Process.Start("first.exe");
Process.Start("second.exe");
|
|
|
|
|
Hi,
I have a System.IO.Stream, now I want to get all data from that stream into a Byte array!
I try with the ReadToEnd() but it return the String type (=>problem with image data). I try to read the length of the stream, but it return -1. If I read byte to byte, it's OK but my program will be slow!
How can I do?
Thanks,
Hung.
Hung
|
|
|
|
|
Try the Stream.Read method[^].
"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
|
|
|
|
|
Hello
Try this:-
string input = MyStream.ReadToTheEnd();
byte[] ByteArray = System.Text.Encoding.Default.GetBytes(input);
Regards
|
|
|
|
|
In ASP.NET i have one application. I need to run a report from that app to consultants at every weekend and monthend it should work automatically when system starts.
I need to schedule it in windows service and other retriving queries for this in web service in asp.net. how to do this. how to call windows service from webservice.
Thanks
Prya
|
|
|
|
|
Why you put burden of retrieving queries to windows service, rather you can put report data from windows service in db, and let web service directly fetch reports from db to service to asp.net page without interrupting windows service.
Regards,
Ketan.
|
|
|
|
|
Actually i want only the scheduling in windows service. other works i have to do in asp.net. so i thought it is better to use web service and easy to access the windows service from web service. i dont know how to call. Thanks.
Regards,
Prya
|
|
|
|
|
Hi all,
here's a part of the code im tryin to use
"WHERE PSCustID LIKE '"+ txtSearchString.Text +"%'";
and i got error when running it...
am i doin it right?
tnx in advance
-::maximus::-
|
|
|
|
|
What's the error that you are getting?
-- modified at 2:52 Thursday 6th July, 2006
|
|
|
|
|
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll
-::maximus::-
|
|
|
|
|
Hi..
The part of the SQL statement that you've sent seems correct...You need to get a specific error to understand what exactly is going wrong..
You can do one thing, use Try-Catch to handle the exception.
Try
//code
Catch ex as OleDbException'
MessageBox.Show(ex.Message)
End Try
|
|
|
|
|
ok tnx, ill try it.
-::maximus::-
|
|
|
|
|
You should use parameterized qzeries to increase security of your code as well as readibility. Take a look at the following article here on CP: SQL Injection Attacks and Some Tips on How to Prevent Them[^]
"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
|
|
|
|
|
I have a hyperlink in my page called Customer Details.
now when a user clicks on this link a window should popup displaying Customer information
pl tell me how to create a popupwindow in javascript and how to call it in my asp.net application using c#
thank u
arun
|
|
|
|
|
I am working on Dotnet 1.1.
In my login form i have a dropdownlist which contains the list of user types i.e. Customer,User,Dealer.By default the dropdownlist will have following value "Select a type"
now when a user clicks the login button without selectinga user type it should give a popup alet message.
pl tell me how to write the alert message in java ad also
I want to call a java alert message into my asp.net web application.
Thank u for ur kind support
arun
in these situations
|
|
|
|
|
Simply write,
Response.Write("<script language='javascript'>alert('Your message');</script>");
Regards,
Ketan.
|
|
|
|
|
Hi,
Iam new to c# Can, how to make a normal textbox to accept only numeric values and also some specific format.(not using masked textbox).
Thank you,
regards
Praveen
|
|
|
|
|
Use client-side code to validate the data entered..a javascript function will work fine...
Refer to:
http://www.shiningstar.net/articles/articles/javascript/checkNumeric.asp?ID=AW
|
|
|
|
|
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll
-::maximus::-
|
|
|
|
|
ooopppss!! sorry please disregard this message.
-::maximus::-
|
|
|
|
|
Hello Praveen,
You can create your inherted TextBox and use this code:
protected override void OnKeyPress(KeyPressEventArgs e)
{
string _allowedkeychars = "1234567890";
if (_allowedkeychars.IndexOf(e.KeyChar) < 0)
{
e.Handled = true;
return;
}
// Youre code.....
base.OnKeyPress (e);
}
All the best,
Martin
|
|
|
|
|
hi,
How can I search folder or files on a FTP server through C#.
Regards & Thanks
Sunil
|
|
|
|