Hi NoItAll,
Thanks for your reply. I was on holiday so could not respond earlier. I am not too good with Visual Basic so do not understand your reply. Can you please help me further. The Visual Basic application is installed on my X64 system itself, it is not used for distribution. Seen from the Visual Basic application, if I am in the debugger, can you please explain me how I should change my script ? I do not understand where to...
User Profile
Collapse
-
Active-X error CreateObject("ScriptControl")
Hi,
I have a Visual Basic application using Createobject("S criptControl") to convert a user input like 3+3 to 6. This worked perfect under Windows XP and even Windows 7 but on my new Windows 2008 Server (64 bit) it gives an error: Cannot Create ActiveX component. Should I register or refer anywhere ? Should I install anything ?
...Code:Dim SControl = CreateObject("ScriptControl") SControl.language -
How do I find user input in Datagridview?
Hi,
Probably I am asking something stupid. I have a datagridview in which I would like to be able to let the user change values of multiple columns by entering values (input 55.0) or additions(input +1.2)/decreases(input -1.2).....
How can I check what the exact input of the user is ?
At the moment I only use the input value (so for exampel 55.0) for which I use the DataGridView1.C urrentCell.Valu e which I put... -
No Screen Updates while processing in Visual Basic
Hi,
I am using Visual Basic 2008 to create some databases. It reads data from textfiles and puts them in SQL databases. After the user presses the Process button I would like to give the user to get some feedback of the process simply by for example label1.text += "Processing File 2".
But during the process no Screen Updates are made...only after all databases are processed and VB.net is waiting for new user response... -
-
Great !
Thank you very much. This is exactly what I was looking for. On other forums I found older versions which used difficult scripts to split all the parts.
Is there also a way to make commands from strings?
For example like
DIM textboxnr as string = "textbox5"
textboxnr.text = "Hallo"
To explain it maybe a little better, can I replace the textboxnr by a variable ?Leave a comment:
-
How do I get the answer of a string formula?
Hi,
In the user input of a textbox I would like that the user can input a formula to make it easier for him. So instead of inputing 400 I would like the user to have the possibility to input as 8*50. Is there a command for vb2008 to calculate the answer of this formula inputed by a string ?
Thanks in advance. -
Hi OuTCasT, thanks for your reply. Yes, when the program executes Form2 and even if the first line of the load_form2 says label1.text="Wh atever", it first executes all other commands (which takes up to 5 seconds) before it shows Form2. (might it be any setting that says dont show the form before everything is finished?)Leave a comment:
-
It is connected by:
Public connectionstrin g As String = "Data Source=.\SQLEXP RESS;AttachDBFi lename=d:\datab ases\dtbs.mdf;I ntegrated Security=True;C onnect Timeout=30;User Instance=True"
Public myconnection As New SqlConnection(c onnectionstring )
Public sqlcommando As New SqlCommand()
and in the sub:
sqlcommando.Con nection = myconnection
sqlcommando.Com mandText = "SELECT * FROM...Leave a comment:
-
How do I get my new form inmediately after form2.showdialog()?
Hi,
I am writing an application in VB2008 with several forms. From Form1 I open a new form with me.hide() and then form2.showdialo g(). The system works but in form2 the application runs without screendisplay until the program waits for a user input. So first all databases are processed. Meanwhile no screen is visible for the user. Sometimes this takes about 5 seconds. I would like the user to see the build up screen directly. How can...
No activity results to display
Show More
Leave a comment: