all groups > vb.net > october 2007 > threads for wednesday october 3
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
MDI Menu Icon - not showing - then showing
Posted by Miro at 10/3/2007 10:54:21 PM
VB 2005 Express.
I can create a simple MDI app, with 2 forms.
On Form1
I add a menustrip on top - and click on ( Insert Standard Items )
Add a ToolStrip as well and add 2 buttons.
On Form2, add a form Icon
On Form3, add a form Icon
Now, On form1 here is the code I have.
======
Public ... more >>
Sending strings to Listboxes
Posted by JimmyX at 10/3/2007 10:31:39 PM
If I try to add a string to a string variable and display it in a listbox,
the string does not display
Strng="abc"
listbox1.items.add(Strng+"xyz")
The resulting display is abc
But if I do it the other way around:
Strng="abc"
listbox1.items.add("xyz"+Strng)
It displays correctly
The ... more >>
Progress bar cannot be shown while a process is running
Posted by kimiraikkonen at 10/3/2007 10:06:02 PM
Hi there,
There is a problem about progress bar; although the
"progressbar1.visible = True" is present for my invisible
"progressbar1" control to make visible when button1 is clicked, before
execution of my external process, it appears after the external
process finishes processing. And my main... more >>
System.Timers.Timer
Posted by Lou at 10/3/2007 5:35:32 PM
Do these run on a separate thread?
I created a COM .NET class and use the timer in this class to call a private
function of the class.
If I use this COM dll in a VB6 app, does the function called from the timers
"Elapsed" callback
run on a different thread than the VB6 app that instantiates... more >>
Is attribute also overridable?
Posted by Peter at 10/3/2007 4:22:02 PM
I'm learning about overriding. My understanding is that I can override
methods and properties of a class by inheriting that class. Does it include
attribute?... more >>
ComClass Public Function Comments
Posted by Lou at 10/3/2007 1:53:12 PM
How do I add comments to my public functions so the show up in the object
browser?
Something like in the Object viewer:
Function IsMissing(ArgName) As Boolean
Member of VBA.Information
Returns True if an optional argument has not been passed (- How Do I
add these comments)
-L... more >>
Printing
Posted by id10t error at 10/3/2007 1:47:38 PM
I have a program and I need to print some reports. Once they click on
the button on the form that says print I need the reports to
automatically print. The reports are a text file. I am not sure the
best way to do this. I was thinking maybe having the button open a
Batch file that would print th... more >>
How To End Process Tree
Posted by SVogt83 NO[at]SPAM gmail.com at 10/3/2007 1:29:14 PM
Is there a way in VB.NET to mimic the "End Process Tree" option found
in the task manager? I have searched the process class and can not
find any way to determine a relationship between any two processes.
Is it possible to stop a process and all its "children" in VB.NET?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Watching an array size
Posted by cmdolcet69 at 10/3/2007 10:15:52 AM
I found something curious today when i add my arraylist to my watch
window i notice that my array size with looping was 501 however it
only displayed 200. Why is that?
Dim i As Integer
Dim arr As New ArrayList
For i = 0 To 500
arr.Add(i)
Next
... more >>
Question about networking in VB
Posted by Steven Davidson at 10/3/2007 10:09:00 AM
I've come from the VB 6.0 world where, when I wanted to make a client/server
applet, I'd use the built-in Winsock ActiveX control. Now I'm trying to move
on to Visual Basic .Net (if that is, indeed, what comes with Visual Studio
2005). I've noticed that there isn't a corresponding Winsock-li... more >>
Upgrde Help
Posted by csgraham74 at 10/3/2007 7:04:25 AM
Hi Guys,
Im trying to upgrade some code to asp.net but im getting a few errors
on a couple of sectionsL
they errors are in the following
in the above below it doesnt seem to like the string function:
lStrPadMessage = pStrMessage & Chr(128) & STRING((128 - (lLngLen Mod
64) - 9) Mod 64,... more >>
curious about something
Posted by Michel Posseth [MCP] at 10/3/2007 1:51:01 AM
Hello
i just encountered a funny situation
Dim i As Integer = 0
MsgBox(i = Nothing)
and
MsgBox(IsNothing(i))
produce a different result , could someone explain me why ?
p.s.
The code i encountered this problem with is not mine :-) , but we just
... more >>
|