Answer Questions
Zakssj Determine TopMost Window on the Desktop
Hi All, I have a tricky one (well, tricky for me) that I am having trouble finding a solution for. Here is the problem; I have a Form that is open and a Notify Icon. I want to be able to click the icon and have one of two things occur depending on the current state of the form. If the form is the Top Most (i.e. on top of all other normalised or maximised Windows) I want to hide the form. If the form is NOT the Top Most (i.e. behind a ...Show All
FcoLomas Debugging: Not showing updated forms
I have a problem with my application. On Design view I add elements to the form, e.g. buttons, textboxes or Code View e.g. editting codes etc. anything... and use the debugger, the objects and changes dont show up. It still stays the same as before, and i cant see any changes to my program. When I start a new project, everything is back to normal! Has anyone got an idea as to what has happened I'm using Visual Basic 2005 Express Edition thanks ...Show All
s2631 A Windows Explorer-like browser that shows image thumbnails
Hello all, Don't want to reinvent the wheel so maybe somebody out there has come across some source code that would allow me to reproduce something like Windows Explorer that would show image files as thumbnails when looking in a directory containing image files. Visual Basic's Power Pack has a FileViewer controller that works ok but without showing thumbnails. Any suggestions greatly appreciated. Cheers. NRF ...Show All
Konstantinos55265 terminate vb.net console application
Environment: Running this code on my PC via VS 2005 .Net version 2.0.50727 on the server (shown in IIS) Code is in ASP.NET 2.0 and is a VB.NET console application Problem & Info: Application.Exit() is throwing an error in VS 2005 when I debug Error: Name 'Application' is not declared The code: Imports System.IO Imports Sys ...Show All
stanfordholden I am attempting to write my 1st DLL in Visual Basic
I am using Visual Basic 2005 Express to attempt to write my 1st DLL and keep getting an Entry Point Not Found error when go to use the DLL even though it compiles. What do I need to do to fix this problem. Unable to find an entry point named 'Add' in DLL 'D:\My Projects\testdll\testdll\bin\Debug\testdll.dll'. code is this: <ComVisible( True )> Public Class math ...Show All
Daliah PC Clock
Whats the best way to call and display the system clock as a string e.g. "Twenty Past Four" I basically want to take the variable from the system clock, and use that in my application to display the time, but in alpha-numeric characters which would be everyday phrases like: "Five minutes past six" "Half past three" etc... So if someone could show me how to call the system clock into my application, and then convert that into the a ...Show All
PatrickAltman Problem with Radio Buttons bound to Application Settings
I am using group of radio buttons which are bound to user-scoped application settings. Problem is on runtime if I try to select some other radio button in the group, I have to actually click it twice to select it. It works fie if the radio button is not bound to settings. I tried using checkbox as well and faced similar problem. What is the reason for this lag in behavior and how can I fix this. Thanks If you could show the ...Show All
Murad YAGLI Gonna make me sound stupid
I know this is gonna make me sound stupid, but I have to ask anyways because I have no clue. I new at creating programs in Visual Basic. And I was wondering how to complete a program so that you can run it without having to open it with Visual Studio. For instance lets say that I wrote and alarm clock program for my labtop. Now how do I make the program so that it will work as a stand alone program without the need for Visual Basic Remembe ...Show All
Darkdog Check extension of file in If Statement - Syntax Issue
I'm trying to check the extension tye of the incoming file. The problem lies here: The code: Sub Main() ProcessFiles("\\sss\\sss_input.txt", "\\sss\mnt_output\") 'ProcessFiles("\\sss\naf_input.mer", "\\sss\naf_output\") End Sub Public Sub ProcessFiles(ByVal sIncomingfile As String, ByVal sOutputDirectory As String) Dim f As New Security.Permissions.FileIOPermission(Se curity.Per missions.P e ...Show All
sergeb Problems with my For statement
I have a text file that I split by line using the following: Protected eo() As String = Split(My.Resources.itemOffsets, vbCrLf) I also have the following For statement: For i As UShort = 37 To 255 If cb.SelectedItem() = eo(i) Then b(132128) = Array.IndexOf(eo, cb.SelectedItem) Next where cb is a combobox b() is a byte buffer now, the file itemOffsets contains 256 lines, each with a different string. However, two of the ...Show All
dcmp - dave to get data from ipadress:port
for example ip adress:192.168.0.100:2533 I want to get data from this adress then what did it send to in my datagrid How can I do or another solution I'm Sorry for answer in a nativa language, In my opinion, developing a software which should get data stream synchronously, it needs to solve that with remoting components (such as realtime online stock info). In other way if that software data download behaviour is based on a u ...Show All
vbnm wordwrap
In Vb .Net the Lable's property wordwrap was removed. How can I by-pass this Is there something else to use instead Thanks for any reply! Thank's man, this should do. I thought that there might be a work-around. I thought Label do word wrapping automatically, isn't it You can turn off AutoSize and set size of the label manually, enough to hold text in most situations. ...Show All
Huy Dao MSFT Open
Can someone tell me how to open an application manifest if you do not have .net on your computer. Is there a way to create a setup that doesn't need the .net framework Here is a link to my setup. Can someone test it on their comp to see if it works and if it doesn't whats wrong with it http://www.freewebs.com/jrcdude/program.htm 1 ...Show All
Brad Harris XML comments
My group is attempting to standardize on XML commenting for all of our classes and methods. We like the "Insert comments" option in VS 2005 but would like to add an additional tag <history> to the comments section. I know that we could probably do this manually each time we add a new class, but I would like to be able to have this new section come up automatically when we insert the comment. Is there a way to modify the XML co ...Show All
qrli Letters and signs
Below is part of the code that I use to produce random letters of the alphabet (Thanks to the Forum) For lett = 0 To 8 ascii = CInt( ((90 - 65) * Rnd() + 65)) arrLet(lett) = Chr(ascii) Next Select Case CboOne.SelectedIndex Case 0 LblOne.Text = arrLet(0).ToString() I decided to play with the code so that it would produce random signs instead of letters. so I changed the code to the following For lett = 0 To 8 ...Show All
