Answer Questions
Imsoccrman Dynamically Changing Button Properties
I am writing an application where I have a 5x5 array of buttons that I want to dynamically update some of the properties. I have created all of the buttons in the editor and have given then names that reference their position in the matrix (i.e. btnGrid11, btnGrid12, etc.). Based on the button that a user presses, I would like to update the image that is shown. I would like to do this in a loop and the problem that I am running into is tha ...Show All
SMerrill8 How do I insert a line break in a string?
I am going to write a program that lets me type text into a textbox and write that to a file. The two first lines should contain some pre-defined text that I want to write in the code. And here is my problem: I can't manage to make a line break in the text file, like when you press enter. I use strings to make the lines, but when I open the text file it's just written on one line. Does anyone have an idea how should do this ...Show All
CUI WEI new, need small help
what is the diference when I declare; dim temp as String or dim temp as String() what does the () do to the class to the instance maybe a stupid question but I can't find any answers thank you in advance Maybe something like this: ' Declare and initialize string array Dim x() As String = { "Foo" , "Bar" , "Zoo" } ' Assign a new string array to an existing string array variable x = New Str ...Show All
Mark Schmidt Windows and Console Application
I've got a Windows application which now needs to be changed to allow the user to also run it from the command line (with args passed in and also so its output is sen to to the command line) in addition to running it from the desktop (i.e. a GUI and none GUI Version). My current thinking is have a console application which checks for the switches if there are non then it starts up the GUI version else we run the non-gui code, is this the best wa ...Show All
Kiplingku dll needed
I need a net dll to transform wgs84 geographic coordinates to ED50 UTM coordinates. Any help or direction . I need only this and not a full .dll that load a lot of bytes into memory at runtime and they are costly. Good answer but it is not the one I am looking for. Thanks With the amount of ram most computers have now, the basic memory needs of a dll is minimal. If you really want to have low memory cost, then make a c or c++ program ...Show All
dtb5571 Detect and STOP shutdown in a VB.net 2003 Process
Howdy folks, I believe I may have found the one thing that’s impossible to program (without "cheating"). I'm using VB.NET 2003, on a winXP Pro machine. Here's what I'm trying to do: Using a service without a GUI, I'd like to detect when Windows is shutting down, restarting, or logging off. I need to differentiate between shutdowns, restarts, and log offs. As soon as one of these actions is detected, ...Show All
Mark McCasland VB first time install
I am a network administrator interested in program development. I installed VB 2005 Express Edition for the first time on a Win XP Pro SP2 Dell GX 260 Optiplex (1GB of RAM, 1.8 GHz processor). I log in and therefore install with admin rights. Upon writing a small program to view web pages, the IDE hangs when I start debugging to test the program. The vbexpress.exe CPU usage hits 99% and stays there. I have to use Task Manager to force the proces ...Show All
dpf check table exist in database or not?
i using microsoft access as my database. may i know how to write the coding to check whether a table is exist in the database for example, while i click a button in a form, it will check whether the specify table is exist in the database or not "for example, while i click a button in a form, it will check whether the specify table is exist in the database or not " Buttons don't check a thin ...Show All
Manic_Again Dump locals?
Is it possible somehow to dump/access all locals when hitting a exception in VB.NET 2005 Today I use reflection to dump all public variables into a mail, but what I really want is to dump the "locals". Is it possible to access them somehow Im talking about dumping locals while running the Application, NOT when debugging it. there is a locals window for viewing values! In runtime... not while debugging I can certainly wa ...Show All
Thomas Logan VS 2005 IDE hard crash
I've just started using VS 2005 and I've migrated a fairly sizeable 5-project (all VB) solution over from 2003. The solution built and ran perfectly in 2003, but in 2005 I cannot even get it to start the build. As soon as I resolve all errors, it IMMEDIATELY crashes and doesn't even offer a chance to send the error report. I do have error reporting enabled in WinXP. The dialog box I get says " Microsoft Visual Studio 2005 has ...Show All
flape How to work on a copy of a windows form.
Hi, I have a two forms. the second one is 70 percent identical to the first. I don't want to recreate the form instead wish to copy the same form rename it then work on it. when I do this it is not possible to simultaneously work on both the forms. I am getting errors. Is this not possible in VB 2005 or what is the way to do it thanks How copy-pasted form will help If 70% of forms is the same - any change in this 70% will ...Show All
RussHolmes Mathmatical functions
Does VB Express support mathmatical functions like sin, cos IF it does, what is syntax for using it. Yes, use the Math Static Functions like Math.Sin(....) yes they are in the system.math class http://msdn2.microsoft.com/en-us/4zfefwz9(vs.80).aspx all the mathematical functions you would normally want ...Show All
RumWarden Shortcut problems
I created a VS 2003 deployment project and I've set it up the way I want, even with a custom installer class. At first I had shortcuts on the desktop and in the program files that were working. Now, the shortcuts will uninstall the program if you double click them. When looking at where they are pointed, they show the installation folder and not the executable. I've recreated the shorcuts and changed other things, but not ...Show All
viliescu Config file on Class Library ??
Got a solution with 3 projects, a Web Service, a WinForms (MyUI), and a Class Library (Foo). MyUI calls methods in the DLL that access the web service. The DLL has project config settings that store the URL of the web service. I compile the solution and it compiles all 3 projects. In the DLL's bin dir it puts the foo.dll and foo.dll.config files. However, in the WinForms bin dir it puts the MyUI.exe, MyUI.exe.config, and foo.dll; it doesn't i ...Show All
JCatDK Change one field in a table
I've written a program that reads a comma delimited text file into an SQL Server table. I have more than two hundred such files with literally hundreds of thousands of rows of data. Unfortunately, the existing time data is in the wrong format (e.g. 0350 instead of 03:50. How can I read, each record, change that one field and move on to the next I know there are Datasets and BindingNavigators available. I have read the help files and online docs ...Show All
