Answer Questions
jeje1g Refresh the Winows OS from within Visual Basic
I've made some program in Visual Basic 2005 that works with changing files and folders. After I've finished it, the main problem is to refresh the Windows OS. I mean the same thing as when we press F5. Than everything refreshes and if we have made changes, they are immediately shown. Could someone help me with this matter A possible solution or maybe an idea how to do that Thanks, Well I can at least tell you ho ...Show All
Achenar Changing the "Working Area" of a screen.
I am trying to develop an application that will act a bit like a second taskbar, in that it will resize the working area of a screen so that maximised applications do not cover over it, or simply get hidden behind it. Examples of applications that use this would be things such as Desktop Sidebar or JetToolbar. I am trying to develop the application in Visual Basic 2005 Express Edition (using the .NET Framework 2.0). I have found how to get the c ...Show All
bear007 VB will not go on the net!
I have installed VB 2005 on windows XP SP2. If I try to select anything that may connect to the net it reports an error to Microsoft and restarts the application (with my permission). However, if I run a minimal boot VB works just fine! I have tried disabling every system, driver and program that I can think of but only a minimal boot will allow it to work. Strangely if I have IE running on some sites that us ...Show All
RalphB HScrollBar and AutoRedraw
HScrollBar From the toolbox, the HScrollBar does not seem to be working (as it did in VB6) It does not fire on "Gotfocus", no matter where you click There is no "Mouseup" event for ending the scroll. Is this tool being phased out, or are there known bugs Related to this problem is Auto-redraw. I use the Scrollbar to help make a selection. As the user pulls the cursor, I have a floating tex ...Show All
JMarkHowell mod of a double type variable
Hi, I want to take the mod of a double number, the number is 26 digits, but in runtime visual basic gives the message of "overflow" code like : Public XNo As Double Public ModResult As Double ModResult = CDbl(XNo) Mod 97 The number in the XNo is a 26 digits one. Urgent Help please... Thank you, but I still take the runtime error just in the mod operation. ...Show All
Kuti VS 2005 RTM Weird Editor Behavior
I'm using the VB Editor in VS 2005 RTM version and every so often it starts misbehaving and I have to close all editor windows to get working properly again. What happens is that as soon as I type a single letter at the beginning of a line it immediately appends open and close parens. So for example if I want to type an If statement, as soon as I type 'i' it changes it to i(). If I backspace to delete the parens it puts them back in. ...Show All
london257 ShowWithoutActivation does nothing???
I have added Protected Overrides ReadOnly Property ShowWithoutActivation() As Boolean Get Return True End Get End Property to my "test form" and open it using a timer from my "Form 1" but if you keep typing into the text box on form 1 when test form opens the textbox on form 1 looses its focus... It may be me doing somthing stupid so i have uploaded a test project so you can se ...Show All
csharpnewbie001 Pass any command line Argument?
Hello sir, How, can i pass any command line arguments (Through Run Command) pass when my VB application execute and that's values are receive when form activate. Kindly Help me Thanks. Or, create a module, with main function . Thanks To SJWhiteley your e-mailid To pass command line arguments to another app, you should look into the Process class, which does pretty much anything there is to do with Windows processe ...Show All
cmh322 An array of variables
I have the following variables Public Shared angstroms As Double = 0.0000000001 Public Shared astronomical_units As Double = 149598550000 Public Shared barleycorns As Double = 0.008467 Public Shared bohr_radius As Double = 5.291772083 * 0.0000000001 + 19 * 1.0E-19 Public Shared cables As Double = 182.88 Public Shared centimeters As Double = 0.01 Public Shared chains As Double = 20.116840233680467 Public Shared cubits As Double = 0. ...Show All
Chakry cannot set .papersize.rawkind
Can someone please help with this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=321014&SiteID=1 I have spent many hours on this and it seems there is no one in the other vb forumns that can help with this issue Many Thanks in advanced Ron sorted http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=321014&SiteID=1 ...Show All
GPolk Access Form in Code from a User Control
I have created a UserControl1 that inherits from the Visual Basic.Net 2005 TextBox Control. A Windows Application Project is then created (named WindowsApplication1) and the UserControl1 is dragged onto Form1 of WindowsApplication1. Question: In the code of User Control how is Form1 accessed In particular, it is desired to place some graphics on Form1 from code in UserControl1. Thanks for any response... ...Show All
Mike Yearwood checking properties of folders
Hi all, I am trying to run some processes to tidy up our SAN storage. A couple of the things I am struggling with are : 1) Checking the security of the folder properties to check who the owner is 2) Checking the security of the folder to check if "Inherit" is ticked 3) Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this ...Show All
GeniusLife A VB Program -Confirm On exit
Hello! I am a beginner in VB, basically I am creating a notepad application as a part of my learning. Im doing it in VB.NET. I am having problem in writing code that I want, which will ask for a save before exit confirmation, wenever i click in red X button on right. I want also include a check, so that only wen there is some event changes in the richtextbox (that i have used as d writing area) the save on exit dialog will pop up saying - " ...Show All
Sam_S Compile a Visual Basic.NET Application for MAC
Hello, I would like to know I can compile a Visual Basic.NET Application in order to use this application in a MAC. What kind of compiler I can use if it's possible. Thanks in advance, Joanna. Please note the the vb compiler for mono currently only works well for windows form's application, they're still working on asp.net. The good news is that they want to 0 errors this week (see http://thespoke.net/blogs/monoman/archive/2005/10/27 ...Show All
Jarrod Sinclair Trying to get StatusStrip on a Form to display text
Hi I am trying to display lines of text I am reading from a file to the status bar. I want to see progress of the programme through the file contents, but not through the message box as I have to close it for each line and their long files and that soon get tedious! Please see code below... All I get is the hour class - I need to trap end of file but first I wanted just to display the progress. Ideas anyone Appreciated - Regar ...Show All
