Answer Questions
Calo ToolStripStatusLabels
How do you make a ToolStripStatusLabel have a ' CAPS ' feature (like, say, if CAPS LOCK is on, it'll say CAPS in black, but if it's off, it'll say CAPS in gray ) Thanks for the code, Renee. I haven't worked with timers yet but it looks like a solution worth looking into. Mike Mike, I looked at several solutions to this. Apparently there is no asynch detection for the caps lock key and it seems in all the examples that I saw ...Show All
treehh Searching in a listview
Hi Is it possible to searc in a listview for a value The first column in my listview contains numbers and before the user can add an item to a listview, i would like to check and see if it is already there. the number in the first column is an index and it should only search this column. Is this possible Hi there, If you want to search the first column of the ListView then I've placed an example be ...Show All
Geoffrey Jacoby reading file LINE by LINE
I already built a New Character Page that you gill out information like name gender and class that auto-generates stats for the specific character (Stamina, health, mana, strength defence, agaility, and wisdom) and saves each of those stats as individual txt files and puts them in a folder depending on what you put in as your name. Now When I start my game I want to chose what account to play as. I am thinking when I save my character it saves a ...Show All
Ravishenkar How do I draw a shape on an existing image?
Hello, I've been trying to figure this out for a while now. I have an existing image that I've loaded into a variable via system.drawing.image. How would I put a shape(circle, line, etc) in a location on that image Thanks for any help. P.S. I'm using .Net 2.0 and VB.NET 2005 Ok, I found the following code that does what I need(with one exception) Dim g As Graphics = Me .Creat ...Show All
Rp777 Extracting data from lotus domino database using VB.NET
hi all , any idea on how to extract data (NSF file) from lotus domino database using free wrapper from VB.NET I'm trying to do the same thing. Haven't found out how to do it, yet. ...Show All
ajbj IIF still broken in VB 2005?
Now we have generics in the VB language, I was sort of expecting the clunky old Iif() function to be supplemented with a nice generic version, so we could have dim s as string=Iif(of string)(x<y,"true","false") and the true and false parts would be strongly typed. But I can't find it! If it doesn't exist, is it too late for Microsoft to add: Private Function IIF( Of T)( ByVal conditional As Boolean , ByVal truePart As ...Show All
RittDog Accessing MSMQ from Windows Services
Hi, When i try to Access MSMQ from Windows Appliaction by using the following code it is working fine but i am not able to do this from my windows Services. Plz help me out in resolving this issue. ========================= Public Sub send() Dim myQueue As MessageQueue Try ' connect to the queue and send the message myQueue = New MessageQueue(".\private$\DevXTestQueue") myQueue.Send(".\priv ...Show All
joe123163029 Can VS 2003 and VS 2005 Coexist on the same computer?
Hi, I've got a major project in production on my computer that was designed in Visual Basic .NET 2003. I want to upgrade to 2005, but during the process of making sure everything works properly I still want to have 2003 available to make my changes if need be. Can I have both versions installed on the same computer Does the .NET Framework get updated in 2005 in such a way that it will mess up programs compiled in 2003 ...Show All
Marcello Consolo Don't work
why don't works this code, I can't see what wrong is Private Sub Afsluiten_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Afsluiten.Click Dim Response As MsgBoxResult If TextBox1.Text <> "" Then MsgBox( "Opslaan " , MsgBoxStyle.YesNo) End If If Response = MsgBoxResult.Yes Then OpslaanFunc() Else End End If End Sub I ...Show All
Sparklight ToolStripDropDownButton item.
Well i have a toolstrip1 at the top of my app, i then have a ToolStripDropDownButton1 on it which i have named menu On the menu there are a couple of catagorys: Most useful, less useful etc I want them to be able to there own programs to the catagorys, so i added a button when this button is clicked it brings up the openfiledialog, here is the code i used for that: Dim myStream As IO.Stream Dim openFileDialog1 As New OpenF ...Show All
Brian Jimdar2 EventID ?? is now InstanceID
Guys, On VB 2005 microsoft had the wonderfull idea of change the Eventid for InstanceID. I'm trying of retrieve the eventid in my application but it come with a very long number in some cases. How can I retrieve the EventID that you can see in the Event Viewer instead of the InstanceID Is there a way I can convert the InstanceID to EventID Ejemple: Private Sub btnSee_Click( ByVal sender As System.Object, ByVal ...Show All
Fabiano Stussi Pereira Countdown timer help
I am trying to create a countdown time in which a user can enter a time in hours minutes and seconds. The countdown will then begin. I want something like the TV show 24 timer that counts down. Here is the main code I have: Sub Timer2_Tick(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Timer2.Tick Dim time As Date time = lblTimeRema ...Show All
jbierling Cannot open existing form in Designer HELP! - VB 2005 Express Edition Beta
This is so aggravating because I'm sure it's a simple thing! Using the new Visual Basic 2005 Express Edition Beta. Created a project, form, controls, etc. Worked great. Love it, compiled perfectly. Saved everything, closed the program, went to bed. Woke up, opened the project, but now CAN NOT open the form (form1.vb) in Designer mode!! I can open the code, it's all there, exactly as I left it, but can ...Show All
Dmitry Titov MSFT Treeview parent sort
Hi everybody. I need to sort a treeview, but I must keep intact the child structure. Any idea about strategy Example: BEFORE SORT: root | ---parent2 | |---childX | |---childA | ---parent3 | |---childX | |---childA | ---parent1 &nb ...Show All
Saurabh Nandu - MVP Vb2005 - ReleaseCapture
Might anyone have working VB2005 code for ReleaseCapture Can you provide more information What is ReleaseCapture Consider the old pre-Office 2003 short cut bar. Any form that does not have a menu bar will not be grabbable with a mouse. With the the pre-Office 2003 short cut bar, you could 1.) Hold down the left mouse key on the form and move the form on screen while the left mouse is heldown. I have vb2005 code that worked in ...Show All
