|
No, there's no built-in option to do this. You'd have to ownerdraw the control yourself, supplying the code to render the background image and supply the properties to set the the image you want. But since this is VB6, I've long since forgotten how to do this.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Dear all
Although working in DOT NET but don't know how to use debug for watching/tracing the program line by line. Plz let me know the way I can have an effective debug. Doubts are-
1. how to put a break point?
2. application directly goes to browsers without stopping on break points,how to chk variable status and effect of code?
3. I m familier with program tracing in C . is there some way to implement such a line by line debug/tracing of code we have written.
Plz do tell me
With Thanks & Regards
Amit Sk Sharma
|
|
|
|
|
1 - F9
2 - Make sure you're running a debug build and pressed F5 to start debugging. Then, you can check anything you like ( it will stop )
3 - yes, if you must.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thnx dear
it helped me
With Thanks & Regards
Amit Sk Sharma
|
|
|
|
|
How can I refresh inet control in VB6.
Virendra
|
|
|
|
|
That depends on what you mean by "refresh". What are you doing that requires you to do this?
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi! Dave,
I am using inet control to read one url and my application is running 24 hrs a day. After 10-15 hours it is giving error of request timeout. I have increased request time out but still problem persist.
Thanks & Regards,
Virendra
Virendra
|
|
|
|
|
You might want to try a packet sniffer on that machine when the problem occurs. See if there is any kind of a response when your app makes the request, or if the request if even made.
If this was VB.NET, I'd say don't use the INet control, use the HttpWebRequest classes.
There is no reset on the INet control. You'd have to kill it off by setting it's instance to Nothing, then create a new one. But, that's no guarantee that it'll take care of the problem either. There are no problems with the INet control like this that I can find. If you get a Timeout error, the best course of action isn't to fail immediately. You have to wait a bit, then retry the request. Do that a few times before you call it dead.
You have to find out what the root cause of the problem is before you can implement a fix and call it "solved". Find out what's really causing the timeout? More often than not, you'll find it's because the web request didn't complete and is still pending a download somewhere.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
use refresh2() instead of refresh()
|
|
|
|
|
Is it possible to compile an application so that the necessary components would be integrated? I think it is annoying that the users of my application have to download and install the whole .NET package from MS's website. I would like to make one zip file that contains program.exe and the necessary .NET component files.
|
|
|
|
|
No, it's not.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
How to implement ICU "I seek u" technology i.e. notify the server when the application is started or the user is logged on?
|
|
|
|
|
Pretty easy, you just connect to the server.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You go over their site and see if they have an SDK you can use to develop your own client. Somehow, I doubt they do. But, it's about the only place you're going to get any information at all on doing this.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
How to Keyboard lock in VB.NET? Help me.
|
|
|
|
|
You can just use the KeyPress event of your form to intercept the incoming keys.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
ok IM a newb but I have an understanding of programing. I learned java last year but I didnt get very deep with it .....
my question is if I am using the FolderBrowserDialog how do you do something ...say move .... a file ... how would I name it .... or call the file/files selected by user
If I am not making sense let me know and all try and explain
|
|
|
|
|
You would get the collection of filenames selected through the filenames property. You would then manipulate the data using the System.IO namespace, if you are dealing with files you will use the File class in the System.IO namespace.
Regards,
Thomas Stockwell
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.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
I am working on an assin for school and neither of my books have anything on linklist, adn this program needs to be double linklist. does anyone know of a website that can teach me, and help me understand how a link list works.
thanks bryan
Bryan
nighthawk9923@yahoo.com
bankbrya@isu.edu
|
|
|
|
|
Linked_list[^]. You get a lot of links if you google for linked list
|
|
|
|
|
hello,
I want to record sound in .wav and .mp3 format. can anybody help me ? also I want the way to convert file form one foramt (eg.wav) to another eg(.mp3)
ciacia
|
|
|
|
|
The easy way is to buy Sony's SoundForge software and an Edirol UA-25 USB Audio Interface.
Works for me.
JimT
|
|
|
|
|
I have a device that sends a report to a printer through a USB connection. I want to capture the output through a USB port on my computer and save it as a .PRN file so I can mess with it before passing it to the real printer. Does anyone know how I can do this?
Perhaps a better question is, has anyone who is willing to share the secret done it?
Thanx,
JimT
|
|
|
|
|
You can't really do this unless you write your own USB printer driver so that your machine LOOKS LIKE a printer that the device can print to. Capturing the actual USB traffic won't do you any good because you'll be capturing the USB data along with the printer data.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
I try to set text (pulled from Database) into a HyperLink and set it for an email.
Here is the code I try to use for it, but it only sets the "mailto" as string in front of it.
<asp:HyperLink ID="email" runat="server"
Text='<%# String.Format("mailto:{0}", Eval("email")) %>'></asp:HyperLink>
Using CommandArgument and couldn't set it in the LocationByArea_ItemCommand either
This is what I tryed:
Protected Sub LocationByArea_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles LocationByArea.ItemCommand
If String.Compare(e.CommandName, "ListAreas", True) = 0 Then
Dim str As String = e.CommandArgument.ToString()
LocationAreas.SelectParameters("areaID").DefaultValue = e.CommandArgument.ToString()
For Each item As DataListItem In Me.DataList1.Items
Dim email As Object = CType(item.FindControl("email"), HyperLink)
email.NavigateUrl = "mailto:" & email.Text
Next
End If
End Sub
Any suggestions how I could solve this?
|
|
|
|