|
Hello There
My application contains a toolbar and it was working fine until I added 4 more buttons and 4 more images in imagelist. then I assigned them to new buttons. this work fines in the application. but when I deploy the application the icons for newly added button does not appear. can any one help me what is going on ?
Best Regards
Rizwan Bashir
|
|
|
|
|
Got my self a stupid solution. may be this will help others
I changed the Form color and compiled it on release and then changed the color back and compiled it. and it started working. How ??? I dont know !!!!
if any one knows the theory behind this .. would be lot help ful for me
Regards
Rizwan Bashir
|
|
|
|
|
how to to set a Map Property with GOOGLE Map.
Plz guide me.
|
|
|
|
|
Sir,
In the label control , i want make the text moving in upward direction like scrolling at run time and the text lines are continuously moving upward.The process should continue until the application is exited.
Thanks and Regards
Amaneet Brar
|
|
|
|
|
hello friends,
plz guide me so that i am able to find a file in a directory.
Is there any ready made API or dll?
Currently i search file as follows--
first of al i get a number of files in a directory .
then using a for loop, i check every file .
plz reply
Rahul here
|
|
|
|
|
The following will give you all files with the extension 'dll':
Dim di as System.IO.DirectoryInfo = new System.IO.DirectoryInfo(myPath)
Dim fi as FileInfo() = di.GetFiles("*.dll")
You can search by any pattern you like.
You can also use File.Exists to check whether a specific file exists.
|
|
|
|
|
Thank You!!!
Rahul here
|
|
|
|
|
I have make a form (bollon) just have the same function and appearence of new email arrive in Outlook 2003.
It shows very nice, but it take the focus when I show the ballon.
How can I show it but without take the focus?
Thank you!
|
|
|
|
|
Are you using VB.Net?
If so, you can use Form.SendToBack() Method Just after
Form.Show()
Make sure TopMost property of the form is set to false and you dont use Form.ShowDialog()
|
|
|
|
|
Sorry, My situation is,
Show the box topmost, but doesn't take the focus from main form.
|
|
|
|
|
Good then, what you can do is
Dim frmChild As New ChildForm
fr.Show()
Me.Activate()
PS: You can't use ShowDialog
|
|
|
|
|
please how can read data in lines from textpad and view them in the listview
start the code from browsing until fill the listview
nice day
amarni
|
|
|
|
|
you can read the text file like this
Dim fl As IO.StreamReader
Dim txt As IO.File
fl = txt.OpenText("C:\abc.txt")
while fl.read or fl.readline ( writing over here so done remember)
lstview.items.add(fl.readline)
end while
if you are talking about textpad software then you might need to explore the API for that.
Rizwan Bashir
|
|
|
|
|
Hi Friends,
I need some clarification regarding TELNET with .NET.
In the remote system (SOLARIS) root folder i have some scripts like perl,shell. I want to execute the script.
I executed through the command prompt, but i want to execute from VB.NET.
First of all , i want to know we have option in .NET2.0 or not.
Please Clarify me.
Thanks,
Tharma
|
|
|
|
|
rexec, you'll need to implement Rexec protocol see RFC, quite simple - really.
Never send a human to do a machine's job Agent Smith
|
|
|
|
|
Thanks for your reply.
I think, .NET does not provide rexec component. Only some third party DLL
is available, that provides only trial version. We don't have free version
of that components. Please clarify me.
Give some overall ideas of rexec, How to use and implement it?
This will be very helpful for me.
Thanks,
Tharma
|
|
|
|
|
The rexec protocol works as following :
Client makes TCP connection to REXEC port (512).
Client sends TCP port number (decimal ascii, null-terminated) of port. If the first byte is a NULL, then server won't make any stderr connection
Server makes TCP connection to client's port
Client sends target username (null-terminated).
Client sends target password, NULL, remote command, NULL, and then command's stdin, followed by a FIN.
Server sends one null byte (=no error), or a non-null byte, followed by error message(s).
Server sends output of command.
Server sends FINs on stdout, stderr connections.
Never send a human to do a machine's job Agent Smith
|
|
|
|
|
Thanks my friend.
Really I understand how rexec works, but i don't know how to implement these
method in VB.NET.Please guide me.
Thanks,
Tharma
|
|
|
|
|
If you have done any Socket programming I suggest you go through examples provided by Microsoft.
Once you familiar with creating sockets and tcp/udp protcols (conection based and connectionless) and sending and receiving, implementing rexec is simple.
Never send a human to do a machine's job Agent Smith
|
|
|
|
|
Thanks for your updates.
I am not aware of socket programming. Some of my friends told me, through
the socket programmin we can tranfer the file but they don't know how to
execute the remote system (Like Solaris,Linux) files. Please guide me.
If you provide some sample code that will be very helpful for me.
Thanks,
Tharma
|
|
|
|
|
hello
i want a confirmation box when a user press the delete button.
is there anybody to help me.
bye
|
|
|
|
|
Are you writing a VB.Net windows form application, or are you using VB.Net with ASP.Net?
nicko
|
|
|
|
|
hello
i'm using vb.net with asp.net.
plz help me.
i'm stuck becoz of this problem
|
|
|
|
|
in the code behind page:
..
Private Sub btnDelete_Init(...) Handles btnDelete.Init
btnDelete.Attributes.Add("onclick", "return confirmDelete();")
End Sub
...
on the aspx page:
..
<script language="javascript" type="text/javascript">
function confirmDelete() {
var strMessage = 'Are you sure you want to Delete this record?');
return window.confirm(strMessage);
}
</script>
...
This script will provide a confirm dialog which asks the user is they are sure they want to delete this record, and if the user has selected 'Ok' then the script will submit the page back to the server and you can use the btnDelete_Click event to process the action. If the user selects 'Cancel' from the prompt, the page will not post back.
Hope that helps.
nicko
|
|
|
|
|
Thanx for sending me such a valuable code.
I need your help once again.....in my project i have to set Pritable Flyers and Map Property Feature(With Google Map).
I searched from a net a lot couldn't find any thing valuable.
if u guide me or suggest me how can i attach these feature with my project
then i will be very thankful to u.
thanx
|
|
|
|