|
Error states: Make sure that the product is installed properly. Run the installer again (without uninstalling it ofc).
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Good day friends!
I don't know the right words to use cos I have no idea of the name this could be called.
Am trying to write a program in .Net language (VB or C# to be specific) that can I use to control a small car i.e when I click on start, the car should move so on and so forth.
I know this is a broad question so what I want is to know the right keywords to use when searching on google, relevant links and videos if possible.
In a short form, I want to build my own hardware device then control it from my own designed application.
Thanks!
|
|
|
|
|
Remote Control may be what you are looking for possibly wireless remote control . I would look at the hardware you are going to use first and worry about the control mechanism after you have decided what hardware you are going to use.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
To be precise, I bought the electronics components and run the connection myself and is working fine when I switched it on. But I want to control this device via programming either in VB.net or c#. Thanks for your reply!
|
|
|
|
|
... and how is your Hardware connected to your system (PC) ?
Serial-Port, EtherNet, USB, something complete different ?
|
|
|
|
|
Thanks. This exactly what I want to. How can I connect the hardware to the PC for instance if am using USB port i.e how would I make the system know that the device is been plugged?
|
|
|
|
|
Let's start from the beginning ...
Your answers and information aren't useful - what do your have exactly at the moment ? Please note : as better your description is and the information YOU give to us ... as better the answer could be ...
|
|
|
|
|
|
Which grid is faster than for loading 7000 records in vb.net?
1.Jgrid
2.DataTable
3.Flexigrid
|
|
|
|
|
|
A datatable isn't a grid; fastest load/display is with a virtualized datagridview. Examples can be found on MSDN.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I would like to read the properties of a file on the desktop. However, I do not have the filename but only the location points. Properties of the file with the points X = 500 Y = 320. Can anyone help me how I could do that.
Tooli
|
|
|
|
|
Had a problem hoping you can help
An external program sends via OutputDebugString messages that I can read correctly with the program Dbgview.exe.
But would like to further process these messages, if possible read the same in VB.net. eg to display these messages in a text or label field.
Could someone give me food for thought as I do that.
|
|
|
|
|
|
Write a debugger.
There's some tutorials on starting an application and catching those messages. Google knows where
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
have you a example for me (Vb.net)
|
|
|
|
|
|
1) Create Sql Dtabase in single Table exp. Table name Abc and column(Srno, Name1, Name2,
Class1,Class2)
2) Vb.net in Create a windows Form
i) Create a TextBox
ii) Create a 2 GridView exp. (GridView1,Gridview2)
iii) Fill TextBox in "Srno" On form load
iv) Data Fetch in GridView1 ( Name1,Name2) And GridView2 (Class1, Class2)
|
|
|
|
|
And your question would be .....?
A proper description of the problem would help.
|
|
|
|
|
Ah homework I presume!
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Public Sub llenaCombo()
Me.cmbCodigoInternoEDC.Items.Clear()
sql = "Select CodigoInterno from [Equipos de Computacion]"
cmd.CommandType = CommandType.Text
cmd.Connection = conn
cmd.CommandText = sql
dr = cmd.ExecuteReader
If dr.HasRows = True Then
While dr.Read()
Me.cmbCodigoInternoEDC.Items.Add(dr.GetValue(0))
End While
End If
dr.Close()
End Sub
Public Sub llenaCombo1()
Me.cmbCodigoInternoVH.Items.Clear()
sql = "Select CodigoInterno from Vehiculos"
cmd.CommandType = CommandType.Text
cmd.Connection = conn
cmd.CommandText = sql
dr = cmd.ExecuteReader
If dr.HasRows = True Then
While dr.Read()
Me.cmbCodigoInternoVH.Items.Add(dr.GetValue(0))
End While
End If
dr.Close()
End Sub
Private Sub BtnBorrar_Click(sender As Object, e As EventArgs) Handles btnBorrar.Click
Dim CodigoInterno As Integer
Dim CodigoInterno1 As Integer
CodigoInterno = Me.cmbCodigoInternoEDC.Text
CodigoInterno1 = Me.cmbCodigoInternoVH.Text
cmd.CommandType = CommandType.Text
cmd.Connection = conn
If sql = "Select * from [Equipos de Computacion]" Then
sql = "delete [Equipos de Computacion] where CodigoInterno= " & CodigoInterno & ""
cmd.CommandText = sql
ElseIf sql = "Select * from Vehiculos" Then
sql = "delete Vehiculos where CodigoInterno= " & CodigoInterno1 & ""
cmd.CommandText = sql
End If
Try
cmd.ExecuteNonQuery()
Me.cmbCodigoInternoEDC.Text = ""
Me.cmbCodigoInternoVH.Text = ""
llenaCombo()
llenaCombo1()
MsgBox("Registro eliminado correctamente")
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub>
|
|
|
|
|
The SQL statement is simple:
DELETE FROM tableName
You're already executing SQL statements against the database. This is no different.
|
|
|
|
|
Is not working please help.
|
|
|
|
|
HOW?! Look at what you gave me to work with: "It doesn't work".
What am I supposed to do with that information? I have no idea what code you wrote for this, what you expect the code to do, what the code is actually doing, any error messages, ..., nothing.
Stop typing as little as possible and start explaining EXACTLY what the questions and problems are. Without that, everyone is just guessing at what you want.
|
|
|
|
|
System.InvalidCastException
HResult=0x80004002
Message=La conversión de la cadena "" en el tipo 'Integer' no es válida.
Source=Microsoft.VisualBasic
StackTrace:
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
at Activs_Fijos.Reporte.BtnBorrar_Click(Object sender, EventArgs e) in C:\Users\Augusto\source\repos\Activos Fijos\Activos Fijos\Reporte.vb:line 41
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at Activs_Fijos.My.MyApplication.Main(String[] Args) in :line 81
Inner Exception 1:
FormatException: La cadena de entrada no tiene el formato correcto.
|
|
|
|